@voyantjs/booking-requirements 0.28.3 → 0.30.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.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" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
175
+ fieldType: "number" | "boolean" | "text" | "date" | "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
  sortOrder: number;
213
213
  label: string;
214
214
  target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
215
- fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
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;
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" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
251
+ fieldType: "number" | "boolean" | "text" | "date" | "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" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
295
+ fieldType: "number" | "boolean" | "text" | "date" | "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" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
329
+ data: "number" | "boolean" | "text" | "date" | "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" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
75
+ fieldType: "number" | "boolean" | "text" | "date" | "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" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
96
+ fieldType: "number" | "boolean" | "text" | "date" | "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
  sortOrder: number;
117
117
  label: string;
118
118
  target: "service" | "booking" | "lead_traveler" | "traveler" | "booker" | "extra";
119
- fieldType: "number" | "boolean" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
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;
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" | "date" | "email" | "other" | "file" | "text" | "phone" | "textarea" | "datetime" | "single_select" | "multi_select" | "country";
130
+ fieldType: "number" | "boolean" | "text" | "date" | "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,11 +31,11 @@ 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";
34
35
  date: "date";
35
36
  email: "email";
36
37
  other: "other";
37
38
  file: "file";
38
- text: "text";
39
39
  phone: "phone";
40
40
  textarea: "textarea";
41
41
  datetime: "datetime";
@@ -255,11 +255,11 @@ export declare const productBookingQuestionCoreSchema: z.ZodObject<{
255
255
  fieldType: z.ZodDefault<z.ZodEnum<{
256
256
  number: "number";
257
257
  boolean: "boolean";
258
+ text: "text";
258
259
  date: "date";
259
260
  email: "email";
260
261
  other: "other";
261
262
  file: "file";
262
- text: "text";
263
263
  phone: "phone";
264
264
  textarea: "textarea";
265
265
  datetime: "datetime";
@@ -290,11 +290,11 @@ export declare const insertProductBookingQuestionSchema: z.ZodObject<{
290
290
  fieldType: z.ZodDefault<z.ZodEnum<{
291
291
  number: "number";
292
292
  boolean: "boolean";
293
+ text: "text";
293
294
  date: "date";
294
295
  email: "email";
295
296
  other: "other";
296
297
  file: "file";
297
- text: "text";
298
298
  phone: "phone";
299
299
  textarea: "textarea";
300
300
  datetime: "datetime";
@@ -325,11 +325,11 @@ 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";
328
329
  date: "date";
329
330
  email: "email";
330
331
  other: "other";
331
332
  file: "file";
332
- text: "text";
333
333
  phone: "phone";
334
334
  textarea: "textarea";
335
335
  datetime: "datetime";
@@ -359,11 +359,11 @@ export declare const productBookingQuestionListQuerySchema: z.ZodObject<{
359
359
  fieldType: z.ZodOptional<z.ZodEnum<{
360
360
  number: "number";
361
361
  boolean: "boolean";
362
+ text: "text";
362
363
  date: "date";
363
364
  email: "email";
364
365
  other: "other";
365
366
  file: "file";
366
- text: "text";
367
367
  phone: "phone";
368
368
  textarea: "textarea";
369
369
  datetime: "datetime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/booking-requirements",
3
- "version": "0.28.3",
3
+ "version": "0.30.0",
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.28.3",
38
- "@voyantjs/db": "0.28.3",
39
- "@voyantjs/hono": "0.28.3",
40
- "@voyantjs/products": "0.28.3"
37
+ "@voyantjs/core": "0.30.0",
38
+ "@voyantjs/db": "0.30.0",
39
+ "@voyantjs/hono": "0.30.0",
40
+ "@voyantjs/products": "0.30.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^6.0.2",
44
- "@voyantjs/bookings": "0.28.3",
45
- "@voyantjs/products": "0.28.3",
44
+ "@voyantjs/bookings": "0.30.0",
45
+ "@voyantjs/products": "0.30.0",
46
46
  "@voyantjs/voyant-typescript-config": "0.1.0"
47
47
  },
48
48
  "files": [