@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
|
@@ -22,7 +22,7 @@ export const ProductScalarFieldEnumSchema = z.enum([
|
|
|
22
22
|
'upc',
|
|
23
23
|
'sku',
|
|
24
24
|
'categoryId',
|
|
25
|
-
'
|
|
25
|
+
'imagesId',
|
|
26
26
|
'parentId'
|
|
27
27
|
]);
|
|
28
28
|
export const SortOrderSchema = z.enum([
|
|
@@ -51,10 +51,10 @@ export const ProductSchema = z.object({
|
|
|
51
51
|
deletedAt: z.coerce.date().nullable(),
|
|
52
52
|
name: z.string(),
|
|
53
53
|
description: z.string().nullable(),
|
|
54
|
-
upc: z.string()
|
|
55
|
-
sku: z.string()
|
|
54
|
+
upc: z.string(),
|
|
55
|
+
sku: z.string(),
|
|
56
56
|
categoryId: z.string().nullable(),
|
|
57
|
-
|
|
57
|
+
imagesId: z.string().nullable(),
|
|
58
58
|
parentId: z.number().int().nullable()
|
|
59
59
|
});
|
|
60
60
|
/////////////////////////////////////////
|
|
@@ -97,7 +97,7 @@ export const ProductSelectSchema = z.object({
|
|
|
97
97
|
upc: z.boolean().optional(),
|
|
98
98
|
sku: z.boolean().optional(),
|
|
99
99
|
categoryId: z.boolean().optional(),
|
|
100
|
-
|
|
100
|
+
imagesId: z.boolean().optional(),
|
|
101
101
|
parentId: z.boolean().optional(),
|
|
102
102
|
product: z.union([
|
|
103
103
|
z.boolean(),
|
|
@@ -154,18 +154,18 @@ export const ProductWhereInputSchema = z.strictObject({
|
|
|
154
154
|
z.string()
|
|
155
155
|
]).optional().nullable(),
|
|
156
156
|
upc: z.union([
|
|
157
|
-
z.lazy(()=>
|
|
157
|
+
z.lazy(()=>StringFilterSchema),
|
|
158
158
|
z.string()
|
|
159
|
-
]).optional()
|
|
159
|
+
]).optional(),
|
|
160
160
|
sku: z.union([
|
|
161
|
-
z.lazy(()=>
|
|
161
|
+
z.lazy(()=>StringFilterSchema),
|
|
162
162
|
z.string()
|
|
163
|
-
]).optional()
|
|
163
|
+
]).optional(),
|
|
164
164
|
categoryId: z.union([
|
|
165
165
|
z.lazy(()=>StringNullableFilterSchema),
|
|
166
166
|
z.string()
|
|
167
167
|
]).optional().nullable(),
|
|
168
|
-
|
|
168
|
+
imagesId: z.union([
|
|
169
169
|
z.lazy(()=>StringNullableFilterSchema),
|
|
170
170
|
z.string()
|
|
171
171
|
]).optional().nullable(),
|
|
@@ -193,19 +193,13 @@ export const ProductOrderByWithRelationInputSchema = z.strictObject({
|
|
|
193
193
|
z.lazy(()=>SortOrderSchema),
|
|
194
194
|
z.lazy(()=>SortOrderInputSchema)
|
|
195
195
|
]).optional(),
|
|
196
|
-
upc: z.
|
|
197
|
-
|
|
198
|
-
z.lazy(()=>SortOrderInputSchema)
|
|
199
|
-
]).optional(),
|
|
200
|
-
sku: z.union([
|
|
201
|
-
z.lazy(()=>SortOrderSchema),
|
|
202
|
-
z.lazy(()=>SortOrderInputSchema)
|
|
203
|
-
]).optional(),
|
|
196
|
+
upc: z.lazy(()=>SortOrderSchema).optional(),
|
|
197
|
+
sku: z.lazy(()=>SortOrderSchema).optional(),
|
|
204
198
|
categoryId: z.union([
|
|
205
199
|
z.lazy(()=>SortOrderSchema),
|
|
206
200
|
z.lazy(()=>SortOrderInputSchema)
|
|
207
201
|
]).optional(),
|
|
208
|
-
|
|
202
|
+
imagesId: z.union([
|
|
209
203
|
z.lazy(()=>SortOrderSchema),
|
|
210
204
|
z.lazy(()=>SortOrderInputSchema)
|
|
211
205
|
]).optional(),
|
|
@@ -394,7 +388,7 @@ export const ProductWhereUniqueInputSchema = z.union([
|
|
|
394
388
|
z.lazy(()=>StringNullableFilterSchema),
|
|
395
389
|
z.string()
|
|
396
390
|
]).optional().nullable(),
|
|
397
|
-
|
|
391
|
+
imagesId: z.union([
|
|
398
392
|
z.lazy(()=>StringNullableFilterSchema),
|
|
399
393
|
z.string()
|
|
400
394
|
]).optional().nullable(),
|
|
@@ -422,19 +416,13 @@ export const ProductOrderByWithAggregationInputSchema = z.strictObject({
|
|
|
422
416
|
z.lazy(()=>SortOrderSchema),
|
|
423
417
|
z.lazy(()=>SortOrderInputSchema)
|
|
424
418
|
]).optional(),
|
|
425
|
-
upc: z.
|
|
426
|
-
|
|
427
|
-
z.lazy(()=>SortOrderInputSchema)
|
|
428
|
-
]).optional(),
|
|
429
|
-
sku: z.union([
|
|
430
|
-
z.lazy(()=>SortOrderSchema),
|
|
431
|
-
z.lazy(()=>SortOrderInputSchema)
|
|
432
|
-
]).optional(),
|
|
419
|
+
upc: z.lazy(()=>SortOrderSchema).optional(),
|
|
420
|
+
sku: z.lazy(()=>SortOrderSchema).optional(),
|
|
433
421
|
categoryId: z.union([
|
|
434
422
|
z.lazy(()=>SortOrderSchema),
|
|
435
423
|
z.lazy(()=>SortOrderInputSchema)
|
|
436
424
|
]).optional(),
|
|
437
|
-
|
|
425
|
+
imagesId: z.union([
|
|
438
426
|
z.lazy(()=>SortOrderSchema),
|
|
439
427
|
z.lazy(()=>SortOrderInputSchema)
|
|
440
428
|
]).optional(),
|
|
@@ -487,18 +475,18 @@ export const ProductScalarWhereWithAggregatesInputSchema = z.strictObject({
|
|
|
487
475
|
z.string()
|
|
488
476
|
]).optional().nullable(),
|
|
489
477
|
upc: z.union([
|
|
490
|
-
z.lazy(()=>
|
|
478
|
+
z.lazy(()=>StringWithAggregatesFilterSchema),
|
|
491
479
|
z.string()
|
|
492
|
-
]).optional()
|
|
480
|
+
]).optional(),
|
|
493
481
|
sku: z.union([
|
|
494
|
-
z.lazy(()=>
|
|
482
|
+
z.lazy(()=>StringWithAggregatesFilterSchema),
|
|
495
483
|
z.string()
|
|
496
|
-
]).optional()
|
|
484
|
+
]).optional(),
|
|
497
485
|
categoryId: z.union([
|
|
498
486
|
z.lazy(()=>StringNullableWithAggregatesFilterSchema),
|
|
499
487
|
z.string()
|
|
500
488
|
]).optional().nullable(),
|
|
501
|
-
|
|
489
|
+
imagesId: z.union([
|
|
502
490
|
z.lazy(()=>StringNullableWithAggregatesFilterSchema),
|
|
503
491
|
z.string()
|
|
504
492
|
]).optional().nullable(),
|
|
@@ -514,10 +502,10 @@ export const ProductCreateInputSchema = z.strictObject({
|
|
|
514
502
|
deletedAt: z.coerce.date().optional().nullable(),
|
|
515
503
|
name: z.string(),
|
|
516
504
|
description: z.string().optional().nullable(),
|
|
517
|
-
upc: z.string()
|
|
518
|
-
sku: z.string()
|
|
505
|
+
upc: z.string(),
|
|
506
|
+
sku: z.string(),
|
|
519
507
|
categoryId: z.string().optional().nullable(),
|
|
520
|
-
|
|
508
|
+
imagesId: z.string().optional().nullable(),
|
|
521
509
|
product: z.lazy(()=>ProductCreateNestedOneWithoutVariantsInputSchema).optional(),
|
|
522
510
|
variants: z.lazy(()=>ProductCreateNestedManyWithoutProductInputSchema).optional()
|
|
523
511
|
});
|
|
@@ -529,10 +517,10 @@ export const ProductUncheckedCreateInputSchema = z.strictObject({
|
|
|
529
517
|
deletedAt: z.coerce.date().optional().nullable(),
|
|
530
518
|
name: z.string(),
|
|
531
519
|
description: z.string().optional().nullable(),
|
|
532
|
-
upc: z.string()
|
|
533
|
-
sku: z.string()
|
|
520
|
+
upc: z.string(),
|
|
521
|
+
sku: z.string(),
|
|
534
522
|
categoryId: z.string().optional().nullable(),
|
|
535
|
-
|
|
523
|
+
imagesId: z.string().optional().nullable(),
|
|
536
524
|
parentId: z.number().int().optional().nullable(),
|
|
537
525
|
variants: z.lazy(()=>ProductUncheckedCreateNestedManyWithoutProductInputSchema).optional()
|
|
538
526
|
});
|
|
@@ -563,17 +551,17 @@ export const ProductUpdateInputSchema = z.strictObject({
|
|
|
563
551
|
]).optional().nullable(),
|
|
564
552
|
upc: z.union([
|
|
565
553
|
z.string(),
|
|
566
|
-
z.lazy(()=>
|
|
567
|
-
]).optional()
|
|
554
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
555
|
+
]).optional(),
|
|
568
556
|
sku: z.union([
|
|
569
557
|
z.string(),
|
|
570
|
-
z.lazy(()=>
|
|
571
|
-
]).optional()
|
|
558
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
559
|
+
]).optional(),
|
|
572
560
|
categoryId: z.union([
|
|
573
561
|
z.string(),
|
|
574
562
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
575
563
|
]).optional().nullable(),
|
|
576
|
-
|
|
564
|
+
imagesId: z.union([
|
|
577
565
|
z.string(),
|
|
578
566
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
579
567
|
]).optional().nullable(),
|
|
@@ -611,17 +599,17 @@ export const ProductUncheckedUpdateInputSchema = z.strictObject({
|
|
|
611
599
|
]).optional().nullable(),
|
|
612
600
|
upc: z.union([
|
|
613
601
|
z.string(),
|
|
614
|
-
z.lazy(()=>
|
|
615
|
-
]).optional()
|
|
602
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
603
|
+
]).optional(),
|
|
616
604
|
sku: z.union([
|
|
617
605
|
z.string(),
|
|
618
|
-
z.lazy(()=>
|
|
619
|
-
]).optional()
|
|
606
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
607
|
+
]).optional(),
|
|
620
608
|
categoryId: z.union([
|
|
621
609
|
z.string(),
|
|
622
610
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
623
611
|
]).optional().nullable(),
|
|
624
|
-
|
|
612
|
+
imagesId: z.union([
|
|
625
613
|
z.string(),
|
|
626
614
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
627
615
|
]).optional().nullable(),
|
|
@@ -639,10 +627,10 @@ export const ProductCreateManyInputSchema = z.strictObject({
|
|
|
639
627
|
deletedAt: z.coerce.date().optional().nullable(),
|
|
640
628
|
name: z.string(),
|
|
641
629
|
description: z.string().optional().nullable(),
|
|
642
|
-
upc: z.string()
|
|
643
|
-
sku: z.string()
|
|
630
|
+
upc: z.string(),
|
|
631
|
+
sku: z.string(),
|
|
644
632
|
categoryId: z.string().optional().nullable(),
|
|
645
|
-
|
|
633
|
+
imagesId: z.string().optional().nullable(),
|
|
646
634
|
parentId: z.number().int().optional().nullable()
|
|
647
635
|
});
|
|
648
636
|
export const ProductUpdateManyMutationInputSchema = z.strictObject({
|
|
@@ -672,17 +660,17 @@ export const ProductUpdateManyMutationInputSchema = z.strictObject({
|
|
|
672
660
|
]).optional().nullable(),
|
|
673
661
|
upc: z.union([
|
|
674
662
|
z.string(),
|
|
675
|
-
z.lazy(()=>
|
|
676
|
-
]).optional()
|
|
663
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
664
|
+
]).optional(),
|
|
677
665
|
sku: z.union([
|
|
678
666
|
z.string(),
|
|
679
|
-
z.lazy(()=>
|
|
680
|
-
]).optional()
|
|
667
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
668
|
+
]).optional(),
|
|
681
669
|
categoryId: z.union([
|
|
682
670
|
z.string(),
|
|
683
671
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
684
672
|
]).optional().nullable(),
|
|
685
|
-
|
|
673
|
+
imagesId: z.union([
|
|
686
674
|
z.string(),
|
|
687
675
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
688
676
|
]).optional().nullable()
|
|
@@ -718,17 +706,17 @@ export const ProductUncheckedUpdateManyInputSchema = z.strictObject({
|
|
|
718
706
|
]).optional().nullable(),
|
|
719
707
|
upc: z.union([
|
|
720
708
|
z.string(),
|
|
721
|
-
z.lazy(()=>
|
|
722
|
-
]).optional()
|
|
709
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
710
|
+
]).optional(),
|
|
723
711
|
sku: z.union([
|
|
724
712
|
z.string(),
|
|
725
|
-
z.lazy(()=>
|
|
726
|
-
]).optional()
|
|
713
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
714
|
+
]).optional(),
|
|
727
715
|
categoryId: z.union([
|
|
728
716
|
z.string(),
|
|
729
717
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
730
718
|
]).optional().nullable(),
|
|
731
|
-
|
|
719
|
+
imagesId: z.union([
|
|
732
720
|
z.string(),
|
|
733
721
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
734
722
|
]).optional().nullable(),
|
|
@@ -850,7 +838,7 @@ export const ProductCountOrderByAggregateInputSchema = z.strictObject({
|
|
|
850
838
|
upc: z.lazy(()=>SortOrderSchema).optional(),
|
|
851
839
|
sku: z.lazy(()=>SortOrderSchema).optional(),
|
|
852
840
|
categoryId: z.lazy(()=>SortOrderSchema).optional(),
|
|
853
|
-
|
|
841
|
+
imagesId: z.lazy(()=>SortOrderSchema).optional(),
|
|
854
842
|
parentId: z.lazy(()=>SortOrderSchema).optional()
|
|
855
843
|
});
|
|
856
844
|
export const ProductAvgOrderByAggregateInputSchema = z.strictObject({
|
|
@@ -868,7 +856,7 @@ export const ProductMaxOrderByAggregateInputSchema = z.strictObject({
|
|
|
868
856
|
upc: z.lazy(()=>SortOrderSchema).optional(),
|
|
869
857
|
sku: z.lazy(()=>SortOrderSchema).optional(),
|
|
870
858
|
categoryId: z.lazy(()=>SortOrderSchema).optional(),
|
|
871
|
-
|
|
859
|
+
imagesId: z.lazy(()=>SortOrderSchema).optional(),
|
|
872
860
|
parentId: z.lazy(()=>SortOrderSchema).optional()
|
|
873
861
|
});
|
|
874
862
|
export const ProductMinOrderByAggregateInputSchema = z.strictObject({
|
|
@@ -882,7 +870,7 @@ export const ProductMinOrderByAggregateInputSchema = z.strictObject({
|
|
|
882
870
|
upc: z.lazy(()=>SortOrderSchema).optional(),
|
|
883
871
|
sku: z.lazy(()=>SortOrderSchema).optional(),
|
|
884
872
|
categoryId: z.lazy(()=>SortOrderSchema).optional(),
|
|
885
|
-
|
|
873
|
+
imagesId: z.lazy(()=>SortOrderSchema).optional(),
|
|
886
874
|
parentId: z.lazy(()=>SortOrderSchema).optional()
|
|
887
875
|
});
|
|
888
876
|
export const ProductSumOrderByAggregateInputSchema = z.strictObject({
|
|
@@ -1400,10 +1388,10 @@ export const ProductCreateWithoutVariantsInputSchema = z.strictObject({
|
|
|
1400
1388
|
deletedAt: z.coerce.date().optional().nullable(),
|
|
1401
1389
|
name: z.string(),
|
|
1402
1390
|
description: z.string().optional().nullable(),
|
|
1403
|
-
upc: z.string()
|
|
1404
|
-
sku: z.string()
|
|
1391
|
+
upc: z.string(),
|
|
1392
|
+
sku: z.string(),
|
|
1405
1393
|
categoryId: z.string().optional().nullable(),
|
|
1406
|
-
|
|
1394
|
+
imagesId: z.string().optional().nullable(),
|
|
1407
1395
|
product: z.lazy(()=>ProductCreateNestedOneWithoutVariantsInputSchema).optional()
|
|
1408
1396
|
});
|
|
1409
1397
|
export const ProductUncheckedCreateWithoutVariantsInputSchema = z.strictObject({
|
|
@@ -1414,10 +1402,10 @@ export const ProductUncheckedCreateWithoutVariantsInputSchema = z.strictObject({
|
|
|
1414
1402
|
deletedAt: z.coerce.date().optional().nullable(),
|
|
1415
1403
|
name: z.string(),
|
|
1416
1404
|
description: z.string().optional().nullable(),
|
|
1417
|
-
upc: z.string()
|
|
1418
|
-
sku: z.string()
|
|
1405
|
+
upc: z.string(),
|
|
1406
|
+
sku: z.string(),
|
|
1419
1407
|
categoryId: z.string().optional().nullable(),
|
|
1420
|
-
|
|
1408
|
+
imagesId: z.string().optional().nullable(),
|
|
1421
1409
|
parentId: z.number().int().optional().nullable()
|
|
1422
1410
|
});
|
|
1423
1411
|
export const ProductCreateOrConnectWithoutVariantsInputSchema = z.strictObject({
|
|
@@ -1434,10 +1422,10 @@ export const ProductCreateWithoutProductInputSchema = z.strictObject({
|
|
|
1434
1422
|
deletedAt: z.coerce.date().optional().nullable(),
|
|
1435
1423
|
name: z.string(),
|
|
1436
1424
|
description: z.string().optional().nullable(),
|
|
1437
|
-
upc: z.string()
|
|
1438
|
-
sku: z.string()
|
|
1425
|
+
upc: z.string(),
|
|
1426
|
+
sku: z.string(),
|
|
1439
1427
|
categoryId: z.string().optional().nullable(),
|
|
1440
|
-
|
|
1428
|
+
imagesId: z.string().optional().nullable(),
|
|
1441
1429
|
variants: z.lazy(()=>ProductCreateNestedManyWithoutProductInputSchema).optional()
|
|
1442
1430
|
});
|
|
1443
1431
|
export const ProductUncheckedCreateWithoutProductInputSchema = z.strictObject({
|
|
@@ -1448,10 +1436,10 @@ export const ProductUncheckedCreateWithoutProductInputSchema = z.strictObject({
|
|
|
1448
1436
|
deletedAt: z.coerce.date().optional().nullable(),
|
|
1449
1437
|
name: z.string(),
|
|
1450
1438
|
description: z.string().optional().nullable(),
|
|
1451
|
-
upc: z.string()
|
|
1452
|
-
sku: z.string()
|
|
1439
|
+
upc: z.string(),
|
|
1440
|
+
sku: z.string(),
|
|
1453
1441
|
categoryId: z.string().optional().nullable(),
|
|
1454
|
-
|
|
1442
|
+
imagesId: z.string().optional().nullable(),
|
|
1455
1443
|
variants: z.lazy(()=>ProductUncheckedCreateNestedManyWithoutProductInputSchema).optional()
|
|
1456
1444
|
});
|
|
1457
1445
|
export const ProductCreateOrConnectWithoutProductInputSchema = z.strictObject({
|
|
@@ -1513,17 +1501,17 @@ export const ProductUpdateWithoutVariantsInputSchema = z.strictObject({
|
|
|
1513
1501
|
]).optional().nullable(),
|
|
1514
1502
|
upc: z.union([
|
|
1515
1503
|
z.string(),
|
|
1516
|
-
z.lazy(()=>
|
|
1517
|
-
]).optional()
|
|
1504
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1505
|
+
]).optional(),
|
|
1518
1506
|
sku: z.union([
|
|
1519
1507
|
z.string(),
|
|
1520
|
-
z.lazy(()=>
|
|
1521
|
-
]).optional()
|
|
1508
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1509
|
+
]).optional(),
|
|
1522
1510
|
categoryId: z.union([
|
|
1523
1511
|
z.string(),
|
|
1524
1512
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1525
1513
|
]).optional().nullable(),
|
|
1526
|
-
|
|
1514
|
+
imagesId: z.union([
|
|
1527
1515
|
z.string(),
|
|
1528
1516
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1529
1517
|
]).optional().nullable(),
|
|
@@ -1560,17 +1548,17 @@ export const ProductUncheckedUpdateWithoutVariantsInputSchema = z.strictObject({
|
|
|
1560
1548
|
]).optional().nullable(),
|
|
1561
1549
|
upc: z.union([
|
|
1562
1550
|
z.string(),
|
|
1563
|
-
z.lazy(()=>
|
|
1564
|
-
]).optional()
|
|
1551
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1552
|
+
]).optional(),
|
|
1565
1553
|
sku: z.union([
|
|
1566
1554
|
z.string(),
|
|
1567
|
-
z.lazy(()=>
|
|
1568
|
-
]).optional()
|
|
1555
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1556
|
+
]).optional(),
|
|
1569
1557
|
categoryId: z.union([
|
|
1570
1558
|
z.string(),
|
|
1571
1559
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1572
1560
|
]).optional().nullable(),
|
|
1573
|
-
|
|
1561
|
+
imagesId: z.union([
|
|
1574
1562
|
z.string(),
|
|
1575
1563
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1576
1564
|
]).optional().nullable(),
|
|
@@ -1643,18 +1631,18 @@ export const ProductScalarWhereInputSchema = z.strictObject({
|
|
|
1643
1631
|
z.string()
|
|
1644
1632
|
]).optional().nullable(),
|
|
1645
1633
|
upc: z.union([
|
|
1646
|
-
z.lazy(()=>
|
|
1634
|
+
z.lazy(()=>StringFilterSchema),
|
|
1647
1635
|
z.string()
|
|
1648
|
-
]).optional()
|
|
1636
|
+
]).optional(),
|
|
1649
1637
|
sku: z.union([
|
|
1650
|
-
z.lazy(()=>
|
|
1638
|
+
z.lazy(()=>StringFilterSchema),
|
|
1651
1639
|
z.string()
|
|
1652
|
-
]).optional()
|
|
1640
|
+
]).optional(),
|
|
1653
1641
|
categoryId: z.union([
|
|
1654
1642
|
z.lazy(()=>StringNullableFilterSchema),
|
|
1655
1643
|
z.string()
|
|
1656
1644
|
]).optional().nullable(),
|
|
1657
|
-
|
|
1645
|
+
imagesId: z.union([
|
|
1658
1646
|
z.lazy(()=>StringNullableFilterSchema),
|
|
1659
1647
|
z.string()
|
|
1660
1648
|
]).optional().nullable(),
|
|
@@ -1671,10 +1659,10 @@ export const ProductCreateManyProductInputSchema = z.strictObject({
|
|
|
1671
1659
|
deletedAt: z.coerce.date().optional().nullable(),
|
|
1672
1660
|
name: z.string(),
|
|
1673
1661
|
description: z.string().optional().nullable(),
|
|
1674
|
-
upc: z.string()
|
|
1675
|
-
sku: z.string()
|
|
1662
|
+
upc: z.string(),
|
|
1663
|
+
sku: z.string(),
|
|
1676
1664
|
categoryId: z.string().optional().nullable(),
|
|
1677
|
-
|
|
1665
|
+
imagesId: z.string().optional().nullable()
|
|
1678
1666
|
});
|
|
1679
1667
|
export const ProductUpdateWithoutProductInputSchema = z.strictObject({
|
|
1680
1668
|
uuid: z.union([
|
|
@@ -1703,17 +1691,17 @@ export const ProductUpdateWithoutProductInputSchema = z.strictObject({
|
|
|
1703
1691
|
]).optional().nullable(),
|
|
1704
1692
|
upc: z.union([
|
|
1705
1693
|
z.string(),
|
|
1706
|
-
z.lazy(()=>
|
|
1707
|
-
]).optional()
|
|
1694
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1695
|
+
]).optional(),
|
|
1708
1696
|
sku: z.union([
|
|
1709
1697
|
z.string(),
|
|
1710
|
-
z.lazy(()=>
|
|
1711
|
-
]).optional()
|
|
1698
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1699
|
+
]).optional(),
|
|
1712
1700
|
categoryId: z.union([
|
|
1713
1701
|
z.string(),
|
|
1714
1702
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1715
1703
|
]).optional().nullable(),
|
|
1716
|
-
|
|
1704
|
+
imagesId: z.union([
|
|
1717
1705
|
z.string(),
|
|
1718
1706
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1719
1707
|
]).optional().nullable(),
|
|
@@ -1750,17 +1738,17 @@ export const ProductUncheckedUpdateWithoutProductInputSchema = z.strictObject({
|
|
|
1750
1738
|
]).optional().nullable(),
|
|
1751
1739
|
upc: z.union([
|
|
1752
1740
|
z.string(),
|
|
1753
|
-
z.lazy(()=>
|
|
1754
|
-
]).optional()
|
|
1741
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1742
|
+
]).optional(),
|
|
1755
1743
|
sku: z.union([
|
|
1756
1744
|
z.string(),
|
|
1757
|
-
z.lazy(()=>
|
|
1758
|
-
]).optional()
|
|
1745
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1746
|
+
]).optional(),
|
|
1759
1747
|
categoryId: z.union([
|
|
1760
1748
|
z.string(),
|
|
1761
1749
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1762
1750
|
]).optional().nullable(),
|
|
1763
|
-
|
|
1751
|
+
imagesId: z.union([
|
|
1764
1752
|
z.string(),
|
|
1765
1753
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1766
1754
|
]).optional().nullable(),
|
|
@@ -1797,17 +1785,17 @@ export const ProductUncheckedUpdateManyWithoutProductInputSchema = z.strictObjec
|
|
|
1797
1785
|
]).optional().nullable(),
|
|
1798
1786
|
upc: z.union([
|
|
1799
1787
|
z.string(),
|
|
1800
|
-
z.lazy(()=>
|
|
1801
|
-
]).optional()
|
|
1788
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1789
|
+
]).optional(),
|
|
1802
1790
|
sku: z.union([
|
|
1803
1791
|
z.string(),
|
|
1804
|
-
z.lazy(()=>
|
|
1805
|
-
]).optional()
|
|
1792
|
+
z.lazy(()=>StringFieldUpdateOperationsInputSchema)
|
|
1793
|
+
]).optional(),
|
|
1806
1794
|
categoryId: z.union([
|
|
1807
1795
|
z.string(),
|
|
1808
1796
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1809
1797
|
]).optional().nullable(),
|
|
1810
|
-
|
|
1798
|
+
imagesId: z.union([
|
|
1811
1799
|
z.string(),
|
|
1812
1800
|
z.lazy(()=>NullableStringFieldUpdateOperationsInputSchema)
|
|
1813
1801
|
]).optional().nullable()
|