@@ -37,7 +37,7 @@ type _WaspEntity = {= crud.entityUpper =}
37
37
/**
38
38
* PUBLIC API
39
39
*/
40
- export namespace { = crud . name = } {
40
+ export declare namespace { = crud . name = } {
41
41
{ = # crud . operations . GetAll = }
42
42
export type GetAllQuery < Input extends Payload = never, Output extends Payload = Payload > = { = queryType = } < [ _WaspEntityTagged ] , Input , Output >
43
43
{ = / crud . operations . GetAll = }
@@ -91,7 +91,7 @@ export type GetQueryResolved = typeof _waspGetQuery
91
91
92
92
{ = # crud . operations . Create = }
93
93
{ = ^ overrides . Create . isDefined = }
94
- type CreateInput = Prisma . XOR <
94
+ type CreateInput = Payload & Prisma . XOR <
95
95
Prisma . { = crud . entityUpper = } CreateInput ,
96
96
Prisma . { = crud . entityUpper = } UncheckedCreateInput
97
97
>
@@ -106,7 +106,7 @@ export type CreateActionResolved = typeof _waspCreateAction
106
106
107
107
{ = # crud . operations . Update = }
108
108
{ = ^ overrides . Update . isDefined = }
109
- type UpdateInput = Prisma . XOR <
109
+ type UpdateInput = Payload & Prisma . XOR <
110
110
Prisma . { = crud . entityUpper = } UpdateInput ,
111
111
Prisma . { = crud . entityUpper = } UncheckedUpdateInput
112
112
>
@@ -123,7 +123,7 @@ export type UpdateActionResolved = typeof _waspUpdateAction
123
123
124
124
{ = # crud . operations . Delete = }
125
125
{ = ^ overrides . Delete . isDefined = }
126
- type DeleteInput = Prisma . { = crud . entityUpper = } WhereUniqueInput
126
+ type DeleteInput = Payload & Prisma . { = crud . entityUpper = } WhereUniqueInput
127
127
type DeleteOutput = _WaspEntity
128
128
export type DeleteActionResolved = { = crud . name = } . DeleteAction < DeleteInput , DeleteOutput >
129
129
{ = / overrides . Delete . isDefined = }
0 commit comments