@voyantjs/bookings 0.11.0 → 0.12.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-groups.d.ts +4 -4
- package/dist/routes.d.ts +5 -5
- package/dist/schema-groups.d.ts +3 -3
- package/dist/schema-groups.d.ts.map +1 -1
- package/dist/schema-groups.js +5 -1
- package/dist/validation.d.ts +4 -0
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +1 -1
- package/package.json +7 -7
package/dist/routes-groups.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const bookingGroupRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
18
18
|
metadata: {
|
|
19
19
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
20
20
|
} | null;
|
|
21
|
-
kind: "other" | "shared_room";
|
|
21
|
+
kind: "other" | "shared_room" | "cruise_party";
|
|
22
22
|
label: string;
|
|
23
23
|
primaryBookingId: string | null;
|
|
24
24
|
optionUnitId: string | null;
|
|
@@ -44,7 +44,7 @@ export declare const bookingGroupRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
44
44
|
metadata: {
|
|
45
45
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
46
46
|
} | null;
|
|
47
|
-
kind: "other" | "shared_room";
|
|
47
|
+
kind: "other" | "shared_room" | "cruise_party";
|
|
48
48
|
label: string;
|
|
49
49
|
primaryBookingId: string | null;
|
|
50
50
|
optionUnitId: string | null;
|
|
@@ -129,7 +129,7 @@ export declare const bookingGroupRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
129
129
|
metadata: {
|
|
130
130
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
131
131
|
} | null;
|
|
132
|
-
kind: "other" | "shared_room";
|
|
132
|
+
kind: "other" | "shared_room" | "cruise_party";
|
|
133
133
|
label: string;
|
|
134
134
|
primaryBookingId: string | null;
|
|
135
135
|
optionUnitId: string | null;
|
|
@@ -167,7 +167,7 @@ export declare const bookingGroupRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
167
167
|
metadata: {
|
|
168
168
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
169
169
|
} | null;
|
|
170
|
-
kind: "other" | "shared_room";
|
|
170
|
+
kind: "other" | "shared_room" | "cruise_party";
|
|
171
171
|
label: string;
|
|
172
172
|
primaryBookingId: string | null;
|
|
173
173
|
optionUnitId: string | null;
|
package/dist/routes.d.ts
CHANGED
|
@@ -2112,7 +2112,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2112
2112
|
metadata: {
|
|
2113
2113
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2114
2114
|
} | null;
|
|
2115
|
-
kind: "other" | "shared_room";
|
|
2115
|
+
kind: "other" | "shared_room" | "cruise_party";
|
|
2116
2116
|
label: string;
|
|
2117
2117
|
primaryBookingId: string | null;
|
|
2118
2118
|
optionUnitId: string | null;
|
|
@@ -2316,7 +2316,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2316
2316
|
metadata: {
|
|
2317
2317
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2318
2318
|
} | null;
|
|
2319
|
-
kind: "other" | "shared_room";
|
|
2319
|
+
kind: "other" | "shared_room" | "cruise_party";
|
|
2320
2320
|
label: string;
|
|
2321
2321
|
primaryBookingId: string | null;
|
|
2322
2322
|
optionUnitId: string | null;
|
|
@@ -2342,7 +2342,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2342
2342
|
metadata: {
|
|
2343
2343
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2344
2344
|
} | null;
|
|
2345
|
-
kind: "other" | "shared_room";
|
|
2345
|
+
kind: "other" | "shared_room" | "cruise_party";
|
|
2346
2346
|
label: string;
|
|
2347
2347
|
primaryBookingId: string | null;
|
|
2348
2348
|
optionUnitId: string | null;
|
|
@@ -2427,7 +2427,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2427
2427
|
metadata: {
|
|
2428
2428
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2429
2429
|
} | null;
|
|
2430
|
-
kind: "other" | "shared_room";
|
|
2430
|
+
kind: "other" | "shared_room" | "cruise_party";
|
|
2431
2431
|
label: string;
|
|
2432
2432
|
primaryBookingId: string | null;
|
|
2433
2433
|
optionUnitId: string | null;
|
|
@@ -2465,7 +2465,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2465
2465
|
metadata: {
|
|
2466
2466
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2467
2467
|
} | null;
|
|
2468
|
-
kind: "other" | "shared_room";
|
|
2468
|
+
kind: "other" | "shared_room" | "cruise_party";
|
|
2469
2469
|
label: string;
|
|
2470
2470
|
primaryBookingId: string | null;
|
|
2471
2471
|
optionUnitId: string | null;
|
package/dist/schema-groups.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const bookingGroupKindEnum: import("drizzle-orm/pg-core").PgEnum<["shared_room", "other"]>;
|
|
1
|
+
export declare const bookingGroupKindEnum: import("drizzle-orm/pg-core").PgEnum<["shared_room", "cruise_party", "other"]>;
|
|
2
2
|
export declare const bookingGroupMemberRoleEnum: import("drizzle-orm/pg-core").PgEnum<["primary", "shared"]>;
|
|
3
3
|
export declare const bookingGroups: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
4
4
|
name: "booking_groups";
|
|
@@ -26,14 +26,14 @@ export declare const bookingGroups: import("drizzle-orm/pg-core").PgTableWithCol
|
|
|
26
26
|
tableName: "booking_groups";
|
|
27
27
|
dataType: "string";
|
|
28
28
|
columnType: "PgEnumColumn";
|
|
29
|
-
data: "other" | "shared_room";
|
|
29
|
+
data: "other" | "shared_room" | "cruise_party";
|
|
30
30
|
driverParam: string;
|
|
31
31
|
notNull: true;
|
|
32
32
|
hasDefault: true;
|
|
33
33
|
isPrimaryKey: false;
|
|
34
34
|
isAutoincrement: false;
|
|
35
35
|
hasRuntimeDefault: false;
|
|
36
|
-
enumValues: ["shared_room", "other"];
|
|
36
|
+
enumValues: ["shared_room", "cruise_party", "other"];
|
|
37
37
|
baseColumn: never;
|
|
38
38
|
identity: undefined;
|
|
39
39
|
generated: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-groups.d.ts","sourceRoot":"","sources":["../src/schema-groups.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"schema-groups.d.ts","sourceRoot":"","sources":["../src/schema-groups.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,gFAI/B,CAAA;AAEF,eAAO,MAAM,0BAA0B,6DAA6D,CAAA;AAEpG,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBzB,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB/B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC,YAAY,CAAA;AAC5D,MAAM,MAAM,eAAe,GAAG,OAAO,aAAa,CAAC,YAAY,CAAA;AAC/D,MAAM,MAAM,kBAAkB,GAAG,OAAO,mBAAmB,CAAC,YAAY,CAAA;AACxE,MAAM,MAAM,qBAAqB,GAAG,OAAO,mBAAmB,CAAC,YAAY,CAAA"}
|
package/dist/schema-groups.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
2
|
import { index, jsonb, pgEnum, pgTable, text, timestamp, uniqueIndex } from "drizzle-orm/pg-core";
|
|
3
3
|
import { bookings } from "./schema-core";
|
|
4
|
-
export const bookingGroupKindEnum = pgEnum("booking_group_kind", [
|
|
4
|
+
export const bookingGroupKindEnum = pgEnum("booking_group_kind", [
|
|
5
|
+
"shared_room",
|
|
6
|
+
"cruise_party",
|
|
7
|
+
"other",
|
|
8
|
+
]);
|
|
5
9
|
export const bookingGroupMemberRoleEnum = pgEnum("booking_group_member_role", ["primary", "shared"]);
|
|
6
10
|
export const bookingGroups = pgTable("booking_groups", {
|
|
7
11
|
id: typeId("booking_groups"),
|
package/dist/validation.d.ts
CHANGED
|
@@ -856,6 +856,7 @@ export declare const insertBookingTravelerDocumentSchema: z.ZodPipe<z.ZodObject<
|
|
|
856
856
|
export declare const bookingGroupKindSchema: z.ZodEnum<{
|
|
857
857
|
other: "other";
|
|
858
858
|
shared_room: "shared_room";
|
|
859
|
+
cruise_party: "cruise_party";
|
|
859
860
|
}>;
|
|
860
861
|
export declare const bookingGroupMemberRoleSchema: z.ZodEnum<{
|
|
861
862
|
primary: "primary";
|
|
@@ -865,6 +866,7 @@ export declare const insertBookingGroupSchema: z.ZodObject<{
|
|
|
865
866
|
kind: z.ZodDefault<z.ZodEnum<{
|
|
866
867
|
other: "other";
|
|
867
868
|
shared_room: "shared_room";
|
|
869
|
+
cruise_party: "cruise_party";
|
|
868
870
|
}>>;
|
|
869
871
|
label: z.ZodString;
|
|
870
872
|
primaryBookingId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -876,6 +878,7 @@ export declare const updateBookingGroupSchema: z.ZodObject<{
|
|
|
876
878
|
kind: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
877
879
|
other: "other";
|
|
878
880
|
shared_room: "shared_room";
|
|
881
|
+
cruise_party: "cruise_party";
|
|
879
882
|
}>>>;
|
|
880
883
|
label: z.ZodOptional<z.ZodString>;
|
|
881
884
|
primaryBookingId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -894,6 +897,7 @@ export declare const bookingGroupListQuerySchema: z.ZodObject<{
|
|
|
894
897
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
895
898
|
other: "other";
|
|
896
899
|
shared_room: "shared_room";
|
|
900
|
+
cruise_party: "cruise_party";
|
|
897
901
|
}>>;
|
|
898
902
|
productId: z.ZodOptional<z.ZodString>;
|
|
899
903
|
optionUnitId: z.ZodOptional<z.ZodString>;
|
package/dist/validation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../src/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2DvB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAoB,CAAA;AACpD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA8B,CAAA;AAE9D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW5B,CAAA;AAEJ,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;iBASjC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;iBAGvC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;iBAQ/B,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;iBAI/B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBnC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB7B,CAAA;AAEJ,eAAO,MAAM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8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAK1C,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKtC,CAAA;AAIL,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAarC,CAAA;AAIL,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;GAavC,CAAA;AAEL,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;GAAkC,CAAA;AAcjF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;iBAA2B,CAAA;AAClE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;iBAErC,CAAA;AAIF,eAAO,MAAM,uBAAuB;;iBAElC,CAAA;AAIF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;GAYnC,CAAA;AAEL,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8B,CAAA;AAI9E,eAAO,MAAM,sBAAsB;;;;EAAmD,CAAA;AACtF,eAAO,MAAM,4BAA4B;;;EAAgC,CAAA;AAWzE,eAAO,MAAM,wBAAwB;;;;;;;;;;;iBAAyB,CAAA;AAC9D,eAAO,MAAM,wBAAwB;;;;;;;;;;;iBAAmC,CAAA;AAExE,eAAO,MAAM,2BAA2B;;;;;;iBAGtC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;iBAMtC,CAAA;AAEF,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA"}
|
package/dist/validation.js
CHANGED
|
@@ -366,7 +366,7 @@ export const insertBookingDocumentSchema = z
|
|
|
366
366
|
}));
|
|
367
367
|
export const insertBookingTravelerDocumentSchema = insertBookingDocumentSchema;
|
|
368
368
|
// ---------- booking groups ----------
|
|
369
|
-
export const bookingGroupKindSchema = z.enum(["shared_room", "other"]);
|
|
369
|
+
export const bookingGroupKindSchema = z.enum(["shared_room", "cruise_party", "other"]);
|
|
370
370
|
export const bookingGroupMemberRoleSchema = z.enum(["primary", "shared"]);
|
|
371
371
|
const bookingGroupCoreSchema = z.object({
|
|
372
372
|
kind: bookingGroupKindSchema.default("shared_room"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/bookings",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"drizzle-orm": "^0.45.2",
|
|
50
50
|
"hono": "^4.12.10",
|
|
51
51
|
"zod": "^4.3.6",
|
|
52
|
-
"@voyantjs/core": "0.
|
|
53
|
-
"@voyantjs/db": "0.
|
|
54
|
-
"@voyantjs/hono": "0.
|
|
55
|
-
"@voyantjs/utils": "0.
|
|
52
|
+
"@voyantjs/core": "0.12.0",
|
|
53
|
+
"@voyantjs/db": "0.12.0",
|
|
54
|
+
"@voyantjs/hono": "0.12.0",
|
|
55
|
+
"@voyantjs/utils": "0.12.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"typescript": "^6.0.2",
|
|
59
|
-
"@voyantjs/markets": "0.
|
|
60
|
-
"@voyantjs/products": "0.
|
|
59
|
+
"@voyantjs/markets": "0.12.0",
|
|
60
|
+
"@voyantjs/products": "0.12.0",
|
|
61
61
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
62
62
|
},
|
|
63
63
|
"files": [
|