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