@shophost/rest-api 0.1.7 → 0.1.8
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 +4 -3
- 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 productsContract: {
|
|
|
183
183
|
translations: z.ZodArray<z.ZodObject<{
|
|
184
184
|
locale: z.ZodString;
|
|
185
185
|
title: z.ZodDefault<z.ZodString>;
|
|
186
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
186
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
187
187
|
}, "strip", z.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", z.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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
471
471
|
translations: z.ZodArray<z.ZodObject<{
|
|
472
472
|
locale: z.ZodString;
|
|
473
473
|
title: z.ZodDefault<z.ZodString>;
|
|
474
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
474
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
475
475
|
}, "strip", z.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", z.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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
1047
1047
|
translations: z.ZodArray<z.ZodObject<{
|
|
1048
1048
|
locale: z.ZodString;
|
|
1049
1049
|
title: z.ZodDefault<z.ZodString>;
|
|
1050
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
1050
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1051
1051
|
}, "strip", z.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", z.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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
1335
1335
|
translations: z.ZodArray<z.ZodObject<{
|
|
1336
1336
|
locale: z.ZodString;
|
|
1337
1337
|
title: z.ZodDefault<z.ZodString>;
|
|
1338
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
1338
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1339
1339
|
}, "strip", z.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", z.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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
2028
2028
|
translations: z.ZodArray<z.ZodObject<{
|
|
2029
2029
|
locale: z.ZodString;
|
|
2030
2030
|
title: z.ZodDefault<z.ZodString>;
|
|
2031
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
2031
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
2032
2032
|
}, "strip", z.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", z.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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
2360
2360
|
translations: z.ZodArray<z.ZodObject<{
|
|
2361
2361
|
locale: z.ZodString;
|
|
2362
2362
|
title: z.ZodDefault<z.ZodString>;
|
|
2363
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
2363
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
2364
2364
|
}, "strip", z.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", z.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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
2839
2839
|
translations: z.ZodArray<z.ZodObject<{
|
|
2840
2840
|
locale: z.ZodString;
|
|
2841
2841
|
title: z.ZodDefault<z.ZodString>;
|
|
2842
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
2842
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
2843
2843
|
}, "strip", z.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", z.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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
3190
3190
|
translations: z.ZodArray<z.ZodObject<{
|
|
3191
3191
|
locale: z.ZodString;
|
|
3192
3192
|
title: z.ZodDefault<z.ZodString>;
|
|
3193
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
3193
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
3194
3194
|
}, "strip", z.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", z.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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
3642
3642
|
translations: z.ZodArray<z.ZodObject<{
|
|
3643
3643
|
locale: z.ZodString;
|
|
3644
3644
|
title: z.ZodDefault<z.ZodString>;
|
|
3645
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
3645
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
3646
3646
|
}, "strip", z.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", z.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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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 productsContract: {
|
|
|
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;
|
|
@@ -224,21 +224,21 @@ export declare const buildCartRouter: (prisma: PrismaClientType) => import("@ts-
|
|
|
224
224
|
translations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
225
225
|
locale: import("zod").ZodString;
|
|
226
226
|
title: import("zod").ZodDefault<import("zod").ZodString>;
|
|
227
|
-
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodString
|
|
227
|
+
description: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
228
228
|
}, "strip", import("zod").ZodTypeAny, {
|
|
229
229
|
locale: string;
|
|
230
230
|
title: string;
|
|
231
|
-
description?: string | undefined;
|
|
231
|
+
description?: string | null | undefined;
|
|
232
232
|
}, {
|
|
233
233
|
locale: string;
|
|
234
234
|
title?: string | undefined;
|
|
235
|
-
description?: string | undefined;
|
|
235
|
+
description?: string | null | undefined;
|
|
236
236
|
}>, "many">;
|
|
237
237
|
}, "strip", import("zod").ZodTypeAny, {
|
|
238
238
|
translations: {
|
|
239
239
|
locale: string;
|
|
240
240
|
title: string;
|
|
241
|
-
description?: string | undefined;
|
|
241
|
+
description?: string | null | undefined;
|
|
242
242
|
}[];
|
|
243
243
|
id: string;
|
|
244
244
|
slug: string;
|
|
@@ -255,7 +255,7 @@ export declare const buildCartRouter: (prisma: PrismaClientType) => import("@ts-
|
|
|
255
255
|
translations: {
|
|
256
256
|
locale: string;
|
|
257
257
|
title?: string | undefined;
|
|
258
|
-
description?: string | undefined;
|
|
258
|
+
description?: string | null | undefined;
|
|
259
259
|
}[];
|
|
260
260
|
id: string;
|
|
261
261
|
slug: string;
|