@robert-brightline/ims-db 0.0.1 → 0.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/README.md +1 -1
- package/dist/generated/prisma/internal/class.js +2 -2
- package/dist/generated/prisma/internal/class.js.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +1 -1
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +1 -1
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/generated/prisma/models/Product.d.ts +88 -88
- package/dist/generated/prisma/models/Product.d.ts.map +1 -1
- package/dist/generated/prisma/models/Product.js.map +1 -1
- package/dist/generated/zod/index.d.ts +4 -4
- package/dist/generated/zod/index.d.ts.map +1 -1
- package/dist/generated/zod/index.js +99 -111
- package/dist/generated/zod/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -31,7 +31,7 @@ export type ProductMinAggregateOutputType = {
|
|
|
31
31
|
upc: string | null;
|
|
32
32
|
sku: string | null;
|
|
33
33
|
categoryId: string | null;
|
|
34
|
-
|
|
34
|
+
imagesId: string | null;
|
|
35
35
|
parentId: number | null;
|
|
36
36
|
};
|
|
37
37
|
export type ProductMaxAggregateOutputType = {
|
|
@@ -45,7 +45,7 @@ export type ProductMaxAggregateOutputType = {
|
|
|
45
45
|
upc: string | null;
|
|
46
46
|
sku: string | null;
|
|
47
47
|
categoryId: string | null;
|
|
48
|
-
|
|
48
|
+
imagesId: string | null;
|
|
49
49
|
parentId: number | null;
|
|
50
50
|
};
|
|
51
51
|
export type ProductCountAggregateOutputType = {
|
|
@@ -59,7 +59,7 @@ export type ProductCountAggregateOutputType = {
|
|
|
59
59
|
upc: number;
|
|
60
60
|
sku: number;
|
|
61
61
|
categoryId: number;
|
|
62
|
-
|
|
62
|
+
imagesId: number;
|
|
63
63
|
parentId: number;
|
|
64
64
|
_all: number;
|
|
65
65
|
};
|
|
@@ -82,7 +82,7 @@ export type ProductMinAggregateInputType = {
|
|
|
82
82
|
upc?: true;
|
|
83
83
|
sku?: true;
|
|
84
84
|
categoryId?: true;
|
|
85
|
-
|
|
85
|
+
imagesId?: true;
|
|
86
86
|
parentId?: true;
|
|
87
87
|
};
|
|
88
88
|
export type ProductMaxAggregateInputType = {
|
|
@@ -96,7 +96,7 @@ export type ProductMaxAggregateInputType = {
|
|
|
96
96
|
upc?: true;
|
|
97
97
|
sku?: true;
|
|
98
98
|
categoryId?: true;
|
|
99
|
-
|
|
99
|
+
imagesId?: true;
|
|
100
100
|
parentId?: true;
|
|
101
101
|
};
|
|
102
102
|
export type ProductCountAggregateInputType = {
|
|
@@ -110,7 +110,7 @@ export type ProductCountAggregateInputType = {
|
|
|
110
110
|
upc?: true;
|
|
111
111
|
sku?: true;
|
|
112
112
|
categoryId?: true;
|
|
113
|
-
|
|
113
|
+
imagesId?: true;
|
|
114
114
|
parentId?: true;
|
|
115
115
|
_all?: true;
|
|
116
116
|
};
|
|
@@ -198,10 +198,10 @@ export type ProductGroupByOutputType = {
|
|
|
198
198
|
deletedAt: Date | null;
|
|
199
199
|
name: string;
|
|
200
200
|
description: string | null;
|
|
201
|
-
upc: string
|
|
202
|
-
sku: string
|
|
201
|
+
upc: string;
|
|
202
|
+
sku: string;
|
|
203
203
|
categoryId: string | null;
|
|
204
|
-
|
|
204
|
+
imagesId: string | null;
|
|
205
205
|
parentId: number | null;
|
|
206
206
|
_count: ProductCountAggregateOutputType | null;
|
|
207
207
|
_avg: ProductAvgAggregateOutputType | null;
|
|
@@ -223,10 +223,10 @@ export type ProductWhereInput = {
|
|
|
223
223
|
deletedAt?: Prisma.DateTimeNullableFilter<"Product"> | Date | string | null;
|
|
224
224
|
name?: Prisma.StringFilter<"Product"> | string;
|
|
225
225
|
description?: Prisma.StringNullableFilter<"Product"> | string | null;
|
|
226
|
-
upc?: Prisma.
|
|
227
|
-
sku?: Prisma.
|
|
226
|
+
upc?: Prisma.StringFilter<"Product"> | string;
|
|
227
|
+
sku?: Prisma.StringFilter<"Product"> | string;
|
|
228
228
|
categoryId?: Prisma.StringNullableFilter<"Product"> | string | null;
|
|
229
|
-
|
|
229
|
+
imagesId?: Prisma.StringNullableFilter<"Product"> | string | null;
|
|
230
230
|
parentId?: Prisma.IntNullableFilter<"Product"> | number | null;
|
|
231
231
|
product?: Prisma.XOR<Prisma.ProductNullableScalarRelationFilter, Prisma.ProductWhereInput> | null;
|
|
232
232
|
variants?: Prisma.ProductListRelationFilter;
|
|
@@ -239,10 +239,10 @@ export type ProductOrderByWithRelationInput = {
|
|
|
239
239
|
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
240
240
|
name?: Prisma.SortOrder;
|
|
241
241
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
242
|
-
upc?: Prisma.
|
|
243
|
-
sku?: Prisma.
|
|
242
|
+
upc?: Prisma.SortOrder;
|
|
243
|
+
sku?: Prisma.SortOrder;
|
|
244
244
|
categoryId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
245
|
-
|
|
245
|
+
imagesId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
246
246
|
parentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
247
247
|
product?: Prisma.ProductOrderByWithRelationInput;
|
|
248
248
|
variants?: Prisma.ProductOrderByRelationAggregateInput;
|
|
@@ -261,7 +261,7 @@ export type ProductWhereUniqueInput = Prisma.AtLeast<{
|
|
|
261
261
|
deletedAt?: Prisma.DateTimeNullableFilter<"Product"> | Date | string | null;
|
|
262
262
|
description?: Prisma.StringNullableFilter<"Product"> | string | null;
|
|
263
263
|
categoryId?: Prisma.StringNullableFilter<"Product"> | string | null;
|
|
264
|
-
|
|
264
|
+
imagesId?: Prisma.StringNullableFilter<"Product"> | string | null;
|
|
265
265
|
parentId?: Prisma.IntNullableFilter<"Product"> | number | null;
|
|
266
266
|
product?: Prisma.XOR<Prisma.ProductNullableScalarRelationFilter, Prisma.ProductWhereInput> | null;
|
|
267
267
|
variants?: Prisma.ProductListRelationFilter;
|
|
@@ -274,10 +274,10 @@ export type ProductOrderByWithAggregationInput = {
|
|
|
274
274
|
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
275
275
|
name?: Prisma.SortOrder;
|
|
276
276
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
277
|
-
upc?: Prisma.
|
|
278
|
-
sku?: Prisma.
|
|
277
|
+
upc?: Prisma.SortOrder;
|
|
278
|
+
sku?: Prisma.SortOrder;
|
|
279
279
|
categoryId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
280
|
-
|
|
280
|
+
imagesId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
281
|
parentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
282
282
|
_count?: Prisma.ProductCountOrderByAggregateInput;
|
|
283
283
|
_avg?: Prisma.ProductAvgOrderByAggregateInput;
|
|
@@ -296,10 +296,10 @@ export type ProductScalarWhereWithAggregatesInput = {
|
|
|
296
296
|
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Product"> | Date | string | null;
|
|
297
297
|
name?: Prisma.StringWithAggregatesFilter<"Product"> | string;
|
|
298
298
|
description?: Prisma.StringNullableWithAggregatesFilter<"Product"> | string | null;
|
|
299
|
-
upc?: Prisma.
|
|
300
|
-
sku?: Prisma.
|
|
299
|
+
upc?: Prisma.StringWithAggregatesFilter<"Product"> | string;
|
|
300
|
+
sku?: Prisma.StringWithAggregatesFilter<"Product"> | string;
|
|
301
301
|
categoryId?: Prisma.StringNullableWithAggregatesFilter<"Product"> | string | null;
|
|
302
|
-
|
|
302
|
+
imagesId?: Prisma.StringNullableWithAggregatesFilter<"Product"> | string | null;
|
|
303
303
|
parentId?: Prisma.IntNullableWithAggregatesFilter<"Product"> | number | null;
|
|
304
304
|
};
|
|
305
305
|
export type ProductCreateInput = {
|
|
@@ -309,10 +309,10 @@ export type ProductCreateInput = {
|
|
|
309
309
|
deletedAt?: Date | string | null;
|
|
310
310
|
name: string;
|
|
311
311
|
description?: string | null;
|
|
312
|
-
upc
|
|
313
|
-
sku
|
|
312
|
+
upc: string;
|
|
313
|
+
sku: string;
|
|
314
314
|
categoryId?: string | null;
|
|
315
|
-
|
|
315
|
+
imagesId?: string | null;
|
|
316
316
|
product?: Prisma.ProductCreateNestedOneWithoutVariantsInput;
|
|
317
317
|
variants?: Prisma.ProductCreateNestedManyWithoutProductInput;
|
|
318
318
|
};
|
|
@@ -324,10 +324,10 @@ export type ProductUncheckedCreateInput = {
|
|
|
324
324
|
deletedAt?: Date | string | null;
|
|
325
325
|
name: string;
|
|
326
326
|
description?: string | null;
|
|
327
|
-
upc
|
|
328
|
-
sku
|
|
327
|
+
upc: string;
|
|
328
|
+
sku: string;
|
|
329
329
|
categoryId?: string | null;
|
|
330
|
-
|
|
330
|
+
imagesId?: string | null;
|
|
331
331
|
parentId?: number | null;
|
|
332
332
|
variants?: Prisma.ProductUncheckedCreateNestedManyWithoutProductInput;
|
|
333
333
|
};
|
|
@@ -338,10 +338,10 @@ export type ProductUpdateInput = {
|
|
|
338
338
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
339
339
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
340
340
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
341
|
-
upc?: Prisma.
|
|
342
|
-
sku?: Prisma.
|
|
341
|
+
upc?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
342
|
+
sku?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
343
343
|
categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
344
|
-
|
|
344
|
+
imagesId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
345
345
|
product?: Prisma.ProductUpdateOneWithoutVariantsNestedInput;
|
|
346
346
|
variants?: Prisma.ProductUpdateManyWithoutProductNestedInput;
|
|
347
347
|
};
|
|
@@ -353,10 +353,10 @@ export type ProductUncheckedUpdateInput = {
|
|
|
353
353
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
354
354
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
355
355
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
356
|
-
upc?: Prisma.
|
|
357
|
-
sku?: Prisma.
|
|
356
|
+
upc?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
357
|
+
sku?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
358
358
|
categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
359
|
-
|
|
359
|
+
imagesId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
360
360
|
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
361
361
|
variants?: Prisma.ProductUncheckedUpdateManyWithoutProductNestedInput;
|
|
362
362
|
};
|
|
@@ -368,10 +368,10 @@ export type ProductCreateManyInput = {
|
|
|
368
368
|
deletedAt?: Date | string | null;
|
|
369
369
|
name: string;
|
|
370
370
|
description?: string | null;
|
|
371
|
-
upc
|
|
372
|
-
sku
|
|
371
|
+
upc: string;
|
|
372
|
+
sku: string;
|
|
373
373
|
categoryId?: string | null;
|
|
374
|
-
|
|
374
|
+
imagesId?: string | null;
|
|
375
375
|
parentId?: number | null;
|
|
376
376
|
};
|
|
377
377
|
export type ProductUpdateManyMutationInput = {
|
|
@@ -381,10 +381,10 @@ export type ProductUpdateManyMutationInput = {
|
|
|
381
381
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
382
382
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
383
383
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
384
|
-
upc?: Prisma.
|
|
385
|
-
sku?: Prisma.
|
|
384
|
+
upc?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
385
|
+
sku?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
386
386
|
categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
387
|
-
|
|
387
|
+
imagesId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
388
388
|
};
|
|
389
389
|
export type ProductUncheckedUpdateManyInput = {
|
|
390
390
|
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
@@ -394,10 +394,10 @@ export type ProductUncheckedUpdateManyInput = {
|
|
|
394
394
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
395
395
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
396
396
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
397
|
-
upc?: Prisma.
|
|
398
|
-
sku?: Prisma.
|
|
397
|
+
upc?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
sku?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
399
|
categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
400
|
-
|
|
400
|
+
imagesId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
401
401
|
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
402
402
|
};
|
|
403
403
|
export type ProductNullableScalarRelationFilter = {
|
|
@@ -423,7 +423,7 @@ export type ProductCountOrderByAggregateInput = {
|
|
|
423
423
|
upc?: Prisma.SortOrder;
|
|
424
424
|
sku?: Prisma.SortOrder;
|
|
425
425
|
categoryId?: Prisma.SortOrder;
|
|
426
|
-
|
|
426
|
+
imagesId?: Prisma.SortOrder;
|
|
427
427
|
parentId?: Prisma.SortOrder;
|
|
428
428
|
};
|
|
429
429
|
export type ProductAvgOrderByAggregateInput = {
|
|
@@ -441,7 +441,7 @@ export type ProductMaxOrderByAggregateInput = {
|
|
|
441
441
|
upc?: Prisma.SortOrder;
|
|
442
442
|
sku?: Prisma.SortOrder;
|
|
443
443
|
categoryId?: Prisma.SortOrder;
|
|
444
|
-
|
|
444
|
+
imagesId?: Prisma.SortOrder;
|
|
445
445
|
parentId?: Prisma.SortOrder;
|
|
446
446
|
};
|
|
447
447
|
export type ProductMinOrderByAggregateInput = {
|
|
@@ -455,7 +455,7 @@ export type ProductMinOrderByAggregateInput = {
|
|
|
455
455
|
upc?: Prisma.SortOrder;
|
|
456
456
|
sku?: Prisma.SortOrder;
|
|
457
457
|
categoryId?: Prisma.SortOrder;
|
|
458
|
-
|
|
458
|
+
imagesId?: Prisma.SortOrder;
|
|
459
459
|
parentId?: Prisma.SortOrder;
|
|
460
460
|
};
|
|
461
461
|
export type ProductSumOrderByAggregateInput = {
|
|
@@ -547,10 +547,10 @@ export type ProductCreateWithoutVariantsInput = {
|
|
|
547
547
|
deletedAt?: Date | string | null;
|
|
548
548
|
name: string;
|
|
549
549
|
description?: string | null;
|
|
550
|
-
upc
|
|
551
|
-
sku
|
|
550
|
+
upc: string;
|
|
551
|
+
sku: string;
|
|
552
552
|
categoryId?: string | null;
|
|
553
|
-
|
|
553
|
+
imagesId?: string | null;
|
|
554
554
|
product?: Prisma.ProductCreateNestedOneWithoutVariantsInput;
|
|
555
555
|
};
|
|
556
556
|
export type ProductUncheckedCreateWithoutVariantsInput = {
|
|
@@ -561,10 +561,10 @@ export type ProductUncheckedCreateWithoutVariantsInput = {
|
|
|
561
561
|
deletedAt?: Date | string | null;
|
|
562
562
|
name: string;
|
|
563
563
|
description?: string | null;
|
|
564
|
-
upc
|
|
565
|
-
sku
|
|
564
|
+
upc: string;
|
|
565
|
+
sku: string;
|
|
566
566
|
categoryId?: string | null;
|
|
567
|
-
|
|
567
|
+
imagesId?: string | null;
|
|
568
568
|
parentId?: number | null;
|
|
569
569
|
};
|
|
570
570
|
export type ProductCreateOrConnectWithoutVariantsInput = {
|
|
@@ -578,10 +578,10 @@ export type ProductCreateWithoutProductInput = {
|
|
|
578
578
|
deletedAt?: Date | string | null;
|
|
579
579
|
name: string;
|
|
580
580
|
description?: string | null;
|
|
581
|
-
upc
|
|
582
|
-
sku
|
|
581
|
+
upc: string;
|
|
582
|
+
sku: string;
|
|
583
583
|
categoryId?: string | null;
|
|
584
|
-
|
|
584
|
+
imagesId?: string | null;
|
|
585
585
|
variants?: Prisma.ProductCreateNestedManyWithoutProductInput;
|
|
586
586
|
};
|
|
587
587
|
export type ProductUncheckedCreateWithoutProductInput = {
|
|
@@ -592,10 +592,10 @@ export type ProductUncheckedCreateWithoutProductInput = {
|
|
|
592
592
|
deletedAt?: Date | string | null;
|
|
593
593
|
name: string;
|
|
594
594
|
description?: string | null;
|
|
595
|
-
upc
|
|
596
|
-
sku
|
|
595
|
+
upc: string;
|
|
596
|
+
sku: string;
|
|
597
597
|
categoryId?: string | null;
|
|
598
|
-
|
|
598
|
+
imagesId?: string | null;
|
|
599
599
|
variants?: Prisma.ProductUncheckedCreateNestedManyWithoutProductInput;
|
|
600
600
|
};
|
|
601
601
|
export type ProductCreateOrConnectWithoutProductInput = {
|
|
@@ -622,10 +622,10 @@ export type ProductUpdateWithoutVariantsInput = {
|
|
|
622
622
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
623
623
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
624
624
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
625
|
-
upc?: Prisma.
|
|
626
|
-
sku?: Prisma.
|
|
625
|
+
upc?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
626
|
+
sku?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
627
627
|
categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
628
|
-
|
|
628
|
+
imagesId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
629
629
|
product?: Prisma.ProductUpdateOneWithoutVariantsNestedInput;
|
|
630
630
|
};
|
|
631
631
|
export type ProductUncheckedUpdateWithoutVariantsInput = {
|
|
@@ -636,10 +636,10 @@ export type ProductUncheckedUpdateWithoutVariantsInput = {
|
|
|
636
636
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
637
637
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
638
638
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
639
|
-
upc?: Prisma.
|
|
640
|
-
sku?: Prisma.
|
|
639
|
+
upc?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
640
|
+
sku?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
641
641
|
categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
642
|
-
|
|
642
|
+
imagesId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
643
643
|
parentId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
644
644
|
};
|
|
645
645
|
export type ProductUpsertWithWhereUniqueWithoutProductInput = {
|
|
@@ -666,10 +666,10 @@ export type ProductScalarWhereInput = {
|
|
|
666
666
|
deletedAt?: Prisma.DateTimeNullableFilter<"Product"> | Date | string | null;
|
|
667
667
|
name?: Prisma.StringFilter<"Product"> | string;
|
|
668
668
|
description?: Prisma.StringNullableFilter<"Product"> | string | null;
|
|
669
|
-
upc?: Prisma.
|
|
670
|
-
sku?: Prisma.
|
|
669
|
+
upc?: Prisma.StringFilter<"Product"> | string;
|
|
670
|
+
sku?: Prisma.StringFilter<"Product"> | string;
|
|
671
671
|
categoryId?: Prisma.StringNullableFilter<"Product"> | string | null;
|
|
672
|
-
|
|
672
|
+
imagesId?: Prisma.StringNullableFilter<"Product"> | string | null;
|
|
673
673
|
parentId?: Prisma.IntNullableFilter<"Product"> | number | null;
|
|
674
674
|
};
|
|
675
675
|
export type ProductCreateManyProductInput = {
|
|
@@ -680,10 +680,10 @@ export type ProductCreateManyProductInput = {
|
|
|
680
680
|
deletedAt?: Date | string | null;
|
|
681
681
|
name: string;
|
|
682
682
|
description?: string | null;
|
|
683
|
-
upc
|
|
684
|
-
sku
|
|
683
|
+
upc: string;
|
|
684
|
+
sku: string;
|
|
685
685
|
categoryId?: string | null;
|
|
686
|
-
|
|
686
|
+
imagesId?: string | null;
|
|
687
687
|
};
|
|
688
688
|
export type ProductUpdateWithoutProductInput = {
|
|
689
689
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -692,10 +692,10 @@ export type ProductUpdateWithoutProductInput = {
|
|
|
692
692
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
693
693
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
694
694
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
695
|
-
upc?: Prisma.
|
|
696
|
-
sku?: Prisma.
|
|
695
|
+
upc?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
696
|
+
sku?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
697
697
|
categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
698
|
-
|
|
698
|
+
imagesId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
699
699
|
variants?: Prisma.ProductUpdateManyWithoutProductNestedInput;
|
|
700
700
|
};
|
|
701
701
|
export type ProductUncheckedUpdateWithoutProductInput = {
|
|
@@ -706,10 +706,10 @@ export type ProductUncheckedUpdateWithoutProductInput = {
|
|
|
706
706
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
707
707
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
708
708
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
709
|
-
upc?: Prisma.
|
|
710
|
-
sku?: Prisma.
|
|
709
|
+
upc?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
710
|
+
sku?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
711
711
|
categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
712
|
-
|
|
712
|
+
imagesId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
713
713
|
variants?: Prisma.ProductUncheckedUpdateManyWithoutProductNestedInput;
|
|
714
714
|
};
|
|
715
715
|
export type ProductUncheckedUpdateManyWithoutProductInput = {
|
|
@@ -720,10 +720,10 @@ export type ProductUncheckedUpdateManyWithoutProductInput = {
|
|
|
720
720
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
721
721
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
722
722
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
723
|
-
upc?: Prisma.
|
|
724
|
-
sku?: Prisma.
|
|
723
|
+
upc?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
724
|
+
sku?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
725
725
|
categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
726
|
-
|
|
726
|
+
imagesId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
727
727
|
};
|
|
728
728
|
/**
|
|
729
729
|
* Count Type ProductCountOutputType
|
|
@@ -760,7 +760,7 @@ export type ProductSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
760
760
|
upc?: boolean;
|
|
761
761
|
sku?: boolean;
|
|
762
762
|
categoryId?: boolean;
|
|
763
|
-
|
|
763
|
+
imagesId?: boolean;
|
|
764
764
|
parentId?: boolean;
|
|
765
765
|
product?: boolean | Prisma.Product$productArgs<ExtArgs>;
|
|
766
766
|
variants?: boolean | Prisma.Product$variantsArgs<ExtArgs>;
|
|
@@ -777,7 +777,7 @@ export type ProductSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
|
|
|
777
777
|
upc?: boolean;
|
|
778
778
|
sku?: boolean;
|
|
779
779
|
categoryId?: boolean;
|
|
780
|
-
|
|
780
|
+
imagesId?: boolean;
|
|
781
781
|
parentId?: boolean;
|
|
782
782
|
product?: boolean | Prisma.Product$productArgs<ExtArgs>;
|
|
783
783
|
}, ExtArgs["result"]["product"]>;
|
|
@@ -792,7 +792,7 @@ export type ProductSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
|
|
|
792
792
|
upc?: boolean;
|
|
793
793
|
sku?: boolean;
|
|
794
794
|
categoryId?: boolean;
|
|
795
|
-
|
|
795
|
+
imagesId?: boolean;
|
|
796
796
|
parentId?: boolean;
|
|
797
797
|
product?: boolean | Prisma.Product$productArgs<ExtArgs>;
|
|
798
798
|
}, ExtArgs["result"]["product"]>;
|
|
@@ -807,10 +807,10 @@ export type ProductSelectScalar = {
|
|
|
807
807
|
upc?: boolean;
|
|
808
808
|
sku?: boolean;
|
|
809
809
|
categoryId?: boolean;
|
|
810
|
-
|
|
810
|
+
imagesId?: boolean;
|
|
811
811
|
parentId?: boolean;
|
|
812
812
|
};
|
|
813
|
-
export type ProductOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "createdAt" | "updatedAt" | "deletedAt" | "name" | "description" | "upc" | "sku" | "categoryId" | "
|
|
813
|
+
export type ProductOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "createdAt" | "updatedAt" | "deletedAt" | "name" | "description" | "upc" | "sku" | "categoryId" | "imagesId" | "parentId", ExtArgs["result"]["product"]>;
|
|
814
814
|
export type ProductInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
815
815
|
product?: boolean | Prisma.Product$productArgs<ExtArgs>;
|
|
816
816
|
variants?: boolean | Prisma.Product$variantsArgs<ExtArgs>;
|
|
@@ -836,10 +836,10 @@ export type $ProductPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
836
836
|
deletedAt: Date | null;
|
|
837
837
|
name: string;
|
|
838
838
|
description: string | null;
|
|
839
|
-
upc: string
|
|
840
|
-
sku: string
|
|
839
|
+
upc: string;
|
|
840
|
+
sku: string;
|
|
841
841
|
categoryId: string | null;
|
|
842
|
-
|
|
842
|
+
imagesId: string | null;
|
|
843
843
|
parentId: number | null;
|
|
844
844
|
}, ExtArgs["result"]["product"]>;
|
|
845
845
|
composites: {};
|
|
@@ -1207,7 +1207,7 @@ export interface ProductFieldRefs {
|
|
|
1207
1207
|
readonly upc: Prisma.FieldRef<"Product", 'String'>;
|
|
1208
1208
|
readonly sku: Prisma.FieldRef<"Product", 'String'>;
|
|
1209
1209
|
readonly categoryId: Prisma.FieldRef<"Product", 'String'>;
|
|
1210
|
-
readonly
|
|
1210
|
+
readonly imagesId: Prisma.FieldRef<"Product", 'String'>;
|
|
1211
1211
|
readonly parentId: Prisma.FieldRef<"Product", 'Int'>;
|
|
1212
1212
|
}
|
|
1213
1213
|
/**
|