@shophost/rest-api 0.1.7 → 0.1.9
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/package.json +7 -6
- package/src/contract.d.ts +13 -13
- package/src/contracts/cart.contract.d.ts +5 -5
- package/src/contracts/index.d.ts +113 -113
- package/src/contracts/product-categories.contract.d.ts +47 -47
- package/src/contracts/products.contract.d.ts +61 -61
- package/src/routers/cart.router.d.ts +5 -5
- package/src/routers/product-category.router.d.ts +47 -47
- package/src/routers/product.router.d.ts +61 -61
- package/src/schemas/cart.schema.d.ts +5 -5
- package/src/schemas/product-category.schema.d.ts +22 -22
- package/src/schemas/product-category.schema.js +1 -0
- package/src/schemas/product-category.schema.js.map +1 -1
- package/src/schemas/product.schema.d.ts +17 -17
- package/src/services/organization.service.js +21 -0
- package/src/services/organization.service.js.map +1 -1
- package/src/services/product-category.service.d.ts +5 -5
- package/src/services/product.service.d.ts +6 -6
- package/src/utils/client.util.d.ts +13 -13
|
@@ -183,21 +183,21 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
183
183
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
184
184
|
locale: import("zod").ZodString;
|
|
185
185
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
186
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
186
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
187
187
|
}, "strip", import("zod").ZodTypeAny, {
|
|
188
188
|
locale: string;
|
|
189
189
|
title: string;
|
|
190
|
-
description?: string | undefined;
|
|
190
|
+
description?: string | null | undefined;
|
|
191
191
|
}, {
|
|
192
192
|
locale: string;
|
|
193
193
|
title?: string | undefined;
|
|
194
|
-
description?: string | undefined;
|
|
194
|
+
description?: string | null | undefined;
|
|
195
195
|
}>, "many">;
|
|
196
196
|
}, "strip", import("zod").ZodTypeAny, {
|
|
197
197
|
translations: {
|
|
198
198
|
locale: string;
|
|
199
199
|
title: string;
|
|
200
|
-
description?: string | undefined;
|
|
200
|
+
description?: string | null | undefined;
|
|
201
201
|
}[];
|
|
202
202
|
id: string;
|
|
203
203
|
slug: string;
|
|
@@ -214,7 +214,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
214
214
|
translations: {
|
|
215
215
|
locale: string;
|
|
216
216
|
title?: string | undefined;
|
|
217
|
-
description?: string | undefined;
|
|
217
|
+
description?: string | null | undefined;
|
|
218
218
|
}[];
|
|
219
219
|
id: string;
|
|
220
220
|
slug: string;
|
|
@@ -254,7 +254,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
254
254
|
translations: {
|
|
255
255
|
locale: string;
|
|
256
256
|
title: string;
|
|
257
|
-
description?: string | undefined;
|
|
257
|
+
description?: string | null | undefined;
|
|
258
258
|
}[];
|
|
259
259
|
id: string;
|
|
260
260
|
slug: string;
|
|
@@ -309,7 +309,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
309
309
|
translations: {
|
|
310
310
|
locale: string;
|
|
311
311
|
title?: string | undefined;
|
|
312
|
-
description?: string | undefined;
|
|
312
|
+
description?: string | null | undefined;
|
|
313
313
|
}[];
|
|
314
314
|
id: string;
|
|
315
315
|
slug: string;
|
|
@@ -471,21 +471,21 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
471
471
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
472
472
|
locale: import("zod").ZodString;
|
|
473
473
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
474
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
474
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
475
475
|
}, "strip", import("zod").ZodTypeAny, {
|
|
476
476
|
locale: string;
|
|
477
477
|
title: string;
|
|
478
|
-
description?: string | undefined;
|
|
478
|
+
description?: string | null | undefined;
|
|
479
479
|
}, {
|
|
480
480
|
locale: string;
|
|
481
481
|
title?: string | undefined;
|
|
482
|
-
description?: string | undefined;
|
|
482
|
+
description?: string | null | undefined;
|
|
483
483
|
}>, "many">;
|
|
484
484
|
}, "strip", import("zod").ZodTypeAny, {
|
|
485
485
|
translations: {
|
|
486
486
|
locale: string;
|
|
487
487
|
title: string;
|
|
488
|
-
description?: string | undefined;
|
|
488
|
+
description?: string | null | undefined;
|
|
489
489
|
}[];
|
|
490
490
|
id: string;
|
|
491
491
|
slug: string;
|
|
@@ -502,7 +502,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
502
502
|
translations: {
|
|
503
503
|
locale: string;
|
|
504
504
|
title?: string | undefined;
|
|
505
|
-
description?: string | undefined;
|
|
505
|
+
description?: string | null | undefined;
|
|
506
506
|
}[];
|
|
507
507
|
id: string;
|
|
508
508
|
slug: string;
|
|
@@ -691,7 +691,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
691
691
|
translations: {
|
|
692
692
|
locale: string;
|
|
693
693
|
title: string;
|
|
694
|
-
description?: string | undefined;
|
|
694
|
+
description?: string | null | undefined;
|
|
695
695
|
}[];
|
|
696
696
|
id: string;
|
|
697
697
|
slug: string;
|
|
@@ -792,7 +792,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
792
792
|
translations: {
|
|
793
793
|
locale: string;
|
|
794
794
|
title?: string | undefined;
|
|
795
|
-
description?: string | undefined;
|
|
795
|
+
description?: string | null | undefined;
|
|
796
796
|
}[];
|
|
797
797
|
id: string;
|
|
798
798
|
slug: string;
|
|
@@ -1047,21 +1047,21 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
1047
1047
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1048
1048
|
locale: import("zod").ZodString;
|
|
1049
1049
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
1050
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
1050
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
1051
1051
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1052
1052
|
locale: string;
|
|
1053
1053
|
title: string;
|
|
1054
|
-
description?: string | undefined;
|
|
1054
|
+
description?: string | null | undefined;
|
|
1055
1055
|
}, {
|
|
1056
1056
|
locale: string;
|
|
1057
1057
|
title?: string | undefined;
|
|
1058
|
-
description?: string | undefined;
|
|
1058
|
+
description?: string | null | undefined;
|
|
1059
1059
|
}>, "many">;
|
|
1060
1060
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1061
1061
|
translations: {
|
|
1062
1062
|
locale: string;
|
|
1063
1063
|
title: string;
|
|
1064
|
-
description?: string | undefined;
|
|
1064
|
+
description?: string | null | undefined;
|
|
1065
1065
|
}[];
|
|
1066
1066
|
id: string;
|
|
1067
1067
|
slug: string;
|
|
@@ -1078,7 +1078,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
1078
1078
|
translations: {
|
|
1079
1079
|
locale: string;
|
|
1080
1080
|
title?: string | undefined;
|
|
1081
|
-
description?: string | undefined;
|
|
1081
|
+
description?: string | null | undefined;
|
|
1082
1082
|
}[];
|
|
1083
1083
|
id: string;
|
|
1084
1084
|
slug: string;
|
|
@@ -1118,7 +1118,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
1118
1118
|
translations: {
|
|
1119
1119
|
locale: string;
|
|
1120
1120
|
title: string;
|
|
1121
|
-
description?: string | undefined;
|
|
1121
|
+
description?: string | null | undefined;
|
|
1122
1122
|
}[];
|
|
1123
1123
|
id: string;
|
|
1124
1124
|
slug: string;
|
|
@@ -1173,7 +1173,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
1173
1173
|
translations: {
|
|
1174
1174
|
locale: string;
|
|
1175
1175
|
title?: string | undefined;
|
|
1176
|
-
description?: string | undefined;
|
|
1176
|
+
description?: string | null | undefined;
|
|
1177
1177
|
}[];
|
|
1178
1178
|
id: string;
|
|
1179
1179
|
slug: string;
|
|
@@ -1335,21 +1335,21 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
1335
1335
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1336
1336
|
locale: import("zod").ZodString;
|
|
1337
1337
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
1338
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
1338
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
1339
1339
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1340
1340
|
locale: string;
|
|
1341
1341
|
title: string;
|
|
1342
|
-
description?: string | undefined;
|
|
1342
|
+
description?: string | null | undefined;
|
|
1343
1343
|
}, {
|
|
1344
1344
|
locale: string;
|
|
1345
1345
|
title?: string | undefined;
|
|
1346
|
-
description?: string | undefined;
|
|
1346
|
+
description?: string | null | undefined;
|
|
1347
1347
|
}>, "many">;
|
|
1348
1348
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1349
1349
|
translations: {
|
|
1350
1350
|
locale: string;
|
|
1351
1351
|
title: string;
|
|
1352
|
-
description?: string | undefined;
|
|
1352
|
+
description?: string | null | undefined;
|
|
1353
1353
|
}[];
|
|
1354
1354
|
id: string;
|
|
1355
1355
|
slug: string;
|
|
@@ -1366,7 +1366,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
1366
1366
|
translations: {
|
|
1367
1367
|
locale: string;
|
|
1368
1368
|
title?: string | undefined;
|
|
1369
|
-
description?: string | undefined;
|
|
1369
|
+
description?: string | null | undefined;
|
|
1370
1370
|
}[];
|
|
1371
1371
|
id: string;
|
|
1372
1372
|
slug: string;
|
|
@@ -2028,21 +2028,21 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2028
2028
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2029
2029
|
locale: import("zod").ZodString;
|
|
2030
2030
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2031
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
2031
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2032
2032
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2033
2033
|
locale: string;
|
|
2034
2034
|
title: string;
|
|
2035
|
-
description?: string | undefined;
|
|
2035
|
+
description?: string | null | undefined;
|
|
2036
2036
|
}, {
|
|
2037
2037
|
locale: string;
|
|
2038
2038
|
title?: string | undefined;
|
|
2039
|
-
description?: string | undefined;
|
|
2039
|
+
description?: string | null | undefined;
|
|
2040
2040
|
}>, "many">;
|
|
2041
2041
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2042
2042
|
translations: {
|
|
2043
2043
|
locale: string;
|
|
2044
2044
|
title: string;
|
|
2045
|
-
description?: string | undefined;
|
|
2045
|
+
description?: string | null | undefined;
|
|
2046
2046
|
}[];
|
|
2047
2047
|
id: string;
|
|
2048
2048
|
slug: string;
|
|
@@ -2059,7 +2059,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2059
2059
|
translations: {
|
|
2060
2060
|
locale: string;
|
|
2061
2061
|
title?: string | undefined;
|
|
2062
|
-
description?: string | undefined;
|
|
2062
|
+
description?: string | null | undefined;
|
|
2063
2063
|
}[];
|
|
2064
2064
|
id: string;
|
|
2065
2065
|
slug: string;
|
|
@@ -2099,7 +2099,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2099
2099
|
translations: {
|
|
2100
2100
|
locale: string;
|
|
2101
2101
|
title: string;
|
|
2102
|
-
description?: string | undefined;
|
|
2102
|
+
description?: string | null | undefined;
|
|
2103
2103
|
}[];
|
|
2104
2104
|
id: string;
|
|
2105
2105
|
slug: string;
|
|
@@ -2154,7 +2154,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2154
2154
|
translations: {
|
|
2155
2155
|
locale: string;
|
|
2156
2156
|
title?: string | undefined;
|
|
2157
|
-
description?: string | undefined;
|
|
2157
|
+
description?: string | null | undefined;
|
|
2158
2158
|
}[];
|
|
2159
2159
|
id: string;
|
|
2160
2160
|
slug: string;
|
|
@@ -2360,21 +2360,21 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2360
2360
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2361
2361
|
locale: import("zod").ZodString;
|
|
2362
2362
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2363
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
2363
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2364
2364
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2365
2365
|
locale: string;
|
|
2366
2366
|
title: string;
|
|
2367
|
-
description?: string | undefined;
|
|
2367
|
+
description?: string | null | undefined;
|
|
2368
2368
|
}, {
|
|
2369
2369
|
locale: string;
|
|
2370
2370
|
title?: string | undefined;
|
|
2371
|
-
description?: string | undefined;
|
|
2371
|
+
description?: string | null | undefined;
|
|
2372
2372
|
}>, "many">;
|
|
2373
2373
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2374
2374
|
translations: {
|
|
2375
2375
|
locale: string;
|
|
2376
2376
|
title: string;
|
|
2377
|
-
description?: string | undefined;
|
|
2377
|
+
description?: string | null | undefined;
|
|
2378
2378
|
}[];
|
|
2379
2379
|
id: string;
|
|
2380
2380
|
slug: string;
|
|
@@ -2391,7 +2391,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2391
2391
|
translations: {
|
|
2392
2392
|
locale: string;
|
|
2393
2393
|
title?: string | undefined;
|
|
2394
|
-
description?: string | undefined;
|
|
2394
|
+
description?: string | null | undefined;
|
|
2395
2395
|
}[];
|
|
2396
2396
|
id: string;
|
|
2397
2397
|
slug: string;
|
|
@@ -2839,21 +2839,21 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2839
2839
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2840
2840
|
locale: import("zod").ZodString;
|
|
2841
2841
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
2842
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
2842
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
2843
2843
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2844
2844
|
locale: string;
|
|
2845
2845
|
title: string;
|
|
2846
|
-
description?: string | undefined;
|
|
2846
|
+
description?: string | null | undefined;
|
|
2847
2847
|
}, {
|
|
2848
2848
|
locale: string;
|
|
2849
2849
|
title?: string | undefined;
|
|
2850
|
-
description?: string | undefined;
|
|
2850
|
+
description?: string | null | undefined;
|
|
2851
2851
|
}>, "many">;
|
|
2852
2852
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2853
2853
|
translations: {
|
|
2854
2854
|
locale: string;
|
|
2855
2855
|
title: string;
|
|
2856
|
-
description?: string | undefined;
|
|
2856
|
+
description?: string | null | undefined;
|
|
2857
2857
|
}[];
|
|
2858
2858
|
id: string;
|
|
2859
2859
|
slug: string;
|
|
@@ -2870,7 +2870,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2870
2870
|
translations: {
|
|
2871
2871
|
locale: string;
|
|
2872
2872
|
title?: string | undefined;
|
|
2873
|
-
description?: string | undefined;
|
|
2873
|
+
description?: string | null | undefined;
|
|
2874
2874
|
}[];
|
|
2875
2875
|
id: string;
|
|
2876
2876
|
slug: string;
|
|
@@ -2910,7 +2910,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2910
2910
|
translations: {
|
|
2911
2911
|
locale: string;
|
|
2912
2912
|
title: string;
|
|
2913
|
-
description?: string | undefined;
|
|
2913
|
+
description?: string | null | undefined;
|
|
2914
2914
|
}[];
|
|
2915
2915
|
id: string;
|
|
2916
2916
|
slug: string;
|
|
@@ -2965,7 +2965,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
2965
2965
|
translations: {
|
|
2966
2966
|
locale: string;
|
|
2967
2967
|
title?: string | undefined;
|
|
2968
|
-
description?: string | undefined;
|
|
2968
|
+
description?: string | null | undefined;
|
|
2969
2969
|
}[];
|
|
2970
2970
|
id: string;
|
|
2971
2971
|
slug: string;
|
|
@@ -3190,21 +3190,21 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3190
3190
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3191
3191
|
locale: import("zod").ZodString;
|
|
3192
3192
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3193
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
3193
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
3194
3194
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3195
3195
|
locale: string;
|
|
3196
3196
|
title: string;
|
|
3197
|
-
description?: string | undefined;
|
|
3197
|
+
description?: string | null | undefined;
|
|
3198
3198
|
}, {
|
|
3199
3199
|
locale: string;
|
|
3200
3200
|
title?: string | undefined;
|
|
3201
|
-
description?: string | undefined;
|
|
3201
|
+
description?: string | null | undefined;
|
|
3202
3202
|
}>, "many">;
|
|
3203
3203
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3204
3204
|
translations: {
|
|
3205
3205
|
locale: string;
|
|
3206
3206
|
title: string;
|
|
3207
|
-
description?: string | undefined;
|
|
3207
|
+
description?: string | null | undefined;
|
|
3208
3208
|
}[];
|
|
3209
3209
|
id: string;
|
|
3210
3210
|
slug: string;
|
|
@@ -3221,7 +3221,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3221
3221
|
translations: {
|
|
3222
3222
|
locale: string;
|
|
3223
3223
|
title?: string | undefined;
|
|
3224
|
-
description?: string | undefined;
|
|
3224
|
+
description?: string | null | undefined;
|
|
3225
3225
|
}[];
|
|
3226
3226
|
id: string;
|
|
3227
3227
|
slug: string;
|
|
@@ -3261,7 +3261,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3261
3261
|
translations: {
|
|
3262
3262
|
locale: string;
|
|
3263
3263
|
title: string;
|
|
3264
|
-
description?: string | undefined;
|
|
3264
|
+
description?: string | null | undefined;
|
|
3265
3265
|
}[];
|
|
3266
3266
|
id: string;
|
|
3267
3267
|
slug: string;
|
|
@@ -3316,7 +3316,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3316
3316
|
translations: {
|
|
3317
3317
|
locale: string;
|
|
3318
3318
|
title?: string | undefined;
|
|
3319
|
-
description?: string | undefined;
|
|
3319
|
+
description?: string | null | undefined;
|
|
3320
3320
|
}[];
|
|
3321
3321
|
id: string;
|
|
3322
3322
|
slug: string;
|
|
@@ -3642,21 +3642,21 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3642
3642
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3643
3643
|
locale: import("zod").ZodString;
|
|
3644
3644
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
3645
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
3645
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
3646
3646
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3647
3647
|
locale: string;
|
|
3648
3648
|
title: string;
|
|
3649
|
-
description?: string | undefined;
|
|
3649
|
+
description?: string | null | undefined;
|
|
3650
3650
|
}, {
|
|
3651
3651
|
locale: string;
|
|
3652
3652
|
title?: string | undefined;
|
|
3653
|
-
description?: string | undefined;
|
|
3653
|
+
description?: string | null | undefined;
|
|
3654
3654
|
}>, "many">;
|
|
3655
3655
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3656
3656
|
translations: {
|
|
3657
3657
|
locale: string;
|
|
3658
3658
|
title: string;
|
|
3659
|
-
description?: string | undefined;
|
|
3659
|
+
description?: string | null | undefined;
|
|
3660
3660
|
}[];
|
|
3661
3661
|
id: string;
|
|
3662
3662
|
slug: string;
|
|
@@ -3673,7 +3673,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3673
3673
|
translations: {
|
|
3674
3674
|
locale: string;
|
|
3675
3675
|
title?: string | undefined;
|
|
3676
|
-
description?: string | undefined;
|
|
3676
|
+
description?: string | null | undefined;
|
|
3677
3677
|
}[];
|
|
3678
3678
|
id: string;
|
|
3679
3679
|
slug: string;
|
|
@@ -3713,7 +3713,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3713
3713
|
translations: {
|
|
3714
3714
|
locale: string;
|
|
3715
3715
|
title: string;
|
|
3716
|
-
description?: string | undefined;
|
|
3716
|
+
description?: string | null | undefined;
|
|
3717
3717
|
}[];
|
|
3718
3718
|
id: string;
|
|
3719
3719
|
slug: string;
|
|
@@ -3768,7 +3768,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3768
3768
|
translations: {
|
|
3769
3769
|
locale: string;
|
|
3770
3770
|
title?: string | undefined;
|
|
3771
|
-
description?: string | undefined;
|
|
3771
|
+
description?: string | null | undefined;
|
|
3772
3772
|
}[];
|
|
3773
3773
|
id: string;
|
|
3774
3774
|
slug: string;
|
|
@@ -3836,7 +3836,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3836
3836
|
translations: {
|
|
3837
3837
|
locale: string;
|
|
3838
3838
|
title: string;
|
|
3839
|
-
description?: string | undefined;
|
|
3839
|
+
description?: string | null | undefined;
|
|
3840
3840
|
}[];
|
|
3841
3841
|
id: string;
|
|
3842
3842
|
slug: string;
|
|
@@ -3902,7 +3902,7 @@ export declare const buildProductRouter: (prisma: PrismaClientType) => import("@
|
|
|
3902
3902
|
translations: {
|
|
3903
3903
|
locale: string;
|
|
3904
3904
|
title?: string | undefined;
|
|
3905
|
-
description?: string | undefined;
|
|
3905
|
+
description?: string | null | undefined;
|
|
3906
3906
|
}[];
|
|
3907
3907
|
id: string;
|
|
3908
3908
|
slug: string;
|
|
@@ -114,21 +114,21 @@ export declare const CartProductsMappingSchema: z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
114
114
|
translations: z.ZodArray<z.ZodObject<{
|
|
115
115
|
locale: z.ZodString;
|
|
116
116
|
title: z.ZodDefault<z.ZodString>;
|
|
117
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
117
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
locale: string;
|
|
120
120
|
title: string;
|
|
121
|
-
description?: string | undefined;
|
|
121
|
+
description?: string | null | undefined;
|
|
122
122
|
}, {
|
|
123
123
|
locale: string;
|
|
124
124
|
title?: string | undefined;
|
|
125
|
-
description?: string | undefined;
|
|
125
|
+
description?: string | null | undefined;
|
|
126
126
|
}>, "many">;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
128
|
translations: {
|
|
129
129
|
locale: string;
|
|
130
130
|
title: string;
|
|
131
|
-
description?: string | undefined;
|
|
131
|
+
description?: string | null | undefined;
|
|
132
132
|
}[];
|
|
133
133
|
id: string;
|
|
134
134
|
slug: string;
|
|
@@ -145,7 +145,7 @@ export declare const CartProductsMappingSchema: z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
145
145
|
translations: {
|
|
146
146
|
locale: string;
|
|
147
147
|
title?: string | undefined;
|
|
148
|
-
description?: string | undefined;
|
|
148
|
+
description?: string | null | undefined;
|
|
149
149
|
}[];
|
|
150
150
|
id: string;
|
|
151
151
|
slug: string;
|
|
@@ -26,21 +26,21 @@ export declare const ProductCategorySchema: z.ZodObject<{
|
|
|
26
26
|
translations: z.ZodArray<z.ZodObject<{
|
|
27
27
|
locale: z.ZodString;
|
|
28
28
|
title: z.ZodDefault<z.ZodString>;
|
|
29
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
29
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
31
|
locale: string;
|
|
32
32
|
title: string;
|
|
33
|
-
description?: string | undefined;
|
|
33
|
+
description?: string | null | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
locale: string;
|
|
36
36
|
title?: string | undefined;
|
|
37
|
-
description?: string | undefined;
|
|
37
|
+
description?: string | null | undefined;
|
|
38
38
|
}>, "many">;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
translations: {
|
|
41
41
|
locale: string;
|
|
42
42
|
title: string;
|
|
43
|
-
description?: string | undefined;
|
|
43
|
+
description?: string | null | undefined;
|
|
44
44
|
}[];
|
|
45
45
|
id: string;
|
|
46
46
|
slug: string;
|
|
@@ -57,7 +57,7 @@ export declare const ProductCategorySchema: z.ZodObject<{
|
|
|
57
57
|
translations: {
|
|
58
58
|
locale: string;
|
|
59
59
|
title?: string | undefined;
|
|
60
|
-
description?: string | undefined;
|
|
60
|
+
description?: string | null | undefined;
|
|
61
61
|
}[];
|
|
62
62
|
id: string;
|
|
63
63
|
slug: string;
|
|
@@ -98,15 +98,15 @@ export declare const LocalizedProductCategorySchema: z.ZodObject<z.objectUtil.ex
|
|
|
98
98
|
translations: z.ZodArray<z.ZodObject<{
|
|
99
99
|
locale: z.ZodString;
|
|
100
100
|
title: z.ZodDefault<z.ZodString>;
|
|
101
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
101
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
locale: string;
|
|
104
104
|
title: string;
|
|
105
|
-
description?: string | undefined;
|
|
105
|
+
description?: string | null | undefined;
|
|
106
106
|
}, {
|
|
107
107
|
locale: string;
|
|
108
108
|
title?: string | undefined;
|
|
109
|
-
description?: string | undefined;
|
|
109
|
+
description?: string | null | undefined;
|
|
110
110
|
}>, "many">;
|
|
111
111
|
}, "translations">, {
|
|
112
112
|
title: z.ZodDefault<z.ZodString>;
|
|
@@ -167,15 +167,15 @@ export declare const CreateProductCategorySchema: z.ZodEffects<z.ZodObject<z.obj
|
|
|
167
167
|
translations: z.ZodArray<z.ZodObject<{
|
|
168
168
|
locale: z.ZodString;
|
|
169
169
|
title: z.ZodDefault<z.ZodString>;
|
|
170
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
170
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
172
|
locale: string;
|
|
173
173
|
title: string;
|
|
174
|
-
description?: string | undefined;
|
|
174
|
+
description?: string | null | undefined;
|
|
175
175
|
}, {
|
|
176
176
|
locale: string;
|
|
177
177
|
title?: string | undefined;
|
|
178
|
-
description?: string | undefined;
|
|
178
|
+
description?: string | null | undefined;
|
|
179
179
|
}>, "many">;
|
|
180
180
|
}, "translations" | "slug" | "image">, {
|
|
181
181
|
defaultLocale: z.ZodString;
|
|
@@ -184,7 +184,7 @@ export declare const CreateProductCategorySchema: z.ZodEffects<z.ZodObject<z.obj
|
|
|
184
184
|
translations: {
|
|
185
185
|
locale: string;
|
|
186
186
|
title: string;
|
|
187
|
-
description?: string | undefined;
|
|
187
|
+
description?: string | null | undefined;
|
|
188
188
|
}[];
|
|
189
189
|
defaultLocale: string;
|
|
190
190
|
slug: string;
|
|
@@ -200,7 +200,7 @@ export declare const CreateProductCategorySchema: z.ZodEffects<z.ZodObject<z.obj
|
|
|
200
200
|
translations: {
|
|
201
201
|
locale: string;
|
|
202
202
|
title?: string | undefined;
|
|
203
|
-
description?: string | undefined;
|
|
203
|
+
description?: string | null | undefined;
|
|
204
204
|
}[];
|
|
205
205
|
defaultLocale: string;
|
|
206
206
|
slug: string;
|
|
@@ -216,7 +216,7 @@ export declare const CreateProductCategorySchema: z.ZodEffects<z.ZodObject<z.obj
|
|
|
216
216
|
translations: {
|
|
217
217
|
locale: string;
|
|
218
218
|
title: string;
|
|
219
|
-
description?: string | undefined;
|
|
219
|
+
description?: string | null | undefined;
|
|
220
220
|
}[];
|
|
221
221
|
defaultLocale: string;
|
|
222
222
|
slug: string;
|
|
@@ -232,7 +232,7 @@ export declare const CreateProductCategorySchema: z.ZodEffects<z.ZodObject<z.obj
|
|
|
232
232
|
translations: {
|
|
233
233
|
locale: string;
|
|
234
234
|
title?: string | undefined;
|
|
235
|
-
description?: string | undefined;
|
|
235
|
+
description?: string | null | undefined;
|
|
236
236
|
}[];
|
|
237
237
|
defaultLocale: string;
|
|
238
238
|
slug: string;
|
|
@@ -249,15 +249,15 @@ export declare const UpdateProductCategorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
249
249
|
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
250
250
|
locale: z.ZodString;
|
|
251
251
|
title: z.ZodDefault<z.ZodString>;
|
|
252
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
252
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
253
253
|
}, "strip", z.ZodTypeAny, {
|
|
254
254
|
locale: string;
|
|
255
255
|
title: string;
|
|
256
|
-
description?: string | undefined;
|
|
256
|
+
description?: string | null | undefined;
|
|
257
257
|
}, {
|
|
258
258
|
locale: string;
|
|
259
259
|
title?: string | undefined;
|
|
260
|
-
description?: string | undefined;
|
|
260
|
+
description?: string | null | undefined;
|
|
261
261
|
}>, "many">>;
|
|
262
262
|
slug: z.ZodOptional<z.ZodString>;
|
|
263
263
|
image: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -285,7 +285,7 @@ export declare const UpdateProductCategorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
285
285
|
translations?: {
|
|
286
286
|
locale: string;
|
|
287
287
|
title: string;
|
|
288
|
-
description?: string | undefined;
|
|
288
|
+
description?: string | null | undefined;
|
|
289
289
|
}[] | undefined;
|
|
290
290
|
defaultLocale?: string | undefined;
|
|
291
291
|
slug?: string | undefined;
|
|
@@ -301,7 +301,7 @@ export declare const UpdateProductCategorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
301
301
|
translations?: {
|
|
302
302
|
locale: string;
|
|
303
303
|
title?: string | undefined;
|
|
304
|
-
description?: string | undefined;
|
|
304
|
+
description?: string | null | undefined;
|
|
305
305
|
}[] | undefined;
|
|
306
306
|
defaultLocale?: string | undefined;
|
|
307
307
|
slug?: string | undefined;
|
|
@@ -317,7 +317,7 @@ export declare const UpdateProductCategorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
317
317
|
translations?: {
|
|
318
318
|
locale: string;
|
|
319
319
|
title: string;
|
|
320
|
-
description?: string | undefined;
|
|
320
|
+
description?: string | null | undefined;
|
|
321
321
|
}[] | undefined;
|
|
322
322
|
defaultLocale?: string | undefined;
|
|
323
323
|
slug?: string | undefined;
|
|
@@ -333,7 +333,7 @@ export declare const UpdateProductCategorySchema: z.ZodEffects<z.ZodObject<{
|
|
|
333
333
|
translations?: {
|
|
334
334
|
locale: string;
|
|
335
335
|
title?: string | undefined;
|
|
336
|
-
description?: string | undefined;
|
|
336
|
+
description?: string | null | undefined;
|
|
337
337
|
}[] | undefined;
|
|
338
338
|
defaultLocale?: string | undefined;
|
|
339
339
|
slug?: string | undefined;
|