@voyantjs/extras 0.8.0 → 0.10.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
@@ -53,6 +53,7 @@ export declare const extrasRoutes: import("hono/hono-base").HonoBase<Env, {
53
53
  updatedAt: string;
54
54
  description: string | null;
55
55
  code: string | null;
56
+ active: boolean;
56
57
  productId: string;
57
58
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
58
59
  pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
@@ -60,7 +61,6 @@ export declare const extrasRoutes: import("hono/hono-base").HonoBase<Env, {
60
61
  minQuantity: number | null;
61
62
  maxQuantity: number | null;
62
63
  defaultQuantity: number | null;
63
- active: boolean;
64
64
  sortOrder: number;
65
65
  } | null;
66
66
  };
@@ -230,13 +230,13 @@ export declare const extrasRoutes: import("hono/hono-base").HonoBase<Env, {
230
230
  createdAt: string;
231
231
  updatedAt: string;
232
232
  notes: string | null;
233
+ active: boolean;
233
234
  selectionType: "optional" | "required" | "default_selected" | "unavailable" | null;
234
235
  pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free" | null;
235
236
  pricedPerPerson: boolean | null;
236
237
  minQuantity: number | null;
237
238
  maxQuantity: number | null;
238
239
  defaultQuantity: number | null;
239
- active: boolean;
240
240
  sortOrder: number;
241
241
  optionId: string;
242
242
  productExtraId: string;
@@ -416,10 +416,10 @@ export declare const extrasRoutes: import("hono/hono-base").HonoBase<Env, {
416
416
  status: "draft" | "selected" | "confirmed" | "cancelled" | "fulfilled";
417
417
  notes: string | null;
418
418
  description: string | null;
419
+ bookingId: string;
419
420
  pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
420
421
  pricedPerPerson: boolean;
421
422
  productExtraId: string | null;
422
- bookingId: string;
423
423
  optionExtraConfigId: string | null;
424
424
  quantity: number;
425
425
  sellCurrency: string;
package/dist/service.d.ts CHANGED
@@ -60,6 +60,7 @@ export declare const extrasService: {
60
60
  updatedAt: Date;
61
61
  description: string | null;
62
62
  code: string | null;
63
+ active: boolean;
63
64
  productId: string;
64
65
  selectionType: "optional" | "required" | "default_selected" | "unavailable";
65
66
  pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
@@ -67,7 +68,6 @@ export declare const extrasService: {
67
68
  minQuantity: number | null;
68
69
  maxQuantity: number | null;
69
70
  defaultQuantity: number | null;
70
- active: boolean;
71
71
  sortOrder: number;
72
72
  } | null>;
73
73
  updateProductExtra(db: PostgresJsDatabase, id: string, data: UpdateProductExtraInput): Promise<{
@@ -138,13 +138,13 @@ export declare const extrasService: {
138
138
  createdAt: Date;
139
139
  updatedAt: Date;
140
140
  notes: string | null;
141
+ active: boolean;
141
142
  selectionType: "optional" | "required" | "default_selected" | "unavailable" | null;
142
143
  pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free" | null;
143
144
  pricedPerPerson: boolean | null;
144
145
  minQuantity: number | null;
145
146
  maxQuantity: number | null;
146
147
  defaultQuantity: number | null;
147
- active: boolean;
148
148
  sortOrder: number;
149
149
  optionId: string;
150
150
  productExtraId: string;
@@ -229,10 +229,10 @@ export declare const extrasService: {
229
229
  status: "draft" | "selected" | "confirmed" | "cancelled" | "fulfilled";
230
230
  notes: string | null;
231
231
  description: string | null;
232
+ bookingId: string;
232
233
  pricingMode: "included" | "per_person" | "per_booking" | "quantity_based" | "on_request" | "free";
233
234
  pricedPerPerson: boolean;
234
235
  productExtraId: string | null;
235
- bookingId: string;
236
236
  optionExtraConfigId: string | null;
237
237
  quantity: number;
238
238
  sellCurrency: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/extras",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -25,14 +25,14 @@
25
25
  "drizzle-orm": "^0.45.2",
26
26
  "hono": "^4.12.10",
27
27
  "zod": "^4.3.6",
28
- "@voyantjs/core": "0.8.0",
29
- "@voyantjs/db": "0.8.0",
30
- "@voyantjs/hono": "0.8.0"
28
+ "@voyantjs/core": "0.10.0",
29
+ "@voyantjs/db": "0.10.0",
30
+ "@voyantjs/hono": "0.10.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "^6.0.2",
34
- "@voyantjs/bookings": "0.8.0",
35
- "@voyantjs/products": "0.8.0",
34
+ "@voyantjs/bookings": "0.10.0",
35
+ "@voyantjs/products": "0.10.0",
36
36
  "@voyantjs/voyant-typescript-config": "0.1.0"
37
37
  },
38
38
  "files": [