@voyantjs/facilities 0.25.0 → 0.26.1
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 +3 -3
- package/dist/schema.d.ts +1 -1
- package/dist/service-operations.d.ts +3 -3
- package/dist/validation.d.ts +5 -5
- package/package.json +5 -5
package/dist/routes.d.ts
CHANGED
|
@@ -645,7 +645,7 @@ export declare const facilitiesRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
645
645
|
data: {
|
|
646
646
|
id: string;
|
|
647
647
|
facilityId: string;
|
|
648
|
-
category: "service" | "other" | "
|
|
648
|
+
category: "service" | "other" | "amenity" | "accessibility" | "security" | "policy";
|
|
649
649
|
code: string | null;
|
|
650
650
|
name: string;
|
|
651
651
|
description: string | null;
|
|
@@ -684,7 +684,7 @@ export declare const facilitiesRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
684
684
|
};
|
|
685
685
|
output: {
|
|
686
686
|
data: {
|
|
687
|
-
category: "service" | "other" | "
|
|
687
|
+
category: "service" | "other" | "amenity" | "accessibility" | "security" | "policy";
|
|
688
688
|
id: string;
|
|
689
689
|
name: string;
|
|
690
690
|
createdAt: string;
|
|
@@ -724,7 +724,7 @@ export declare const facilitiesRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
724
724
|
data: {
|
|
725
725
|
id: string;
|
|
726
726
|
facilityId: string;
|
|
727
|
-
category: "service" | "other" | "
|
|
727
|
+
category: "service" | "other" | "amenity" | "accessibility" | "security" | "policy";
|
|
728
728
|
code: string | null;
|
|
729
729
|
name: string;
|
|
730
730
|
description: string | null;
|
package/dist/schema.d.ts
CHANGED
|
@@ -526,7 +526,7 @@ export declare const facilityFeatures: import("drizzle-orm/pg-core").PgTableWith
|
|
|
526
526
|
tableName: "facility_features";
|
|
527
527
|
dataType: "string";
|
|
528
528
|
columnType: "PgEnumColumn";
|
|
529
|
-
data: "service" | "other" | "
|
|
529
|
+
data: "service" | "other" | "amenity" | "accessibility" | "security" | "policy";
|
|
530
530
|
driverParam: string;
|
|
531
531
|
notNull: true;
|
|
532
532
|
hasDefault: true;
|
|
@@ -4,7 +4,7 @@ export declare function listFacilityFeatures(db: PostgresJsDatabase, query: Faci
|
|
|
4
4
|
data: {
|
|
5
5
|
id: string;
|
|
6
6
|
facilityId: string;
|
|
7
|
-
category: "service" | "other" | "
|
|
7
|
+
category: "service" | "other" | "amenity" | "accessibility" | "security" | "policy";
|
|
8
8
|
code: string | null;
|
|
9
9
|
name: string;
|
|
10
10
|
description: string | null;
|
|
@@ -19,7 +19,7 @@ export declare function listFacilityFeatures(db: PostgresJsDatabase, query: Faci
|
|
|
19
19
|
offset: number;
|
|
20
20
|
}>;
|
|
21
21
|
export declare function createFacilityFeature(db: PostgresJsDatabase, facilityId: string, data: CreateFacilityFeatureInput): Promise<{
|
|
22
|
-
category: "service" | "other" | "
|
|
22
|
+
category: "service" | "other" | "amenity" | "accessibility" | "security" | "policy";
|
|
23
23
|
id: string;
|
|
24
24
|
name: string;
|
|
25
25
|
createdAt: Date;
|
|
@@ -34,7 +34,7 @@ export declare function createFacilityFeature(db: PostgresJsDatabase, facilityId
|
|
|
34
34
|
export declare function updateFacilityFeature(db: PostgresJsDatabase, id: string, data: UpdateFacilityFeatureInput): Promise<{
|
|
35
35
|
id: string;
|
|
36
36
|
facilityId: string;
|
|
37
|
-
category: "service" | "other" | "
|
|
37
|
+
category: "service" | "other" | "amenity" | "accessibility" | "security" | "policy";
|
|
38
38
|
code: string | null;
|
|
39
39
|
name: string;
|
|
40
40
|
description: string | null;
|
package/dist/validation.d.ts
CHANGED
|
@@ -39,8 +39,8 @@ export declare const facilityContactRoleSchema: z.ZodEnum<{
|
|
|
39
39
|
export declare const facilityFeatureCategorySchema: z.ZodEnum<{
|
|
40
40
|
service: "service";
|
|
41
41
|
other: "other";
|
|
42
|
-
accessibility: "accessibility";
|
|
43
42
|
amenity: "amenity";
|
|
43
|
+
accessibility: "accessibility";
|
|
44
44
|
security: "security";
|
|
45
45
|
policy: "policy";
|
|
46
46
|
}>;
|
|
@@ -321,8 +321,8 @@ export declare const facilityFeatureCoreSchema: z.ZodObject<{
|
|
|
321
321
|
category: z.ZodDefault<z.ZodEnum<{
|
|
322
322
|
service: "service";
|
|
323
323
|
other: "other";
|
|
324
|
-
accessibility: "accessibility";
|
|
325
324
|
amenity: "amenity";
|
|
325
|
+
accessibility: "accessibility";
|
|
326
326
|
security: "security";
|
|
327
327
|
policy: "policy";
|
|
328
328
|
}>>;
|
|
@@ -337,8 +337,8 @@ export declare const insertFacilityFeatureSchema: z.ZodObject<{
|
|
|
337
337
|
category: z.ZodDefault<z.ZodEnum<{
|
|
338
338
|
service: "service";
|
|
339
339
|
other: "other";
|
|
340
|
-
accessibility: "accessibility";
|
|
341
340
|
amenity: "amenity";
|
|
341
|
+
accessibility: "accessibility";
|
|
342
342
|
security: "security";
|
|
343
343
|
policy: "policy";
|
|
344
344
|
}>>;
|
|
@@ -353,8 +353,8 @@ export declare const updateFacilityFeatureSchema: z.ZodObject<{
|
|
|
353
353
|
category: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
354
354
|
service: "service";
|
|
355
355
|
other: "other";
|
|
356
|
-
accessibility: "accessibility";
|
|
357
356
|
amenity: "amenity";
|
|
357
|
+
accessibility: "accessibility";
|
|
358
358
|
security: "security";
|
|
359
359
|
policy: "policy";
|
|
360
360
|
}>>>;
|
|
@@ -372,8 +372,8 @@ export declare const facilityFeatureListQuerySchema: z.ZodObject<{
|
|
|
372
372
|
category: z.ZodOptional<z.ZodEnum<{
|
|
373
373
|
service: "service";
|
|
374
374
|
other: "other";
|
|
375
|
-
accessibility: "accessibility";
|
|
376
375
|
amenity: "amenity";
|
|
376
|
+
accessibility: "accessibility";
|
|
377
377
|
security: "security";
|
|
378
378
|
policy: "policy";
|
|
379
379
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/facilities",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"drizzle-orm": "^0.45.2",
|
|
30
30
|
"hono": "^4.12.10",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@voyantjs/core": "0.
|
|
33
|
-
"@voyantjs/db": "0.
|
|
34
|
-
"@voyantjs/hono": "0.
|
|
35
|
-
"@voyantjs/identity": "0.
|
|
32
|
+
"@voyantjs/core": "0.26.1",
|
|
33
|
+
"@voyantjs/db": "0.26.1",
|
|
34
|
+
"@voyantjs/hono": "0.26.1",
|
|
35
|
+
"@voyantjs/identity": "0.26.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "^6.0.2",
|