@voyantjs/booking-requirements 0.107.7 → 0.107.9

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
@@ -172,7 +172,7 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
172
172
  label: string;
173
173
  description: string | null;
174
174
  target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
175
- fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
175
+ fieldType: "number" | "boolean" | "date" | "text" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
176
176
  placeholder: string | null;
177
177
  helpText: string | null;
178
178
  isRequired: boolean;
@@ -212,7 +212,7 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
212
212
  isRequired: boolean;
213
213
  sortOrder: number;
214
214
  label: string;
215
- fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
215
+ fieldType: "number" | "boolean" | "date" | "text" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
216
216
  placeholder: string | null;
217
217
  helpText: string | null;
218
218
  } | null;
@@ -248,7 +248,7 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
248
248
  label: string;
249
249
  description: string | null;
250
250
  target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
251
- fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
251
+ fieldType: "number" | "boolean" | "date" | "text" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
252
252
  placeholder: string | null;
253
253
  helpText: string | null;
254
254
  isRequired: boolean;
@@ -292,7 +292,7 @@ export declare const bookingRequirementsRoutes: import("hono/hono-base").HonoBas
292
292
  label: string;
293
293
  description: string | null;
294
294
  target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
295
- fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
295
+ fieldType: "number" | "boolean" | "date" | "text" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
296
296
  placeholder: string | null;
297
297
  helpText: string | null;
298
298
  isRequired: boolean;
package/dist/schema.d.ts CHANGED
@@ -326,7 +326,7 @@ export declare const productBookingQuestions: import("drizzle-orm/pg-core").PgTa
326
326
  tableName: "product_booking_questions";
327
327
  dataType: "string";
328
328
  columnType: "PgEnumColumn";
329
- data: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
329
+ data: "number" | "boolean" | "date" | "text" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
330
330
  driverParam: string;
331
331
  notNull: true;
332
332
  hasDefault: true;
@@ -72,7 +72,7 @@ export declare function listProductBookingQuestions(db: PostgresJsDatabase, quer
72
72
  label: string;
73
73
  description: string | null;
74
74
  target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
75
- fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
75
+ fieldType: "number" | "boolean" | "date" | "text" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
76
76
  placeholder: string | null;
77
77
  helpText: string | null;
78
78
  isRequired: boolean;
@@ -93,7 +93,7 @@ export declare function getProductBookingQuestionById(db: PostgresJsDatabase, id
93
93
  label: string;
94
94
  description: string | null;
95
95
  target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
96
- fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
96
+ fieldType: "number" | "boolean" | "date" | "text" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
97
97
  placeholder: string | null;
98
98
  helpText: string | null;
99
99
  isRequired: boolean;
@@ -116,7 +116,7 @@ export declare function createProductBookingQuestion(db: PostgresJsDatabase, dat
116
116
  isRequired: boolean;
117
117
  sortOrder: number;
118
118
  label: string;
119
- fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
119
+ fieldType: "number" | "boolean" | "date" | "text" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
120
120
  placeholder: string | null;
121
121
  helpText: string | null;
122
122
  } | null>;
@@ -127,7 +127,7 @@ export declare function updateProductBookingQuestion(db: PostgresJsDatabase, id:
127
127
  label: string;
128
128
  description: string | null;
129
129
  target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
130
- fieldType: "number" | "boolean" | "text" | "date" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
130
+ fieldType: "number" | "boolean" | "date" | "text" | "email" | "other" | "file" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
131
131
  placeholder: string | null;
132
132
  helpText: string | null;
133
133
  isRequired: boolean;
@@ -31,8 +31,8 @@ export declare const bookingQuestionTargetSchema: z.ZodEnum<{
31
31
  export declare const bookingQuestionFieldTypeSchema: z.ZodEnum<{
32
32
  number: "number";
33
33
  boolean: "boolean";
34
- text: "text";
35
34
  date: "date";
35
+ text: "text";
36
36
  email: "email";
37
37
  other: "other";
38
38
  file: "file";
@@ -255,8 +255,8 @@ export declare const productBookingQuestionCoreSchema: z.ZodObject<{
255
255
  fieldType: z.ZodDefault<z.ZodEnum<{
256
256
  number: "number";
257
257
  boolean: "boolean";
258
- text: "text";
259
258
  date: "date";
259
+ text: "text";
260
260
  email: "email";
261
261
  other: "other";
262
262
  file: "file";
@@ -290,8 +290,8 @@ export declare const insertProductBookingQuestionSchema: z.ZodObject<{
290
290
  fieldType: z.ZodDefault<z.ZodEnum<{
291
291
  number: "number";
292
292
  boolean: "boolean";
293
- text: "text";
294
293
  date: "date";
294
+ text: "text";
295
295
  email: "email";
296
296
  other: "other";
297
297
  file: "file";
@@ -325,8 +325,8 @@ export declare const updateProductBookingQuestionSchema: z.ZodObject<{
325
325
  fieldType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
326
326
  number: "number";
327
327
  boolean: "boolean";
328
- text: "text";
329
328
  date: "date";
329
+ text: "text";
330
330
  email: "email";
331
331
  other: "other";
332
332
  file: "file";
@@ -359,8 +359,8 @@ export declare const productBookingQuestionListQuerySchema: z.ZodObject<{
359
359
  fieldType: z.ZodOptional<z.ZodEnum<{
360
360
  number: "number";
361
361
  boolean: "boolean";
362
- text: "text";
363
362
  date: "date";
363
+ text: "text";
364
364
  email: "email";
365
365
  other: "other";
366
366
  file: "file";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/booking-requirements",
3
- "version": "0.107.7",
3
+ "version": "0.107.9",
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.108.0",
38
- "@voyantjs/db": "^0.106.0",
39
- "@voyantjs/hono": "^0.107.0",
40
- "@voyantjs/products": "^0.117.0"
37
+ "@voyantjs/core": "^0.109.0",
38
+ "@voyantjs/db": "^0.107.0",
39
+ "@voyantjs/hono": "^0.108.0",
40
+ "@voyantjs/products": "^0.118.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^6.0.2",
44
- "@voyantjs/bookings": "^0.117.0",
45
- "@voyantjs/products": "^0.117.0",
44
+ "@voyantjs/bookings": "^0.118.0",
45
+ "@voyantjs/products": "^0.118.0",
46
46
  "@voyantjs/voyant-typescript-config": "^0.1.0"
47
47
  },
48
48
  "files": [