@voyantjs/resources 0.6.0 → 0.6.3
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/schema.d.ts.map +1 -1
- package/dist/schema.js +4 -4
- package/package.json +6 -6
package/dist/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,gBAAgB,kGAO3B,CAAA;AAEF,eAAO,MAAM,0BAA0B,+DAGrC,CAAA;AAEF,eAAO,MAAM,4BAA4B,sGAMvC,CAAA;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBrB,CAAA;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBzB,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB/B,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAuB,CAAA;AACvD,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,CAAA;AACpD,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAA;AAE1D,eAAO,MAAM,kBAAkB;;;;EAI5B,CAAA;AAEH,eAAO,MAAM,sBAAsB;;;;;EAKhC,CAAA;AAEH,eAAO,MAAM,4BAA4B;;;EAStC,CAAA;AAEH,eAAO,MAAM,6BAA6B;;EAKvC,CAAA;AAEH,eAAO,MAAM,4BAA4B;;EAAgC,CAAA;AAEzE,eAAO,MAAM,gCAAgC;;;EAS1C,CAAA;AAEH,eAAO,MAAM,0BAA0B;;EAKpC,CAAA"}
|
package/dist/schema.js
CHANGED
|
@@ -63,7 +63,7 @@ export const resourcePoolMembers = pgTable("resource_pool_members", {
|
|
|
63
63
|
.references(() => resources.id, { onDelete: "cascade" }),
|
|
64
64
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
65
65
|
}, (table) => [
|
|
66
|
-
index("
|
|
66
|
+
index("idx_resource_pool_members_pool_created").on(table.poolId, table.createdAt),
|
|
67
67
|
index("idx_resource_pool_members_resource").on(table.resourceId),
|
|
68
68
|
]);
|
|
69
69
|
export const resourceRequirements = pgTable("resource_requirements", {
|
|
@@ -80,7 +80,7 @@ export const resourceRequirements = pgTable("resource_requirements", {
|
|
|
80
80
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
81
81
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
82
82
|
}, (table) => [
|
|
83
|
-
index("
|
|
83
|
+
index("idx_resource_requirements_pool_priority_created").on(table.poolId, table.priority, table.createdAt),
|
|
84
84
|
index("idx_resource_requirements_product").on(table.productId),
|
|
85
85
|
index("idx_resource_requirements_rule").on(table.availabilityRuleId),
|
|
86
86
|
index("idx_resource_requirements_start_time").on(table.startTimeId),
|
|
@@ -97,7 +97,7 @@ export const resourceSlotAssignments = pgTable("resource_slot_assignments", {
|
|
|
97
97
|
releasedAt: timestamp("released_at", { withTimezone: true }),
|
|
98
98
|
notes: text("notes"),
|
|
99
99
|
}, (table) => [
|
|
100
|
-
index("
|
|
100
|
+
index("idx_resource_slot_assignments_slot_assigned").on(table.slotId, table.assignedAt),
|
|
101
101
|
index("idx_resource_slot_assignments_pool").on(table.poolId),
|
|
102
102
|
index("idx_resource_slot_assignments_resource").on(table.resourceId),
|
|
103
103
|
index("idx_resource_slot_assignments_booking").on(table.bookingId),
|
|
@@ -114,7 +114,7 @@ export const resourceCloseouts = pgTable("resource_closeouts", {
|
|
|
114
114
|
createdBy: text("created_by"),
|
|
115
115
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
116
116
|
}, (table) => [
|
|
117
|
-
index("
|
|
117
|
+
index("idx_resource_closeouts_resource_created").on(table.resourceId, table.createdAt),
|
|
118
118
|
index("idx_resource_closeouts_date").on(table.dateLocal),
|
|
119
119
|
]);
|
|
120
120
|
export const resourceAllocations = resourceRequirements;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/resources",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
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.6.
|
|
29
|
-
"@voyantjs/db": "0.6.
|
|
30
|
-
"@voyantjs/hono": "0.6.
|
|
28
|
+
"@voyantjs/core": "0.6.3",
|
|
29
|
+
"@voyantjs/db": "0.6.3",
|
|
30
|
+
"@voyantjs/hono": "0.6.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"typescript": "^6.0.2",
|
|
34
|
-
"@voyantjs/availability": "0.6.
|
|
35
|
-
"@voyantjs/products": "0.6.
|
|
34
|
+
"@voyantjs/availability": "0.6.3",
|
|
35
|
+
"@voyantjs/products": "0.6.3",
|
|
36
36
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|