@voyantjs/cruises 0.31.0 → 0.31.2
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.
|
@@ -37,7 +37,7 @@ export declare const bookingCruiseDetails: import("drizzle-orm/pg-core").PgTable
|
|
|
37
37
|
tableName: "booking_cruise_details";
|
|
38
38
|
dataType: "string";
|
|
39
39
|
columnType: "PgEnumColumn";
|
|
40
|
-
data: "
|
|
40
|
+
data: "external" | "local";
|
|
41
41
|
driverParam: string;
|
|
42
42
|
notNull: true;
|
|
43
43
|
hasDefault: true;
|
|
@@ -443,7 +443,7 @@ export declare const bookingGroupCruiseDetails: import("drizzle-orm/pg-core").Pg
|
|
|
443
443
|
tableName: "booking_group_cruise_details";
|
|
444
444
|
dataType: "string";
|
|
445
445
|
columnType: "PgEnumColumn";
|
|
446
|
-
data: "
|
|
446
|
+
data: "external" | "local";
|
|
447
447
|
driverParam: string;
|
|
448
448
|
notNull: true;
|
|
449
449
|
hasDefault: true;
|
|
@@ -653,8 +653,8 @@ export type BookingGroupCruiseDetail = typeof bookingGroupCruiseDetails.$inferSe
|
|
|
653
653
|
export type NewBookingGroupCruiseDetail = typeof bookingGroupCruiseDetails.$inferInsert;
|
|
654
654
|
declare const cruiseDetailUpsertSchema: z.ZodObject<{
|
|
655
655
|
source: z.ZodDefault<z.ZodEnum<{
|
|
656
|
-
local: "local";
|
|
657
656
|
external: "external";
|
|
657
|
+
local: "local";
|
|
658
658
|
}>>;
|
|
659
659
|
sourceProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
660
660
|
sourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -688,8 +688,8 @@ declare const cruiseDetailUpsertSchema: z.ZodObject<{
|
|
|
688
688
|
}, z.core.$strip>;
|
|
689
689
|
declare const groupCruiseDetailUpsertSchema: z.ZodObject<{
|
|
690
690
|
source: z.ZodDefault<z.ZodEnum<{
|
|
691
|
-
local: "local";
|
|
692
691
|
external: "external";
|
|
692
|
+
local: "local";
|
|
693
693
|
}>>;
|
|
694
694
|
sourceProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
695
695
|
sourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -741,7 +741,7 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
741
741
|
};
|
|
742
742
|
output: {
|
|
743
743
|
data: {
|
|
744
|
-
source: "
|
|
744
|
+
source: "external" | "local";
|
|
745
745
|
mode: "reserve" | "inquiry";
|
|
746
746
|
createdAt: string;
|
|
747
747
|
updatedAt: string;
|
|
@@ -791,7 +791,7 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
791
791
|
};
|
|
792
792
|
output: {
|
|
793
793
|
data: {
|
|
794
|
-
source: "
|
|
794
|
+
source: "external" | "local";
|
|
795
795
|
mode: "reserve" | "inquiry";
|
|
796
796
|
createdAt: string;
|
|
797
797
|
updatedAt: string;
|
|
@@ -876,7 +876,7 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
876
876
|
};
|
|
877
877
|
output: {
|
|
878
878
|
data: {
|
|
879
|
-
source: "
|
|
879
|
+
source: "external" | "local";
|
|
880
880
|
createdAt: string;
|
|
881
881
|
updatedAt: string;
|
|
882
882
|
notes: string | null;
|
|
@@ -909,7 +909,7 @@ export declare const cruisesBookingExtensionRoutes: import("hono/hono-base").Hon
|
|
|
909
909
|
};
|
|
910
910
|
output: {
|
|
911
911
|
data: {
|
|
912
|
-
source: "
|
|
912
|
+
source: "external" | "local";
|
|
913
913
|
createdAt: string;
|
|
914
914
|
updatedAt: string;
|
|
915
915
|
notes: string | null;
|
package/dist/routes-public.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
20
20
|
input: {};
|
|
21
21
|
output: {
|
|
22
22
|
data: {
|
|
23
|
-
source: "
|
|
23
|
+
source: "external" | "local";
|
|
24
24
|
id: string;
|
|
25
25
|
name: string;
|
|
26
26
|
createdAt: string;
|
|
@@ -82,7 +82,7 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
82
82
|
sourceProvider: null;
|
|
83
83
|
sourceRef: null;
|
|
84
84
|
summary: {
|
|
85
|
-
source: "
|
|
85
|
+
source: "external" | "local";
|
|
86
86
|
id: string;
|
|
87
87
|
name: string;
|
|
88
88
|
createdAt: string;
|
|
@@ -213,7 +213,7 @@ export declare const cruisePublicRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
213
213
|
connectionId?: string | undefined;
|
|
214
214
|
};
|
|
215
215
|
summary: {
|
|
216
|
-
source: "
|
|
216
|
+
source: "external" | "local";
|
|
217
217
|
id: string;
|
|
218
218
|
name: string;
|
|
219
219
|
createdAt: string;
|
package/dist/routes.d.ts
CHANGED
|
@@ -1696,7 +1696,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1696
1696
|
bookingId: string;
|
|
1697
1697
|
bookingNumber: string;
|
|
1698
1698
|
cruiseDetails: {
|
|
1699
|
-
source: "
|
|
1699
|
+
source: "external" | "local";
|
|
1700
1700
|
mode: "reserve" | "inquiry";
|
|
1701
1701
|
createdAt: string;
|
|
1702
1702
|
updatedAt: string;
|
|
@@ -1792,7 +1792,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1792
1792
|
groupId: string;
|
|
1793
1793
|
primaryBookingId: string | null;
|
|
1794
1794
|
groupDetails: {
|
|
1795
|
-
source: "
|
|
1795
|
+
source: "external" | "local";
|
|
1796
1796
|
createdAt: string;
|
|
1797
1797
|
updatedAt: string;
|
|
1798
1798
|
notes: string | null;
|
|
@@ -1814,7 +1814,7 @@ export declare const cruiseAdminRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1814
1814
|
bookingId: string;
|
|
1815
1815
|
bookingNumber: string;
|
|
1816
1816
|
cruiseDetails: {
|
|
1817
|
-
source: "
|
|
1817
|
+
source: "external" | "local";
|
|
1818
1818
|
mode: "reserve" | "inquiry";
|
|
1819
1819
|
createdAt: string;
|
|
1820
1820
|
updatedAt: string;
|
package/dist/schema-search.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare const cruiseSearchIndex: import("drizzle-orm/pg-core").PgTableWit
|
|
|
29
29
|
tableName: "cruise_search_index";
|
|
30
30
|
dataType: "string";
|
|
31
31
|
columnType: "PgEnumColumn";
|
|
32
|
-
data: "
|
|
32
|
+
data: "external" | "local";
|
|
33
33
|
driverParam: string;
|
|
34
34
|
notNull: true;
|
|
35
35
|
hasDefault: false;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "./validation-shared.js";
|
|
2
2
|
export declare const insertSearchIndexSchema: z.ZodObject<{
|
|
3
3
|
source: z.ZodEnum<{
|
|
4
|
-
local: "local";
|
|
5
4
|
external: "external";
|
|
5
|
+
local: "local";
|
|
6
6
|
}>;
|
|
7
7
|
sourceProvider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8
8
|
sourceRef: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -34,8 +34,8 @@ export declare const insertSearchIndexSchema: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export declare const updateSearchIndexSchema: z.ZodObject<{
|
|
36
36
|
source: z.ZodOptional<z.ZodEnum<{
|
|
37
|
-
local: "local";
|
|
38
37
|
external: "external";
|
|
38
|
+
local: "local";
|
|
39
39
|
}>>;
|
|
40
40
|
sourceProvider: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
41
41
|
sourceRef: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -78,8 +78,8 @@ export declare const searchIndexQuerySchema: z.ZodObject<{
|
|
|
78
78
|
dateTo: z.ZodOptional<z.ZodString>;
|
|
79
79
|
priceMax: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
80
80
|
source: z.ZodOptional<z.ZodEnum<{
|
|
81
|
-
local: "local";
|
|
82
81
|
external: "external";
|
|
82
|
+
local: "local";
|
|
83
83
|
}>>;
|
|
84
84
|
search: z.ZodOptional<z.ZodString>;
|
|
85
85
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -15,8 +15,8 @@ export declare const cruiseStatusSchema: z.ZodEnum<{
|
|
|
15
15
|
archived: "archived";
|
|
16
16
|
}>;
|
|
17
17
|
export declare const cruiseSourceSchema: z.ZodEnum<{
|
|
18
|
-
local: "local";
|
|
19
18
|
external: "external";
|
|
19
|
+
local: "local";
|
|
20
20
|
}>;
|
|
21
21
|
export declare const shipTypeSchema: z.ZodEnum<{
|
|
22
22
|
ocean: "ocean";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/cruises",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -89,11 +89,11 @@
|
|
|
89
89
|
"drizzle-orm": "^0.45.2",
|
|
90
90
|
"hono": "^4.12.10",
|
|
91
91
|
"zod": "^4.3.6",
|
|
92
|
-
"@voyantjs/bookings": "0.31.
|
|
93
|
-
"@voyantjs/core": "0.31.
|
|
94
|
-
"@voyantjs/db": "0.31.
|
|
95
|
-
"@voyantjs/hono": "0.31.
|
|
96
|
-
"@voyantjs/catalog": "0.31.
|
|
92
|
+
"@voyantjs/bookings": "0.31.2",
|
|
93
|
+
"@voyantjs/core": "0.31.2",
|
|
94
|
+
"@voyantjs/db": "0.31.2",
|
|
95
|
+
"@voyantjs/hono": "0.31.2",
|
|
96
|
+
"@voyantjs/catalog": "0.31.2"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"typescript": "^6.0.2",
|