@voyantjs/cruises 0.28.1 → 0.29.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-public.d.ts +1 -1
- package/dist/routes.d.ts +7 -7
- package/dist/schema-core.d.ts +1 -1
- package/dist/service.d.ts +1 -1
- package/dist/validation-core.d.ts +3 -3
- package/dist/validation-shared.d.ts +1 -1
- package/package.json +40 -10
package/dist/routes-public.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
117
117
|
createdAt: string;
|
|
118
118
|
updatedAt: string;
|
|
119
119
|
slug: string;
|
|
120
|
-
status: "
|
|
120
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
121
121
|
description: string | null;
|
|
122
122
|
lineSupplierId: string | null;
|
|
123
123
|
externalRefs: {
|
package/dist/routes.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
49
49
|
themes: string[] | null;
|
|
50
50
|
heroImageUrl: string | null;
|
|
51
51
|
mapImageUrl: string | null;
|
|
52
|
-
status: "
|
|
52
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
53
53
|
lowestPriceCached: string | null;
|
|
54
54
|
lowestPriceCurrencyCached: string | null;
|
|
55
55
|
earliestDepartureCached: string | null;
|
|
@@ -97,7 +97,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
97
97
|
createdAt: string;
|
|
98
98
|
updatedAt: string;
|
|
99
99
|
slug: string;
|
|
100
|
-
status: "
|
|
100
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
101
101
|
description: string | null;
|
|
102
102
|
lineSupplierId: string | null;
|
|
103
103
|
externalRefs: {
|
|
@@ -260,7 +260,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
260
260
|
createdAt: string;
|
|
261
261
|
updatedAt: string;
|
|
262
262
|
slug: string;
|
|
263
|
-
status: "
|
|
263
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
264
264
|
description: string | null;
|
|
265
265
|
lineSupplierId: string | null;
|
|
266
266
|
externalRefs: {
|
|
@@ -381,7 +381,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
381
381
|
createdAt: string;
|
|
382
382
|
updatedAt: string;
|
|
383
383
|
slug: string;
|
|
384
|
-
status: "
|
|
384
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
385
385
|
description: string | null;
|
|
386
386
|
lineSupplierId: string | null;
|
|
387
387
|
externalRefs: {
|
|
@@ -461,7 +461,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
461
461
|
createdAt: string;
|
|
462
462
|
updatedAt: string;
|
|
463
463
|
slug: string;
|
|
464
|
-
status: "
|
|
464
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
465
465
|
description: string | null;
|
|
466
466
|
lineSupplierId: string | null;
|
|
467
467
|
externalRefs: {
|
|
@@ -541,7 +541,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
541
541
|
createdAt: string;
|
|
542
542
|
updatedAt: string;
|
|
543
543
|
slug: string;
|
|
544
|
-
status: "
|
|
544
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
545
545
|
description: string | null;
|
|
546
546
|
lineSupplierId: string | null;
|
|
547
547
|
externalRefs: {
|
|
@@ -883,7 +883,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
883
883
|
createdAt: string;
|
|
884
884
|
updatedAt: string;
|
|
885
885
|
slug: string;
|
|
886
|
-
status: "
|
|
886
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
887
887
|
description: string | null;
|
|
888
888
|
lineSupplierId: string | null;
|
|
889
889
|
externalRefs: {
|
package/dist/schema-core.d.ts
CHANGED
|
@@ -319,7 +319,7 @@ export declare const cruises: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
319
319
|
tableName: "cruises";
|
|
320
320
|
dataType: "string";
|
|
321
321
|
columnType: "PgEnumColumn";
|
|
322
|
-
data: "
|
|
322
|
+
data: "live" | "draft" | "awaiting_review" | "archived";
|
|
323
323
|
driverParam: string;
|
|
324
324
|
notNull: true;
|
|
325
325
|
hasDefault: true;
|
package/dist/service.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const cruisesService: {
|
|
|
30
30
|
themes: string[] | null;
|
|
31
31
|
heroImageUrl: string | null;
|
|
32
32
|
mapImageUrl: string | null;
|
|
33
|
-
status: "
|
|
33
|
+
status: "live" | "draft" | "awaiting_review" | "archived";
|
|
34
34
|
lowestPriceCached: string | null;
|
|
35
35
|
lowestPriceCurrencyCached: string | null;
|
|
36
36
|
earliestDepartureCached: string | null;
|
|
@@ -23,9 +23,9 @@ export declare const insertCruiseSchema: z.ZodObject<{
|
|
|
23
23
|
heroImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
24
24
|
mapImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25
25
|
status: z.ZodDefault<z.ZodEnum<{
|
|
26
|
+
live: "live";
|
|
26
27
|
draft: "draft";
|
|
27
28
|
awaiting_review: "awaiting_review";
|
|
28
|
-
live: "live";
|
|
29
29
|
archived: "archived";
|
|
30
30
|
}>>;
|
|
31
31
|
externalRefs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -54,9 +54,9 @@ export declare const updateCruiseSchema: z.ZodObject<{
|
|
|
54
54
|
heroImageUrl: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
55
55
|
mapImageUrl: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
56
56
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
57
|
+
live: "live";
|
|
57
58
|
draft: "draft";
|
|
58
59
|
awaiting_review: "awaiting_review";
|
|
59
|
-
live: "live";
|
|
60
60
|
archived: "archived";
|
|
61
61
|
}>>>;
|
|
62
62
|
externalRefs: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
@@ -69,9 +69,9 @@ export declare const cruiseListQuerySchema: z.ZodObject<{
|
|
|
69
69
|
coastal: "coastal";
|
|
70
70
|
}>>;
|
|
71
71
|
status: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
live: "live";
|
|
72
73
|
draft: "draft";
|
|
73
74
|
awaiting_review: "awaiting_review";
|
|
74
|
-
live: "live";
|
|
75
75
|
archived: "archived";
|
|
76
76
|
}>>;
|
|
77
77
|
lineSupplierId: z.ZodOptional<z.ZodString>;
|
|
@@ -9,9 +9,9 @@ export declare const cruiseTypeSchema: z.ZodEnum<{
|
|
|
9
9
|
coastal: "coastal";
|
|
10
10
|
}>;
|
|
11
11
|
export declare const cruiseStatusSchema: z.ZodEnum<{
|
|
12
|
+
live: "live";
|
|
12
13
|
draft: "draft";
|
|
13
14
|
awaiting_review: "awaiting_review";
|
|
14
|
-
live: "live";
|
|
15
15
|
archived: "archived";
|
|
16
16
|
}>;
|
|
17
17
|
export declare const cruiseSourceSchema: z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/cruises",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,16 +39,46 @@
|
|
|
39
39
|
"import": "./dist/adapters/index.js",
|
|
40
40
|
"default": "./dist/adapters/index.js"
|
|
41
41
|
},
|
|
42
|
-
"./
|
|
43
|
-
"types": "./dist/
|
|
44
|
-
"import": "./dist/
|
|
45
|
-
"default": "./dist/
|
|
42
|
+
"./catalog-policy": {
|
|
43
|
+
"types": "./dist/catalog-policy.d.ts",
|
|
44
|
+
"import": "./dist/catalog-policy.js",
|
|
45
|
+
"default": "./dist/catalog-policy.js"
|
|
46
|
+
},
|
|
47
|
+
"./service-catalog-plane": {
|
|
48
|
+
"types": "./dist/service-catalog-plane.d.ts",
|
|
49
|
+
"import": "./dist/service-catalog-plane.js",
|
|
50
|
+
"default": "./dist/service-catalog-plane.js"
|
|
51
|
+
},
|
|
52
|
+
"./content-shape": {
|
|
53
|
+
"types": "./dist/content-shape.d.ts",
|
|
54
|
+
"import": "./dist/content-shape.js",
|
|
55
|
+
"default": "./dist/content-shape.js"
|
|
46
56
|
},
|
|
47
57
|
"./service-content": {
|
|
48
58
|
"types": "./dist/service-content.d.ts",
|
|
49
59
|
"import": "./dist/service-content.js",
|
|
50
60
|
"default": "./dist/service-content.js"
|
|
51
61
|
},
|
|
62
|
+
"./service-content-synthesizer": {
|
|
63
|
+
"types": "./dist/service-content-synthesizer.d.ts",
|
|
64
|
+
"import": "./dist/service-content-synthesizer.js",
|
|
65
|
+
"default": "./dist/service-content-synthesizer.js"
|
|
66
|
+
},
|
|
67
|
+
"./routes-content": {
|
|
68
|
+
"types": "./dist/routes-content.d.ts",
|
|
69
|
+
"import": "./dist/routes-content.js",
|
|
70
|
+
"default": "./dist/routes-content.js"
|
|
71
|
+
},
|
|
72
|
+
"./draft-shape": {
|
|
73
|
+
"types": "./dist/draft-shape.d.ts",
|
|
74
|
+
"import": "./dist/draft-shape.js",
|
|
75
|
+
"default": "./dist/draft-shape.js"
|
|
76
|
+
},
|
|
77
|
+
"./booking-engine": {
|
|
78
|
+
"types": "./dist/booking-engine/index.d.ts",
|
|
79
|
+
"import": "./dist/booking-engine/index.js",
|
|
80
|
+
"default": "./dist/booking-engine/index.js"
|
|
81
|
+
},
|
|
52
82
|
"./service-pricing": {
|
|
53
83
|
"types": "./dist/service-pricing.d.ts",
|
|
54
84
|
"import": "./dist/service-pricing.js",
|
|
@@ -59,11 +89,11 @@
|
|
|
59
89
|
"drizzle-orm": "^0.45.2",
|
|
60
90
|
"hono": "^4.12.10",
|
|
61
91
|
"zod": "^4.3.6",
|
|
62
|
-
"@voyantjs/bookings": "0.
|
|
63
|
-
"@voyantjs/core": "0.
|
|
64
|
-
"@voyantjs/db": "0.
|
|
65
|
-
"@voyantjs/hono": "0.
|
|
66
|
-
"@voyantjs/catalog": "0.
|
|
92
|
+
"@voyantjs/bookings": "0.29.0",
|
|
93
|
+
"@voyantjs/core": "0.29.0",
|
|
94
|
+
"@voyantjs/db": "0.29.0",
|
|
95
|
+
"@voyantjs/hono": "0.29.0",
|
|
96
|
+
"@voyantjs/catalog": "0.29.0"
|
|
67
97
|
},
|
|
68
98
|
"devDependencies": {
|
|
69
99
|
"typescript": "^6.0.2",
|