@voyantjs/resources 0.9.0 → 0.11.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 +3 -3
- package/dist/service.d.ts +3 -3
- package/package.json +6 -6
package/dist/routes.d.ts
CHANGED
|
@@ -43,11 +43,11 @@ export declare const resourcesRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
43
43
|
updatedAt: string;
|
|
44
44
|
notes: string | null;
|
|
45
45
|
code: string | null;
|
|
46
|
+
active: boolean;
|
|
46
47
|
supplierId: string | null;
|
|
47
48
|
facilityId: string | null;
|
|
48
49
|
kind: "other" | "guide" | "vehicle" | "room" | "boat" | "equipment";
|
|
49
50
|
capacity: number | null;
|
|
50
|
-
active: boolean;
|
|
51
51
|
} | undefined;
|
|
52
52
|
};
|
|
53
53
|
outputFormat: "json";
|
|
@@ -237,8 +237,8 @@ export declare const resourcesRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
237
237
|
createdAt: string;
|
|
238
238
|
updatedAt: string;
|
|
239
239
|
notes: string | null;
|
|
240
|
-
kind: "other" | "guide" | "vehicle" | "room" | "boat" | "equipment";
|
|
241
240
|
active: boolean;
|
|
241
|
+
kind: "other" | "guide" | "vehicle" | "room" | "boat" | "equipment";
|
|
242
242
|
productId: string | null;
|
|
243
243
|
sharedCapacity: number | null;
|
|
244
244
|
} | undefined;
|
|
@@ -868,10 +868,10 @@ export declare const resourcesRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
868
868
|
id: string;
|
|
869
869
|
status: "reserved" | "assigned" | "released" | "cancelled" | "completed";
|
|
870
870
|
notes: string | null;
|
|
871
|
+
bookingId: string | null;
|
|
871
872
|
poolId: string | null;
|
|
872
873
|
resourceId: string | null;
|
|
873
874
|
slotId: string;
|
|
874
|
-
bookingId: string | null;
|
|
875
875
|
assignedAt: string;
|
|
876
876
|
assignedBy: string | null;
|
|
877
877
|
releasedAt: string | null;
|
package/dist/service.d.ts
CHANGED
|
@@ -57,11 +57,11 @@ export declare const resourcesService: {
|
|
|
57
57
|
updatedAt: Date;
|
|
58
58
|
notes: string | null;
|
|
59
59
|
code: string | null;
|
|
60
|
+
active: boolean;
|
|
60
61
|
supplierId: string | null;
|
|
61
62
|
facilityId: string | null;
|
|
62
63
|
kind: "other" | "guide" | "vehicle" | "room" | "boat" | "equipment";
|
|
63
64
|
capacity: number | null;
|
|
64
|
-
active: boolean;
|
|
65
65
|
} | undefined>;
|
|
66
66
|
updateResource(db: PostgresJsDatabase, id: string, data: UpdateResourceInput): Promise<{
|
|
67
67
|
id: string;
|
|
@@ -112,8 +112,8 @@ export declare const resourcesService: {
|
|
|
112
112
|
createdAt: Date;
|
|
113
113
|
updatedAt: Date;
|
|
114
114
|
notes: string | null;
|
|
115
|
-
kind: "other" | "guide" | "vehicle" | "room" | "boat" | "equipment";
|
|
116
115
|
active: boolean;
|
|
116
|
+
kind: "other" | "guide" | "vehicle" | "room" | "boat" | "equipment";
|
|
117
117
|
productId: string | null;
|
|
118
118
|
sharedCapacity: number | null;
|
|
119
119
|
} | undefined>;
|
|
@@ -296,10 +296,10 @@ export declare const resourcesService: {
|
|
|
296
296
|
id: string;
|
|
297
297
|
status: "reserved" | "assigned" | "released" | "cancelled" | "completed";
|
|
298
298
|
notes: string | null;
|
|
299
|
+
bookingId: string | null;
|
|
299
300
|
poolId: string | null;
|
|
300
301
|
resourceId: string | null;
|
|
301
302
|
slotId: string;
|
|
302
|
-
bookingId: string | null;
|
|
303
303
|
assignedAt: Date;
|
|
304
304
|
assignedBy: string | null;
|
|
305
305
|
releasedAt: Date | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/resources",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.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.
|
|
29
|
-
"@voyantjs/db": "0.
|
|
30
|
-
"@voyantjs/hono": "0.
|
|
28
|
+
"@voyantjs/core": "0.11.0",
|
|
29
|
+
"@voyantjs/db": "0.11.0",
|
|
30
|
+
"@voyantjs/hono": "0.11.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"typescript": "^6.0.2",
|
|
34
|
-
"@voyantjs/availability": "0.
|
|
35
|
-
"@voyantjs/products": "0.
|
|
34
|
+
"@voyantjs/availability": "0.11.0",
|
|
35
|
+
"@voyantjs/products": "0.11.0",
|
|
36
36
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|