@jsdev_ninja/core 0.10.8 → 0.10.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/dist/core.cjs.js +1 -1
- package/dist/core.cjs.js.map +1 -1
- package/dist/core.es.js +1 -1
- package/dist/core.es.js.map +1 -1
- package/dist/core.umd.js +1 -1
- package/dist/core.umd.js.map +1 -1
- package/dist/entities/Cart.d.ts +16 -16
- package/dist/entities/Category.d.ts +6 -6
- package/dist/entities/Category.js +1 -1
- package/dist/entities/Order.d.ts +20 -20
- package/dist/entities/Product.d.ts +16 -16
- package/lib/entities/Category.ts +1 -1
- package/package.json +1 -1
|
@@ -104,49 +104,49 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
104
104
|
id: string;
|
|
105
105
|
companyId: string;
|
|
106
106
|
storeId: string;
|
|
107
|
-
tag: string;
|
|
108
107
|
locales: {
|
|
109
108
|
value: string;
|
|
110
109
|
lang: "he";
|
|
111
110
|
}[];
|
|
112
111
|
depth: number;
|
|
113
112
|
parentId?: string | null | undefined;
|
|
113
|
+
tag?: string | undefined;
|
|
114
114
|
} & {
|
|
115
115
|
children: ({
|
|
116
116
|
id: string;
|
|
117
117
|
companyId: string;
|
|
118
118
|
storeId: string;
|
|
119
|
-
tag: string;
|
|
120
119
|
locales: {
|
|
121
120
|
value: string;
|
|
122
121
|
lang: "he";
|
|
123
122
|
}[];
|
|
124
123
|
depth: number;
|
|
125
124
|
parentId?: string | null | undefined;
|
|
125
|
+
tag?: string | undefined;
|
|
126
126
|
} & /*elided*/ any)[];
|
|
127
127
|
}, z.ZodTypeDef, {
|
|
128
128
|
id: string;
|
|
129
129
|
companyId: string;
|
|
130
130
|
storeId: string;
|
|
131
|
-
tag: string;
|
|
132
131
|
locales: {
|
|
133
132
|
value: string;
|
|
134
133
|
lang: "he";
|
|
135
134
|
}[];
|
|
136
135
|
depth: number;
|
|
137
136
|
parentId?: string | null | undefined;
|
|
137
|
+
tag?: string | undefined;
|
|
138
138
|
} & {
|
|
139
139
|
children: ({
|
|
140
140
|
id: string;
|
|
141
141
|
companyId: string;
|
|
142
142
|
storeId: string;
|
|
143
|
-
tag: string;
|
|
144
143
|
locales: {
|
|
145
144
|
value: string;
|
|
146
145
|
lang: "he";
|
|
147
146
|
}[];
|
|
148
147
|
depth: number;
|
|
149
148
|
parentId?: string | null | undefined;
|
|
149
|
+
tag?: string | undefined;
|
|
150
150
|
} & /*elided*/ any)[];
|
|
151
151
|
}>, "many">;
|
|
152
152
|
categories: z.ZodObject<{
|
|
@@ -223,25 +223,25 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
223
223
|
id: string;
|
|
224
224
|
companyId: string;
|
|
225
225
|
storeId: string;
|
|
226
|
-
tag: string;
|
|
227
226
|
locales: {
|
|
228
227
|
value: string;
|
|
229
228
|
lang: "he";
|
|
230
229
|
}[];
|
|
231
230
|
depth: number;
|
|
232
231
|
parentId?: string | null | undefined;
|
|
232
|
+
tag?: string | undefined;
|
|
233
233
|
} & {
|
|
234
234
|
children: ({
|
|
235
235
|
id: string;
|
|
236
236
|
companyId: string;
|
|
237
237
|
storeId: string;
|
|
238
|
-
tag: string;
|
|
239
238
|
locales: {
|
|
240
239
|
value: string;
|
|
241
240
|
lang: "he";
|
|
242
241
|
}[];
|
|
243
242
|
depth: number;
|
|
244
243
|
parentId?: string | null | undefined;
|
|
244
|
+
tag?: string | undefined;
|
|
245
245
|
} & /*elided*/ any)[];
|
|
246
246
|
})[];
|
|
247
247
|
categories: {
|
|
@@ -309,25 +309,25 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
309
309
|
id: string;
|
|
310
310
|
companyId: string;
|
|
311
311
|
storeId: string;
|
|
312
|
-
tag: string;
|
|
313
312
|
locales: {
|
|
314
313
|
value: string;
|
|
315
314
|
lang: "he";
|
|
316
315
|
}[];
|
|
317
316
|
depth: number;
|
|
318
317
|
parentId?: string | null | undefined;
|
|
318
|
+
tag?: string | undefined;
|
|
319
319
|
} & {
|
|
320
320
|
children: ({
|
|
321
321
|
id: string;
|
|
322
322
|
companyId: string;
|
|
323
323
|
storeId: string;
|
|
324
|
-
tag: string;
|
|
325
324
|
locales: {
|
|
326
325
|
value: string;
|
|
327
326
|
lang: "he";
|
|
328
327
|
}[];
|
|
329
328
|
depth: number;
|
|
330
329
|
parentId?: string | null | undefined;
|
|
330
|
+
tag?: string | undefined;
|
|
331
331
|
} & /*elided*/ any)[];
|
|
332
332
|
})[];
|
|
333
333
|
categories: {
|
|
@@ -448,49 +448,49 @@ export declare const NewProductSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
448
448
|
id: string;
|
|
449
449
|
companyId: string;
|
|
450
450
|
storeId: string;
|
|
451
|
-
tag: string;
|
|
452
451
|
locales: {
|
|
453
452
|
value: string;
|
|
454
453
|
lang: "he";
|
|
455
454
|
}[];
|
|
456
455
|
depth: number;
|
|
457
456
|
parentId?: string | null | undefined;
|
|
457
|
+
tag?: string | undefined;
|
|
458
458
|
} & {
|
|
459
459
|
children: ({
|
|
460
460
|
id: string;
|
|
461
461
|
companyId: string;
|
|
462
462
|
storeId: string;
|
|
463
|
-
tag: string;
|
|
464
463
|
locales: {
|
|
465
464
|
value: string;
|
|
466
465
|
lang: "he";
|
|
467
466
|
}[];
|
|
468
467
|
depth: number;
|
|
469
468
|
parentId?: string | null | undefined;
|
|
469
|
+
tag?: string | undefined;
|
|
470
470
|
} & /*elided*/ any)[];
|
|
471
471
|
}, z.ZodTypeDef, {
|
|
472
472
|
id: string;
|
|
473
473
|
companyId: string;
|
|
474
474
|
storeId: string;
|
|
475
|
-
tag: string;
|
|
476
475
|
locales: {
|
|
477
476
|
value: string;
|
|
478
477
|
lang: "he";
|
|
479
478
|
}[];
|
|
480
479
|
depth: number;
|
|
481
480
|
parentId?: string | null | undefined;
|
|
481
|
+
tag?: string | undefined;
|
|
482
482
|
} & {
|
|
483
483
|
children: ({
|
|
484
484
|
id: string;
|
|
485
485
|
companyId: string;
|
|
486
486
|
storeId: string;
|
|
487
|
-
tag: string;
|
|
488
487
|
locales: {
|
|
489
488
|
value: string;
|
|
490
489
|
lang: "he";
|
|
491
490
|
}[];
|
|
492
491
|
depth: number;
|
|
493
492
|
parentId?: string | null | undefined;
|
|
493
|
+
tag?: string | undefined;
|
|
494
494
|
} & /*elided*/ any)[];
|
|
495
495
|
}>, "many">;
|
|
496
496
|
categories: z.ZodObject<{
|
|
@@ -569,25 +569,25 @@ export declare const NewProductSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
569
569
|
id: string;
|
|
570
570
|
companyId: string;
|
|
571
571
|
storeId: string;
|
|
572
|
-
tag: string;
|
|
573
572
|
locales: {
|
|
574
573
|
value: string;
|
|
575
574
|
lang: "he";
|
|
576
575
|
}[];
|
|
577
576
|
depth: number;
|
|
578
577
|
parentId?: string | null | undefined;
|
|
578
|
+
tag?: string | undefined;
|
|
579
579
|
} & {
|
|
580
580
|
children: ({
|
|
581
581
|
id: string;
|
|
582
582
|
companyId: string;
|
|
583
583
|
storeId: string;
|
|
584
|
-
tag: string;
|
|
585
584
|
locales: {
|
|
586
585
|
value: string;
|
|
587
586
|
lang: "he";
|
|
588
587
|
}[];
|
|
589
588
|
depth: number;
|
|
590
589
|
parentId?: string | null | undefined;
|
|
590
|
+
tag?: string | undefined;
|
|
591
591
|
} & /*elided*/ any)[];
|
|
592
592
|
})[];
|
|
593
593
|
categories: {
|
|
@@ -656,25 +656,25 @@ export declare const NewProductSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
656
656
|
id: string;
|
|
657
657
|
companyId: string;
|
|
658
658
|
storeId: string;
|
|
659
|
-
tag: string;
|
|
660
659
|
locales: {
|
|
661
660
|
value: string;
|
|
662
661
|
lang: "he";
|
|
663
662
|
}[];
|
|
664
663
|
depth: number;
|
|
665
664
|
parentId?: string | null | undefined;
|
|
665
|
+
tag?: string | undefined;
|
|
666
666
|
} & {
|
|
667
667
|
children: ({
|
|
668
668
|
id: string;
|
|
669
669
|
companyId: string;
|
|
670
670
|
storeId: string;
|
|
671
|
-
tag: string;
|
|
672
671
|
locales: {
|
|
673
672
|
value: string;
|
|
674
673
|
lang: "he";
|
|
675
674
|
}[];
|
|
676
675
|
depth: number;
|
|
677
676
|
parentId?: string | null | undefined;
|
|
677
|
+
tag?: string | undefined;
|
|
678
678
|
} & /*elided*/ any)[];
|
|
679
679
|
})[];
|
|
680
680
|
categories: {
|
package/lib/entities/Category.ts
CHANGED