@jest-games-org/backend-package-graphql-to-prisma-helpers 1.0.5 → 1.0.7

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.
Files changed (58) hide show
  1. package/dist/index.esm.js +155 -321
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +177 -347
  4. package/dist/index.js.map +1 -1
  5. package/dist/modules/cursor/helpers/index.d.ts +1 -1
  6. package/dist/modules/cursor/helpers/prismaWhereInputFromGraphQLCursor.d.ts +9 -0
  7. package/dist/modules/filter/helpers/index.d.ts +19 -23
  8. package/dist/modules/filter/helpers/prismaBooleanFilterFromGraphQLFilterInput.d.ts +8 -0
  9. package/dist/modules/filter/helpers/prismaBooleanNullableFilterFromGraphQLFilterInput.d.ts +8 -0
  10. package/dist/modules/filter/helpers/prismaDateTimeFilterFromGraphQLFilterInput.d.ts +8 -0
  11. package/dist/modules/filter/helpers/prismaDateTimeNullableFilterFromGraphQLFilterInput.d.ts +8 -0
  12. package/dist/modules/filter/helpers/prismaFloatFilterFromGraphQLFilterInput.d.ts +8 -0
  13. package/dist/modules/filter/helpers/prismaFloatNullableFilterFromGraphQLFilterInput.d.ts +8 -0
  14. package/dist/modules/filter/helpers/prismaIntFilterFromGraphQLFilterInput.d.ts +8 -0
  15. package/dist/modules/filter/helpers/prismaIntNullableFilterFromGraphQLFilterInput.d.ts +8 -0
  16. package/dist/modules/filter/helpers/prismaNestedDateTimeFilterFromGraphQLFilterInput.d.ts +8 -0
  17. package/dist/modules/filter/helpers/prismaNestedDateTimeNullableFilterFromGraphQLFilterInput.d.ts +8 -0
  18. package/dist/modules/filter/helpers/prismaNestedFloatFilterFromGraphQLFilterInput.d.ts +8 -0
  19. package/dist/modules/filter/helpers/prismaNestedFloatNullableFilterFromGraphQLFilterInput.d.ts +8 -0
  20. package/dist/modules/filter/helpers/prismaNestedIntFilterFromGraphQLFilterInput.d.ts +8 -0
  21. package/dist/modules/filter/helpers/prismaNestedIntNullableFilterFromGraphQLFilterInput.d.ts +8 -0
  22. package/dist/modules/filter/helpers/prismaNestedStringFilterFromGraphQLFilterInput.d.ts +8 -0
  23. package/dist/modules/filter/helpers/prismaNestedStringNullableFilterFromGraphQLFilterInput.d.ts +8 -0
  24. package/dist/modules/filter/helpers/prismaQueryModeFromGraphQLQueryMode.d.ts +8 -0
  25. package/dist/modules/filter/helpers/prismaStringFilterFromGraphQLFilterInput.d.ts +8 -0
  26. package/dist/modules/filter/helpers/prismaStringNullableFilterFromGraphQLFilterInput.d.ts +8 -0
  27. package/dist/modules/order/helpers/index.d.ts +3 -3
  28. package/dist/modules/order/helpers/prismaOrderInputFromGraphQLOrderInput.d.ts +9 -0
  29. package/dist/modules/order/helpers/prismaOrderInputsFromGraphQLOrderInputs.d.ts +9 -0
  30. package/dist/modules/order/helpers/prismaSortOrderFromGraphQLSortOrder.d.ts +8 -0
  31. package/package.json +2 -2
  32. package/dist/modules/cursor/helpers/graphQLCursorToPrismaWhereInput.d.ts +0 -9
  33. package/dist/modules/filter/helpers/graphQLBooleanFilterInputToPrismaBooleanFilter.d.ts +0 -8
  34. package/dist/modules/filter/helpers/graphQLBooleanNullableFilterInputToPrismaBooleanNullableFilter.d.ts +0 -8
  35. package/dist/modules/filter/helpers/graphQLDateTimeFilterInputToPrismaDateTimeFilter.d.ts +0 -8
  36. package/dist/modules/filter/helpers/graphQLDateTimeNullableFilterInputToPrismaDateTimeNullableFilter.d.ts +0 -8
  37. package/dist/modules/filter/helpers/graphQLFloatFilterInputToPrismaFloatFilter.d.ts +0 -8
  38. package/dist/modules/filter/helpers/graphQLFloatNullableFilterInputToPrismaFloatNullableFilter.d.ts +0 -8
  39. package/dist/modules/filter/helpers/graphQLIdFilterInputToPrismaStringFilter.d.ts +0 -8
  40. package/dist/modules/filter/helpers/graphQLIdNullableFilterInputToPrismaStringNullableFilter.d.ts +0 -8
  41. package/dist/modules/filter/helpers/graphQLIntFilterInputToPrismaIntFilter.d.ts +0 -8
  42. package/dist/modules/filter/helpers/graphQLIntNullableFilterInputToPrismaIntNullableFilter.d.ts +0 -8
  43. package/dist/modules/filter/helpers/graphQLNestedDateTimeFilterInputToPrismaNestedDateTimeFilter.d.ts +0 -8
  44. package/dist/modules/filter/helpers/graphQLNestedDateTimeNullableFilterInputToPrismaNestedDateTimeNullableFilter.d.ts +0 -8
  45. package/dist/modules/filter/helpers/graphQLNestedFloatFilterInputToPrismaNestedFloatFilter.d.ts +0 -8
  46. package/dist/modules/filter/helpers/graphQLNestedFloatNullableFilterInputToPrismaNestedFloatNullableFilter.d.ts +0 -8
  47. package/dist/modules/filter/helpers/graphQLNestedIdFilterInputToPrismaNestedStringFilter.d.ts +0 -8
  48. package/dist/modules/filter/helpers/graphQLNestedIdNullableFilterInputToPrismaNestedStringNullableFilter.d.ts +0 -8
  49. package/dist/modules/filter/helpers/graphQLNestedIntFilterInputToPrismaNestedIntFilter.d.ts +0 -8
  50. package/dist/modules/filter/helpers/graphQLNestedIntNullableFilterInputToPrismaNestedIntNullableFilter.d.ts +0 -8
  51. package/dist/modules/filter/helpers/graphQLNestedStringFilterInputToPrismaNestedStringFilter.d.ts +0 -8
  52. package/dist/modules/filter/helpers/graphQLNestedStringNullableFilterInputToPrismaNestedStringNullableFilter.d.ts +0 -8
  53. package/dist/modules/filter/helpers/graphQLQueryModeToPrismaQueryMode.d.ts +0 -8
  54. package/dist/modules/filter/helpers/graphQLStringFilterInputToPrismaStringFilter.d.ts +0 -8
  55. package/dist/modules/filter/helpers/graphQLStringNullableFilterInputToPrismaStringNullableFilter.d.ts +0 -8
  56. package/dist/modules/order/helpers/graphQLOrderInputToPrismaOrderInput.d.ts +0 -9
  57. package/dist/modules/order/helpers/graphQLOrderInputsToPrismaOrderInputs.d.ts +0 -9
  58. package/dist/modules/order/helpers/graphQLSortOrderToPrismaSortOrder.d.ts +0 -8
