@jest-games-org/backend-package-graphql-to-prisma-helpers 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +166 -230
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +192 -256
- package/dist/index.js.map +1 -1
- package/dist/modules/cursor/helpers/index.d.ts +1 -1
- package/dist/modules/cursor/helpers/prismaWhereInputFromGraphQLCursor.d.ts +9 -0
- package/dist/modules/filter/helpers/index.d.ts +23 -23
- package/dist/modules/filter/helpers/prismaBooleanFilterFromGraphQLBooleanFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaBooleanNullableFilterFromGraphQLBooleanNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaDateTimeFilterFromGraphQLDateTimeFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaDateTimeNullableFilterFromGraphQLDateTimeNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaFloatFilterFromGraphQLFloatFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaFloatNullableFilterFromGraphQLFloatNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaIntFilterFromGraphQLIntFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaIntNullableFilterFromGraphQLIntNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedDateTimeFilterFromGraphQLNestedDateTimeFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedDateTimeNullableFilterFromGraphQLNestedDateTimeNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedFloatFilterFromGraphQLNestedFloatFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedFloatNullableFilterFromGraphQLNestedFloatNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedIntFilterFromGraphQLNestedIntFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedIntNullableFilterFromGraphQLNestedIntNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedStringFilterFromGraphQLNestedIdFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedStringFilterFromGraphQLNestedStringFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedStringNullableFilterFromGraphQLNestedIdNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaNestedStringNullableFilterFromGraphQLNestedStringNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaQueryModeFromGraphQLQueryMode.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaStringFilterFromGraphQLIdFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaStringFilterFromGraphQLStringFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaStringNullableFilterFromGraphQLIdNullableFilterInput.d.ts +8 -0
- package/dist/modules/filter/helpers/prismaStringNullableFilterFromGraphQLStringNullableFilterInput.d.ts +8 -0
- package/dist/modules/order/helpers/index.d.ts +3 -3
- package/dist/modules/order/helpers/prismaOrderInputFromGraphQLOrderInput.d.ts +9 -0
- package/dist/modules/order/helpers/prismaOrderInputsFromGraphQLOrderInputs.d.ts +9 -0
- package/dist/modules/order/helpers/prismaSortOrderFromGraphQLSortOrder.d.ts +8 -0
- package/package.json +2 -2
- package/dist/modules/cursor/helpers/graphQLCursorToPrismaWhereInput.d.ts +0 -9
- package/dist/modules/filter/helpers/graphQLBooleanFilterInputToPrismaBooleanFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLBooleanNullableFilterInputToPrismaBooleanNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLDateTimeFilterInputToPrismaDateTimeFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLDateTimeNullableFilterInputToPrismaDateTimeNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLFloatFilterInputToPrismaFloatFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLFloatNullableFilterInputToPrismaFloatNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLIdFilterInputToPrismaStringFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLIdNullableFilterInputToPrismaStringNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLIntFilterInputToPrismaIntFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLIntNullableFilterInputToPrismaIntNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedDateTimeFilterInputToPrismaNestedDateTimeFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedDateTimeNullableFilterInputToPrismaNestedDateTimeNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedFloatFilterInputToPrismaNestedFloatFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedFloatNullableFilterInputToPrismaNestedFloatNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedIdFilterInputToPrismaNestedStringFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedIdNullableFilterInputToPrismaNestedStringNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedIntFilterInputToPrismaNestedIntFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedIntNullableFilterInputToPrismaNestedIntNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedStringFilterInputToPrismaNestedStringFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLNestedStringNullableFilterInputToPrismaNestedStringNullableFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLQueryModeToPrismaQueryMode.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLStringFilterInputToPrismaStringFilter.d.ts +0 -8
- package/dist/modules/filter/helpers/graphQLStringNullableFilterInputToPrismaStringNullableFilter.d.ts +0 -8
- package/dist/modules/order/helpers/graphQLOrderInputToPrismaOrderInput.d.ts +0 -9
- package/dist/modules/order/helpers/graphQLOrderInputsToPrismaOrderInputs.d.ts +0 -9
- package/dist/modules/order/helpers/graphQLSortOrderToPrismaSortOrder.d.ts +0 -8
package/dist/index.esm.js
CHANGED
|
@@ -55,85 +55,62 @@ const decodeCursor = (cursor) => {
|
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
59
|
-
* @param cursor The GraphQL
|
|
60
|
-
* @returns The Prisma
|
|
58
|
+
* Prisma Where Input From GraphQL Cursor.
|
|
59
|
+
* @param cursor The GraphQL Cursor.
|
|
60
|
+
* @returns The Prisma Where Input.
|
|
61
61
|
*/
|
|
62
|
-
const
|
|
63
|
-
// If the cursor is null or undefined, return empty.
|
|
62
|
+
const prismaWhereInputFromGraphQLCursor = (cursor) => {
|
|
64
63
|
if (!cursor) {
|
|
65
64
|
return {};
|
|
66
65
|
}
|
|
67
|
-
// Decode the cursor.
|
|
68
66
|
const { args, data } = decodeCursor(cursor);
|
|
69
|
-
// Initialize Prisma where input.
|
|
70
67
|
let prismaWhereInput = {};
|
|
71
|
-
// Iterate over the order by arguments (last to first).
|
|
72
68
|
for (let i = args.orderBy.length - 1; i >= 0; i--) {
|
|
73
|
-
// Check if the index is the last index.
|
|
74
69
|
const isLast = i === args.orderBy.length - 1;
|
|
75
|
-
// Get the order by key and direction.
|
|
76
70
|
const [key, direction] = Object.entries(args.orderBy[i])[0];
|
|
77
|
-
// Check if the direction is ascending.
|
|
78
71
|
const isAsc = direction === 'asc';
|
|
79
|
-
// Get the data value for the order by key.
|
|
80
72
|
const value = data[key];
|
|
81
|
-
// Check if the value is null.
|
|
82
73
|
const isNull = value === null;
|
|
83
|
-
// Get the first OR block.
|
|
84
74
|
const orBlock1 = isNull ? { [key]: { not: null } } : { [key]: isAsc ? { gt: value } : { lt: value } };
|
|
85
|
-
// Get the second OR block.
|
|
86
75
|
const orBlock2 = isLast ? undefined : { AND: [{ [key]: { equals: value } }, prismaWhereInput] };
|
|
87
|
-
// Create the Prisma where input.
|
|
88
76
|
prismaWhereInput = { OR: [orBlock1, orBlock2].filter((b) => !!b) };
|
|
89
77
|
}
|
|
90
|
-
// Return the Prisma where input.
|
|
91
78
|
return prismaWhereInput;
|
|
92
79
|
};
|
|
93
80
|
|
|
94
81
|
/**
|
|
95
|
-
*
|
|
96
|
-
* @param input The GraphQL
|
|
97
|
-
* @returns The Prisma
|
|
82
|
+
* Prisma Boolean Filter From GraphQL Boolean Filter Input.
|
|
83
|
+
* @param input The GraphQL Boolean Filter Input.
|
|
84
|
+
* @returns The Prisma Boolean Filter.
|
|
98
85
|
*/
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
if (input === null || input === undefined) {
|
|
86
|
+
const prismaBooleanFilterFromGraphQLBooleanFilterInput = (input) => {
|
|
87
|
+
if (!input) {
|
|
102
88
|
return undefined;
|
|
103
89
|
}
|
|
104
|
-
|
|
105
|
-
return {
|
|
106
|
-
equals: input.equals ?? undefined,
|
|
107
|
-
};
|
|
90
|
+
return { equals: input.equals ?? undefined };
|
|
108
91
|
};
|
|
109
92
|
|
|
110
93
|
/**
|
|
111
|
-
*
|
|
112
|
-
* @param input The GraphQL
|
|
113
|
-
* @returns The Prisma
|
|
94
|
+
* Prisma Boolean Nullable Filter From GraphQL Boolean Nullable Filter Input.
|
|
95
|
+
* @param input The GraphQL Boolean Nullable Filter Input.
|
|
96
|
+
* @returns The Prisma Boolean Nullable Filter.
|
|
114
97
|
*/
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
if (input === null || input === undefined) {
|
|
98
|
+
const prismaBooleanNullableFilterFromGraphQLBooleanNullableFilterInput = (input) => {
|
|
99
|
+
if (!input) {
|
|
118
100
|
return undefined;
|
|
119
101
|
}
|
|
120
|
-
|
|
121
|
-
return {
|
|
122
|
-
equals: input.equals,
|
|
123
|
-
};
|
|
102
|
+
return { equals: input.equals };
|
|
124
103
|
};
|
|
125
104
|
|
|
126
105
|
/**
|
|
127
|
-
*
|
|
128
|
-
* @param input The GraphQL
|
|
129
|
-
* @returns The Prisma
|
|
106
|
+
* Prisma Nested Date Time Filter From GraphQL Nested Date Time Filter Input.
|
|
107
|
+
* @param input The GraphQL Nested Date Time Filter Input.
|
|
108
|
+
* @returns The Prisma Nested Date Time Filter.
|
|
130
109
|
*/
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
if (input === null || input === undefined) {
|
|
110
|
+
const prismaNestedDateTimeFilterFromGraphQLNestedDateTimeFilterInput = (input) => {
|
|
111
|
+
if (!input) {
|
|
134
112
|
return undefined;
|
|
135
113
|
}
|
|
136
|
-
// Return the Prisma filter.
|
|
137
114
|
return {
|
|
138
115
|
equals: input.equals ?? undefined,
|
|
139
116
|
in: input.in?.filter((o) => !!o),
|
|
@@ -142,21 +119,19 @@ const graphQLNestedDateTimeFilterInputToPrismaNestedDateTimeFilter = (input) =>
|
|
|
142
119
|
lte: input.lte ?? undefined,
|
|
143
120
|
gt: input.gt ?? undefined,
|
|
144
121
|
gte: input.gte ?? undefined,
|
|
145
|
-
not:
|
|
122
|
+
not: prismaNestedDateTimeFilterFromGraphQLNestedDateTimeFilterInput(input.not),
|
|
146
123
|
};
|
|
147
124
|
};
|
|
148
125
|
|
|
149
126
|
/**
|
|
150
|
-
*
|
|
151
|
-
* @param input The GraphQL
|
|
152
|
-
* @returns The Prisma
|
|
127
|
+
* Prisma Date Time Filter From GraphQL Date Time Filter Input.
|
|
128
|
+
* @param input The GraphQL Date Time Filter Input.
|
|
129
|
+
* @returns The Prisma Date Time Filter.
|
|
153
130
|
*/
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
-
if (input === null || input === undefined) {
|
|
131
|
+
const prismaDateTimeFilterFromGraphQLDateTimeFilterInput = (input) => {
|
|
132
|
+
if (!input) {
|
|
157
133
|
return undefined;
|
|
158
134
|
}
|
|
159
|
-
// Return the Prisma filter.
|
|
160
135
|
return {
|
|
161
136
|
equals: input.equals ?? undefined,
|
|
162
137
|
in: input.in?.filter((o) => !!o),
|
|
@@ -165,21 +140,19 @@ const graphQLDateTimeFilterInputToPrismaDateTimeFilter = (input) => {
|
|
|
165
140
|
lte: input.lte ?? undefined,
|
|
166
141
|
gt: input.gt ?? undefined,
|
|
167
142
|
gte: input.gte ?? undefined,
|
|
168
|
-
not:
|
|
143
|
+
not: prismaNestedDateTimeFilterFromGraphQLNestedDateTimeFilterInput(input.not),
|
|
169
144
|
};
|
|
170
145
|
};
|
|
171
146
|
|
|
172
147
|
/**
|
|
173
|
-
*
|
|
174
|
-
* @param input The GraphQL
|
|
175
|
-
* @returns The Prisma
|
|
148
|
+
* Prisma Nested Date Time Nullable Filter From GraphQL Nested Date Time Nullable Filter Input.
|
|
149
|
+
* @param input The GraphQL Nested Date Time Nullable Filter Input.
|
|
150
|
+
* @returns The Prisma Nested Date Time Nullable Filter.
|
|
176
151
|
*/
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
if (input === null || input === undefined) {
|
|
152
|
+
const prismaNestedDateTimeNullableFilterFromGraphQLNestedDateTimeNullableFilterInput = (input) => {
|
|
153
|
+
if (!input) {
|
|
180
154
|
return undefined;
|
|
181
155
|
}
|
|
182
|
-
// Return the Prisma filter.
|
|
183
156
|
return {
|
|
184
157
|
equals: input.equals,
|
|
185
158
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
@@ -188,21 +161,21 @@ const graphQLNestedDateTimeNullableFilterInputToPrismaNestedDateTimeNullableFilt
|
|
|
188
161
|
lte: input.lte ?? undefined,
|
|
189
162
|
gt: input.gt ?? undefined,
|
|
190
163
|
gte: input.gte ?? undefined,
|
|
191
|
-
not: input.not
|
|
164
|
+
not: input.not
|
|
165
|
+
? prismaNestedDateTimeNullableFilterFromGraphQLNestedDateTimeNullableFilterInput(input.not)
|
|
166
|
+
: input.not,
|
|
192
167
|
};
|
|
193
168
|
};
|
|
194
169
|
|
|
195
170
|
/**
|
|
196
|
-
*
|
|
197
|
-
* @param input The GraphQL
|
|
198
|
-
* @returns The Prisma
|
|
171
|
+
* Prisma Date Time Nullable Filter From GraphQL Date Time Nullable Filter Input.
|
|
172
|
+
* @param input The GraphQL Date Time Nullable Filter Input.
|
|
173
|
+
* @returns The Prisma Date Time Nullable Filter.
|
|
199
174
|
*/
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
if (input === null || input === undefined) {
|
|
175
|
+
const prismaDateTimeNullableFilterFromGraphQLDateTimeNullableFilterInput = (input) => {
|
|
176
|
+
if (!input) {
|
|
203
177
|
return undefined;
|
|
204
178
|
}
|
|
205
|
-
// Return the Prisma filter.
|
|
206
179
|
return {
|
|
207
180
|
equals: input.equals,
|
|
208
181
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
@@ -211,21 +184,21 @@ const graphQLDateTimeNullableFilterInputToPrismaDateTimeNullableFilter = (input)
|
|
|
211
184
|
lte: input.lte ?? undefined,
|
|
212
185
|
gt: input.gt ?? undefined,
|
|
213
186
|
gte: input.gte ?? undefined,
|
|
214
|
-
not: input.not
|
|
187
|
+
not: input.not
|
|
188
|
+
? prismaNestedDateTimeNullableFilterFromGraphQLNestedDateTimeNullableFilterInput(input.not)
|
|
189
|
+
: input.not,
|
|
215
190
|
};
|
|
216
191
|
};
|
|
217
192
|
|
|
218
193
|
/**
|
|
219
|
-
*
|
|
220
|
-
* @param input The GraphQL
|
|
221
|
-
* @returns The Prisma
|
|
194
|
+
* Prisma Nested Float Filter From GraphQL Nested Float Filter Input.
|
|
195
|
+
* @param input The GraphQL Nested Float Filter Input.
|
|
196
|
+
* @returns The Prisma Nested Float Filter.
|
|
222
197
|
*/
|
|
223
|
-
const
|
|
224
|
-
|
|
225
|
-
if (input === null || input === undefined) {
|
|
198
|
+
const prismaNestedFloatFilterFromGraphQLNestedFloatFilterInput = (input) => {
|
|
199
|
+
if (!input) {
|
|
226
200
|
return undefined;
|
|
227
201
|
}
|
|
228
|
-
// Return the Prisma filter.
|
|
229
202
|
return {
|
|
230
203
|
equals: input.equals ?? undefined,
|
|
231
204
|
in: input.in?.filter((o) => !!o),
|
|
@@ -234,21 +207,19 @@ const graphQLNestedFloatFilterInputToPrismaNestedFloatFilter = (input) => {
|
|
|
234
207
|
lte: input.lte ?? undefined,
|
|
235
208
|
gt: input.gt ?? undefined,
|
|
236
209
|
gte: input.gte ?? undefined,
|
|
237
|
-
not:
|
|
210
|
+
not: prismaNestedFloatFilterFromGraphQLNestedFloatFilterInput(input.not),
|
|
238
211
|
};
|
|
239
212
|
};
|
|
240
213
|
|
|
241
214
|
/**
|
|
242
|
-
*
|
|
243
|
-
* @param input The GraphQL
|
|
244
|
-
* @returns The Prisma
|
|
215
|
+
* Prisma Float Filter From GraphQL Float Filter Input.
|
|
216
|
+
* @param input The GraphQL Float Filter Input.
|
|
217
|
+
* @returns The Prisma Float Filter.
|
|
245
218
|
*/
|
|
246
|
-
const
|
|
247
|
-
|
|
248
|
-
if (input === null || input === undefined) {
|
|
219
|
+
const prismaFloatFilterFromGraphQLFloatFilterInput = (input) => {
|
|
220
|
+
if (!input) {
|
|
249
221
|
return undefined;
|
|
250
222
|
}
|
|
251
|
-
// Return the Prisma filter.
|
|
252
223
|
return {
|
|
253
224
|
equals: input.equals ?? undefined,
|
|
254
225
|
in: input.in?.filter((o) => !!o),
|
|
@@ -257,21 +228,19 @@ const graphQLFloatFilterInputToPrismaFloatFilter = (input) => {
|
|
|
257
228
|
lte: input.lte ?? undefined,
|
|
258
229
|
gt: input.gt ?? undefined,
|
|
259
230
|
gte: input.gte ?? undefined,
|
|
260
|
-
not:
|
|
231
|
+
not: prismaNestedFloatFilterFromGraphQLNestedFloatFilterInput(input.not),
|
|
261
232
|
};
|
|
262
233
|
};
|
|
263
234
|
|
|
264
235
|
/**
|
|
265
|
-
*
|
|
266
|
-
* @param input The GraphQL
|
|
267
|
-
* @returns The Prisma
|
|
236
|
+
* Prisma Nested Float Nullable Filter From GraphQL Nested Float Nullable Filter Input.
|
|
237
|
+
* @param input The GraphQL Nested Float Nullable Filter Input.
|
|
238
|
+
* @returns The Prisma Nested Float Nullable Filter.
|
|
268
239
|
*/
|
|
269
|
-
const
|
|
270
|
-
|
|
271
|
-
if (input === null || input === undefined) {
|
|
240
|
+
const prismaNestedFloatNullableFilterFromGraphQLNestedFloatNullableFilterInput = (input) => {
|
|
241
|
+
if (!input) {
|
|
272
242
|
return undefined;
|
|
273
243
|
}
|
|
274
|
-
// Return the Prisma filter.
|
|
275
244
|
return {
|
|
276
245
|
equals: input.equals,
|
|
277
246
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
@@ -280,21 +249,19 @@ const graphQLNestedFloatNullableFilterInputToPrismaNestedFloatNullableFilter = (
|
|
|
280
249
|
lte: input.lte ?? undefined,
|
|
281
250
|
gt: input.gt ?? undefined,
|
|
282
251
|
gte: input.gte ?? undefined,
|
|
283
|
-
not: input.not ?
|
|
252
|
+
not: input.not ? prismaNestedFloatNullableFilterFromGraphQLNestedFloatNullableFilterInput(input.not) : input.not,
|
|
284
253
|
};
|
|
285
254
|
};
|
|
286
255
|
|
|
287
256
|
/**
|
|
288
|
-
*
|
|
289
|
-
* @param input The GraphQL
|
|
290
|
-
* @returns The Prisma
|
|
257
|
+
* Prisma Float Nullable Filter From GraphQL Float Nullable Filter Input.
|
|
258
|
+
* @param input The GraphQL Float Nullable Filter Input.
|
|
259
|
+
* @returns The Prisma Float Nullable Filter.
|
|
291
260
|
*/
|
|
292
|
-
const
|
|
293
|
-
|
|
294
|
-
if (input === null || input === undefined) {
|
|
261
|
+
const prismaFloatNullableFilterFromGraphQLFloatNullableFilterInput = (input) => {
|
|
262
|
+
if (!input) {
|
|
295
263
|
return undefined;
|
|
296
264
|
}
|
|
297
|
-
// Return the Prisma filter.
|
|
298
265
|
return {
|
|
299
266
|
equals: input.equals,
|
|
300
267
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
@@ -303,21 +270,19 @@ const graphQLFloatNullableFilterInputToPrismaFloatNullableFilter = (input) => {
|
|
|
303
270
|
lte: input.lte ?? undefined,
|
|
304
271
|
gt: input.gt ?? undefined,
|
|
305
272
|
gte: input.gte ?? undefined,
|
|
306
|
-
not: input.not ?
|
|
273
|
+
not: input.not ? prismaNestedFloatNullableFilterFromGraphQLNestedFloatNullableFilterInput(input.not) : input.not,
|
|
307
274
|
};
|
|
308
275
|
};
|
|
309
276
|
|
|
310
277
|
/**
|
|
311
|
-
*
|
|
312
|
-
* @param input The GraphQL
|
|
313
|
-
* @returns The Prisma
|
|
278
|
+
* Prisma Nested String Filter From GraphQL Nested Id Filter Input.
|
|
279
|
+
* @param input The GraphQL Nested Id Filter Input.
|
|
280
|
+
* @returns The Prisma Nested String Filter.
|
|
314
281
|
*/
|
|
315
|
-
const
|
|
316
|
-
|
|
317
|
-
if (input === null || input === undefined) {
|
|
282
|
+
const prismaNestedStringFilterFromGraphQLNestedIdFilterInput = (input) => {
|
|
283
|
+
if (!input) {
|
|
318
284
|
return undefined;
|
|
319
285
|
}
|
|
320
|
-
// Return the Prisma filter.
|
|
321
286
|
return {
|
|
322
287
|
contains: input.contains ?? undefined,
|
|
323
288
|
endsWith: input.endsWith ?? undefined,
|
|
@@ -327,7 +292,7 @@ const graphQLNestedIdFilterInputToPrismaNestedStringFilter = (input) => {
|
|
|
327
292
|
in: input.in?.filter((o) => !!o),
|
|
328
293
|
lt: input.lt ?? undefined,
|
|
329
294
|
lte: input.lte ?? undefined,
|
|
330
|
-
not:
|
|
295
|
+
not: prismaNestedStringFilterFromGraphQLNestedIdFilterInput(input.not),
|
|
331
296
|
notIn: input.notIn?.filter((o) => !!o),
|
|
332
297
|
startsWith: input.startsWith ?? undefined,
|
|
333
298
|
};
|
|
@@ -346,30 +311,26 @@ var SortOrder;
|
|
|
346
311
|
})(SortOrder || (SortOrder = {}));
|
|
347
312
|
|
|
348
313
|
/**
|
|
349
|
-
*
|
|
350
|
-
* @param queryMode The GraphQL
|
|
351
|
-
* @returns The Prisma
|
|
314
|
+
* Prisma Query Mode From GraphQL Query Mode.
|
|
315
|
+
* @param queryMode The GraphQL Query Mode.
|
|
316
|
+
* @returns The Prisma Query Mode.
|
|
352
317
|
*/
|
|
353
|
-
const
|
|
354
|
-
|
|
355
|
-
if (queryMode === null || queryMode === undefined) {
|
|
318
|
+
const prismaQueryModeFromGraphQLQueryMode = (queryMode) => {
|
|
319
|
+
if (!queryMode) {
|
|
356
320
|
return undefined;
|
|
357
321
|
}
|
|
358
|
-
// Return the Prisma query mode.
|
|
359
322
|
return queryMode === QueryMode.Default ? 'default' : 'insensitive';
|
|
360
323
|
};
|
|
361
324
|
|
|
362
325
|
/**
|
|
363
|
-
*
|
|
364
|
-
* @param input The GraphQL
|
|
365
|
-
* @returns The Prisma
|
|
326
|
+
* Prisma String Filter From GraphQL Id Filter Input.
|
|
327
|
+
* @param input The GraphQL Id Filter Input.
|
|
328
|
+
* @returns The Prisma String Filter.
|
|
366
329
|
*/
|
|
367
|
-
const
|
|
368
|
-
|
|
369
|
-
if (input === null || input === undefined) {
|
|
330
|
+
const prismaStringFilterFromGraphQLIdFilterInput = (input) => {
|
|
331
|
+
if (!input) {
|
|
370
332
|
return undefined;
|
|
371
333
|
}
|
|
372
|
-
// Return the Prisma filter.
|
|
373
334
|
return {
|
|
374
335
|
contains: input.contains ?? undefined,
|
|
375
336
|
endsWith: input.endsWith ?? undefined,
|
|
@@ -379,24 +340,22 @@ const graphQLIdFilterInputToPrismaStringFilter = (input) => {
|
|
|
379
340
|
in: input.in?.filter((o) => !!o),
|
|
380
341
|
lt: input.lt ?? undefined,
|
|
381
342
|
lte: input.lte ?? undefined,
|
|
382
|
-
mode:
|
|
383
|
-
not:
|
|
343
|
+
mode: prismaQueryModeFromGraphQLQueryMode(input.mode),
|
|
344
|
+
not: prismaNestedStringFilterFromGraphQLNestedIdFilterInput(input.not),
|
|
384
345
|
notIn: input.notIn?.filter((o) => !!o),
|
|
385
346
|
startsWith: input.startsWith ?? undefined,
|
|
386
347
|
};
|
|
387
348
|
};
|
|
388
349
|
|
|
389
350
|
/**
|
|
390
|
-
*
|
|
391
|
-
* @param input The GraphQL
|
|
392
|
-
* @returns The Prisma
|
|
351
|
+
* Prisma Nested String Nullable Filter From GraphQL Nested ID Nullable Filter Input.
|
|
352
|
+
* @param input The GraphQL Nested ID Nullable Filter Input.
|
|
353
|
+
* @returns The Prisma Nested String Nullable Filter.
|
|
393
354
|
*/
|
|
394
|
-
const
|
|
395
|
-
|
|
396
|
-
if (input === null || input === undefined) {
|
|
355
|
+
const prismaNestedStringNullableFilterFromGraphQLNestedIdNullableFilterInput = (input) => {
|
|
356
|
+
if (!input) {
|
|
397
357
|
return undefined;
|
|
398
358
|
}
|
|
399
|
-
// Return the Prisma filter.
|
|
400
359
|
return {
|
|
401
360
|
contains: input.contains ?? undefined,
|
|
402
361
|
endsWith: input.endsWith ?? undefined,
|
|
@@ -406,23 +365,21 @@ const graphQLNestedIdNullableFilterInputToPrismaNestedStringNullableFilter = (in
|
|
|
406
365
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
407
366
|
lt: input.lt ?? undefined,
|
|
408
367
|
lte: input.lte ?? undefined,
|
|
409
|
-
not: input.not ?
|
|
368
|
+
not: input.not ? prismaNestedStringNullableFilterFromGraphQLNestedIdNullableFilterInput(input.not) : input.not,
|
|
410
369
|
notIn: input.notIn ? input.notIn.filter((o) => !!o) : input.notIn,
|
|
411
370
|
startsWith: input.startsWith ?? undefined,
|
|
412
371
|
};
|
|
413
372
|
};
|
|
414
373
|
|
|
415
374
|
/**
|
|
416
|
-
*
|
|
417
|
-
* @param input The GraphQL
|
|
418
|
-
* @returns The Prisma
|
|
375
|
+
* Prisma String Nullable Filter From GraphQL ID Nullable Filter Input.
|
|
376
|
+
* @param input The GraphQL ID Nullable Filter Input.
|
|
377
|
+
* @returns The Prisma String Nullable Filter.
|
|
419
378
|
*/
|
|
420
|
-
const
|
|
421
|
-
|
|
422
|
-
if (input === null || input === undefined) {
|
|
379
|
+
const prismaStringNullableFilterFromGraphQLIdNullableFilterInput = (input) => {
|
|
380
|
+
if (!input) {
|
|
423
381
|
return undefined;
|
|
424
382
|
}
|
|
425
|
-
// Return the Prisma filter.
|
|
426
383
|
return {
|
|
427
384
|
contains: input.contains ?? undefined,
|
|
428
385
|
endsWith: input.endsWith ?? undefined,
|
|
@@ -432,24 +389,22 @@ const graphQLIdNullableFilterInputToPrismaStringNullableFilter = (input) => {
|
|
|
432
389
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
433
390
|
lt: input.lt ?? undefined,
|
|
434
391
|
lte: input.lte ?? undefined,
|
|
435
|
-
mode:
|
|
436
|
-
not: input.not ?
|
|
392
|
+
mode: prismaQueryModeFromGraphQLQueryMode(input.mode),
|
|
393
|
+
not: input.not ? prismaNestedStringNullableFilterFromGraphQLNestedIdNullableFilterInput(input.not) : input.not,
|
|
437
394
|
notIn: input.notIn ? input.notIn.filter((o) => !!o) : input.notIn,
|
|
438
395
|
startsWith: input.startsWith ?? undefined,
|
|
439
396
|
};
|
|
440
397
|
};
|
|
441
398
|
|
|
442
399
|
/**
|
|
443
|
-
*
|
|
444
|
-
* @param input The GraphQL
|
|
445
|
-
* @returns The Prisma
|
|
400
|
+
* Prisma Nested Int Filter From GraphQL Nested Int Filter Input.
|
|
401
|
+
* @param input The GraphQL Nested Int Filter Input.
|
|
402
|
+
* @returns The Prisma Nested Int Filter.
|
|
446
403
|
*/
|
|
447
|
-
const
|
|
448
|
-
|
|
449
|
-
if (input === null || input === undefined) {
|
|
404
|
+
const prismaNestedIntFilterFromGraphQLNestedIntFilterInput = (input) => {
|
|
405
|
+
if (!input) {
|
|
450
406
|
return undefined;
|
|
451
407
|
}
|
|
452
|
-
// Return the Prisma filter.
|
|
453
408
|
return {
|
|
454
409
|
equals: input.equals ?? undefined,
|
|
455
410
|
in: input.in?.filter((o) => !!o),
|
|
@@ -458,21 +413,19 @@ const graphQLNestedIntFilterInputToPrismaNestedIntFilter = (input) => {
|
|
|
458
413
|
lte: input.lte ?? undefined,
|
|
459
414
|
gt: input.gt ?? undefined,
|
|
460
415
|
gte: input.gte ?? undefined,
|
|
461
|
-
not:
|
|
416
|
+
not: prismaNestedIntFilterFromGraphQLNestedIntFilterInput(input.not),
|
|
462
417
|
};
|
|
463
418
|
};
|
|
464
419
|
|
|
465
420
|
/**
|
|
466
|
-
*
|
|
467
|
-
* @param input The GraphQL
|
|
468
|
-
* @returns The Prisma
|
|
421
|
+
* Prisma Int Filter From GraphQL Int Filter Input.
|
|
422
|
+
* @param input The GraphQL Int Filter Input.
|
|
423
|
+
* @returns The Prisma Int Filter.
|
|
469
424
|
*/
|
|
470
|
-
const
|
|
471
|
-
|
|
472
|
-
if (input === null || input === undefined) {
|
|
425
|
+
const prismaIntFilterFromGraphQLIntFilterInput = (input) => {
|
|
426
|
+
if (!input) {
|
|
473
427
|
return undefined;
|
|
474
428
|
}
|
|
475
|
-
// Return the Prisma filter.
|
|
476
429
|
return {
|
|
477
430
|
equals: input.equals ?? undefined,
|
|
478
431
|
in: input.in?.filter((o) => !!o),
|
|
@@ -481,21 +434,19 @@ const graphQLIntFilterInputToPrismaIntFilter = (input) => {
|
|
|
481
434
|
lte: input.lte ?? undefined,
|
|
482
435
|
gt: input.gt ?? undefined,
|
|
483
436
|
gte: input.gte ?? undefined,
|
|
484
|
-
not:
|
|
437
|
+
not: prismaNestedIntFilterFromGraphQLNestedIntFilterInput(input.not),
|
|
485
438
|
};
|
|
486
439
|
};
|
|
487
440
|
|
|
488
441
|
/**
|
|
489
|
-
*
|
|
490
|
-
* @param input
|
|
491
|
-
* @returns The Prisma
|
|
442
|
+
* Prisma Nested Int Nullable Filter From GraphQL Nested Int Nullable Filter Input.
|
|
443
|
+
* @param input The GraphQL Nested Int Nullable Filter Input.
|
|
444
|
+
* @returns The Prisma Nested Int Nullable Filter.
|
|
492
445
|
*/
|
|
493
|
-
const
|
|
494
|
-
|
|
495
|
-
if (input === null || input === undefined) {
|
|
446
|
+
const prismaNestedIntNullableFilterFromGraphQLNestedIntNullableFilterInput = (input) => {
|
|
447
|
+
if (!input) {
|
|
496
448
|
return undefined;
|
|
497
449
|
}
|
|
498
|
-
// Return the Prisma filter.
|
|
499
450
|
return {
|
|
500
451
|
equals: input.equals,
|
|
501
452
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
@@ -504,21 +455,19 @@ const graphQLNestedIntNullableFilterInputToPrismaNestedIntNullableFilter = (inpu
|
|
|
504
455
|
lte: input.lte ?? undefined,
|
|
505
456
|
gt: input.gt ?? undefined,
|
|
506
457
|
gte: input.gte ?? undefined,
|
|
507
|
-
not: input.not ?
|
|
458
|
+
not: input.not ? prismaNestedIntNullableFilterFromGraphQLNestedIntNullableFilterInput(input.not) : input.not,
|
|
508
459
|
};
|
|
509
460
|
};
|
|
510
461
|
|
|
511
462
|
/**
|
|
512
|
-
*
|
|
513
|
-
* @param input The GraphQL
|
|
514
|
-
* @returns The Prisma
|
|
463
|
+
* Prisma Int Nullable Filter From GraphQL Int Nullable Filter Input.
|
|
464
|
+
* @param input The GraphQL Int Nullable Filter Input.
|
|
465
|
+
* @returns The Prisma Int Nullable Filter.
|
|
515
466
|
*/
|
|
516
|
-
const
|
|
517
|
-
|
|
518
|
-
if (input === null || input === undefined) {
|
|
467
|
+
const prismaIntNullableFilterFromGraphQLIntNullableFilterInput = (input) => {
|
|
468
|
+
if (!input) {
|
|
519
469
|
return undefined;
|
|
520
470
|
}
|
|
521
|
-
// Return the Prisma filter.
|
|
522
471
|
return {
|
|
523
472
|
equals: input.equals,
|
|
524
473
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
@@ -527,21 +476,19 @@ const graphQLIntNullableFilterInputToPrismaIntNullableFilter = (input) => {
|
|
|
527
476
|
lte: input.lte ?? undefined,
|
|
528
477
|
gt: input.gt ?? undefined,
|
|
529
478
|
gte: input.gte ?? undefined,
|
|
530
|
-
not: input.not ?
|
|
479
|
+
not: input.not ? prismaNestedIntNullableFilterFromGraphQLNestedIntNullableFilterInput(input.not) : input.not,
|
|
531
480
|
};
|
|
532
481
|
};
|
|
533
482
|
|
|
534
483
|
/**
|
|
535
|
-
*
|
|
536
|
-
* @param input The GraphQL
|
|
537
|
-
* @returns The Prisma
|
|
484
|
+
* Prisma Nested String Filter From GraphQL Nested String Filter Input.
|
|
485
|
+
* @param input The GraphQL Nested String Filter Input.
|
|
486
|
+
* @returns The Prisma Nested String Filter.
|
|
538
487
|
*/
|
|
539
|
-
const
|
|
540
|
-
|
|
541
|
-
if (input === null || input === undefined) {
|
|
488
|
+
const prismaNestedStringFilterFromGraphQLNestedStringFilterInput = (input) => {
|
|
489
|
+
if (!input) {
|
|
542
490
|
return undefined;
|
|
543
491
|
}
|
|
544
|
-
// Return the Prisma filter.
|
|
545
492
|
return {
|
|
546
493
|
equals: input.equals ?? undefined,
|
|
547
494
|
in: input.in?.filter((o) => !!o),
|
|
@@ -553,21 +500,19 @@ const graphQLNestedStringFilterInputToPrismaNestedStringFilter = (input) => {
|
|
|
553
500
|
contains: input.contains ?? undefined,
|
|
554
501
|
startsWith: input.startsWith ?? undefined,
|
|
555
502
|
endsWith: input.endsWith ?? undefined,
|
|
556
|
-
not:
|
|
503
|
+
not: prismaNestedStringFilterFromGraphQLNestedStringFilterInput(input.not),
|
|
557
504
|
};
|
|
558
505
|
};
|
|
559
506
|
|
|
560
507
|
/**
|
|
561
|
-
*
|
|
562
|
-
* @param input The GraphQL
|
|
563
|
-
* @returns The Prisma
|
|
508
|
+
* Prisma Nested String Nullable Filter From GraphQL Nested String Nullable Filter Input.
|
|
509
|
+
* @param input The GraphQL Nested String Nullable Filter Input.
|
|
510
|
+
* @returns The Prisma Nested String Nullable Filter.
|
|
564
511
|
*/
|
|
565
|
-
const
|
|
566
|
-
|
|
567
|
-
if (input === null || input === undefined) {
|
|
512
|
+
const prismaNestedStringNullableFilterFromGraphQLNestedStringNullableFilterInput = (input) => {
|
|
513
|
+
if (!input) {
|
|
568
514
|
return undefined;
|
|
569
515
|
}
|
|
570
|
-
// Return the Prisma filter.
|
|
571
516
|
return {
|
|
572
517
|
equals: input.equals,
|
|
573
518
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
@@ -579,21 +524,19 @@ const graphQLNestedStringNullableFilterInputToPrismaNestedStringNullableFilter =
|
|
|
579
524
|
contains: input.contains ?? undefined,
|
|
580
525
|
startsWith: input.startsWith ?? undefined,
|
|
581
526
|
endsWith: input.endsWith ?? undefined,
|
|
582
|
-
not: input.not ?
|
|
527
|
+
not: input.not ? prismaNestedStringNullableFilterFromGraphQLNestedStringNullableFilterInput(input.not) : input.not,
|
|
583
528
|
};
|
|
584
529
|
};
|
|
585
530
|
|
|
586
531
|
/**
|
|
587
|
-
*
|
|
588
|
-
* @param input The GraphQL
|
|
589
|
-
* @returns The Prisma
|
|
532
|
+
* Prisma String Filter From GraphQL String Filter Input.
|
|
533
|
+
* @param input The GraphQL String Filter Input.
|
|
534
|
+
* @returns The Prisma String Filter.
|
|
590
535
|
*/
|
|
591
|
-
const
|
|
592
|
-
|
|
593
|
-
if (input === null || input === undefined) {
|
|
536
|
+
const prismaStringFilterFromGraphQLStringFilterInput = (input) => {
|
|
537
|
+
if (!input) {
|
|
594
538
|
return undefined;
|
|
595
539
|
}
|
|
596
|
-
// Return the Prisma filter.
|
|
597
540
|
return {
|
|
598
541
|
equals: input.equals ?? undefined,
|
|
599
542
|
in: input.in?.filter((o) => !!o),
|
|
@@ -605,22 +548,20 @@ const graphQLStringFilterInputToPrismaStringFilter = (input) => {
|
|
|
605
548
|
contains: input.contains ?? undefined,
|
|
606
549
|
startsWith: input.startsWith ?? undefined,
|
|
607
550
|
endsWith: input.endsWith ?? undefined,
|
|
608
|
-
mode:
|
|
609
|
-
not:
|
|
551
|
+
mode: prismaQueryModeFromGraphQLQueryMode(input.mode),
|
|
552
|
+
not: prismaNestedStringFilterFromGraphQLNestedStringFilterInput(input.not),
|
|
610
553
|
};
|
|
611
554
|
};
|
|
612
555
|
|
|
613
556
|
/**
|
|
614
|
-
*
|
|
615
|
-
* @param input The GraphQL
|
|
616
|
-
* @returns The Prisma
|
|
557
|
+
* Prisma String Nullable Filter From GraphQL String Nullable Filter Input.
|
|
558
|
+
* @param input The GraphQL String Nullable Filter Input.
|
|
559
|
+
* @returns The Prisma String Nullable Filter.
|
|
617
560
|
*/
|
|
618
|
-
const
|
|
619
|
-
|
|
620
|
-
if (input === null || input === undefined) {
|
|
561
|
+
const prismaStringNullableFilterFromGraphQLStringNullableFilterInput = (input) => {
|
|
562
|
+
if (!input) {
|
|
621
563
|
return undefined;
|
|
622
564
|
}
|
|
623
|
-
// Return the Prisma filter
|
|
624
565
|
return {
|
|
625
566
|
equals: input.equals,
|
|
626
567
|
in: input.in ? input.in.filter((o) => !!o) : input.in,
|
|
@@ -632,50 +573,45 @@ const graphQLStringNullableFilterInputToPrismaStringNullableFilter = (input) =>
|
|
|
632
573
|
contains: input.contains ?? undefined,
|
|
633
574
|
startsWith: input.startsWith ?? undefined,
|
|
634
575
|
endsWith: input.endsWith ?? undefined,
|
|
635
|
-
mode:
|
|
636
|
-
not: input.not ?
|
|
576
|
+
mode: prismaQueryModeFromGraphQLQueryMode(input.mode),
|
|
577
|
+
not: input.not ? prismaNestedStringNullableFilterFromGraphQLNestedStringNullableFilterInput(input.not) : input.not,
|
|
637
578
|
};
|
|
638
579
|
};
|
|
639
580
|
|
|
640
581
|
/**
|
|
641
|
-
*
|
|
642
|
-
* @param sortOrder The GraphQL
|
|
643
|
-
* @returns The Prisma
|
|
582
|
+
* Prisma Sort Order From GraphQL Sort Order.
|
|
583
|
+
* @param sortOrder The GraphQL Sort Order.
|
|
584
|
+
* @returns The Prisma Sort Order.
|
|
644
585
|
*/
|
|
645
|
-
const
|
|
646
|
-
|
|
647
|
-
if (sortOrder === null || sortOrder === undefined) {
|
|
586
|
+
const prismaSortOrderFromGraphQLSortOrder = (sortOrder) => {
|
|
587
|
+
if (!sortOrder) {
|
|
648
588
|
return undefined;
|
|
649
589
|
}
|
|
650
|
-
// Return the Prisma sort order.
|
|
651
590
|
return sortOrder === SortOrder.Ascending ? 'asc' : 'desc';
|
|
652
591
|
};
|
|
653
592
|
|
|
654
593
|
/**
|
|
655
|
-
*
|
|
656
|
-
* @param input The GraphQL
|
|
657
|
-
* @returns The Prisma
|
|
594
|
+
* Prisma Order Input From GraphQL Order Input.
|
|
595
|
+
* @param input The GraphQL Order Input.
|
|
596
|
+
* @returns The Prisma Order Input.
|
|
658
597
|
*/
|
|
659
|
-
const
|
|
660
|
-
// Return the Prisma order by.
|
|
598
|
+
const prismaOrderInputFromGraphQLOrderInput = (input) => {
|
|
661
599
|
return Object.fromEntries(Object.entries(input).map(([key, value]) => {
|
|
662
|
-
return [key,
|
|
600
|
+
return [key, prismaSortOrderFromGraphQLSortOrder(value)];
|
|
663
601
|
}));
|
|
664
602
|
};
|
|
665
603
|
|
|
666
604
|
/**
|
|
667
|
-
*
|
|
668
|
-
* @param inputs The GraphQL
|
|
669
|
-
* @returns The Prisma
|
|
605
|
+
* Prisma Order Inputs From GraphQL Order Inputs.
|
|
606
|
+
* @param inputs The GraphQL Prder Inputs.
|
|
607
|
+
* @returns The Prisma Order Inputs.
|
|
670
608
|
*/
|
|
671
|
-
const
|
|
672
|
-
|
|
673
|
-
if (inputs === null || inputs === undefined) {
|
|
609
|
+
const prismaOrderInputsFromGraphQLOrderInputs = (inputs) => {
|
|
610
|
+
if (!inputs) {
|
|
674
611
|
return undefined;
|
|
675
612
|
}
|
|
676
|
-
|
|
677
|
-
return inputs.map(graphQLOrderInputToPrismaOrderInput);
|
|
613
|
+
return inputs.map(prismaOrderInputFromGraphQLOrderInput);
|
|
678
614
|
};
|
|
679
615
|
|
|
680
|
-
export {
|
|
616
|
+
export { prismaBooleanFilterFromGraphQLBooleanFilterInput, prismaBooleanNullableFilterFromGraphQLBooleanNullableFilterInput, prismaDateTimeFilterFromGraphQLDateTimeFilterInput, prismaDateTimeNullableFilterFromGraphQLDateTimeNullableFilterInput, prismaFloatFilterFromGraphQLFloatFilterInput, prismaFloatNullableFilterFromGraphQLFloatNullableFilterInput, prismaIntFilterFromGraphQLIntFilterInput, prismaIntNullableFilterFromGraphQLIntNullableFilterInput, prismaNestedDateTimeFilterFromGraphQLNestedDateTimeFilterInput, prismaNestedDateTimeNullableFilterFromGraphQLNestedDateTimeNullableFilterInput, prismaNestedFloatFilterFromGraphQLNestedFloatFilterInput, prismaNestedFloatNullableFilterFromGraphQLNestedFloatNullableFilterInput, prismaNestedIntFilterFromGraphQLNestedIntFilterInput, prismaNestedIntNullableFilterFromGraphQLNestedIntNullableFilterInput, prismaNestedStringFilterFromGraphQLNestedIdFilterInput, prismaNestedStringFilterFromGraphQLNestedStringFilterInput, prismaNestedStringNullableFilterFromGraphQLNestedIdNullableFilterInput, prismaNestedStringNullableFilterFromGraphQLNestedStringNullableFilterInput, prismaOrderInputFromGraphQLOrderInput, prismaOrderInputsFromGraphQLOrderInputs, prismaQueryModeFromGraphQLQueryMode, prismaSortOrderFromGraphQLSortOrder, prismaStringFilterFromGraphQLIdFilterInput, prismaStringFilterFromGraphQLStringFilterInput, prismaStringNullableFilterFromGraphQLIdNullableFilterInput, prismaStringNullableFilterFromGraphQLStringNullableFilterInput, prismaWhereInputFromGraphQLCursor };
|
|
681
617
|
//# sourceMappingURL=index.esm.js.map
|