@voyantjs/ground 0.26.0 → 0.26.2

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.
@@ -2,8 +2,8 @@ import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
2
2
  import { facilities } from "@voyantjs/facilities/schema";
3
3
  import { identityAddresses } from "@voyantjs/identity/schema";
4
4
  import { boolean, date, index, integer, pgTable, text, timestamp } from "drizzle-orm/pg-core";
5
- import { groundDrivers, groundOperators, groundVehicles } from "./schema-operators";
6
- import { groundDispatchStatusEnum, groundServiceLevelEnum, groundVehicleCategoryEnum, groundVehicleClassEnum, } from "./schema-shared";
5
+ import { groundDrivers, groundOperators, groundVehicles } from "./schema-operators.js";
6
+ import { groundDispatchStatusEnum, groundServiceLevelEnum, groundVehicleCategoryEnum, groundVehicleClassEnum, } from "./schema-shared.js";
7
7
  export const groundTransferPreferences = pgTable("ground_transfer_preferences", {
8
8
  id: typeId("ground_transfer_preferences"),
9
9
  bookingId: text("booking_id").notNull(),
@@ -2,9 +2,9 @@ import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
2
2
  import { facilities } from "@voyantjs/facilities/schema";
3
3
  import { identityAddresses } from "@voyantjs/identity/schema";
4
4
  import { index, integer, jsonb, pgTable, text, timestamp } from "drizzle-orm/pg-core";
5
- import { groundDispatches } from "./schema-dispatch";
6
- import { groundDrivers, groundOperators, groundVehicles } from "./schema-operators";
7
- import { groundAssignmentSourceEnum, groundCheckpointStatusEnum, groundDispatchLegTypeEnum, groundDriverShiftStatusEnum, groundExecutionEventTypeEnum, groundIncidentResolutionStatusEnum, groundIncidentSeverityEnum, } from "./schema-shared";
5
+ import { groundDispatches } from "./schema-dispatch.js";
6
+ import { groundDrivers, groundOperators, groundVehicles } from "./schema-operators.js";
7
+ import { groundAssignmentSourceEnum, groundCheckpointStatusEnum, groundDispatchLegTypeEnum, groundDriverShiftStatusEnum, groundExecutionEventTypeEnum, groundIncidentResolutionStatusEnum, groundIncidentSeverityEnum, } from "./schema-shared.js";
8
8
  export const groundExecutionEvents = pgTable("ground_execution_events", {
9
9
  id: typeId("ground_execution_events"),
10
10
  dispatchId: typeIdRef("dispatch_id")
@@ -1,7 +1,7 @@
1
1
  import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
2
2
  import { facilities } from "@voyantjs/facilities/schema";
3
3
  import { boolean, index, integer, jsonb, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
4
- import { groundVehicleCategoryEnum, groundVehicleClassEnum } from "./schema-shared";
4
+ import { groundVehicleCategoryEnum, groundVehicleClassEnum } from "./schema-shared.js";
5
5
  export const groundOperators = pgTable("ground_operators", {
6
6
  id: typeId("ground_operators"),
7
7
  supplierId: text("supplier_id"),
@@ -1,9 +1,9 @@
1
1
  import { facilities } from "@voyantjs/facilities/schema";
2
2
  import { identityAddresses } from "@voyantjs/identity/schema";
3
3
  import { relations } from "drizzle-orm";
4
- import { groundDispatches, groundTransferPreferences } from "./schema-dispatch";
5
- import { groundDispatchAssignments, groundDispatchCheckpoints, groundDispatchLegs, groundDispatchPassengers, groundDriverShifts, groundExecutionEvents, groundServiceIncidents, } from "./schema-operations";
6
- import { groundDrivers, groundOperators, groundVehicles } from "./schema-operators";
4
+ import { groundDispatches, groundTransferPreferences } from "./schema-dispatch.js";
5
+ import { groundDispatchAssignments, groundDispatchCheckpoints, groundDispatchLegs, groundDispatchPassengers, groundDriverShifts, groundExecutionEvents, groundServiceIncidents, } from "./schema-operations.js";
6
+ import { groundDrivers, groundOperators, groundVehicles } from "./schema-operators.js";
7
7
  export const groundOperatorsRelations = relations(groundOperators, ({ one, many }) => ({
8
8
  facility: one(facilities, { fields: [groundOperators.facilityId], references: [facilities.id] }),
9
9
  vehicles: many(groundVehicles),
package/dist/schema.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./schema-dispatch";
2
- export * from "./schema-operations";
3
- export * from "./schema-operators";
4
- export * from "./schema-relations";
5
- export * from "./schema-shared";
1
+ export * from "./schema-dispatch.js";
2
+ export * from "./schema-operations.js";
3
+ export * from "./schema-operators.js";
4
+ export * from "./schema-relations.js";
5
+ export * from "./schema-shared.js";
6
6
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA"}
package/dist/schema.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./schema-dispatch";
2
- export * from "./schema-operations";
3
- export * from "./schema-operators";
4
- export * from "./schema-relations";
5
- export * from "./schema-shared";
1
+ export * from "./schema-dispatch.js";
2
+ export * from "./schema-operations.js";
3
+ export * from "./schema-operators.js";
4
+ export * from "./schema-relations.js";
5
+ export * from "./schema-shared.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/ground",
3
- "version": "0.26.0",
3
+ "version": "0.26.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -29,16 +29,16 @@
29
29
  "drizzle-orm": "^0.45.2",
30
30
  "hono": "^4.12.10",
31
31
  "zod": "^4.3.6",
32
- "@voyantjs/core": "0.26.0",
33
- "@voyantjs/db": "0.26.0",
34
- "@voyantjs/facilities": "0.26.0",
35
- "@voyantjs/hono": "0.26.0",
36
- "@voyantjs/identity": "0.26.0"
32
+ "@voyantjs/core": "0.26.2",
33
+ "@voyantjs/db": "0.26.2",
34
+ "@voyantjs/facilities": "0.26.2",
35
+ "@voyantjs/hono": "0.26.2",
36
+ "@voyantjs/identity": "0.26.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "^6.0.2",
40
- "@voyantjs/bookings": "0.26.0",
41
- "@voyantjs/resources": "0.26.0",
40
+ "@voyantjs/bookings": "0.26.2",
41
+ "@voyantjs/resources": "0.26.2",
42
42
  "@voyantjs/voyant-typescript-config": "0.1.0"
43
43
  },
44
44
  "files": [