@aeolus-fleet/core 0.20.3 → 0.20.4
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/README.md +1 -1
- package/dist/adapters/http/server.d.ts +0 -2
- package/dist/adapters/http/server.js +4 -12
- package/dist/adapters/http/server.js.map +1 -1
- package/dist/adapters/prisma/client.d.ts +0 -2
- package/dist/adapters/prisma/client.js +0 -9
- package/dist/adapters/prisma/client.js.map +1 -1
- package/dist/adapters/prisma/generated/browser.d.ts +18 -0
- package/dist/adapters/prisma/generated/client.d.ts +18 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +22 -0
- package/dist/adapters/prisma/generated/internal/class.js +4 -4
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +169 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +16 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +18 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +16 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/Delivery.d.ts +68 -1
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +481 -0
- package/dist/adapters/prisma/generated/models/NetworkSettings.d.ts +1101 -0
- package/dist/adapters/prisma/generated/models/NetworkSettings.js +2 -0
- package/dist/adapters/prisma/generated/models/NetworkSettings.js.map +1 -0
- package/dist/adapters/prisma/generated/models/ReachRefusal.d.ts +1239 -0
- package/dist/adapters/prisma/generated/models/ReachRefusal.js +2 -0
- package/dist/adapters/prisma/generated/models/ReachRefusal.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +2 -0
- package/dist/adapters/prisma/messaging.js +16 -2
- package/dist/adapters/prisma/messaging.js.map +1 -1
- package/dist/adapters/prisma/network.d.ts +4 -0
- package/dist/adapters/prisma/network.js +69 -0
- package/dist/adapters/prisma/network.js.map +1 -0
- package/dist/adapters/prisma/registry.js +3 -0
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/unit-of-work.d.ts +3 -1
- package/dist/adapters/prisma/unit-of-work.js +3 -0
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/trpc/console.d.ts +1 -1
- package/dist/adapters/trpc/context.d.ts +4 -0
- package/dist/adapters/trpc/fleet.d.ts +68 -6
- package/dist/adapters/trpc/fleet.js +25 -1
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/router.d.ts +67 -7
- package/dist/adapters/trpc/ship-contract.js +1 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -1
- package/dist/adapters/trpc/ship-protocol.js +9 -8
- package/dist/adapters/trpc/ship-protocol.js.map +1 -1
- package/dist/adapters/trpc/trpc.js +2 -0
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/app.js +1 -2
- package/dist/app.js.map +1 -1
- package/dist/domain/messaging/answer.d.ts +17 -0
- package/dist/domain/messaging/answer.js +16 -0
- package/dist/domain/messaging/answer.js.map +1 -0
- package/dist/domain/messaging/message.d.ts +10 -1
- package/dist/domain/messaging/message.js +4 -2
- package/dist/domain/messaging/message.js.map +1 -1
- package/dist/domain/messaging/ports.d.ts +2 -0
- package/dist/domain/messaging/resend-delivery.d.ts +11 -4
- package/dist/domain/messaging/resend-delivery.js +87 -62
- package/dist/domain/messaging/resend-delivery.js.map +1 -1
- package/dist/domain/messaging/send-message.d.ts +11 -4
- package/dist/domain/messaging/send-message.js +32 -6
- package/dist/domain/messaging/send-message.js.map +1 -1
- package/dist/domain/registry/check-reach.d.ts +44 -0
- package/dist/domain/registry/check-reach.js +75 -0
- package/dist/domain/registry/check-reach.js.map +1 -0
- package/dist/domain/registry/get-ship.d.ts +3 -3
- package/dist/domain/registry/get-ship.js +2 -1
- package/dist/domain/registry/get-ship.js.map +1 -1
- package/dist/domain/registry/network-settings.d.ts +58 -0
- package/dist/domain/registry/network-settings.js +81 -0
- package/dist/domain/registry/network-settings.js.map +1 -0
- package/dist/domain/registry/ports.d.ts +22 -0
- package/dist/domain/registry/public.d.ts +1 -0
- package/dist/domain/registry/public.js +1 -0
- package/dist/domain/registry/public.js.map +1 -1
- package/dist/domain/registry/reach-refusal.d.ts +30 -0
- package/dist/domain/registry/reach-refusal.js +2 -0
- package/dist/domain/registry/reach-refusal.js.map +1 -0
- package/dist/domain/registry/read-reach-refusals.d.ts +14 -0
- package/dist/domain/registry/read-reach-refusals.js +17 -0
- package/dist/domain/registry/read-reach-refusals.js.map +1 -0
- package/dist/domain/registry/set-network-rules.d.ts +29 -0
- package/dist/domain/registry/set-network-rules.js +25 -0
- package/dist/domain/registry/set-network-rules.js.map +1 -0
- package/dist/domain/registry/ship-report.d.ts +5 -0
- package/dist/domain/registry/ship-report.js +3 -0
- package/dist/domain/registry/ship-report.js.map +1 -1
- package/dist/domain/shared/errors.d.ts +1 -1
- package/dist/domain/shared/errors.js.map +1 -1
- package/dist/domain/shared/history.d.ts +17 -0
- package/dist/domain/shared/history.js +4 -1
- package/dist/domain/shared/history.js.map +1 -1
- package/dist/domain/shared/read-needs-attention.d.ts +4 -4
- package/dist/domain/shared/read-needs-attention.js +4 -3
- package/dist/domain/shared/read-needs-attention.js.map +1 -1
- package/dist/domain/shared/read-ship-timeline.d.ts +5 -4
- package/dist/domain/shared/read-ship-timeline.js +7 -3
- package/dist/domain/shared/read-ship-timeline.js.map +1 -1
- package/dist/wiring.d.ts +4 -0
- package/dist/wiring.js +5 -0
- package/dist/wiring.js.map +1 -1
- package/package.json +2 -2
- package/src/adapters/prisma/migrations/20261009200000_network_scope/migration.sql +8 -0
- package/src/adapters/prisma/migrations/20261009210000_network_rules/migration.sql +31 -0
- package/src/adapters/prisma/migrations/20261009220000_type_delivery_reachable_ships/migration.sql +5 -0
- package/src/adapters/prisma/schema.prisma +38 -0
|
@@ -8,6 +8,9 @@ import type * as Prisma from "../internal/prismaNamespace.js";
|
|
|
8
8
|
* is in flight, kept once acknowledged, none while it is pending. Attempts count the
|
|
9
9
|
* claims; the fifth makes it undeliverable.
|
|
10
10
|
* The read date is set when the operator opens a message to argo.
|
|
11
|
+
* For a type under network rules, the ships of the type its sender may reach,
|
|
12
|
+
* fixed at send time: only they claim it (decision 0034). Empty: any ship of
|
|
13
|
+
* the type, as a send no ship of the type may take is refused.
|
|
11
14
|
*/
|
|
12
15
|
export type DeliveryModel = runtime.Types.Result.DefaultSelection<Prisma.$DeliveryPayload>;
|
|
13
16
|
export type AggregateDelivery = {
|
|
@@ -59,6 +62,7 @@ export type DeliveryCountAggregateOutputType = {
|
|
|
59
62
|
claimedByShipId: number;
|
|
60
63
|
claimedByLeaseId: number;
|
|
61
64
|
attempts: number;
|
|
65
|
+
reachableShipIds: number;
|
|
62
66
|
readAt: number;
|
|
63
67
|
createdAt: number;
|
|
64
68
|
_all: number;
|
|
@@ -105,6 +109,7 @@ export type DeliveryCountAggregateInputType = {
|
|
|
105
109
|
claimedByShipId?: true;
|
|
106
110
|
claimedByLeaseId?: true;
|
|
107
111
|
attempts?: true;
|
|
112
|
+
reachableShipIds?: true;
|
|
108
113
|
readAt?: true;
|
|
109
114
|
createdAt?: true;
|
|
110
115
|
_all?: true;
|
|
@@ -195,6 +200,7 @@ export type DeliveryGroupByOutputType = {
|
|
|
195
200
|
claimedByShipId: string | null;
|
|
196
201
|
claimedByLeaseId: string | null;
|
|
197
202
|
attempts: number;
|
|
203
|
+
reachableShipIds: string[];
|
|
198
204
|
readAt: Date | null;
|
|
199
205
|
createdAt: Date;
|
|
200
206
|
_count: DeliveryCountAggregateOutputType | null;
|
|
@@ -219,6 +225,7 @@ export type DeliveryWhereInput = {
|
|
|
219
225
|
claimedByShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
220
226
|
claimedByLeaseId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
221
227
|
attempts?: Prisma.IntFilter<"Delivery"> | number;
|
|
228
|
+
reachableShipIds?: Prisma.StringNullableListFilter<"Delivery">;
|
|
222
229
|
readAt?: Prisma.DateTimeNullableFilter<"Delivery"> | Date | string | null;
|
|
223
230
|
createdAt?: Prisma.DateTimeFilter<"Delivery"> | Date | string;
|
|
224
231
|
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
@@ -238,6 +245,7 @@ export type DeliveryOrderByWithRelationInput = {
|
|
|
238
245
|
claimedByShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
239
246
|
claimedByLeaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
240
247
|
attempts?: Prisma.SortOrder;
|
|
248
|
+
reachableShipIds?: Prisma.SortOrder;
|
|
241
249
|
readAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
242
250
|
createdAt?: Prisma.SortOrder;
|
|
243
251
|
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
@@ -263,6 +271,7 @@ export type DeliveryWhereUniqueInput = Prisma.AtLeast<{
|
|
|
263
271
|
claimedByShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
264
272
|
claimedByLeaseId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
265
273
|
attempts?: Prisma.IntFilter<"Delivery"> | number;
|
|
274
|
+
reachableShipIds?: Prisma.StringNullableListFilter<"Delivery">;
|
|
266
275
|
readAt?: Prisma.DateTimeNullableFilter<"Delivery"> | Date | string | null;
|
|
267
276
|
createdAt?: Prisma.DateTimeFilter<"Delivery"> | Date | string;
|
|
268
277
|
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
@@ -282,6 +291,7 @@ export type DeliveryOrderByWithAggregationInput = {
|
|
|
282
291
|
claimedByShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
283
292
|
claimedByLeaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
293
|
attempts?: Prisma.SortOrder;
|
|
294
|
+
reachableShipIds?: Prisma.SortOrder;
|
|
285
295
|
readAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
286
296
|
createdAt?: Prisma.SortOrder;
|
|
287
297
|
_count?: Prisma.DeliveryCountOrderByAggregateInput;
|
|
@@ -303,6 +313,7 @@ export type DeliveryScalarWhereWithAggregatesInput = {
|
|
|
303
313
|
claimedByShipId?: Prisma.StringNullableWithAggregatesFilter<"Delivery"> | string | null;
|
|
304
314
|
claimedByLeaseId?: Prisma.StringNullableWithAggregatesFilter<"Delivery"> | string | null;
|
|
305
315
|
attempts?: Prisma.IntWithAggregatesFilter<"Delivery"> | number;
|
|
316
|
+
reachableShipIds?: Prisma.StringNullableListFilter<"Delivery">;
|
|
306
317
|
readAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Delivery"> | Date | string | null;
|
|
307
318
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Delivery"> | Date | string;
|
|
308
319
|
};
|
|
@@ -311,6 +322,7 @@ export type DeliveryCreateInput = {
|
|
|
311
322
|
recipientType?: string | null;
|
|
312
323
|
state?: $Enums.DeliveryState;
|
|
313
324
|
attempts?: number;
|
|
325
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
314
326
|
readAt?: Date | string | null;
|
|
315
327
|
createdAt: Date | string;
|
|
316
328
|
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
@@ -330,6 +342,7 @@ export type DeliveryUncheckedCreateInput = {
|
|
|
330
342
|
claimedByShipId?: string | null;
|
|
331
343
|
claimedByLeaseId?: string | null;
|
|
332
344
|
attempts?: number;
|
|
345
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
333
346
|
readAt?: Date | string | null;
|
|
334
347
|
createdAt: Date | string;
|
|
335
348
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
@@ -339,6 +352,7 @@ export type DeliveryUpdateInput = {
|
|
|
339
352
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
340
353
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
341
354
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
355
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
342
356
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
343
357
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
344
358
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
@@ -358,6 +372,7 @@ export type DeliveryUncheckedUpdateInput = {
|
|
|
358
372
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
359
373
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
360
374
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
375
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
361
376
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
362
377
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
363
378
|
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
@@ -372,6 +387,7 @@ export type DeliveryCreateManyInput = {
|
|
|
372
387
|
claimedByShipId?: string | null;
|
|
373
388
|
claimedByLeaseId?: string | null;
|
|
374
389
|
attempts?: number;
|
|
390
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
375
391
|
readAt?: Date | string | null;
|
|
376
392
|
createdAt: Date | string;
|
|
377
393
|
};
|
|
@@ -380,6 +396,7 @@ export type DeliveryUpdateManyMutationInput = {
|
|
|
380
396
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
381
397
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
382
398
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
399
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
383
400
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
384
401
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
385
402
|
};
|
|
@@ -393,6 +410,7 @@ export type DeliveryUncheckedUpdateManyInput = {
|
|
|
393
410
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
394
411
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
395
412
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
413
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
396
414
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
397
415
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
398
416
|
};
|
|
@@ -426,6 +444,7 @@ export type DeliveryCountOrderByAggregateInput = {
|
|
|
426
444
|
claimedByShipId?: Prisma.SortOrder;
|
|
427
445
|
claimedByLeaseId?: Prisma.SortOrder;
|
|
428
446
|
attempts?: Prisma.SortOrder;
|
|
447
|
+
reachableShipIds?: Prisma.SortOrder;
|
|
429
448
|
readAt?: Prisma.SortOrder;
|
|
430
449
|
createdAt?: Prisma.SortOrder;
|
|
431
450
|
};
|
|
@@ -655,9 +674,16 @@ export type DeliveryUncheckedUpdateManyWithoutMessageNestedInput = {
|
|
|
655
674
|
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutMessageInput | Prisma.DeliveryUpdateManyWithWhereWithoutMessageInput[];
|
|
656
675
|
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
657
676
|
};
|
|
677
|
+
export type DeliveryCreatereachableShipIdsInput = {
|
|
678
|
+
set: string[];
|
|
679
|
+
};
|
|
658
680
|
export type EnumDeliveryStateFieldUpdateOperationsInput = {
|
|
659
681
|
set?: $Enums.DeliveryState;
|
|
660
682
|
};
|
|
683
|
+
export type DeliveryUpdatereachableShipIdsInput = {
|
|
684
|
+
set?: string[];
|
|
685
|
+
push?: string | string[];
|
|
686
|
+
};
|
|
661
687
|
export type DeliveryCreateNestedOneWithoutEventsInput = {
|
|
662
688
|
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutEventsInput, Prisma.DeliveryUncheckedCreateWithoutEventsInput>;
|
|
663
689
|
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutEventsInput;
|
|
@@ -677,6 +703,7 @@ export type DeliveryCreateWithoutFleetInput = {
|
|
|
677
703
|
recipientType?: string | null;
|
|
678
704
|
state?: $Enums.DeliveryState;
|
|
679
705
|
attempts?: number;
|
|
706
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
680
707
|
readAt?: Date | string | null;
|
|
681
708
|
createdAt: Date | string;
|
|
682
709
|
message: Prisma.MessageCreateNestedOneWithoutDeliveriesInput;
|
|
@@ -694,6 +721,7 @@ export type DeliveryUncheckedCreateWithoutFleetInput = {
|
|
|
694
721
|
claimedByShipId?: string | null;
|
|
695
722
|
claimedByLeaseId?: string | null;
|
|
696
723
|
attempts?: number;
|
|
724
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
697
725
|
readAt?: Date | string | null;
|
|
698
726
|
createdAt: Date | string;
|
|
699
727
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
@@ -732,6 +760,7 @@ export type DeliveryScalarWhereInput = {
|
|
|
732
760
|
claimedByShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
733
761
|
claimedByLeaseId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
734
762
|
attempts?: Prisma.IntFilter<"Delivery"> | number;
|
|
763
|
+
reachableShipIds?: Prisma.StringNullableListFilter<"Delivery">;
|
|
735
764
|
readAt?: Prisma.DateTimeNullableFilter<"Delivery"> | Date | string | null;
|
|
736
765
|
createdAt?: Prisma.DateTimeFilter<"Delivery"> | Date | string;
|
|
737
766
|
};
|
|
@@ -740,6 +769,7 @@ export type DeliveryCreateWithoutRecipientShipInput = {
|
|
|
740
769
|
recipientType?: string | null;
|
|
741
770
|
state?: $Enums.DeliveryState;
|
|
742
771
|
attempts?: number;
|
|
772
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
743
773
|
readAt?: Date | string | null;
|
|
744
774
|
createdAt: Date | string;
|
|
745
775
|
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
@@ -756,6 +786,7 @@ export type DeliveryUncheckedCreateWithoutRecipientShipInput = {
|
|
|
756
786
|
claimedByShipId?: string | null;
|
|
757
787
|
claimedByLeaseId?: string | null;
|
|
758
788
|
attempts?: number;
|
|
789
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
759
790
|
readAt?: Date | string | null;
|
|
760
791
|
createdAt: Date | string;
|
|
761
792
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
@@ -773,6 +804,7 @@ export type DeliveryCreateWithoutClaimedByShipInput = {
|
|
|
773
804
|
recipientType?: string | null;
|
|
774
805
|
state?: $Enums.DeliveryState;
|
|
775
806
|
attempts?: number;
|
|
807
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
776
808
|
readAt?: Date | string | null;
|
|
777
809
|
createdAt: Date | string;
|
|
778
810
|
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
@@ -789,6 +821,7 @@ export type DeliveryUncheckedCreateWithoutClaimedByShipInput = {
|
|
|
789
821
|
state?: $Enums.DeliveryState;
|
|
790
822
|
claimedByLeaseId?: string | null;
|
|
791
823
|
attempts?: number;
|
|
824
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
792
825
|
readAt?: Date | string | null;
|
|
793
826
|
createdAt: Date | string;
|
|
794
827
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
@@ -832,6 +865,7 @@ export type DeliveryCreateWithoutClaimedByLeaseInput = {
|
|
|
832
865
|
recipientType?: string | null;
|
|
833
866
|
state?: $Enums.DeliveryState;
|
|
834
867
|
attempts?: number;
|
|
868
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
835
869
|
readAt?: Date | string | null;
|
|
836
870
|
createdAt: Date | string;
|
|
837
871
|
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
@@ -848,6 +882,7 @@ export type DeliveryUncheckedCreateWithoutClaimedByLeaseInput = {
|
|
|
848
882
|
state?: $Enums.DeliveryState;
|
|
849
883
|
claimedByShipId?: string | null;
|
|
850
884
|
attempts?: number;
|
|
885
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
851
886
|
readAt?: Date | string | null;
|
|
852
887
|
createdAt: Date | string;
|
|
853
888
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
@@ -878,6 +913,7 @@ export type DeliveryCreateWithoutMessageInput = {
|
|
|
878
913
|
recipientType?: string | null;
|
|
879
914
|
state?: $Enums.DeliveryState;
|
|
880
915
|
attempts?: number;
|
|
916
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
881
917
|
readAt?: Date | string | null;
|
|
882
918
|
createdAt: Date | string;
|
|
883
919
|
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
@@ -894,6 +930,7 @@ export type DeliveryUncheckedCreateWithoutMessageInput = {
|
|
|
894
930
|
claimedByShipId?: string | null;
|
|
895
931
|
claimedByLeaseId?: string | null;
|
|
896
932
|
attempts?: number;
|
|
933
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
897
934
|
readAt?: Date | string | null;
|
|
898
935
|
createdAt: Date | string;
|
|
899
936
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
@@ -924,6 +961,7 @@ export type DeliveryCreateWithoutEventsInput = {
|
|
|
924
961
|
recipientType?: string | null;
|
|
925
962
|
state?: $Enums.DeliveryState;
|
|
926
963
|
attempts?: number;
|
|
964
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
927
965
|
readAt?: Date | string | null;
|
|
928
966
|
createdAt: Date | string;
|
|
929
967
|
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
@@ -942,6 +980,7 @@ export type DeliveryUncheckedCreateWithoutEventsInput = {
|
|
|
942
980
|
claimedByShipId?: string | null;
|
|
943
981
|
claimedByLeaseId?: string | null;
|
|
944
982
|
attempts?: number;
|
|
983
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
945
984
|
readAt?: Date | string | null;
|
|
946
985
|
createdAt: Date | string;
|
|
947
986
|
};
|
|
@@ -963,6 +1002,7 @@ export type DeliveryUpdateWithoutEventsInput = {
|
|
|
963
1002
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
964
1003
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
965
1004
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1005
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
966
1006
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
967
1007
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
968
1008
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
@@ -981,6 +1021,7 @@ export type DeliveryUncheckedUpdateWithoutEventsInput = {
|
|
|
981
1021
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
982
1022
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
983
1023
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1024
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
984
1025
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
985
1026
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
986
1027
|
};
|
|
@@ -993,6 +1034,7 @@ export type DeliveryCreateManyFleetInput = {
|
|
|
993
1034
|
claimedByShipId?: string | null;
|
|
994
1035
|
claimedByLeaseId?: string | null;
|
|
995
1036
|
attempts?: number;
|
|
1037
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
996
1038
|
readAt?: Date | string | null;
|
|
997
1039
|
createdAt: Date | string;
|
|
998
1040
|
};
|
|
@@ -1001,6 +1043,7 @@ export type DeliveryUpdateWithoutFleetInput = {
|
|
|
1001
1043
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1002
1044
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1003
1045
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1046
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1004
1047
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1005
1048
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1006
1049
|
message?: Prisma.MessageUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
@@ -1018,6 +1061,7 @@ export type DeliveryUncheckedUpdateWithoutFleetInput = {
|
|
|
1018
1061
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1019
1062
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1020
1063
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1064
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1021
1065
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1022
1066
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1023
1067
|
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
@@ -1031,6 +1075,7 @@ export type DeliveryUncheckedUpdateManyWithoutFleetInput = {
|
|
|
1031
1075
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1032
1076
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1033
1077
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1078
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1034
1079
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1035
1080
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1036
1081
|
};
|
|
@@ -1042,6 +1087,7 @@ export type DeliveryCreateManyRecipientShipInput = {
|
|
|
1042
1087
|
claimedByShipId?: string | null;
|
|
1043
1088
|
claimedByLeaseId?: string | null;
|
|
1044
1089
|
attempts?: number;
|
|
1090
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
1045
1091
|
readAt?: Date | string | null;
|
|
1046
1092
|
createdAt: Date | string;
|
|
1047
1093
|
};
|
|
@@ -1053,6 +1099,7 @@ export type DeliveryCreateManyClaimedByShipInput = {
|
|
|
1053
1099
|
state?: $Enums.DeliveryState;
|
|
1054
1100
|
claimedByLeaseId?: string | null;
|
|
1055
1101
|
attempts?: number;
|
|
1102
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
1056
1103
|
readAt?: Date | string | null;
|
|
1057
1104
|
createdAt: Date | string;
|
|
1058
1105
|
};
|
|
@@ -1061,6 +1108,7 @@ export type DeliveryUpdateWithoutRecipientShipInput = {
|
|
|
1061
1108
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1062
1109
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1063
1110
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1111
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1064
1112
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1065
1113
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1066
1114
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
@@ -1077,6 +1125,7 @@ export type DeliveryUncheckedUpdateWithoutRecipientShipInput = {
|
|
|
1077
1125
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1078
1126
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1079
1127
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1128
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1080
1129
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1081
1130
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1082
1131
|
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
@@ -1089,6 +1138,7 @@ export type DeliveryUncheckedUpdateManyWithoutRecipientShipInput = {
|
|
|
1089
1138
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1090
1139
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1091
1140
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1141
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1092
1142
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1093
1143
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1094
1144
|
};
|
|
@@ -1097,6 +1147,7 @@ export type DeliveryUpdateWithoutClaimedByShipInput = {
|
|
|
1097
1147
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1098
1148
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1099
1149
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1150
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1100
1151
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1101
1152
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1102
1153
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
@@ -1113,6 +1164,7 @@ export type DeliveryUncheckedUpdateWithoutClaimedByShipInput = {
|
|
|
1113
1164
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1114
1165
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1115
1166
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1167
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1116
1168
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1117
1169
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1118
1170
|
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
@@ -1125,6 +1177,7 @@ export type DeliveryUncheckedUpdateManyWithoutClaimedByShipInput = {
|
|
|
1125
1177
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1126
1178
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1127
1179
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1180
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1128
1181
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1129
1182
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1130
1183
|
};
|
|
@@ -1136,6 +1189,7 @@ export type DeliveryCreateManyClaimedByLeaseInput = {
|
|
|
1136
1189
|
state?: $Enums.DeliveryState;
|
|
1137
1190
|
claimedByShipId?: string | null;
|
|
1138
1191
|
attempts?: number;
|
|
1192
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
1139
1193
|
readAt?: Date | string | null;
|
|
1140
1194
|
createdAt: Date | string;
|
|
1141
1195
|
};
|
|
@@ -1144,6 +1198,7 @@ export type DeliveryUpdateWithoutClaimedByLeaseInput = {
|
|
|
1144
1198
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1145
1199
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1146
1200
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1201
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1147
1202
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1148
1203
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1149
1204
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
@@ -1160,6 +1215,7 @@ export type DeliveryUncheckedUpdateWithoutClaimedByLeaseInput = {
|
|
|
1160
1215
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1161
1216
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1162
1217
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1218
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1163
1219
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1164
1220
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1165
1221
|
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
@@ -1172,6 +1228,7 @@ export type DeliveryUncheckedUpdateManyWithoutClaimedByLeaseInput = {
|
|
|
1172
1228
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1173
1229
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1174
1230
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1231
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1175
1232
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1176
1233
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1177
1234
|
};
|
|
@@ -1183,6 +1240,7 @@ export type DeliveryCreateManyMessageInput = {
|
|
|
1183
1240
|
claimedByShipId?: string | null;
|
|
1184
1241
|
claimedByLeaseId?: string | null;
|
|
1185
1242
|
attempts?: number;
|
|
1243
|
+
reachableShipIds?: Prisma.DeliveryCreatereachableShipIdsInput | string[];
|
|
1186
1244
|
readAt?: Date | string | null;
|
|
1187
1245
|
createdAt: Date | string;
|
|
1188
1246
|
};
|
|
@@ -1191,6 +1249,7 @@ export type DeliveryUpdateWithoutMessageInput = {
|
|
|
1191
1249
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1192
1250
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1193
1251
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1252
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1194
1253
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1195
1254
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1196
1255
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
@@ -1207,6 +1266,7 @@ export type DeliveryUncheckedUpdateWithoutMessageInput = {
|
|
|
1207
1266
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1208
1267
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1209
1268
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1269
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1210
1270
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1211
1271
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1212
1272
|
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
@@ -1219,6 +1279,7 @@ export type DeliveryUncheckedUpdateManyWithoutMessageInput = {
|
|
|
1219
1279
|
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1220
1280
|
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1221
1281
|
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1282
|
+
reachableShipIds?: Prisma.DeliveryUpdatereachableShipIdsInput | string[];
|
|
1222
1283
|
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1223
1284
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1224
1285
|
};
|
|
@@ -1256,6 +1317,7 @@ export type DeliverySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1256
1317
|
claimedByShipId?: boolean;
|
|
1257
1318
|
claimedByLeaseId?: boolean;
|
|
1258
1319
|
attempts?: boolean;
|
|
1320
|
+
reachableShipIds?: boolean;
|
|
1259
1321
|
readAt?: boolean;
|
|
1260
1322
|
createdAt?: boolean;
|
|
1261
1323
|
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
@@ -1276,6 +1338,7 @@ export type DeliverySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exte
|
|
|
1276
1338
|
claimedByShipId?: boolean;
|
|
1277
1339
|
claimedByLeaseId?: boolean;
|
|
1278
1340
|
attempts?: boolean;
|
|
1341
|
+
reachableShipIds?: boolean;
|
|
1279
1342
|
readAt?: boolean;
|
|
1280
1343
|
createdAt?: boolean;
|
|
1281
1344
|
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
@@ -1294,6 +1357,7 @@ export type DeliverySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exte
|
|
|
1294
1357
|
claimedByShipId?: boolean;
|
|
1295
1358
|
claimedByLeaseId?: boolean;
|
|
1296
1359
|
attempts?: boolean;
|
|
1360
|
+
reachableShipIds?: boolean;
|
|
1297
1361
|
readAt?: boolean;
|
|
1298
1362
|
createdAt?: boolean;
|
|
1299
1363
|
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
@@ -1312,10 +1376,11 @@ export type DeliverySelectScalar = {
|
|
|
1312
1376
|
claimedByShipId?: boolean;
|
|
1313
1377
|
claimedByLeaseId?: boolean;
|
|
1314
1378
|
attempts?: boolean;
|
|
1379
|
+
reachableShipIds?: boolean;
|
|
1315
1380
|
readAt?: boolean;
|
|
1316
1381
|
createdAt?: boolean;
|
|
1317
1382
|
};
|
|
1318
|
-
export type DeliveryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "messageId" | "recipientShipId" | "recipientType" | "state" | "claimedByShipId" | "claimedByLeaseId" | "attempts" | "readAt" | "createdAt", ExtArgs["result"]["delivery"]>;
|
|
1383
|
+
export type DeliveryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "messageId" | "recipientShipId" | "recipientType" | "state" | "claimedByShipId" | "claimedByLeaseId" | "attempts" | "reachableShipIds" | "readAt" | "createdAt", ExtArgs["result"]["delivery"]>;
|
|
1319
1384
|
export type DeliveryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1320
1385
|
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1321
1386
|
message?: boolean | Prisma.MessageDefaultArgs<ExtArgs>;
|
|
@@ -1359,6 +1424,7 @@ export type $DeliveryPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
1359
1424
|
claimedByShipId: string | null;
|
|
1360
1425
|
claimedByLeaseId: string | null;
|
|
1361
1426
|
attempts: number;
|
|
1427
|
+
reachableShipIds: string[];
|
|
1362
1428
|
readAt: Date | null;
|
|
1363
1429
|
createdAt: Date;
|
|
1364
1430
|
}, ExtArgs["result"]["delivery"]>;
|
|
@@ -1730,6 +1796,7 @@ export interface DeliveryFieldRefs {
|
|
|
1730
1796
|
readonly claimedByShipId: Prisma.FieldRef<"Delivery", 'String'>;
|
|
1731
1797
|
readonly claimedByLeaseId: Prisma.FieldRef<"Delivery", 'String'>;
|
|
1732
1798
|
readonly attempts: Prisma.FieldRef<"Delivery", 'Int'>;
|
|
1799
|
+
readonly reachableShipIds: Prisma.FieldRef<"Delivery", 'String[]'>;
|
|
1733
1800
|
readonly readAt: Prisma.FieldRef<"Delivery", 'DateTime'>;
|
|
1734
1801
|
readonly createdAt: Prisma.FieldRef<"Delivery", 'DateTime'>;
|
|
1735
1802
|
}
|