@voyantjs/ground 0.1.1 → 0.3.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/schema-dispatch.d.ts +733 -0
- package/dist/schema-dispatch.d.ts.map +1 -0
- package/dist/schema-dispatch.js +79 -0
- package/dist/schema-operations.d.ts +1368 -0
- package/dist/schema-operations.d.ts.map +1 -0
- package/dist/schema-operations.js +155 -0
- package/dist/schema-operators.d.ts +625 -0
- package/dist/schema-operators.d.ts.map +1 -0
- package/dist/schema-operators.js +62 -0
- package/dist/schema-relations.d.ts +63 -0
- package/dist/schema-relations.d.ts.map +1 -0
- package/dist/schema-relations.js +152 -0
- package/dist/schema-shared.d.ts +12 -0
- package/dist/schema-shared.d.ts.map +1 -0
- package/dist/schema-shared.js +84 -0
- package/dist/schema.d.ts +5 -2796
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +5 -513
- package/dist/service-dispatch-core.d.ts +255 -0
- package/dist/service-dispatch-core.d.ts.map +1 -0
- package/dist/service-dispatch-core.js +171 -0
- package/dist/service-dispatch-ops.d.ts +307 -0
- package/dist/service-dispatch-ops.d.ts.map +1 -0
- package/dist/service-dispatch-ops.js +272 -0
- package/dist/service-resources.d.ts +251 -0
- package/dist/service-resources.d.ts.map +1 -0
- package/dist/service-resources.js +183 -0
- package/dist/service-shared.d.ts +48 -0
- package/dist/service-shared.d.ts.map +1 -0
- package/dist/service-shared.js +7 -0
- package/dist/service.d.ts +63 -844
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +63 -628
- package/package.json +6 -6
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export declare const groundOperatorsRelations: import("drizzle-orm").Relations<"ground_operators", {
|
|
2
|
+
facility: import("drizzle-orm").One<"facilities", false>;
|
|
3
|
+
vehicles: import("drizzle-orm").Many<"ground_vehicles">;
|
|
4
|
+
drivers: import("drizzle-orm").Many<"ground_drivers">;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const groundVehiclesRelations: import("drizzle-orm").Relations<"ground_vehicles", {
|
|
7
|
+
operator: import("drizzle-orm").One<"ground_operators", false>;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const groundDriversRelations: import("drizzle-orm").Relations<"ground_drivers", {
|
|
10
|
+
operator: import("drizzle-orm").One<"ground_operators", false>;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const groundTransferPreferencesRelations: import("drizzle-orm").Relations<"ground_transfer_preferences", {
|
|
13
|
+
pickupFacility: import("drizzle-orm").One<"facilities", false>;
|
|
14
|
+
dropoffFacility: import("drizzle-orm").One<"facilities", false>;
|
|
15
|
+
pickupAddress: import("drizzle-orm").One<"identity_addresses", false>;
|
|
16
|
+
dropoffAddress: import("drizzle-orm").One<"identity_addresses", false>;
|
|
17
|
+
dispatches: import("drizzle-orm").Many<"ground_dispatches">;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const groundDispatchesRelations: import("drizzle-orm").Relations<"ground_dispatches", {
|
|
20
|
+
transferPreference: import("drizzle-orm").One<"ground_transfer_preferences", true>;
|
|
21
|
+
operator: import("drizzle-orm").One<"ground_operators", false>;
|
|
22
|
+
vehicle: import("drizzle-orm").One<"ground_vehicles", false>;
|
|
23
|
+
driver: import("drizzle-orm").One<"ground_drivers", false>;
|
|
24
|
+
executionEvents: import("drizzle-orm").Many<"ground_execution_events">;
|
|
25
|
+
assignments: import("drizzle-orm").Many<"ground_dispatch_assignments">;
|
|
26
|
+
legs: import("drizzle-orm").Many<"ground_dispatch_legs">;
|
|
27
|
+
passengers: import("drizzle-orm").Many<"ground_dispatch_passengers">;
|
|
28
|
+
incidents: import("drizzle-orm").Many<"ground_service_incidents">;
|
|
29
|
+
checkpoints: import("drizzle-orm").Many<"ground_dispatch_checkpoints">;
|
|
30
|
+
}>;
|
|
31
|
+
export declare const groundExecutionEventsRelations: import("drizzle-orm").Relations<"ground_execution_events", {
|
|
32
|
+
dispatch: import("drizzle-orm").One<"ground_dispatches", true>;
|
|
33
|
+
facility: import("drizzle-orm").One<"facilities", false>;
|
|
34
|
+
address: import("drizzle-orm").One<"identity_addresses", false>;
|
|
35
|
+
}>;
|
|
36
|
+
export declare const groundDispatchAssignmentsRelations: import("drizzle-orm").Relations<"ground_dispatch_assignments", {
|
|
37
|
+
dispatch: import("drizzle-orm").One<"ground_dispatches", true>;
|
|
38
|
+
operator: import("drizzle-orm").One<"ground_operators", false>;
|
|
39
|
+
vehicle: import("drizzle-orm").One<"ground_vehicles", false>;
|
|
40
|
+
driver: import("drizzle-orm").One<"ground_drivers", false>;
|
|
41
|
+
}>;
|
|
42
|
+
export declare const groundDispatchLegsRelations: import("drizzle-orm").Relations<"ground_dispatch_legs", {
|
|
43
|
+
dispatch: import("drizzle-orm").One<"ground_dispatches", true>;
|
|
44
|
+
facility: import("drizzle-orm").One<"facilities", false>;
|
|
45
|
+
address: import("drizzle-orm").One<"identity_addresses", false>;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const groundDispatchPassengersRelations: import("drizzle-orm").Relations<"ground_dispatch_passengers", {
|
|
48
|
+
dispatch: import("drizzle-orm").One<"ground_dispatches", true>;
|
|
49
|
+
}>;
|
|
50
|
+
export declare const groundDriverShiftsRelations: import("drizzle-orm").Relations<"ground_driver_shifts", {
|
|
51
|
+
driver: import("drizzle-orm").One<"ground_drivers", true>;
|
|
52
|
+
operator: import("drizzle-orm").One<"ground_operators", false>;
|
|
53
|
+
facility: import("drizzle-orm").One<"facilities", false>;
|
|
54
|
+
}>;
|
|
55
|
+
export declare const groundServiceIncidentsRelations: import("drizzle-orm").Relations<"ground_service_incidents", {
|
|
56
|
+
dispatch: import("drizzle-orm").One<"ground_dispatches", true>;
|
|
57
|
+
}>;
|
|
58
|
+
export declare const groundDispatchCheckpointsRelations: import("drizzle-orm").Relations<"ground_dispatch_checkpoints", {
|
|
59
|
+
dispatch: import("drizzle-orm").One<"ground_dispatches", true>;
|
|
60
|
+
facility: import("drizzle-orm").One<"facilities", false>;
|
|
61
|
+
address: import("drizzle-orm").One<"identity_addresses", false>;
|
|
62
|
+
}>;
|
|
63
|
+
//# sourceMappingURL=schema-relations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-relations.d.ts","sourceRoot":"","sources":["../src/schema-relations.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,wBAAwB;;;;EAIlC,CAAA;AAEH,eAAO,MAAM,uBAAuB;;EAKjC,CAAA;AAEH,eAAO,MAAM,sBAAsB;;EAKhC,CAAA;AAEH,eAAO,MAAM,kCAAkC;;;;;;EAqB9C,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;EAuBnC,CAAA;AAEH,eAAO,MAAM,8BAA8B;;;;EAaxC,CAAA;AAEH,eAAO,MAAM,kCAAkC;;;;;EAoB9C,CAAA;AAED,eAAO,MAAM,2BAA2B;;;;EAarC,CAAA;AAEH,eAAO,MAAM,iCAAiC;;EAK3C,CAAA;AAEH,eAAO,MAAM,2BAA2B;;;;EAarC,CAAA;AAEH,eAAO,MAAM,+BAA+B;;EAKzC,CAAA;AAEH,eAAO,MAAM,kCAAkC;;;;EAgB9C,CAAA"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { facilities } from "@voyantjs/facilities/schema";
|
|
2
|
+
import { identityAddresses } from "@voyantjs/identity/schema";
|
|
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";
|
|
7
|
+
export const groundOperatorsRelations = relations(groundOperators, ({ one, many }) => ({
|
|
8
|
+
facility: one(facilities, { fields: [groundOperators.facilityId], references: [facilities.id] }),
|
|
9
|
+
vehicles: many(groundVehicles),
|
|
10
|
+
drivers: many(groundDrivers),
|
|
11
|
+
}));
|
|
12
|
+
export const groundVehiclesRelations = relations(groundVehicles, ({ one }) => ({
|
|
13
|
+
operator: one(groundOperators, {
|
|
14
|
+
fields: [groundVehicles.operatorId],
|
|
15
|
+
references: [groundOperators.id],
|
|
16
|
+
}),
|
|
17
|
+
}));
|
|
18
|
+
export const groundDriversRelations = relations(groundDrivers, ({ one }) => ({
|
|
19
|
+
operator: one(groundOperators, {
|
|
20
|
+
fields: [groundDrivers.operatorId],
|
|
21
|
+
references: [groundOperators.id],
|
|
22
|
+
}),
|
|
23
|
+
}));
|
|
24
|
+
export const groundTransferPreferencesRelations = relations(groundTransferPreferences, ({ one, many }) => ({
|
|
25
|
+
pickupFacility: one(facilities, {
|
|
26
|
+
fields: [groundTransferPreferences.pickupFacilityId],
|
|
27
|
+
references: [facilities.id],
|
|
28
|
+
}),
|
|
29
|
+
dropoffFacility: one(facilities, {
|
|
30
|
+
fields: [groundTransferPreferences.dropoffFacilityId],
|
|
31
|
+
references: [facilities.id],
|
|
32
|
+
}),
|
|
33
|
+
pickupAddress: one(identityAddresses, {
|
|
34
|
+
fields: [groundTransferPreferences.pickupAddressId],
|
|
35
|
+
references: [identityAddresses.id],
|
|
36
|
+
}),
|
|
37
|
+
dropoffAddress: one(identityAddresses, {
|
|
38
|
+
fields: [groundTransferPreferences.dropoffAddressId],
|
|
39
|
+
references: [identityAddresses.id],
|
|
40
|
+
}),
|
|
41
|
+
dispatches: many(groundDispatches),
|
|
42
|
+
}));
|
|
43
|
+
export const groundDispatchesRelations = relations(groundDispatches, ({ one, many }) => ({
|
|
44
|
+
transferPreference: one(groundTransferPreferences, {
|
|
45
|
+
fields: [groundDispatches.transferPreferenceId],
|
|
46
|
+
references: [groundTransferPreferences.id],
|
|
47
|
+
}),
|
|
48
|
+
operator: one(groundOperators, {
|
|
49
|
+
fields: [groundDispatches.operatorId],
|
|
50
|
+
references: [groundOperators.id],
|
|
51
|
+
}),
|
|
52
|
+
vehicle: one(groundVehicles, {
|
|
53
|
+
fields: [groundDispatches.vehicleId],
|
|
54
|
+
references: [groundVehicles.id],
|
|
55
|
+
}),
|
|
56
|
+
driver: one(groundDrivers, {
|
|
57
|
+
fields: [groundDispatches.driverId],
|
|
58
|
+
references: [groundDrivers.id],
|
|
59
|
+
}),
|
|
60
|
+
executionEvents: many(groundExecutionEvents),
|
|
61
|
+
assignments: many(groundDispatchAssignments),
|
|
62
|
+
legs: many(groundDispatchLegs),
|
|
63
|
+
passengers: many(groundDispatchPassengers),
|
|
64
|
+
incidents: many(groundServiceIncidents),
|
|
65
|
+
checkpoints: many(groundDispatchCheckpoints),
|
|
66
|
+
}));
|
|
67
|
+
export const groundExecutionEventsRelations = relations(groundExecutionEvents, ({ one }) => ({
|
|
68
|
+
dispatch: one(groundDispatches, {
|
|
69
|
+
fields: [groundExecutionEvents.dispatchId],
|
|
70
|
+
references: [groundDispatches.id],
|
|
71
|
+
}),
|
|
72
|
+
facility: one(facilities, {
|
|
73
|
+
fields: [groundExecutionEvents.facilityId],
|
|
74
|
+
references: [facilities.id],
|
|
75
|
+
}),
|
|
76
|
+
address: one(identityAddresses, {
|
|
77
|
+
fields: [groundExecutionEvents.addressId],
|
|
78
|
+
references: [identityAddresses.id],
|
|
79
|
+
}),
|
|
80
|
+
}));
|
|
81
|
+
export const groundDispatchAssignmentsRelations = relations(groundDispatchAssignments, ({ one }) => ({
|
|
82
|
+
dispatch: one(groundDispatches, {
|
|
83
|
+
fields: [groundDispatchAssignments.dispatchId],
|
|
84
|
+
references: [groundDispatches.id],
|
|
85
|
+
}),
|
|
86
|
+
operator: one(groundOperators, {
|
|
87
|
+
fields: [groundDispatchAssignments.operatorId],
|
|
88
|
+
references: [groundOperators.id],
|
|
89
|
+
}),
|
|
90
|
+
vehicle: one(groundVehicles, {
|
|
91
|
+
fields: [groundDispatchAssignments.vehicleId],
|
|
92
|
+
references: [groundVehicles.id],
|
|
93
|
+
}),
|
|
94
|
+
driver: one(groundDrivers, {
|
|
95
|
+
fields: [groundDispatchAssignments.driverId],
|
|
96
|
+
references: [groundDrivers.id],
|
|
97
|
+
}),
|
|
98
|
+
}));
|
|
99
|
+
export const groundDispatchLegsRelations = relations(groundDispatchLegs, ({ one }) => ({
|
|
100
|
+
dispatch: one(groundDispatches, {
|
|
101
|
+
fields: [groundDispatchLegs.dispatchId],
|
|
102
|
+
references: [groundDispatches.id],
|
|
103
|
+
}),
|
|
104
|
+
facility: one(facilities, {
|
|
105
|
+
fields: [groundDispatchLegs.facilityId],
|
|
106
|
+
references: [facilities.id],
|
|
107
|
+
}),
|
|
108
|
+
address: one(identityAddresses, {
|
|
109
|
+
fields: [groundDispatchLegs.addressId],
|
|
110
|
+
references: [identityAddresses.id],
|
|
111
|
+
}),
|
|
112
|
+
}));
|
|
113
|
+
export const groundDispatchPassengersRelations = relations(groundDispatchPassengers, ({ one }) => ({
|
|
114
|
+
dispatch: one(groundDispatches, {
|
|
115
|
+
fields: [groundDispatchPassengers.dispatchId],
|
|
116
|
+
references: [groundDispatches.id],
|
|
117
|
+
}),
|
|
118
|
+
}));
|
|
119
|
+
export const groundDriverShiftsRelations = relations(groundDriverShifts, ({ one }) => ({
|
|
120
|
+
driver: one(groundDrivers, {
|
|
121
|
+
fields: [groundDriverShifts.driverId],
|
|
122
|
+
references: [groundDrivers.id],
|
|
123
|
+
}),
|
|
124
|
+
operator: one(groundOperators, {
|
|
125
|
+
fields: [groundDriverShifts.operatorId],
|
|
126
|
+
references: [groundOperators.id],
|
|
127
|
+
}),
|
|
128
|
+
facility: one(facilities, {
|
|
129
|
+
fields: [groundDriverShifts.facilityId],
|
|
130
|
+
references: [facilities.id],
|
|
131
|
+
}),
|
|
132
|
+
}));
|
|
133
|
+
export const groundServiceIncidentsRelations = relations(groundServiceIncidents, ({ one }) => ({
|
|
134
|
+
dispatch: one(groundDispatches, {
|
|
135
|
+
fields: [groundServiceIncidents.dispatchId],
|
|
136
|
+
references: [groundDispatches.id],
|
|
137
|
+
}),
|
|
138
|
+
}));
|
|
139
|
+
export const groundDispatchCheckpointsRelations = relations(groundDispatchCheckpoints, ({ one }) => ({
|
|
140
|
+
dispatch: one(groundDispatches, {
|
|
141
|
+
fields: [groundDispatchCheckpoints.dispatchId],
|
|
142
|
+
references: [groundDispatches.id],
|
|
143
|
+
}),
|
|
144
|
+
facility: one(facilities, {
|
|
145
|
+
fields: [groundDispatchCheckpoints.facilityId],
|
|
146
|
+
references: [facilities.id],
|
|
147
|
+
}),
|
|
148
|
+
address: one(identityAddresses, {
|
|
149
|
+
fields: [groundDispatchCheckpoints.addressId],
|
|
150
|
+
references: [identityAddresses.id],
|
|
151
|
+
}),
|
|
152
|
+
}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const groundVehicleCategoryEnum: import("drizzle-orm/pg-core").PgEnum<["car", "sedan", "suv", "van", "minibus", "bus", "boat", "train", "other"]>;
|
|
2
|
+
export declare const groundVehicleClassEnum: import("drizzle-orm/pg-core").PgEnum<["economy", "standard", "premium", "luxury", "accessible", "other"]>;
|
|
3
|
+
export declare const groundServiceLevelEnum: import("drizzle-orm/pg-core").PgEnum<["private", "shared", "vip", "shuttle", "other"]>;
|
|
4
|
+
export declare const groundDispatchStatusEnum: import("drizzle-orm/pg-core").PgEnum<["draft", "scheduled", "assigned", "en_route", "arrived", "picked_up", "completed", "cancelled", "no_show"]>;
|
|
5
|
+
export declare const groundExecutionEventTypeEnum: import("drizzle-orm/pg-core").PgEnum<["scheduled", "assigned", "driver_en_route", "driver_arrived", "pickup_completed", "dropoff_completed", "cancelled", "issue", "note"]>;
|
|
6
|
+
export declare const groundAssignmentSourceEnum: import("drizzle-orm/pg-core").PgEnum<["manual", "suggested", "auto"]>;
|
|
7
|
+
export declare const groundDispatchLegTypeEnum: import("drizzle-orm/pg-core").PgEnum<["pickup", "stop", "dropoff", "deadhead"]>;
|
|
8
|
+
export declare const groundDriverShiftStatusEnum: import("drizzle-orm/pg-core").PgEnum<["scheduled", "available", "on_duty", "completed", "cancelled"]>;
|
|
9
|
+
export declare const groundIncidentSeverityEnum: import("drizzle-orm/pg-core").PgEnum<["info", "warning", "critical"]>;
|
|
10
|
+
export declare const groundIncidentResolutionStatusEnum: import("drizzle-orm/pg-core").PgEnum<["open", "mitigated", "resolved", "cancelled"]>;
|
|
11
|
+
export declare const groundCheckpointStatusEnum: import("drizzle-orm/pg-core").PgEnum<["pending", "reached", "missed", "cancelled"]>;
|
|
12
|
+
//# sourceMappingURL=schema-shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-shared.d.ts","sourceRoot":"","sources":["../src/schema-shared.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,kHAUpC,CAAA;AAEF,eAAO,MAAM,sBAAsB,2GAOjC,CAAA;AAEF,eAAO,MAAM,sBAAsB,wFAMjC,CAAA;AAEF,eAAO,MAAM,wBAAwB,mJAUnC,CAAA;AAEF,eAAO,MAAM,4BAA4B,6KAUvC,CAAA;AAEF,eAAO,MAAM,0BAA0B,uEAIrC,CAAA;AAEF,eAAO,MAAM,yBAAyB,iFAKpC,CAAA;AAEF,eAAO,MAAM,2BAA2B,uGAMtC,CAAA;AAEF,eAAO,MAAM,0BAA0B,uEAIrC,CAAA;AAEF,eAAO,MAAM,kCAAkC,sFAK7C,CAAA;AAEF,eAAO,MAAM,0BAA0B,qFAKrC,CAAA"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { pgEnum } from "drizzle-orm/pg-core";
|
|
2
|
+
export const groundVehicleCategoryEnum = pgEnum("ground_vehicle_category", [
|
|
3
|
+
"car",
|
|
4
|
+
"sedan",
|
|
5
|
+
"suv",
|
|
6
|
+
"van",
|
|
7
|
+
"minibus",
|
|
8
|
+
"bus",
|
|
9
|
+
"boat",
|
|
10
|
+
"train",
|
|
11
|
+
"other",
|
|
12
|
+
]);
|
|
13
|
+
export const groundVehicleClassEnum = pgEnum("ground_vehicle_class", [
|
|
14
|
+
"economy",
|
|
15
|
+
"standard",
|
|
16
|
+
"premium",
|
|
17
|
+
"luxury",
|
|
18
|
+
"accessible",
|
|
19
|
+
"other",
|
|
20
|
+
]);
|
|
21
|
+
export const groundServiceLevelEnum = pgEnum("ground_service_level", [
|
|
22
|
+
"private",
|
|
23
|
+
"shared",
|
|
24
|
+
"vip",
|
|
25
|
+
"shuttle",
|
|
26
|
+
"other",
|
|
27
|
+
]);
|
|
28
|
+
export const groundDispatchStatusEnum = pgEnum("ground_dispatch_status", [
|
|
29
|
+
"draft",
|
|
30
|
+
"scheduled",
|
|
31
|
+
"assigned",
|
|
32
|
+
"en_route",
|
|
33
|
+
"arrived",
|
|
34
|
+
"picked_up",
|
|
35
|
+
"completed",
|
|
36
|
+
"cancelled",
|
|
37
|
+
"no_show",
|
|
38
|
+
]);
|
|
39
|
+
export const groundExecutionEventTypeEnum = pgEnum("ground_execution_event_type", [
|
|
40
|
+
"scheduled",
|
|
41
|
+
"assigned",
|
|
42
|
+
"driver_en_route",
|
|
43
|
+
"driver_arrived",
|
|
44
|
+
"pickup_completed",
|
|
45
|
+
"dropoff_completed",
|
|
46
|
+
"cancelled",
|
|
47
|
+
"issue",
|
|
48
|
+
"note",
|
|
49
|
+
]);
|
|
50
|
+
export const groundAssignmentSourceEnum = pgEnum("ground_assignment_source", [
|
|
51
|
+
"manual",
|
|
52
|
+
"suggested",
|
|
53
|
+
"auto",
|
|
54
|
+
]);
|
|
55
|
+
export const groundDispatchLegTypeEnum = pgEnum("ground_dispatch_leg_type", [
|
|
56
|
+
"pickup",
|
|
57
|
+
"stop",
|
|
58
|
+
"dropoff",
|
|
59
|
+
"deadhead",
|
|
60
|
+
]);
|
|
61
|
+
export const groundDriverShiftStatusEnum = pgEnum("ground_driver_shift_status", [
|
|
62
|
+
"scheduled",
|
|
63
|
+
"available",
|
|
64
|
+
"on_duty",
|
|
65
|
+
"completed",
|
|
66
|
+
"cancelled",
|
|
67
|
+
]);
|
|
68
|
+
export const groundIncidentSeverityEnum = pgEnum("ground_incident_severity", [
|
|
69
|
+
"info",
|
|
70
|
+
"warning",
|
|
71
|
+
"critical",
|
|
72
|
+
]);
|
|
73
|
+
export const groundIncidentResolutionStatusEnum = pgEnum("ground_incident_resolution_status", [
|
|
74
|
+
"open",
|
|
75
|
+
"mitigated",
|
|
76
|
+
"resolved",
|
|
77
|
+
"cancelled",
|
|
78
|
+
]);
|
|
79
|
+
export const groundCheckpointStatusEnum = pgEnum("ground_checkpoint_status", [
|
|
80
|
+
"pending",
|
|
81
|
+
"reached",
|
|
82
|
+
"missed",
|
|
83
|
+
"cancelled",
|
|
84
|
+
]);
|