@voyantjs/products 0.9.0 → 0.10.0
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/routes.d.ts +15 -15
- package/dist/schema-core.d.ts +2 -2
- package/dist/service.d.ts +13 -13
- package/dist/tasks/brochures.d.ts +1 -1
- package/dist/validation-content.d.ts +1 -1
- package/dist/validation-core.d.ts +7 -7
- package/dist/validation-shared.d.ts +2 -2
- package/package.json +6 -6
package/dist/routes.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
13
13
|
data: {
|
|
14
14
|
total: number;
|
|
15
15
|
countsByStatus: {
|
|
16
|
-
status: "
|
|
16
|
+
status: "active" | "draft" | "archived";
|
|
17
17
|
count: number;
|
|
18
18
|
}[];
|
|
19
19
|
active: number;
|
|
@@ -36,7 +36,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
36
36
|
data: {
|
|
37
37
|
id: string;
|
|
38
38
|
name: string;
|
|
39
|
-
status: "
|
|
39
|
+
status: "active" | "draft" | "archived";
|
|
40
40
|
description: string | null;
|
|
41
41
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
42
42
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
@@ -75,7 +75,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
75
75
|
name: string;
|
|
76
76
|
createdAt: string;
|
|
77
77
|
updatedAt: string;
|
|
78
|
-
status: "
|
|
78
|
+
status: "active" | "draft" | "archived";
|
|
79
79
|
startDate: string | null;
|
|
80
80
|
endDate: string | null;
|
|
81
81
|
timezone: string | null;
|
|
@@ -1750,7 +1750,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1750
1750
|
name: string;
|
|
1751
1751
|
code: string | null;
|
|
1752
1752
|
description: string | null;
|
|
1753
|
-
status: "
|
|
1753
|
+
status: "active" | "draft" | "archived";
|
|
1754
1754
|
isDefault: boolean;
|
|
1755
1755
|
sortOrder: number;
|
|
1756
1756
|
availableFrom: string | null;
|
|
@@ -1792,7 +1792,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1792
1792
|
name: string;
|
|
1793
1793
|
code: string | null;
|
|
1794
1794
|
description: string | null;
|
|
1795
|
-
status: "
|
|
1795
|
+
status: "active" | "draft" | "archived";
|
|
1796
1796
|
isDefault: boolean;
|
|
1797
1797
|
sortOrder: number;
|
|
1798
1798
|
availableFrom: string | null;
|
|
@@ -1830,7 +1830,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1830
1830
|
name: string;
|
|
1831
1831
|
createdAt: string;
|
|
1832
1832
|
updatedAt: string;
|
|
1833
|
-
status: "
|
|
1833
|
+
status: "active" | "draft" | "archived";
|
|
1834
1834
|
description: string | null;
|
|
1835
1835
|
code: string | null;
|
|
1836
1836
|
productId: string;
|
|
@@ -1870,7 +1870,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1870
1870
|
name: string;
|
|
1871
1871
|
code: string | null;
|
|
1872
1872
|
description: string | null;
|
|
1873
|
-
status: "
|
|
1873
|
+
status: "active" | "draft" | "archived";
|
|
1874
1874
|
isDefault: boolean;
|
|
1875
1875
|
sortOrder: number;
|
|
1876
1876
|
availableFrom: string | null;
|
|
@@ -3170,11 +3170,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3170
3170
|
name: string;
|
|
3171
3171
|
createdAt: string;
|
|
3172
3172
|
updatedAt: string;
|
|
3173
|
+
url: string;
|
|
3173
3174
|
productId: string;
|
|
3174
3175
|
sortOrder: number;
|
|
3175
3176
|
dayId: string | null;
|
|
3176
3177
|
mediaType: "image" | "video" | "document";
|
|
3177
|
-
url: string;
|
|
3178
3178
|
storageKey: string | null;
|
|
3179
3179
|
mimeType: string | null;
|
|
3180
3180
|
fileSize: number | null;
|
|
@@ -3291,11 +3291,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3291
3291
|
name: string;
|
|
3292
3292
|
createdAt: string;
|
|
3293
3293
|
updatedAt: string;
|
|
3294
|
+
url: string;
|
|
3294
3295
|
productId: string;
|
|
3295
3296
|
sortOrder: number;
|
|
3296
3297
|
dayId: string | null;
|
|
3297
3298
|
mediaType: "image" | "video" | "document";
|
|
3298
|
-
url: string;
|
|
3299
3299
|
storageKey: string | null;
|
|
3300
3300
|
mimeType: string | null;
|
|
3301
3301
|
fileSize: number | null;
|
|
@@ -3335,11 +3335,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3335
3335
|
name: string;
|
|
3336
3336
|
createdAt: string;
|
|
3337
3337
|
updatedAt: string;
|
|
3338
|
+
url: string;
|
|
3338
3339
|
productId: string;
|
|
3339
3340
|
sortOrder: number;
|
|
3340
3341
|
dayId: string | null;
|
|
3341
3342
|
mediaType: "image" | "video" | "document";
|
|
3342
|
-
url: string;
|
|
3343
3343
|
storageKey: string | null;
|
|
3344
3344
|
mimeType: string | null;
|
|
3345
3345
|
fileSize: number | null;
|
|
@@ -3431,11 +3431,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3431
3431
|
name: string;
|
|
3432
3432
|
createdAt: string;
|
|
3433
3433
|
updatedAt: string;
|
|
3434
|
+
url: string;
|
|
3434
3435
|
productId: string;
|
|
3435
3436
|
sortOrder: number;
|
|
3436
3437
|
dayId: string | null;
|
|
3437
3438
|
mediaType: "image" | "video" | "document";
|
|
3438
|
-
url: string;
|
|
3439
3439
|
storageKey: string | null;
|
|
3440
3440
|
mimeType: string | null;
|
|
3441
3441
|
fileSize: number | null;
|
|
@@ -3473,7 +3473,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3473
3473
|
data: {
|
|
3474
3474
|
id: string;
|
|
3475
3475
|
name: string;
|
|
3476
|
-
status: "
|
|
3476
|
+
status: "active" | "draft" | "archived";
|
|
3477
3477
|
description: string | null;
|
|
3478
3478
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
3479
3479
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
@@ -3522,7 +3522,7 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3522
3522
|
data: {
|
|
3523
3523
|
id: string;
|
|
3524
3524
|
name: string;
|
|
3525
|
-
status: "
|
|
3525
|
+
status: "active" | "draft" | "archived";
|
|
3526
3526
|
description: string | null;
|
|
3527
3527
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
3528
3528
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
@@ -4403,11 +4403,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
4403
4403
|
name: string;
|
|
4404
4404
|
createdAt: string;
|
|
4405
4405
|
updatedAt: string;
|
|
4406
|
+
url: string;
|
|
4406
4407
|
productId: string;
|
|
4407
4408
|
sortOrder: number;
|
|
4408
4409
|
dayId: string | null;
|
|
4409
4410
|
mediaType: "image" | "video" | "document";
|
|
4410
|
-
url: string;
|
|
4411
4411
|
storageKey: string | null;
|
|
4412
4412
|
mimeType: string | null;
|
|
4413
4413
|
fileSize: number | null;
|
|
@@ -4506,11 +4506,11 @@ export declare const productRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
4506
4506
|
name: string;
|
|
4507
4507
|
createdAt: string;
|
|
4508
4508
|
updatedAt: string;
|
|
4509
|
+
url: string;
|
|
4509
4510
|
productId: string;
|
|
4510
4511
|
sortOrder: number;
|
|
4511
4512
|
dayId: string | null;
|
|
4512
4513
|
mediaType: "image" | "video" | "document";
|
|
4513
|
-
url: string;
|
|
4514
4514
|
storageKey: string | null;
|
|
4515
4515
|
mimeType: string | null;
|
|
4516
4516
|
fileSize: number | null;
|
package/dist/schema-core.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const products: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
41
41
|
tableName: "products";
|
|
42
42
|
dataType: "string";
|
|
43
43
|
columnType: "PgEnumColumn";
|
|
44
|
-
data: "
|
|
44
|
+
data: "active" | "draft" | "archived";
|
|
45
45
|
driverParam: string;
|
|
46
46
|
notNull: true;
|
|
47
47
|
hasDefault: true;
|
|
@@ -477,7 +477,7 @@ export declare const productOptions: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
477
477
|
tableName: "product_options";
|
|
478
478
|
dataType: "string";
|
|
479
479
|
columnType: "PgEnumColumn";
|
|
480
|
-
data: "
|
|
480
|
+
data: "active" | "draft" | "archived";
|
|
481
481
|
driverParam: string;
|
|
482
482
|
notNull: true;
|
|
483
483
|
hasDefault: true;
|
package/dist/service.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export declare const productsService: {
|
|
|
79
79
|
data: {
|
|
80
80
|
id: string;
|
|
81
81
|
name: string;
|
|
82
|
-
status: "
|
|
82
|
+
status: "active" | "draft" | "archived";
|
|
83
83
|
description: string | null;
|
|
84
84
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
85
85
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
@@ -107,7 +107,7 @@ export declare const productsService: {
|
|
|
107
107
|
getProductById(db: PostgresJsDatabase, id: string): Promise<{
|
|
108
108
|
id: string;
|
|
109
109
|
name: string;
|
|
110
|
-
status: "
|
|
110
|
+
status: "active" | "draft" | "archived";
|
|
111
111
|
description: string | null;
|
|
112
112
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
113
113
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
@@ -133,7 +133,7 @@ export declare const productsService: {
|
|
|
133
133
|
name: string;
|
|
134
134
|
createdAt: Date;
|
|
135
135
|
updatedAt: Date;
|
|
136
|
-
status: "
|
|
136
|
+
status: "active" | "draft" | "archived";
|
|
137
137
|
startDate: string | null;
|
|
138
138
|
endDate: string | null;
|
|
139
139
|
timezone: string | null;
|
|
@@ -155,7 +155,7 @@ export declare const productsService: {
|
|
|
155
155
|
updateProduct(db: PostgresJsDatabase, id: string, data: UpdateProductInput): Promise<{
|
|
156
156
|
id: string;
|
|
157
157
|
name: string;
|
|
158
|
-
status: "
|
|
158
|
+
status: "active" | "draft" | "archived";
|
|
159
159
|
description: string | null;
|
|
160
160
|
bookingMode: "date" | "other" | "date_time" | "open" | "stay" | "transfer" | "itinerary";
|
|
161
161
|
capacityMode: "free_sale" | "limited" | "on_request";
|
|
@@ -742,7 +742,7 @@ export declare const productsService: {
|
|
|
742
742
|
name: string;
|
|
743
743
|
code: string | null;
|
|
744
744
|
description: string | null;
|
|
745
|
-
status: "
|
|
745
|
+
status: "active" | "draft" | "archived";
|
|
746
746
|
isDefault: boolean;
|
|
747
747
|
sortOrder: number;
|
|
748
748
|
availableFrom: string | null;
|
|
@@ -760,7 +760,7 @@ export declare const productsService: {
|
|
|
760
760
|
name: string;
|
|
761
761
|
code: string | null;
|
|
762
762
|
description: string | null;
|
|
763
|
-
status: "
|
|
763
|
+
status: "active" | "draft" | "archived";
|
|
764
764
|
isDefault: boolean;
|
|
765
765
|
sortOrder: number;
|
|
766
766
|
availableFrom: string | null;
|
|
@@ -773,7 +773,7 @@ export declare const productsService: {
|
|
|
773
773
|
name: string;
|
|
774
774
|
createdAt: Date;
|
|
775
775
|
updatedAt: Date;
|
|
776
|
-
status: "
|
|
776
|
+
status: "active" | "draft" | "archived";
|
|
777
777
|
description: string | null;
|
|
778
778
|
code: string | null;
|
|
779
779
|
productId: string;
|
|
@@ -788,7 +788,7 @@ export declare const productsService: {
|
|
|
788
788
|
name: string;
|
|
789
789
|
code: string | null;
|
|
790
790
|
description: string | null;
|
|
791
|
-
status: "
|
|
791
|
+
status: "active" | "draft" | "archived";
|
|
792
792
|
isDefault: boolean;
|
|
793
793
|
sortOrder: number;
|
|
794
794
|
availableFrom: string | null;
|
|
@@ -2798,11 +2798,11 @@ export declare const productsService: {
|
|
|
2798
2798
|
name: string;
|
|
2799
2799
|
createdAt: Date;
|
|
2800
2800
|
updatedAt: Date;
|
|
2801
|
+
url: string;
|
|
2801
2802
|
productId: string;
|
|
2802
2803
|
sortOrder: number;
|
|
2803
2804
|
dayId: string | null;
|
|
2804
2805
|
mediaType: "image" | "video" | "document";
|
|
2805
|
-
url: string;
|
|
2806
2806
|
storageKey: string | null;
|
|
2807
2807
|
mimeType: string | null;
|
|
2808
2808
|
fileSize: number | null;
|
|
@@ -2836,11 +2836,11 @@ export declare const productsService: {
|
|
|
2836
2836
|
name: string;
|
|
2837
2837
|
createdAt: Date;
|
|
2838
2838
|
updatedAt: Date;
|
|
2839
|
+
url: string;
|
|
2839
2840
|
productId: string;
|
|
2840
2841
|
sortOrder: number;
|
|
2841
2842
|
dayId: string | null;
|
|
2842
2843
|
mediaType: "image" | "video" | "document";
|
|
2843
|
-
url: string;
|
|
2844
2844
|
storageKey: string | null;
|
|
2845
2845
|
mimeType: string | null;
|
|
2846
2846
|
fileSize: number | null;
|
|
@@ -2915,11 +2915,11 @@ export declare const productsService: {
|
|
|
2915
2915
|
name: string;
|
|
2916
2916
|
createdAt: Date;
|
|
2917
2917
|
updatedAt: Date;
|
|
2918
|
+
url: string;
|
|
2918
2919
|
productId: string;
|
|
2919
2920
|
sortOrder: number;
|
|
2920
2921
|
dayId: string | null;
|
|
2921
2922
|
mediaType: "image" | "video" | "document";
|
|
2922
|
-
url: string;
|
|
2923
2923
|
storageKey: string | null;
|
|
2924
2924
|
mimeType: string | null;
|
|
2925
2925
|
fileSize: number | null;
|
|
@@ -2934,11 +2934,11 @@ export declare const productsService: {
|
|
|
2934
2934
|
name: string;
|
|
2935
2935
|
createdAt: Date;
|
|
2936
2936
|
updatedAt: Date;
|
|
2937
|
+
url: string;
|
|
2937
2938
|
productId: string;
|
|
2938
2939
|
sortOrder: number;
|
|
2939
2940
|
dayId: string | null;
|
|
2940
2941
|
mediaType: "image" | "video" | "document";
|
|
2941
|
-
url: string;
|
|
2942
2942
|
storageKey: string | null;
|
|
2943
2943
|
mimeType: string | null;
|
|
2944
2944
|
fileSize: number | null;
|
|
@@ -2972,11 +2972,11 @@ export declare const productsService: {
|
|
|
2972
2972
|
name: string;
|
|
2973
2973
|
createdAt: Date;
|
|
2974
2974
|
updatedAt: Date;
|
|
2975
|
+
url: string;
|
|
2975
2976
|
productId: string;
|
|
2976
2977
|
sortOrder: number;
|
|
2977
2978
|
dayId: string | null;
|
|
2978
2979
|
mediaType: "image" | "video" | "document";
|
|
2979
|
-
url: string;
|
|
2980
2980
|
storageKey: string | null;
|
|
2981
2981
|
mimeType: string | null;
|
|
2982
2982
|
fileSize: number | null;
|
|
@@ -19,11 +19,11 @@ export declare function generateAndStoreProductBrochure(db: PostgresJsDatabase,
|
|
|
19
19
|
name: string;
|
|
20
20
|
createdAt: Date;
|
|
21
21
|
updatedAt: Date;
|
|
22
|
+
url: string;
|
|
22
23
|
productId: string;
|
|
23
24
|
sortOrder: number;
|
|
24
25
|
dayId: string | null;
|
|
25
26
|
mediaType: "image" | "video" | "document";
|
|
26
|
-
url: string;
|
|
27
27
|
storageKey: string | null;
|
|
28
28
|
mimeType: string | null;
|
|
29
29
|
fileSize: number | null;
|
|
@@ -366,8 +366,8 @@ export declare const updateProductMediaSchema: z.ZodObject<{
|
|
|
366
366
|
}, z.core.$strip>;
|
|
367
367
|
export declare const upsertProductBrochureSchema: z.ZodObject<{
|
|
368
368
|
name: z.ZodString;
|
|
369
|
-
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
370
369
|
url: z.ZodString;
|
|
370
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
371
371
|
storageKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
372
372
|
fileSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
373
373
|
altText: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2,8 +2,8 @@ import { z } from "./validation-shared.js";
|
|
|
2
2
|
export declare const insertProductSchema: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
4
|
status: z.ZodDefault<z.ZodEnum<{
|
|
5
|
-
draft: "draft";
|
|
6
5
|
active: "active";
|
|
6
|
+
draft: "draft";
|
|
7
7
|
archived: "archived";
|
|
8
8
|
}>>;
|
|
9
9
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -43,8 +43,8 @@ export declare const insertProductSchema: z.ZodObject<{
|
|
|
43
43
|
export declare const updateProductSchema: z.ZodObject<{
|
|
44
44
|
name: z.ZodOptional<z.ZodString>;
|
|
45
45
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
46
|
-
draft: "draft";
|
|
47
46
|
active: "active";
|
|
47
|
+
draft: "draft";
|
|
48
48
|
archived: "archived";
|
|
49
49
|
}>>>;
|
|
50
50
|
description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -84,8 +84,8 @@ export declare const updateProductSchema: z.ZodObject<{
|
|
|
84
84
|
export declare const selectProductSchema: z.ZodObject<{
|
|
85
85
|
name: z.ZodString;
|
|
86
86
|
status: z.ZodDefault<z.ZodEnum<{
|
|
87
|
-
draft: "draft";
|
|
88
87
|
active: "active";
|
|
88
|
+
draft: "draft";
|
|
89
89
|
archived: "archived";
|
|
90
90
|
}>>;
|
|
91
91
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -127,8 +127,8 @@ export declare const selectProductSchema: z.ZodObject<{
|
|
|
127
127
|
}, z.core.$strip>;
|
|
128
128
|
export declare const productListQuerySchema: z.ZodObject<{
|
|
129
129
|
status: z.ZodOptional<z.ZodEnum<{
|
|
130
|
-
draft: "draft";
|
|
131
130
|
active: "active";
|
|
131
|
+
draft: "draft";
|
|
132
132
|
archived: "archived";
|
|
133
133
|
}>>;
|
|
134
134
|
bookingMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -168,8 +168,8 @@ export declare const insertProductOptionSchema: z.ZodObject<{
|
|
|
168
168
|
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
169
169
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
170
170
|
status: z.ZodDefault<z.ZodEnum<{
|
|
171
|
-
draft: "draft";
|
|
172
171
|
active: "active";
|
|
172
|
+
draft: "draft";
|
|
173
173
|
archived: "archived";
|
|
174
174
|
}>>;
|
|
175
175
|
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -182,8 +182,8 @@ export declare const updateProductOptionSchema: z.ZodObject<{
|
|
|
182
182
|
code: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
183
183
|
description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
184
184
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
185
|
-
draft: "draft";
|
|
186
185
|
active: "active";
|
|
186
|
+
draft: "draft";
|
|
187
187
|
archived: "archived";
|
|
188
188
|
}>>>;
|
|
189
189
|
isDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -194,8 +194,8 @@ export declare const updateProductOptionSchema: z.ZodObject<{
|
|
|
194
194
|
export declare const productOptionListQuerySchema: z.ZodObject<{
|
|
195
195
|
productId: z.ZodOptional<z.ZodString>;
|
|
196
196
|
status: z.ZodOptional<z.ZodEnum<{
|
|
197
|
-
draft: "draft";
|
|
198
197
|
active: "active";
|
|
198
|
+
draft: "draft";
|
|
199
199
|
archived: "archived";
|
|
200
200
|
}>>;
|
|
201
201
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -3,13 +3,13 @@ import { typeIdSchema } from "@voyantjs/db/lib/typeid";
|
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
export { booleanQueryParam, typeIdSchema, z };
|
|
5
5
|
export declare const productStatusSchema: z.ZodEnum<{
|
|
6
|
-
draft: "draft";
|
|
7
6
|
active: "active";
|
|
7
|
+
draft: "draft";
|
|
8
8
|
archived: "archived";
|
|
9
9
|
}>;
|
|
10
10
|
export declare const productOptionStatusSchema: z.ZodEnum<{
|
|
11
|
-
draft: "draft";
|
|
12
11
|
active: "active";
|
|
12
|
+
draft: "draft";
|
|
13
13
|
archived: "archived";
|
|
14
14
|
}>;
|
|
15
15
|
export declare const optionUnitTypeSchema: z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/products",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"hono": "^4.12.10",
|
|
43
43
|
"pdf-lib": "^1.17.1",
|
|
44
44
|
"zod": "^4.3.6",
|
|
45
|
-
"@voyantjs/core": "0.
|
|
46
|
-
"@voyantjs/db": "0.
|
|
47
|
-
"@voyantjs/hono": "0.
|
|
48
|
-
"@voyantjs/utils": "0.
|
|
49
|
-
"@voyantjs/voyant-storage": "0.
|
|
45
|
+
"@voyantjs/core": "0.10.0",
|
|
46
|
+
"@voyantjs/db": "0.10.0",
|
|
47
|
+
"@voyantjs/hono": "0.10.0",
|
|
48
|
+
"@voyantjs/utils": "0.10.0",
|
|
49
|
+
"@voyantjs/voyant-storage": "0.10.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"typescript": "^6.0.2",
|