@voyantjs/charters 0.28.1 → 0.29.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.
@@ -36,7 +36,7 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
36
36
  mapImageUrl: string | null;
37
37
  regions: string[] | null;
38
38
  themes: string[] | null;
39
- status: "draft" | "awaiting_review" | "live" | "archived";
39
+ status: "live" | "draft" | "awaiting_review" | "archived";
40
40
  defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
41
41
  defaultMybaTemplateId: string | null;
42
42
  defaultApaPercent: string | null;
@@ -202,7 +202,7 @@ export declare const chartersPublicRoutes: import("hono/hono-base").HonoBase<Env
202
202
  createdAt: string;
203
203
  updatedAt: string;
204
204
  slug: string;
205
- status: "draft" | "awaiting_review" | "live" | "archived";
205
+ status: "live" | "draft" | "awaiting_review" | "archived";
206
206
  description: string | null;
207
207
  externalRefs: {
208
208
  [x: string]: string;
package/dist/routes.d.ts CHANGED
@@ -35,7 +35,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
35
35
  mapImageUrl: string | null;
36
36
  regions: string[] | null;
37
37
  themes: string[] | null;
38
- status: "draft" | "awaiting_review" | "live" | "archived";
38
+ status: "live" | "draft" | "awaiting_review" | "archived";
39
39
  defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
40
40
  defaultMybaTemplateId: string | null;
41
41
  defaultApaPercent: string | null;
@@ -85,7 +85,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
85
85
  createdAt: string;
86
86
  updatedAt: string;
87
87
  slug: string;
88
- status: "draft" | "awaiting_review" | "live" | "archived";
88
+ status: "live" | "draft" | "awaiting_review" | "archived";
89
89
  description: string | null;
90
90
  externalRefs: {
91
91
  [x: string]: string;
@@ -173,7 +173,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
173
173
  createdAt: string;
174
174
  updatedAt: string;
175
175
  slug: string;
176
- status: "draft" | "awaiting_review" | "live" | "archived";
176
+ status: "live" | "draft" | "awaiting_review" | "archived";
177
177
  description: string | null;
178
178
  externalRefs: {
179
179
  [x: string]: string;
@@ -309,7 +309,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
309
309
  createdAt: string;
310
310
  updatedAt: string;
311
311
  slug: string;
312
- status: "draft" | "awaiting_review" | "live" | "archived";
312
+ status: "live" | "draft" | "awaiting_review" | "archived";
313
313
  description: string | null;
314
314
  externalRefs: {
315
315
  [x: string]: string;
@@ -384,7 +384,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
384
384
  createdAt: string;
385
385
  updatedAt: string;
386
386
  slug: string;
387
- status: "draft" | "awaiting_review" | "live" | "archived";
387
+ status: "live" | "draft" | "awaiting_review" | "archived";
388
388
  description: string | null;
389
389
  externalRefs: {
390
390
  [x: string]: string;
@@ -459,7 +459,7 @@ export declare const chartersAdminRoutes: import("hono/hono-base").HonoBase<Env,
459
459
  createdAt: string;
460
460
  updatedAt: string;
461
461
  slug: string;
462
- status: "draft" | "awaiting_review" | "live" | "archived";
462
+ status: "live" | "draft" | "awaiting_review" | "archived";
463
463
  description: string | null;
464
464
  externalRefs: {
465
465
  [x: string]: string;
@@ -198,7 +198,7 @@ export declare const charterProducts: import("drizzle-orm/pg-core").PgTableWithC
198
198
  tableName: "charter_products";
199
199
  dataType: "string";
200
200
  columnType: "PgEnumColumn";
201
- data: "draft" | "awaiting_review" | "live" | "archived";
201
+ data: "live" | "draft" | "awaiting_review" | "archived";
202
202
  driverParam: string;
203
203
  notNull: true;
204
204
  hasDefault: true;
package/dist/service.d.ts CHANGED
@@ -21,7 +21,7 @@ export declare const chartersService: {
21
21
  mapImageUrl: string | null;
22
22
  regions: string[] | null;
23
23
  themes: string[] | null;
24
- status: "draft" | "awaiting_review" | "live" | "archived";
24
+ status: "live" | "draft" | "awaiting_review" | "archived";
25
25
  defaultBookingModes: ("per_suite" | "whole_yacht")[] | null;
26
26
  defaultMybaTemplateId: string | null;
27
27
  defaultApaPercent: string | null;
@@ -11,9 +11,9 @@ export declare const insertProductSchema: z.ZodObject<{
11
11
  regions: z.ZodDefault<z.ZodArray<z.ZodString>>;
12
12
  themes: z.ZodDefault<z.ZodArray<z.ZodString>>;
13
13
  status: z.ZodDefault<z.ZodEnum<{
14
+ live: "live";
14
15
  draft: "draft";
15
16
  awaiting_review: "awaiting_review";
16
- live: "live";
17
17
  archived: "archived";
18
18
  }>>;
19
19
  defaultBookingModes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
@@ -36,9 +36,9 @@ export declare const updateProductSchema: z.ZodObject<{
36
36
  regions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
37
37
  themes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
38
38
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
39
+ live: "live";
39
40
  draft: "draft";
40
41
  awaiting_review: "awaiting_review";
41
- live: "live";
42
42
  archived: "archived";
43
43
  }>>>;
44
44
  defaultBookingModes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
@@ -51,9 +51,9 @@ export declare const updateProductSchema: z.ZodObject<{
51
51
  }, z.core.$strip>;
52
52
  export declare const productListQuerySchema: z.ZodObject<{
53
53
  status: z.ZodOptional<z.ZodEnum<{
54
+ live: "live";
54
55
  draft: "draft";
55
56
  awaiting_review: "awaiting_review";
56
- live: "live";
57
57
  archived: "archived";
58
58
  }>>;
59
59
  lineSupplierId: z.ZodOptional<z.ZodString>;
@@ -3,9 +3,9 @@ import { typeIdSchema } from "@voyantjs/db/lib/typeid";
3
3
  import { z } from "zod";
4
4
  export { booleanQueryParam, typeIdSchema, z };
5
5
  export declare const charterStatusSchema: z.ZodEnum<{
6
+ live: "live";
6
7
  draft: "draft";
7
8
  awaiting_review: "awaiting_review";
8
- live: "live";
9
9
  archived: "archived";
10
10
  }>;
11
11
  export declare const charterSourceSchema: z.ZodEnum<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/charters",
3
- "version": "0.28.1",
3
+ "version": "0.29.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -38,17 +38,47 @@
38
38
  "types": "./dist/adapters/index.d.ts",
39
39
  "import": "./dist/adapters/index.js",
40
40
  "default": "./dist/adapters/index.js"
41
+ },
42
+ "./catalog-policy": {
43
+ "types": "./dist/catalog-policy.d.ts",
44
+ "import": "./dist/catalog-policy.js",
45
+ "default": "./dist/catalog-policy.js"
46
+ },
47
+ "./service-catalog-plane": {
48
+ "types": "./dist/service-catalog-plane.d.ts",
49
+ "import": "./dist/service-catalog-plane.js",
50
+ "default": "./dist/service-catalog-plane.js"
51
+ },
52
+ "./content-shape": {
53
+ "types": "./dist/content-shape.d.ts",
54
+ "import": "./dist/content-shape.js",
55
+ "default": "./dist/content-shape.js"
56
+ },
57
+ "./service-content": {
58
+ "types": "./dist/service-content.d.ts",
59
+ "import": "./dist/service-content.js",
60
+ "default": "./dist/service-content.js"
61
+ },
62
+ "./service-content-synthesizer": {
63
+ "types": "./dist/service-content-synthesizer.d.ts",
64
+ "import": "./dist/service-content-synthesizer.js",
65
+ "default": "./dist/service-content-synthesizer.js"
66
+ },
67
+ "./draft-shape": {
68
+ "types": "./dist/draft-shape.d.ts",
69
+ "import": "./dist/draft-shape.js",
70
+ "default": "./dist/draft-shape.js"
41
71
  }
42
72
  },
43
73
  "dependencies": {
44
74
  "drizzle-orm": "^0.45.2",
45
75
  "hono": "^4.12.10",
46
76
  "zod": "^4.3.6",
47
- "@voyantjs/bookings": "0.28.1",
48
- "@voyantjs/core": "0.28.1",
49
- "@voyantjs/db": "0.28.1",
50
- "@voyantjs/hono": "0.28.1",
51
- "@voyantjs/catalog": "0.28.1"
77
+ "@voyantjs/bookings": "0.29.0",
78
+ "@voyantjs/core": "0.29.0",
79
+ "@voyantjs/db": "0.29.0",
80
+ "@voyantjs/hono": "0.29.0",
81
+ "@voyantjs/catalog": "0.29.0"
52
82
  },
53
83
  "devDependencies": {
54
84
  "typescript": "^6.0.2",