@voyantjs/booking-requirements 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.
package/dist/routes.d.ts CHANGED
@@ -204,6 +204,7 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
204
204
  id: string;
205
205
  createdAt: string;
206
206
  updatedAt: string;
207
+ target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
207
208
  description: string | null;
208
209
  code: string | null;
209
210
  active: boolean;
@@ -211,7 +212,6 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
211
212
  isRequired: boolean;
212
213
  sortOrder: number;
213
214
  label: string;
214
- target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
215
215
  fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
216
216
  placeholder: string | null;
217
217
  helpText: string | null;
@@ -1078,8 +1078,8 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
1078
1078
  createdAt: string;
1079
1079
  updatedAt: string;
1080
1080
  notes: string | null;
1081
- bookingId: string;
1082
1081
  target: "booking" | "traveler" | "extra";
1082
+ bookingId: string;
1083
1083
  productBookingQuestionId: string;
1084
1084
  bookingTravelerId: string | null;
1085
1085
  bookingExtraId: string | null;
@@ -40,8 +40,8 @@ export declare function createBookingAnswer(db: PostgresJsDatabase, data: Create
40
40
  createdAt: Date;
41
41
  updatedAt: Date;
42
42
  notes: string | null;
43
- bookingId: string;
44
43
  target: "booking" | "traveler" | "extra";
44
+ bookingId: string;
45
45
  productBookingQuestionId: string;
46
46
  bookingTravelerId: string | null;
47
47
  bookingExtraId: string | null;
@@ -108,6 +108,7 @@ export declare function createProductBookingQuestion(db: PostgresJsDatabase, dat
108
108
  id: string;
109
109
  createdAt: Date;
110
110
  updatedAt: Date;
111
+ target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
111
112
  description: string | null;
112
113
  code: string | null;
113
114
  active: boolean;
@@ -115,7 +116,6 @@ export declare function createProductBookingQuestion(db: PostgresJsDatabase, dat
115
116
  isRequired: boolean;
116
117
  sortOrder: number;
117
118
  label: string;
118
- target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
119
119
  fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
120
120
  placeholder: string | null;
121
121
  helpText: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/booking-requirements",
3
- "version": "0.31.0",
3
+ "version": "0.31.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -34,15 +34,15 @@
34
34
  "drizzle-orm": "^0.45.2",
35
35
  "hono": "^4.12.10",
36
36
  "zod": "^4.3.6",
37
- "@voyantjs/core": "0.31.0",
38
- "@voyantjs/db": "0.31.0",
39
- "@voyantjs/hono": "0.31.0",
40
- "@voyantjs/products": "0.31.0"
37
+ "@voyantjs/core": "0.31.2",
38
+ "@voyantjs/db": "0.31.2",
39
+ "@voyantjs/hono": "0.31.2",
40
+ "@voyantjs/products": "0.31.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^6.0.2",
44
- "@voyantjs/bookings": "0.31.0",
45
- "@voyantjs/products": "0.31.0",
44
+ "@voyantjs/bookings": "0.31.2",
45
+ "@voyantjs/products": "0.31.2",
46
46
  "@voyantjs/voyant-typescript-config": "0.1.0"
47
47
  },
48
48
  "files": [