package/dist/index.js CHANGED
@@ -57,85 +57,62 @@ const decodeCursor = (cursor) => {
57
57
  };
58
58
 
59
59
  /**
60
- * Map the GraphQL cursor to a Prisma where input.
61
- * @param cursor The GraphQL cursor
62
- * @returns The Prisma where input
60
+ * Prisma Where Input From GraphQL Cursor.
61
+ * @param cursor The GraphQL Cursor.
62
+ * @returns The Prisma Where Input.
63
63
  */
64
- const graphQLCursorToPrismaWhereInput = (cursor) => {
65
- // If the cursor is null or undefined, return empty.
64
+ const prismaWhereInputFromGraphQLCursor = (cursor) => {
66
65
  if (!cursor) {
67
66
  return {};
68
67
  }
69
- // Decode the cursor.
70
68
  const { args, data } = decodeCursor(cursor);
71
- // Initialize Prisma where input.
72
69
  let prismaWhereInput = {};
73
- // Iterate over the order by arguments (last to first).
74
70
  for (let i = args.orderBy.length - 1; i >= 0; i--) {
75
- // Check if the index is the last index.
76
71
  const isLast = i === args.orderBy.length - 1;
77
- // Get the order by key and direction.
78
72
  const [key, direction] = Object.entries(args.orderBy[i])[0];
79
- // Check if the direction is ascending.
80
73
  const isAsc = direction === 'asc';
81
- // Get the data value for the order by key.
82
74
  const value = data[key];
83
- // Check if the value is null.
84
75
  const isNull = value === null;
85
- // Get the first OR block.
86
76
  const orBlock1 = isNull ? { [key]: { not: null } } : { [key]: isAsc ? { gt: value } : { lt: value } };
87
- // Get the second OR block.
88
77
  const orBlock2 = isLast ? undefined : { AND: [{ [key]: { equals: value } }, prismaWhereInput] };
89
- // Create the Prisma where input.
90
78
  prismaWhereInput = { OR: [orBlock1, orBlock2].filter((b) => !!b) };
91
79
  }
92
- // Return the Prisma where input.
93
80
  return prismaWhereInput;
94
81
  };
95
82
 
96
83
  /**
97
- * Maps the GraphQL boolean filter input to a Prisma boolean filter.
98
- * @param input The GraphQL filter input.
99
- * @returns The Prisma filter.
84
+ * Prisma Boolean Filter From GraphQL Filter Input.
85
+ * @param input The GraphQL Boolean Filter Input.
86
+ * @returns The Prisma Boolean Filter.
100
87
  */
101
- const graphQLBooleanFilterInputToPrismaBooleanFilter = (input) => {
102
- // If the GraphQL filter input is null or undefined, return undefined.
103
- if (input === null || input === undefined) {
88
+ const prismaBooleanFilterFromGraphQLFilterInput = (input) => {
89
+ if (!input) {
104
90
  return undefined;
105
91
  }
106
- // Return the Prisma filter.
107
- return {
108
- equals: input.equals ?? undefined,
109
- };
92
+ return { equals: input.equals ?? undefined };
110
93
  };
111
94
 
112
95
  /**
113
- * Maps the GraphQL boolean nullable filter input to a Prisma boolean nullable filter.
114
- * @param input The GraphQL filter input.
115
- * @returns The Prisma filter.
96
+ * Prisma Boolean Nullable Filter From GraphQL Filter Input.
97
+ * @param input The GraphQL Boolean Nullable Filter Input.
98
+ * @returns The Prisma Boolean Nullable Filter.
116
99
  */
117
- const graphQLBooleanNullableFilterInputToPrismaBooleanNullableFilter = (input) => {
118
- // If the GraphQL filter input is null or undefined, return undefined.
119
- if (input === null || input === undefined) {
100
+ const prismaBooleanNullableFilterFromGraphQLFilterInput = (input) => {
101
+ if (!input) {
120
102
  return undefined;
121
103
  }
122
- // Return the Prisma filter.
123
- return {
124
- equals: input.equals,
125
- };
104
+ return { equals: input.equals };
126
105
  };
127
106
 
128
107
  /**
129
- * Maps the GraphQL nested date time filter input to a Prisma neseted date time filter.
130
- * @param input The GraphQL filter input.
131
- * @returns The Prisma filter.
108
+ * Prisma Nested Date Time Filter From GraphQL Filter Input.
109
+ * @param input The GraphQL Nested Date Time Filter Input.
110
+ * @returns The Prisma Nested Date Time Filter.
132
111
  */
133
- const graphQLNestedDateTimeFilterInputToPrismaNestedDateTimeFilter = (input) => {
134
- // If the GraphQL filter input is null or undefined, return undefined.
135
- if (input === null || input === undefined) {
112
+ const prismaNestedDateTimeFilterFromGraphQLFilterInput = (input) => {
113
+ if (!input) {
136
114
  return undefined;
137
115
  }
138
- // Return the Prisma filter.
139
116
  return {
140
117
  equals: input.equals ?? undefined,
141
118
  in: input.in?.filter((o) => !!o),
@@ -144,21 +121,19 @@ const graphQLNestedDateTimeFilterInputToPrismaNestedDateTimeFilter = (input) =>
144
121
  lte: input.lte ?? undefined,
145
122
  gt: input.gt ?? undefined,
146
123
  gte: input.gte ?? undefined,
147
- not: graphQLNestedDateTimeFilterInputToPrismaNestedDateTimeFilter(input.not),
124
+ not: prismaNestedDateTimeFilterFromGraphQLFilterInput(input.not),
148
125
  };
149
126
  };
150
127
 
151
128
  /**
152
- * Maps the GraphQL date time filter input to a Prisma date time filter.
153
- * @param input The GraphQL filter input.
154
- * @returns The Prisma filter.
129
+ * Prisma Date Time Filter From GraphQL Filter Input.
130
+ * @param input The GraphQL Date Time Filter Input.
131
+ * @returns The Prisma Date Time Filter.
155
132
  */
156
- const graphQLDateTimeFilterInputToPrismaDateTimeFilter = (input) => {
157
- // If the GraphQL filter input is null or undefined, return undefined.
158
- if (input === null || input === undefined) {
133
+ const prismaDateTimeFilterFromGraphQLFilterInput = (input) => {
134
+ if (!input) {
159
135
  return undefined;
160
136
  }
161
- // Return the Prisma filter.
162
137
  return {
163
138
  equals: input.equals ?? undefined,
164
139
  in: input.in?.filter((o) => !!o),
@@ -167,21 +142,19 @@ const graphQLDateTimeFilterInputToPrismaDateTimeFilter = (input) => {
167
142
  lte: input.lte ?? undefined,
168
143
  gt: input.gt ?? undefined,
169
144
  gte: input.gte ?? undefined,
170
- not: graphQLNestedDateTimeFilterInputToPrismaNestedDateTimeFilter(input.not),
145
+ not: prismaNestedDateTimeFilterFromGraphQLFilterInput(input.not),
171
146
  };
172
147
  };
173
148
 
174
149
  /**
175
- * Maps the GraphQL nested date time nullable filter input to a Prisma nested date time nullable filter.
176
- * @param input The GraphQL filter input.
177
- * @returns The Prisma filter.
150
+ * Prisma Nested Date Time Nullable Filter From GraphQL Filter Input.
151
+ * @param input The GraphQL Nested Date Time Nullable Filter Input.
152
+ * @returns The Prisma Nested Date Time Nullable Filter.
178
153
  */
179
- const graphQLNestedDateTimeNullableFilterInputToPrismaNestedDateTimeNullableFilter = (input) => {
180
- // If the GraphQL filter input is null or undefined, return undefined.
181
- if (input === null || input === undefined) {
154
+ const prismaNestedDateTimeNullableFilterFromGraphQLFilterInput = (input) => {
155
+ if (!input) {
182
156
  return undefined;
183
157
  }
184
- // Return the Prisma filter.
185
158
  return {
186
159
  equals: input.equals,
187
160
  in: input.in ? input.in.filter((o) => !!o) : input.in,
@@ -190,21 +163,19 @@ const graphQLNestedDateTimeNullableFilterInputToPrismaNestedDateTimeNullableFilt
190
163
  lte: input.lte ?? undefined,
191
164
  gt: input.gt ?? undefined,
192
165
  gte: input.gte ?? undefined,
193
- not: input.not ? graphQLNestedDateTimeNullableFilterInputToPrismaNestedDateTimeNullableFilter(input.not) : input.not,
166
+ not: input.not ? prismaNestedDateTimeNullableFilterFromGraphQLFilterInput(input.not) : input.not,
194
167
  };
195
168
  };
196
169
 
197
170
  /**
198
- * Maps the GraphQL date time nullable filter input to the Prisma date time nullable filter.
199
- * @param input The GraphQL filter input.
200
- * @returns The Prisma filter.
171
+ * Prisma Date Time Nullable Filter From GraphQL Filter Input.
172
+ * @param input The GraphQL Date Time Nullable Filter Input.
173
+ * @returns The Prisma Date Time Nullable Filter.
201
174
  */
202
- const graphQLDateTimeNullableFilterInputToPrismaDateTimeNullableFilter = (input) => {
203
- // If the GraphQL filter input is null or undefined, return undefined.
204
- if (input === null || input === undefined) {
175
+ const prismaDateTimeNullableFilterFromGraphQLFilterInput = (input) => {
176
+ if (!input) {
205
177
  return undefined;
206
178
  }
207
- // Return the Prisma filter.
208
179
  return {
209
180
  equals: input.equals,
210
181
  in: input.in ? input.in.filter((o) => !!o) : input.in,
@@ -213,21 +184,19 @@ const graphQLDateTimeNullableFilterInputToPrismaDateTimeNullableFilter = (input)
213
184
  lte: input.lte ?? undefined,
214
185
  gt: input.gt ?? undefined,
215
186
  gte: input.gte ?? undefined,
216
- not: input.not ? graphQLNestedDateTimeNullableFilterInputToPrismaNestedDateTimeNullableFilter(input.not) : input.not,
187
+ not: input.not ? prismaNestedDateTimeNullableFilterFromGraphQLFilterInput(input.not) : input.not,
217
188
  };
218
189
  };
219
190
 
220
191
  /**
221
- * Maps the GraphQL nested float filter input to a Prisma nested float filter.
222
- * @param input The GraphQL filter input.
223
- * @returns The Prisma filter.
192
+ * Prisma Nested Float Filter From GraphQL Filter Input.
193
+ * @param input The GraphQL Nested Float Filter Input.
194
+ * @returns The Prisma Nested Float Filter.
224
195
  */
225
- const graphQLNestedFloatFilterInputToPrismaNestedFloatFilter = (input) => {
226
- // If the GraphQL filter input is null or undefined, return undefined.
227
- if (input === null || input === undefined) {
196
+ const prismaNestedFloatFilterFromGraphQLFilterInput = (input) => {
197
+ if (!input) {
228
198
  return undefined;
229
199
  }
230
- // Return the Prisma filter.
231
200
  return {
232
201
  equals: input.equals ?? undefined,
233
202
  in: input.in?.filter((o) => !!o),
@@ -236,21 +205,19 @@ const graphQLNestedFloatFilterInputToPrismaNestedFloatFilter = (input) => {
236
205
  lte: input.lte ?? undefined,
237
206
  gt: input.gt ?? undefined,
238
207
  gte: input.gte ?? undefined,
239
- not: graphQLNestedFloatFilterInputToPrismaNestedFloatFilter(input.not),
208
+ not: prismaNestedFloatFilterFromGraphQLFilterInput(input.not),
240
209
  };
241
210
  };
242
211
 
243
212
  /**
244
- * Maps the GraphQL float filter input to a Prisma float filter.
245
- * @param input The GraphQL filter input.
246
- * @returns The Prisma filter.
213
+ * Prisma Float Filter From GraphQL Filter Input.
214
+ * @param input The GraphQL Float Filter Input.
215
+ * @returns The Prisma Float Filter.
247
216
  */
248
- const graphQLFloatFilterInputToPrismaFloatFilter = (input) => {
249
- // If the GraphQL filter input is null or undefined, return undefined.
250
- if (input === null || input === undefined) {
217
+ const prismaFloatFilterFromGraphQLFilterInput = (input) => {
218
+ if (!input) {
251
219
  return undefined;
252
220
  }
253
- // Return the Prisma filter.
254
221
  return {
255
222
  equals: input.equals ?? undefined,
256
223
  in: input.in?.filter((o) => !!o),
@@ -259,21 +226,19 @@ const graphQLFloatFilterInputToPrismaFloatFilter = (input) => {
259
226
  lte: input.lte ?? undefined,
260
227
  gt: input.gt ?? undefined,
261
228
  gte: input.gte ?? undefined,
262
- not: graphQLNestedFloatFilterInputToPrismaNestedFloatFilter(input.not),
229
+ not: prismaNestedFloatFilterFromGraphQLFilterInput(input.not),
263
230
  };
264
231
  };
265
232
 
266
233
  /**
267
- * Maps the GraphQL nested float nullable filter input to a Prisma nested float nullable filter.
268
- * @param input The GraphQL filter.
269
- * @returns The Prisma filter.
234
+ * Prisma Nested Float Nullable Filter From GraphQL Filter Input.
235
+ * @param input The GraphQL Nested Float Nullable Filter Input.
236
+ * @returns The Prisma Nested Float Nullable Filter.
270
237
  */
271
- const graphQLNestedFloatNullableFilterInputToPrismaNestedFloatNullableFilter = (input) => {
272
- // If the GraphQL filter input is null or undefined, return undefined.
273
- if (input === null || input === undefined) {
238
+ const prismaNestedFloatNullableFilterFromGraphQLFilterInput = (input) => {
239
+ if (!input) {
274
240
  return undefined;
275
241
  }
276
- // Return the Prisma filter.
277
242
  return {
278
243
  equals: input.equals,
279
244
  in: input.in ? input.in.filter((o) => !!o) : input.in,
@@ -282,21 +247,19 @@ const graphQLNestedFloatNullableFilterInputToPrismaNestedFloatNullableFilter = (
282
247
  lte: input.lte ?? undefined,
283
248
  gt: input.gt ?? undefined,
284
249
  gte: input.gte ?? undefined,
285
- not: input.not ? graphQLNestedFloatNullableFilterInputToPrismaNestedFloatNullableFilter(input.not) : input.not,
250
+ not: input.not ? prismaNestedFloatNullableFilterFromGraphQLFilterInput(input.not) : input.not,
286
251
  };
287
252
  };
288
253
 
289
254
  /**
290
- * Maps the GraphQL float nullable filter input to a Prisma float nullable filter.
291
- * @param input The GraphQL filter input.
292
- * @returns The Prisma filter.
255
+ * Prisma Float Nullable Filter From GraphQL Filter Input.
256
+ * @param input The GraphQL Float Nullable Filter Input.
257
+ * @returns The Prisma Float Nullable Filter.
293
258
  */
294
- const graphQLFloatNullableFilterInputToPrismaFloatNullableFilter = (input) => {
295
- // If the GraphQL filter input is null or undefined, return undefined.
296
- if (input === null || input === undefined) {
259
+ const prismaFloatNullableFilterFromGraphQLFilterInput = (input) => {
260
+ if (!input) {
297
261
  return undefined;
298
262
  }
299
- // Return the Prisma filter.
300
263
  return {
301
264
  equals: input.equals,
302
265
  in: input.in ? input.in.filter((o) => !!o) : input.in,
@@ -305,153 +268,19 @@ const graphQLFloatNullableFilterInputToPrismaFloatNullableFilter = (input) => {
305
268
  lte: input.lte ?? undefined,
306
269
  gt: input.gt ?? undefined,
307
270
  gte: input.gte ?? undefined,
308
- not: input.not ? graphQLNestedFloatNullableFilterInputToPrismaNestedFloatNullableFilter(input.not) : input.not,
271
+ not: input.not ? prismaNestedFloatNullableFilterFromGraphQLFilterInput(input.not) : input.not,
309
272
  };
310
273
  };
311
274
 
312
275
  /**
313
- * Maps the GraphQL nested id filter input to the Prisma nested string filter.
314
- * @param input The GraphQL filter input.
315
- * @returns The Prisma filter.
276
+ * Prisma Nested Int Filter From GraphQL Filter Input.
277
+ * @param input The GraphQL Nested Int Filter Input.
278
+ * @returns The Prisma Nested Int Filter.
316
279
  */
317
- const graphQLNestedIdFilterInputToPrismaNestedStringFilter = (input) => {
318
- // If the GraphQL filter input is null or undefined, return undefined.
319
- if (input === null || input === undefined) {
280
+ const prismaNestedIntFilterFromGraphQLFilterInput = (input) => {
281
+ if (!input) {
320
282
  return undefined;
321
283
  }
322
- // Return the Prisma filter.
323
- return {
324
- contains: input.contains ?? undefined,
325
- endsWith: input.endsWith ?? undefined,
326
- equals: input.equals ?? undefined,
327
- gt: input.gt ?? undefined,
328
- gte: input.gte ?? undefined,
329
- in: input.in?.filter((o) => !!o),
330
- lt: input.lt ?? undefined,
331
- lte: input.lte ?? undefined,
332
- not: graphQLNestedIdFilterInputToPrismaNestedStringFilter(input.not),
333
- notIn: input.notIn?.filter((o) => !!o),
334
- startsWith: input.startsWith ?? undefined,
335
- };
336
- };
337
-
338
- var QueryMode;
339
- (function (QueryMode) {
340
- QueryMode["Default"] = "DEFAULT";
341
- QueryMode["Insensitive"] = "INSENSITIVE";
342
- })(QueryMode || (QueryMode = {}));
343
-
344
- var SortOrder;
345
- (function (SortOrder) {
346
- SortOrder["Ascending"] = "ASCENDING";
347
- SortOrder["Descending"] = "DESCENDING";
348
- })(SortOrder || (SortOrder = {}));
349
-
350
- /**
351
- * Maps the GraphQL query mode to a Prisma query mode.
352
- * @param queryMode The GraphQL query mode.
353
- * @returns The Prisma query mode.
354
- */
355
- const graphQLQueryModeToPrismaQueryMode = (queryMode) => {
356
- // If the query mode is null or undefined, return undefined.
357
- if (queryMode === null || queryMode === undefined) {
358
- return undefined;
359
- }
360
- // Return the Prisma query mode.
361
- return queryMode === QueryMode.Default ? 'default' : 'insensitive';
362
- };
363
-
364
- /**
365
- * Maps the GraphQL id filter input to the Prisma string filter.
366
- * @param input The GraphQL filter input.
367
- * @returns The Prisma filter.
368
- */
369
- const graphQLIdFilterInputToPrismaStringFilter = (input) => {
370
- // If the GraphQL filter input is null or undefined, return undefined.
371
- if (input === null || input === undefined) {
372
- return undefined;
373
- }
374
- // Return the Prisma filter.
375
- return {
376
- contains: input.contains ?? undefined,
377
- endsWith: input.endsWith ?? undefined,
378
- equals: input.equals ?? undefined,
379
- gt: input.gt ?? undefined,
380
- gte: input.gte ?? undefined,
381
- in: input.in?.filter((o) => !!o),
382
- lt: input.lt ?? undefined,
383
- lte: input.lte ?? undefined,
384
- mode: graphQLQueryModeToPrismaQueryMode(input.mode),
385
- not: graphQLNestedIdFilterInputToPrismaNestedStringFilter(input.not),
386
- notIn: input.notIn?.filter((o) => !!o),
387
- startsWith: input.startsWith ?? undefined,
388
- };
389
- };
390
-
391
- /**
392
- * Maps the GraphQL nested id nullable filter input to the Prisma nested string nullable filter.
393
- * @param input The GraphQL filter input.
394
- * @returns The Prisma filter.
395
- */
396
- const graphQLNestedIdNullableFilterInputToPrismaNestedStringNullableFilter = (input) => {
397
- // If the GraphQL filter input is null or undefined, return undefined.
398
- if (input === null || input === undefined) {
399
- return undefined;
400
- }
401
- // Return the Prisma filter.
402
- return {
403
- contains: input.contains ?? undefined,
404
- endsWith: input.endsWith ?? undefined,
405
- equals: input.equals,
406
- gt: input.gt ?? undefined,
407
- gte: input.gte ?? undefined,
408
- in: input.in ? input.in.filter((o) => !!o) : input.in,
409
- lt: input.lt ?? undefined,
410
- lte: input.lte ?? undefined,
411
- not: input.not ? graphQLNestedIdNullableFilterInputToPrismaNestedStringNullableFilter(input.not) : input.not,
412
- notIn: input.notIn ? input.notIn.filter((o) => !!o) : input.notIn,
413
- startsWith: input.startsWith ?? undefined,
414
- };
415
- };
416
-
417
- /**
418
- * Maps the GraphQL id nullable filter input to the Prisma string nullable filter.
419
- * @param input The GraphQL filter input.
420
- * @returns The Prisma string.
421
- */
422
- const graphQLIdNullableFilterInputToPrismaStringNullableFilter = (input) => {
423
- // If the GraphQL filter input is null or undefined, return undefined.
424
- if (input === null || input === undefined) {
425
- return undefined;
426
- }
427
- // Return the Prisma filter.
428
- return {
429
- contains: input.contains ?? undefined,
430
- endsWith: input.endsWith ?? undefined,
431
- equals: input.equals,
432
- gt: input.gt ?? undefined,
433
- gte: input.gte ?? undefined,
434
- in: input.in ? input.in.filter((o) => !!o) : input.in,
435
- lt: input.lt ?? undefined,
436
- lte: input.lte ?? undefined,
437
- mode: graphQLQueryModeToPrismaQueryMode(input.mode),
438
- not: input.not ? graphQLNestedIdNullableFilterInputToPrismaNestedStringNullableFilter(input.not) : input.not,
439
- notIn: input.notIn ? input.notIn.filter((o) => !!o) : input.notIn,
440
- startsWith: input.startsWith ?? undefined,
441
- };
442
- };
443
-
444
- /**
445
- * Maps the GraphQL nested int filter input to a Prisma nested int filter.
446
- * @param input The GraphQL filter input.
447
- * @returns The Prisma filter.
448
- */
449
- const graphQLNestedIntFilterInputToPrismaNestedIntFilter = (input) => {
450
- // If the GraphQL filter input is null or undefined, return undefined.
451
- if (input === null || input === undefined) {
452
- return undefined;
453
- }
454
- // Return the Prisma filter.
455
284
  return {
456
285
  equals: input.equals ?? undefined,
457
286
  in: input.in?.filter((o) => !!o),
@@ -460,21 +289,19 @@ const graphQLNestedIntFilterInputToPrismaNestedIntFilter = (input) => {
460
289
  lte: input.lte ?? undefined,
461
290
  gt: input.gt ?? undefined,
462
291
  gte: input.gte ?? undefined,
463
- not: graphQLNestedIntFilterInputToPrismaNestedIntFilter(input.not),
292
+ not: prismaNestedIntFilterFromGraphQLFilterInput(input.not),
464
293
  };
465
294
  };
466
295
 
467
296
  /**
468
- * Map the GraphQL int filter input to a Prisma int filter.
469
- * @param input The GraphQL filter input.
470
- * @returns The Prisma filter.
297
+ * Prisma Int Filter From GraphQL Filter Input.
298
+ * @param input The GraphQL Int Filter Input.
299
+ * @returns The Prisma Int Filter.
471
300
  */
472
- const graphQLIntFilterInputToPrismaIntFilter = (input) => {
473
- // If the GraphQL filter input is null or undefined, return undefined.
474
- if (input === null || input === undefined) {
301
+ const prismaIntFilterFromGraphQLFilterInput = (input) => {
302
+ if (!input) {
475
303
  return undefined;
476
304
  }
477
- // Return the Prisma filter.
478
305
  return {
479
306
  equals: input.equals ?? undefined,
480
307
  in: input.in?.filter((o) => !!o),
@@ -483,21 +310,19 @@ const graphQLIntFilterInputToPrismaIntFilter = (input) => {
483
310
  lte: input.lte ?? undefined,
484
311
  gt: input.gt ?? undefined,
485
312
  gte: input.gte ?? undefined,
486
- not: graphQLNestedIntFilterInputToPrismaNestedIntFilter(input.not),
313
+ not: prismaNestedIntFilterFromGraphQLFilterInput(input.not),
487
314
  };
488
315
  };
489
316
 
490
317
  /**
491
- * Maps the GraphQL nested int nullable filter input to a Prisma nested int nullable filter.
492
- * @param input The GraphQL filter input.
493
- * @returns The Prisma filter.
318
+ * Prisma Nested Int Nullable Filter From GraphQL Filter Input.
319
+ * @param input The GraphQL Nested Int Nullable Filter Input.
320
+ * @returns The Prisma Nested Int Nullable Filter.
494
321
  */
495
- const graphQLNestedIntNullableFilterInputToPrismaNestedIntNullableFilter = (input) => {
496
- // If the GraphQL filter input is null or undefined, return undefined.
497
- if (input === null || input === undefined) {
322
+ const prismaNestedIntNullableFilterFromGraphQLFilterInput = (input) => {
323
+ if (!input) {
498
324
  return undefined;
499
325
  }
500
- // Return the Prisma filter.
501
326
  return {
502
327
  equals: input.equals,
503
328
  in: input.in ? input.in.filter((o) => !!o) : input.in,
@@ -506,21 +331,19 @@ const graphQLNestedIntNullableFilterInputToPrismaNestedIntNullableFilter = (inpu
506
331
  lte: input.lte ?? undefined,
507
332
  gt: input.gt ?? undefined,
508
333
  gte: input.gte ?? undefined,
509
- not: input.not ? graphQLNestedIntNullableFilterInputToPrismaNestedIntNullableFilter(input.not) : input.not,
334
+ not: input.not ? prismaNestedIntNullableFilterFromGraphQLFilterInput(input.not) : input.not,
510
335
  };
511
336
  };
512
337
 
513
338
  /**
514
- * Maps the GraphQL int nullable filter input to a Prisma int nullable filter.
515
- * @param input The GraphQL filter input.
516
- * @returns The Prisma filter.
339
+ * Prisma Int Nullable Filter From GraphQL Filter Input.
340
+ * @param input The GraphQL Int Nullable Filter Input.
341
+ * @returns The Prisma Int Nullable Filter.
517
342
  */
518
- const graphQLIntNullableFilterInputToPrismaIntNullableFilter = (input) => {
519
- // If the GraphQL filter input is null or undefined, return undefined.
520
- if (input === null || input === undefined) {
343
+ const prismaIntNullableFilterFromGraphQLFilterInput = (input) => {
344
+ if (!input) {
521
345
  return undefined;
522
346
  }
523
- // Return the Prisma filter.
524
347
  return {
525
348
  equals: input.equals,
526
349
  in: input.in ? input.in.filter((o) => !!o) : input.in,
@@ -529,21 +352,19 @@ const graphQLIntNullableFilterInputToPrismaIntNullableFilter = (input) => {
529
352
  lte: input.lte ?? undefined,
530
353
  gt: input.gt ?? undefined,
531
354
  gte: input.gte ?? undefined,
532
- not: input.not ? graphQLNestedIntNullableFilterInputToPrismaNestedIntNullableFilter(input.not) : input.not,
355
+ not: input.not ? prismaNestedIntNullableFilterFromGraphQLFilterInput(input.not) : input.not,
533
356
  };
534
357
  };
535
358
 
536
359
  /**
537
- * Maps the GraphQL nested string filter input to a Prisma nested string filter.
538
- * @param input The GraphQL filter input.
539
- * @returns The Prisma filter.
360
+ * Prisma Nested String Filter From GraphQL Filter Input.
361
+ * @param input The GraphQL Nested String Filter Input.
362
+ * @returns The Prisma Nested String Filter.
540
363
  */
541
- const graphQLNestedStringFilterInputToPrismaNestedStringFilter = (input) => {
542
- // If the GraphQL filter input is null or undefined, return undefined.
543
- if (input === null || input === undefined) {
364
+ const prismaNestedStringFilterFromGraphQLFilterInput = (input) => {
365
+ if (!input) {
544
366
  return undefined;
545
367
  }
546
- // Return the Prisma filter.
547
368
  return {
548
369
  equals: input.equals ?? undefined,
549
370
  in: input.in?.filter((o) => !!o),
@@ -555,21 +376,19 @@ const graphQLNestedStringFilterInputToPrismaNestedStringFilter = (input) => {
555
376
  contains: input.contains ?? undefined,
556
377
  startsWith: input.startsWith ?? undefined,
557
378
  endsWith: input.endsWith ?? undefined,
558
- not: graphQLNestedStringFilterInputToPrismaNestedStringFilter(input.not),
379
+ not: prismaNestedStringFilterFromGraphQLFilterInput(input.not),
559
380
  };
560
381
  };
561
382
 
562
383
  /**
563
- * Maps the GraphQL nested string nullable filter input to a Prisma nested string nullable filter.
564
- * @param input The GraphQL filter input.
565
- * @returns The Prisma afilter.
384
+ * Prisma Nested String Nullable Filter From GraphQL Filter Input.
385
+ * @param input The GraphQL Nested String Nullable Filter Input.
386
+ * @returns The Prisma Nested String Nullable Filter.
566
387
  */
567
- const graphQLNestedStringNullableFilterInputToPrismaNestedStringNullableFilter = (input) => {
568
- // If the GraphQL filter input is null or undefined, return undefined.
569
- if (input === null || input === undefined) {
388
+ const prismaNestedStringNullableFilterFromGraphQLFilterInput = (input) => {
389
+ if (!input) {
570
390
  return undefined;
571
391
  }
572
- // Return the Prisma filter.
573
392
  return {
574
393
  equals: input.equals,
575
394
  in: input.in ? input.in.filter((o) => !!o) : input.in,
@@ -581,21 +400,43 @@ const graphQLNestedStringNullableFilterInputToPrismaNestedStringNullableFilter =
581
400
  contains: input.contains ?? undefined,
582
401
  startsWith: input.startsWith ?? undefined,
583
402
  endsWith: input.endsWith ?? undefined,
584
- not: input.not ? graphQLNestedStringNullableFilterInputToPrismaNestedStringNullableFilter(input.not) : input.not,
403
+ not: input.not ? prismaNestedStringNullableFilterFromGraphQLFilterInput(input.not) : input.not,
585
404
  };
586
405
  };
587
406
 
407
+ var QueryMode;
408
+ (function (QueryMode) {
409
+ QueryMode["Default"] = "DEFAULT";
410
+ QueryMode["Insensitive"] = "INSENSITIVE";
411
+ })(QueryMode || (QueryMode = {}));
412
+
413
+ var SortOrder;
414
+ (function (SortOrder) {
415
+ SortOrder["Ascending"] = "ASCENDING";
416
+ SortOrder["Descending"] = "DESCENDING";
417
+ })(SortOrder || (SortOrder = {}));
418
+
419
+ /**
420
+ * Prisma Query Mode From GraphQL Query Mode.
421
+ * @param queryMode The GraphQL Query Mode.
422
+ * @returns The Prisma Query Mode.
423
+ */
424
+ const prismaQueryModeFromGraphQLQueryMode = (queryMode) => {
425
+ if (!queryMode) {
426
+ return undefined;
427
+ }
428
+ return queryMode === QueryMode.Default ? 'default' : 'insensitive';
429
+ };
430
+
588
431
  /**
589
- * Maps the GraphQL string filter input to a Prisma string filter.
590
- * @param input The GraphQL filter input.
591
- * @returns The Prisma filter.
432
+ * Prisma String Filter From GraphQL Filter Input.
433
+ * @param input The GraphQL String Filter Input.
434
+ * @returns The Prisma String Filter.
592
435
  */
593
- const graphQLStringFilterInputToPrismaStringFilter = (input) => {
594
- // If the GraphQL filter input is null or undefined, return undefined.
595
- if (input === null || input === undefined) {
436
+ const prismaStringFilterFromGraphQLFilterInput = (input) => {
437
+ if (!input) {
596
438
  return undefined;
597
439
  }
598
- // Return the Prisma filter.
599
440
  return {
600
441
  equals: input.equals ?? undefined,
601
442
  in: input.in?.filter((o) => !!o),
@@ -607,22 +448,20 @@ const graphQLStringFilterInputToPrismaStringFilter = (input) => {
607
448
  contains: input.contains ?? undefined,
608
449
  startsWith: input.startsWith ?? undefined,
609
450
  endsWith: input.endsWith ?? undefined,
610
- mode: graphQLQueryModeToPrismaQueryMode(input.mode),
611
- not: graphQLNestedStringFilterInputToPrismaNestedStringFilter(input.not),
451
+ mode: prismaQueryModeFromGraphQLQueryMode(input.mode),
452
+ not: prismaNestedStringFilterFromGraphQLFilterInput(input.not),
612
453
  };
613
454
  };
614
455
 
615
456
  /**
616
- * Maps the GraphQL string nullable filter input to a Prisma string nullable filter.
617
- * @param input The GraphQL filter.
618
- * @returns The Prisma filter.
457
+ * Prisma String Nullable Filter From GraphQL Filter Input.
458
+ * @param input The GraphQL String Nullable Filter Input.
459
+ * @returns The Prisma String Nullable Filter.
619
460
  */
620
- const graphQLStringNullableFilterInputToPrismaStringNullableFilter = (input) => {
621
- // If the GraphQL filter input is null or undefined, return undefined
622
- if (input === null || input === undefined) {
461
+ const prismaStringNullableFilterFromGraphQLFilterInput = (input) => {
462
+ if (!input) {
623
463
  return undefined;
624
464
  }
625
- // Return the Prisma filter
626
465
  return {
627
466
  equals: input.equals,
628
467
  in: input.in ? input.in.filter((o) => !!o) : input.in,
@@ -634,76 +473,67 @@ const graphQLStringNullableFilterInputToPrismaStringNullableFilter = (input) =>
634
473
  contains: input.contains ?? undefined,
635
474
  startsWith: input.startsWith ?? undefined,
636
475
  endsWith: input.endsWith ?? undefined,
637
- mode: graphQLQueryModeToPrismaQueryMode(input.mode),
638
- not: input.not ? graphQLNestedStringNullableFilterInputToPrismaNestedStringNullableFilter(input.not) : input.not,
476
+ mode: prismaQueryModeFromGraphQLQueryMode(input.mode),
477
+ not: input.not ? prismaNestedStringNullableFilterFromGraphQLFilterInput(input.not) : input.not,
639
478
  };
640
479
  };
641
480
 
642
481
  /**
643
- * Maps the GraphQL sort order to a Prisma sort order.
644
- * @param sortOrder The GraphQL sort order.
645
- * @returns The Prisma sort order.
482
+ * Prisma Sort Order From GraphQL Sort Order.
483
+ * @param sortOrder The GraphQL Sort Order.
484
+ * @returns The Prisma Sort Order.
646
485
  */
647
- const graphQLSortOrderToPrismaSortOrder = (sortOrder) => {
648
- // If the GraphQL sort order is null or undefined, return undefined.
649
- if (sortOrder === null || sortOrder === undefined) {
486
+ const prismaSortOrderFromGraphQLSortOrder = (sortOrder) => {
487
+ if (!sortOrder) {
650
488
  return undefined;
651
489
  }
652
- // Return the Prisma sort order.
653
490
  return sortOrder === SortOrder.Ascending ? 'asc' : 'desc';
654
491
  };
655
492
 
656
493
  /**
657
- * Maps the GraphQL order input to a Prisma order input.
658
- * @param input The GraphQL order input.
659
- * @returns The Prisma order input.
494
+ * Prisma Order Input From GraphQL Order Input.
495
+ * @param input The GraphQL Order Input.
496
+ * @returns The Prisma Order Input.
660
497
  */
661
- const graphQLOrderInputToPrismaOrderInput = (input) => {
662
- // Return the Prisma order by.
498
+ const prismaOrderInputFromGraphQLOrderInput = (input) => {
663
499
  return Object.fromEntries(Object.entries(input).map(([key, value]) => {
664
- return [key, graphQLSortOrderToPrismaSortOrder(value)];
500
+ return [key, prismaSortOrderFromGraphQLSortOrder(value)];
665
501
  }));
666
502
  };
667
503
 
668
504
  /**
669
- * Maps the GraphQL order inputs to the Prisma order inputs.
670
- * @param inputs The GraphQL order inputs.
671
- * @returns The Prisma order inputs.
505
+ * Prisma Order Inputs From GraphQL Order Inputs.
506
+ * @param inputs The GraphQL Prder Inputs.
507
+ * @returns The Prisma Order Inputs.
672
508
  */
673
- const graphQLOrderInputsToPrismaOrderInputs = (inputs) => {
674
- // If the GraphQL order inputs is null or undefined, return undefined.
675
- if (inputs === null || inputs === undefined) {
509
+ const prismaOrderInputsFromGraphQLOrderInputs = (inputs) => {
510
+ if (!inputs) {
676
511
  return undefined;
677
512
  }
678
- // Return the Prisma order inputs.
679
- return inputs.map(graphQLOrderInputToPrismaOrderInput);
513
+ return inputs.map(prismaOrderInputFromGraphQLOrderInput);
680
514
  };
681
515
 
682
- exports.graphQLBooleanFilterInputToPrismaBooleanFilter = graphQLBooleanFilterInputToPrismaBooleanFilter;
683
- exports.graphQLBooleanNullableFilterInputToPrismaBooleanNullableFilter = graphQLBooleanNullableFilterInputToPrismaBooleanNullableFilter;
684
- exports.graphQLCursorToPrismaWhereInput = graphQLCursorToPrismaWhereInput;
685
- exports.graphQLDateTimeFilterInputToPrismaDateTimeFilter = graphQLDateTimeFilterInputToPrismaDateTimeFilter;
686
- exports.graphQLDateTimeNullableFilterInputToPrismaDateTimeNullableFilter = graphQLDateTimeNullableFilterInputToPrismaDateTimeNullableFilter;
687
- exports.graphQLFloatFilterInputToPrismaFloatFilter = graphQLFloatFilterInputToPrismaFloatFilter;
688
- exports.graphQLFloatNullableFilterInputToPrismaFloatNullableFilter = graphQLFloatNullableFilterInputToPrismaFloatNullableFilter;
689
- exports.graphQLIdFilterInputToPrismaStringFilter = graphQLIdFilterInputToPrismaStringFilter;
690
- exports.graphQLIdNullableFilterInputToPrismaStringNullableFilter = graphQLIdNullableFilterInputToPrismaStringNullableFilter;
691
- exports.graphQLIntFilterInputToPrismaIntFilter = graphQLIntFilterInputToPrismaIntFilter;
692
- exports.graphQLIntNullableFilterInputToPrismaIntNullableFilter = graphQLIntNullableFilterInputToPrismaIntNullableFilter;
693
- exports.graphQLNestedDateTimeFilterInputToPrismaNestedDateTimeFilter = graphQLNestedDateTimeFilterInputToPrismaNestedDateTimeFilter;
694
- exports.graphQLNestedDateTimeNullableFilterInputToPrismaNestedDateTimeNullableFilter = graphQLNestedDateTimeNullableFilterInputToPrismaNestedDateTimeNullableFilter;
695
- exports.graphQLNestedFloatFilterInputToPrismaNestedFloatFilter = graphQLNestedFloatFilterInputToPrismaNestedFloatFilter;
696
- exports.graphQLNestedFloatNullableFilterInputToPrismaNestedFloatNullableFilter = graphQLNestedFloatNullableFilterInputToPrismaNestedFloatNullableFilter;
697
- exports.graphQLNestedIdFilterInputToPrismaNestedStringFilter = graphQLNestedIdFilterInputToPrismaNestedStringFilter;
698
- exports.graphQLNestedIdNullableFilterInputToPrismaNestedStringNullableFilter = graphQLNestedIdNullableFilterInputToPrismaNestedStringNullableFilter;
699
- exports.graphQLNestedIntFilterInputToPrismaNestedIntFilter = graphQLNestedIntFilterInputToPrismaNestedIntFilter;
700
- exports.graphQLNestedIntNullableFilterInputToPrismaNestedIntNullableFilter = graphQLNestedIntNullableFilterInputToPrismaNestedIntNullableFilter;
701
- exports.graphQLNestedStringFilterInputToPrismaNestedStringFilter = graphQLNestedStringFilterInputToPrismaNestedStringFilter;
702
- exports.graphQLNestedStringNullableFilterInputToPrismaNestedStringNullableFilter = graphQLNestedStringNullableFilterInputToPrismaNestedStringNullableFilter;
703
- exports.graphQLOrderInputToPrismaOrderInput = graphQLOrderInputToPrismaOrderInput;
704
- exports.graphQLOrderInputsToPrismaOrderInputs = graphQLOrderInputsToPrismaOrderInputs;
705
- exports.graphQLQueryModeToPrismaQueryMode = graphQLQueryModeToPrismaQueryMode;
706
- exports.graphQLSortOrderToPrismaSortOrder = graphQLSortOrderToPrismaSortOrder;
707
- exports.graphQLStringFilterInputToPrismaStringFilter = graphQLStringFilterInputToPrismaStringFilter;
708
- exports.graphQLStringNullableFilterInputToPrismaStringNullableFilter = graphQLStringNullableFilterInputToPrismaStringNullableFilter;
516
+ exports.prismaBooleanFilterFromGraphQLFilterInput = prismaBooleanFilterFromGraphQLFilterInput;
517
+ exports.prismaBooleanNullableFilterFromGraphQLFilterInput = prismaBooleanNullableFilterFromGraphQLFilterInput;
518
+ exports.prismaDateTimeFilterFromGraphQLFilterInput = prismaDateTimeFilterFromGraphQLFilterInput;
519
+ exports.prismaDateTimeNullableFilterFromGraphQLFilterInput = prismaDateTimeNullableFilterFromGraphQLFilterInput;
520
+ exports.prismaFloatFilterFromGraphQLFilterInput = prismaFloatFilterFromGraphQLFilterInput;
521
+ exports.prismaFloatNullableFilterFromGraphQLFilterInput = prismaFloatNullableFilterFromGraphQLFilterInput;
522
+ exports.prismaIntFilterFromGraphQLFilterInput = prismaIntFilterFromGraphQLFilterInput;
523
+ exports.prismaIntNullableFilterFromGraphQLFilterInput = prismaIntNullableFilterFromGraphQLFilterInput;
524
+ exports.prismaNestedDateTimeFilterFromGraphQLFilterInput = prismaNestedDateTimeFilterFromGraphQLFilterInput;
525
+ exports.prismaNestedDateTimeNullableFilterFromGraphQLFilterInput = prismaNestedDateTimeNullableFilterFromGraphQLFilterInput;
526
+ exports.prismaNestedFloatFilterFromGraphQLFilterInput = prismaNestedFloatFilterFromGraphQLFilterInput;
527
+ exports.prismaNestedFloatNullableFilterFromGraphQLFilterInput = prismaNestedFloatNullableFilterFromGraphQLFilterInput;
528
+ exports.prismaNestedIntFilterFromGraphQLFilterInput = prismaNestedIntFilterFromGraphQLFilterInput;
529
+ exports.prismaNestedIntNullableFilterFromGraphQLFilterInput = prismaNestedIntNullableFilterFromGraphQLFilterInput;
530
+ exports.prismaNestedStringFilterFromGraphQLFilterInput = prismaNestedStringFilterFromGraphQLFilterInput;
531
+ exports.prismaNestedStringNullableFilterFromGraphQLFilterInput = prismaNestedStringNullableFilterFromGraphQLFilterInput;
532
+ exports.prismaOrderInputFromGraphQLOrderInput = prismaOrderInputFromGraphQLOrderInput;
533
+ exports.prismaOrderInputsFromGraphQLOrderInputs = prismaOrderInputsFromGraphQLOrderInputs;
534
+ exports.prismaQueryModeFromGraphQLQueryMode = prismaQueryModeFromGraphQLQueryMode;
535
+ exports.prismaSortOrderFromGraphQLSortOrder = prismaSortOrderFromGraphQLSortOrder;
536
+ exports.prismaStringFilterFromGraphQLFilterInput = prismaStringFilterFromGraphQLFilterInput;
537
+ exports.prismaStringNullableFilterFromGraphQLFilterInput = prismaStringNullableFilterFromGraphQLFilterInput;
538
+ exports.prismaWhereInputFromGraphQLCursor = prismaWhereInputFromGraphQLCursor;
709
539
  //# sourceMappingURL=index.js.map