@aeolus-fleet/core 0.34.0 → 0.36.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/README.md +5 -4
- package/dist/adapters/prisma/alerts.d.ts +21 -0
- package/dist/adapters/prisma/alerts.js +61 -0
- package/dist/adapters/prisma/alerts.js.map +1 -0
- package/dist/adapters/prisma/expectations.d.ts +19 -0
- package/dist/adapters/prisma/expectations.js +46 -0
- package/dist/adapters/prisma/expectations.js.map +1 -0
- package/dist/adapters/prisma/generated/browser.d.ts +18 -1
- package/dist/adapters/prisma/generated/client.d.ts +18 -1
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +30 -0
- package/dist/adapters/prisma/generated/enums.d.ts +7 -0
- package/dist/adapters/prisma/generated/enums.js +6 -0
- package/dist/adapters/prisma/generated/enums.js.map +1 -1
- 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 +197 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +36 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +38 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +36 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/Alert.d.ts +1527 -0
- package/dist/adapters/prisma/generated/models/Alert.js +2 -0
- package/dist/adapters/prisma/generated/models/Alert.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +1068 -118
- package/dist/adapters/prisma/generated/models/Lease.d.ts +509 -2
- package/dist/adapters/prisma/generated/models/Message.d.ts +1 -1
- package/dist/adapters/prisma/generated/models/Ship.d.ts +939 -1
- package/dist/adapters/prisma/generated/models/ShipExpectations.d.ts +1468 -0
- package/dist/adapters/prisma/generated/models/ShipExpectations.js +2 -0
- package/dist/adapters/prisma/generated/models/ShipExpectations.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +2 -0
- package/dist/adapters/prisma/history-pruner.js +24 -2
- package/dist/adapters/prisma/history-pruner.js.map +1 -1
- package/dist/adapters/prisma/history.js +9 -2
- package/dist/adapters/prisma/history.js.map +1 -1
- package/dist/adapters/prisma/messaging.js +39 -0
- package/dist/adapters/prisma/messaging.js.map +1 -1
- package/dist/adapters/prisma/overdue.js +1 -1
- package/dist/adapters/prisma/registry.d.ts +2 -1
- package/dist/adapters/prisma/registry.js +66 -14
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/rows.d.ts +3 -0
- package/dist/adapters/prisma/rows.js +40 -4
- package/dist/adapters/prisma/rows.js.map +1 -1
- package/dist/adapters/prisma/unit-of-work.d.ts +3 -1
- package/dist/adapters/prisma/unit-of-work.js +4 -0
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/trpc/alert-output.d.ts +4 -0
- package/dist/adapters/trpc/alert-output.js +15 -0
- package/dist/adapters/trpc/alert-output.js.map +1 -0
- package/dist/adapters/trpc/context.d.ts +14 -0
- package/dist/adapters/trpc/fleet.d.ts +479 -5
- package/dist/adapters/trpc/fleet.js +123 -10
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/router.d.ts +542 -4
- package/dist/adapters/trpc/ship-contract.js +5 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -1
- package/dist/adapters/trpc/ship-protocol.js +4 -2
- package/dist/adapters/trpc/ship-protocol.js.map +1 -1
- package/dist/adapters/trpc/ship.d.ts +80 -3
- package/dist/adapters/trpc/ship.js +42 -8
- package/dist/adapters/trpc/ship.js.map +1 -1
- package/dist/adapters/trpc/trpc.js +4 -0
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/domain/messaging/delivery.d.ts +8 -3
- package/dist/domain/messaging/delivery.js +15 -2
- package/dist/domain/messaging/delivery.js.map +1 -1
- package/dist/domain/messaging/message.d.ts +5 -1
- package/dist/domain/messaging/message.js.map +1 -1
- package/dist/domain/messaging/overdue.d.ts +4 -1
- package/dist/domain/messaging/overdue.js +3 -3
- package/dist/domain/messaging/overdue.js.map +1 -1
- package/dist/domain/messaging/payload.d.ts +1 -1
- package/dist/domain/messaging/payload.js +2 -2
- package/dist/domain/messaging/payload.js.map +1 -1
- package/dist/domain/messaging/ports.d.ts +15 -0
- package/dist/domain/messaging/read-record.d.ts +38 -0
- package/dist/domain/messaging/read-record.js +59 -0
- package/dist/domain/messaging/read-record.js.map +1 -0
- package/dist/domain/messaging/sealed-payload.js +1 -1
- package/dist/domain/messaging/send-message.d.ts +1 -1
- package/dist/domain/messaging/send-message.js +1 -1
- package/dist/domain/registry/alert.d.ts +75 -0
- package/dist/domain/registry/alert.js +71 -0
- package/dist/domain/registry/alert.js.map +1 -0
- package/dist/domain/registry/claim-ship.d.ts +2 -1
- package/dist/domain/registry/claim-ship.js +1 -1
- package/dist/domain/registry/claim-ship.js.map +1 -1
- package/dist/domain/registry/clear-alert.d.ts +32 -0
- package/dist/domain/registry/clear-alert.js +40 -0
- package/dist/domain/registry/clear-alert.js.map +1 -0
- package/dist/domain/registry/crew-request.d.ts +9 -0
- package/dist/domain/registry/crew-request.js +7 -0
- package/dist/domain/registry/crew-request.js.map +1 -1
- package/dist/domain/registry/expectations.d.ts +68 -0
- package/dist/domain/registry/expectations.js +84 -0
- package/dist/domain/registry/expectations.js.map +1 -0
- package/dist/domain/registry/get-ship.d.ts +9 -1
- package/dist/domain/registry/get-ship.js +10 -2
- package/dist/domain/registry/get-ship.js.map +1 -1
- package/dist/domain/registry/lease-activity.d.ts +15 -0
- package/dist/domain/registry/lease-activity.js +2 -0
- package/dist/domain/registry/lease-activity.js.map +1 -0
- package/dist/domain/registry/lease.d.ts +1 -1
- package/dist/domain/registry/list-fleet.d.ts +6 -1
- package/dist/domain/registry/list-fleet.js +5 -3
- package/dist/domain/registry/list-fleet.js.map +1 -1
- package/dist/domain/registry/ports.d.ts +61 -1
- package/dist/domain/registry/public.d.ts +2 -0
- package/dist/domain/registry/public.js +1 -0
- package/dist/domain/registry/public.js.map +1 -1
- package/dist/domain/registry/raise-alert.d.ts +31 -0
- package/dist/domain/registry/raise-alert.js +43 -0
- package/dist/domain/registry/raise-alert.js.map +1 -0
- package/dist/domain/registry/read-open-alerts.d.ts +23 -0
- package/dist/domain/registry/read-open-alerts.js +21 -0
- package/dist/domain/registry/read-open-alerts.js.map +1 -0
- package/dist/domain/registry/report-activity.d.ts +41 -0
- package/dist/domain/registry/report-activity.js +43 -0
- package/dist/domain/registry/report-activity.js.map +1 -0
- package/dist/domain/registry/report-step.d.ts +8 -0
- package/dist/domain/registry/report-step.js +16 -0
- package/dist/domain/registry/report-step.js.map +1 -0
- package/dist/domain/registry/report-task.d.ts +14 -0
- package/dist/domain/registry/report-task.js +39 -0
- package/dist/domain/registry/report-task.js.map +1 -0
- package/dist/domain/registry/report.d.ts +2 -2
- package/dist/domain/registry/report.js.map +1 -1
- package/dist/domain/registry/retire-ship.d.ts +6 -2
- package/dist/domain/registry/retire-ship.js +12 -1
- package/dist/domain/registry/retire-ship.js.map +1 -1
- package/dist/domain/registry/set-expectations.d.ts +33 -0
- package/dist/domain/registry/set-expectations.js +47 -0
- package/dist/domain/registry/set-expectations.js.map +1 -0
- package/dist/domain/registry/ship-report.d.ts +24 -7
- package/dist/domain/registry/ship-report.js +41 -5
- package/dist/domain/registry/ship-report.js.map +1 -1
- package/dist/domain/registry/ship.d.ts +7 -1
- package/dist/domain/registry/ship.js +3 -0
- package/dist/domain/registry/ship.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-pruning.d.ts +19 -2
- package/dist/domain/shared/history-pruning.js +1 -1
- package/dist/domain/shared/history-pruning.js.map +1 -1
- package/dist/domain/shared/history.d.ts +2 -1
- package/dist/domain/shared/history.js.map +1 -1
- package/dist/domain/shared/prune-history.d.ts +2 -1
- package/dist/domain/shared/prune-history.js +8 -6
- package/dist/domain/shared/prune-history.js.map +1 -1
- package/dist/domain/shared/read-message-deliveries.d.ts +2 -1
- package/dist/domain/shared/read-message-deliveries.js +4 -3
- package/dist/domain/shared/read-message-deliveries.js.map +1 -1
- package/dist/domain/shared/read-message.d.ts +2 -1
- package/dist/domain/shared/read-message.js +6 -3
- package/dist/domain/shared/read-message.js.map +1 -1
- package/dist/domain/shared/read-report-tasks.d.ts +10 -0
- package/dist/domain/shared/read-report-tasks.js +24 -0
- package/dist/domain/shared/read-report-tasks.js.map +1 -0
- package/dist/wiring.d.ts +14 -0
- package/dist/wiring.js +14 -0
- package/dist/wiring.js.map +1 -1
- package/package.json +2 -2
- package/src/adapters/prisma/migrations/20261103090000_removed_ships/migration.sql +21 -0
- package/src/adapters/prisma/migrations/20261104090000_report_task_step/migration.sql +10 -0
- package/src/adapters/prisma/migrations/20261105090000_payload_limit_256kb/migration.sql +15 -0
- package/src/adapters/prisma/migrations/20261106090000_lease_activity/migration.sql +11 -0
- package/src/adapters/prisma/migrations/20261107090000_alert_scope/migration.sql +64 -0
- package/src/adapters/prisma/migrations/20261107100000_alerts/migration.sql +33 -0
- package/src/adapters/prisma/migrations/20261108090000_ship_expectations/migration.sql +22 -0
- package/src/adapters/prisma/migrations/20261108100000_delivery_record_index/migration.sql +4 -0
- package/src/adapters/prisma/schema.prisma +108 -23
|
@@ -0,0 +1,1468 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model ShipExpectations
|
|
5
|
+
* The expectations on a ship (decision 0071): what its owner, or a ship
|
|
6
|
+
* that manages it, expects of it, standing, at most one of each. Each keeps
|
|
7
|
+
* who set it (JSON, as common's expectation setter) and when; its columns
|
|
8
|
+
* are null while it is not set. No row while none holds; a retire removes it.
|
|
9
|
+
*/
|
|
10
|
+
export type ShipExpectationsModel = runtime.Types.Result.DefaultSelection<Prisma.$ShipExpectationsPayload>;
|
|
11
|
+
export type AggregateShipExpectations = {
|
|
12
|
+
_count: ShipExpectationsCountAggregateOutputType | null;
|
|
13
|
+
_avg: ShipExpectationsAvgAggregateOutputType | null;
|
|
14
|
+
_sum: ShipExpectationsSumAggregateOutputType | null;
|
|
15
|
+
_min: ShipExpectationsMinAggregateOutputType | null;
|
|
16
|
+
_max: ShipExpectationsMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type ShipExpectationsAvgAggregateOutputType = {
|
|
19
|
+
reportChangesWithinMinutes: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type ShipExpectationsSumAggregateOutputType = {
|
|
22
|
+
reportChangesWithinMinutes: number | null;
|
|
23
|
+
};
|
|
24
|
+
export type ShipExpectationsMinAggregateOutputType = {
|
|
25
|
+
fleetId: string | null;
|
|
26
|
+
shipId: string | null;
|
|
27
|
+
reportChangesWithinMinutes: number | null;
|
|
28
|
+
reportChangesWithinSetAt: Date | null;
|
|
29
|
+
taskDoneBy: Date | null;
|
|
30
|
+
taskDoneBySetAt: Date | null;
|
|
31
|
+
};
|
|
32
|
+
export type ShipExpectationsMaxAggregateOutputType = {
|
|
33
|
+
fleetId: string | null;
|
|
34
|
+
shipId: string | null;
|
|
35
|
+
reportChangesWithinMinutes: number | null;
|
|
36
|
+
reportChangesWithinSetAt: Date | null;
|
|
37
|
+
taskDoneBy: Date | null;
|
|
38
|
+
taskDoneBySetAt: Date | null;
|
|
39
|
+
};
|
|
40
|
+
export type ShipExpectationsCountAggregateOutputType = {
|
|
41
|
+
fleetId: number;
|
|
42
|
+
shipId: number;
|
|
43
|
+
reportChangesWithinMinutes: number;
|
|
44
|
+
reportChangesWithinSetBy: number;
|
|
45
|
+
reportChangesWithinSetAt: number;
|
|
46
|
+
taskDoneByTask: number;
|
|
47
|
+
taskDoneBy: number;
|
|
48
|
+
taskDoneBySetBy: number;
|
|
49
|
+
taskDoneBySetAt: number;
|
|
50
|
+
_all: number;
|
|
51
|
+
};
|
|
52
|
+
export type ShipExpectationsAvgAggregateInputType = {
|
|
53
|
+
reportChangesWithinMinutes?: true;
|
|
54
|
+
};
|
|
55
|
+
export type ShipExpectationsSumAggregateInputType = {
|
|
56
|
+
reportChangesWithinMinutes?: true;
|
|
57
|
+
};
|
|
58
|
+
export type ShipExpectationsMinAggregateInputType = {
|
|
59
|
+
fleetId?: true;
|
|
60
|
+
shipId?: true;
|
|
61
|
+
reportChangesWithinMinutes?: true;
|
|
62
|
+
reportChangesWithinSetAt?: true;
|
|
63
|
+
taskDoneBy?: true;
|
|
64
|
+
taskDoneBySetAt?: true;
|
|
65
|
+
};
|
|
66
|
+
export type ShipExpectationsMaxAggregateInputType = {
|
|
67
|
+
fleetId?: true;
|
|
68
|
+
shipId?: true;
|
|
69
|
+
reportChangesWithinMinutes?: true;
|
|
70
|
+
reportChangesWithinSetAt?: true;
|
|
71
|
+
taskDoneBy?: true;
|
|
72
|
+
taskDoneBySetAt?: true;
|
|
73
|
+
};
|
|
74
|
+
export type ShipExpectationsCountAggregateInputType = {
|
|
75
|
+
fleetId?: true;
|
|
76
|
+
shipId?: true;
|
|
77
|
+
reportChangesWithinMinutes?: true;
|
|
78
|
+
reportChangesWithinSetBy?: true;
|
|
79
|
+
reportChangesWithinSetAt?: true;
|
|
80
|
+
taskDoneByTask?: true;
|
|
81
|
+
taskDoneBy?: true;
|
|
82
|
+
taskDoneBySetBy?: true;
|
|
83
|
+
taskDoneBySetAt?: true;
|
|
84
|
+
_all?: true;
|
|
85
|
+
};
|
|
86
|
+
export type ShipExpectationsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
87
|
+
/**
|
|
88
|
+
* Filter which ShipExpectations to aggregate.
|
|
89
|
+
*/
|
|
90
|
+
where?: Prisma.ShipExpectationsWhereInput;
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
93
|
+
*
|
|
94
|
+
* Determine the order of ShipExpectations to fetch.
|
|
95
|
+
*/
|
|
96
|
+
orderBy?: Prisma.ShipExpectationsOrderByWithRelationInput | Prisma.ShipExpectationsOrderByWithRelationInput[];
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
99
|
+
*
|
|
100
|
+
* Sets the start position
|
|
101
|
+
*/
|
|
102
|
+
cursor?: Prisma.ShipExpectationsWhereUniqueInput;
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105
|
+
*
|
|
106
|
+
* Take `±n` ShipExpectations from the position of the cursor.
|
|
107
|
+
*/
|
|
108
|
+
take?: number;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
111
|
+
*
|
|
112
|
+
* Skip the first `n` ShipExpectations.
|
|
113
|
+
*/
|
|
114
|
+
skip?: number;
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
117
|
+
*
|
|
118
|
+
* Count returned ShipExpectations
|
|
119
|
+
**/
|
|
120
|
+
_count?: true | ShipExpectationsCountAggregateInputType;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
123
|
+
*
|
|
124
|
+
* Select which fields to average
|
|
125
|
+
**/
|
|
126
|
+
_avg?: ShipExpectationsAvgAggregateInputType;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
+
*
|
|
130
|
+
* Select which fields to sum
|
|
131
|
+
**/
|
|
132
|
+
_sum?: ShipExpectationsSumAggregateInputType;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
135
|
+
*
|
|
136
|
+
* Select which fields to find the minimum value
|
|
137
|
+
**/
|
|
138
|
+
_min?: ShipExpectationsMinAggregateInputType;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Select which fields to find the maximum value
|
|
143
|
+
**/
|
|
144
|
+
_max?: ShipExpectationsMaxAggregateInputType;
|
|
145
|
+
};
|
|
146
|
+
export type GetShipExpectationsAggregateType<T extends ShipExpectationsAggregateArgs> = {
|
|
147
|
+
[P in keyof T & keyof AggregateShipExpectations]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateShipExpectations[P]> : Prisma.GetScalarType<T[P], AggregateShipExpectations[P]>;
|
|
148
|
+
};
|
|
149
|
+
export type ShipExpectationsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
150
|
+
where?: Prisma.ShipExpectationsWhereInput;
|
|
151
|
+
orderBy?: Prisma.ShipExpectationsOrderByWithAggregationInput | Prisma.ShipExpectationsOrderByWithAggregationInput[];
|
|
152
|
+
by: Prisma.ShipExpectationsScalarFieldEnum[] | Prisma.ShipExpectationsScalarFieldEnum;
|
|
153
|
+
having?: Prisma.ShipExpectationsScalarWhereWithAggregatesInput;
|
|
154
|
+
take?: number;
|
|
155
|
+
skip?: number;
|
|
156
|
+
_count?: ShipExpectationsCountAggregateInputType | true;
|
|
157
|
+
_avg?: ShipExpectationsAvgAggregateInputType;
|
|
158
|
+
_sum?: ShipExpectationsSumAggregateInputType;
|
|
159
|
+
_min?: ShipExpectationsMinAggregateInputType;
|
|
160
|
+
_max?: ShipExpectationsMaxAggregateInputType;
|
|
161
|
+
};
|
|
162
|
+
export type ShipExpectationsGroupByOutputType = {
|
|
163
|
+
fleetId: string;
|
|
164
|
+
shipId: string;
|
|
165
|
+
reportChangesWithinMinutes: number | null;
|
|
166
|
+
reportChangesWithinSetBy: runtime.JsonValue | null;
|
|
167
|
+
reportChangesWithinSetAt: Date | null;
|
|
168
|
+
taskDoneByTask: runtime.JsonValue | null;
|
|
169
|
+
taskDoneBy: Date | null;
|
|
170
|
+
taskDoneBySetBy: runtime.JsonValue | null;
|
|
171
|
+
taskDoneBySetAt: Date | null;
|
|
172
|
+
_count: ShipExpectationsCountAggregateOutputType | null;
|
|
173
|
+
_avg: ShipExpectationsAvgAggregateOutputType | null;
|
|
174
|
+
_sum: ShipExpectationsSumAggregateOutputType | null;
|
|
175
|
+
_min: ShipExpectationsMinAggregateOutputType | null;
|
|
176
|
+
_max: ShipExpectationsMaxAggregateOutputType | null;
|
|
177
|
+
};
|
|
178
|
+
export type GetShipExpectationsGroupByPayload<T extends ShipExpectationsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ShipExpectationsGroupByOutputType, T['by']> & {
|
|
179
|
+
[P in ((keyof T) & (keyof ShipExpectationsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ShipExpectationsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ShipExpectationsGroupByOutputType[P]>;
|
|
180
|
+
}>>;
|
|
181
|
+
export type ShipExpectationsWhereInput = {
|
|
182
|
+
AND?: Prisma.ShipExpectationsWhereInput | Prisma.ShipExpectationsWhereInput[];
|
|
183
|
+
OR?: Prisma.ShipExpectationsWhereInput[];
|
|
184
|
+
NOT?: Prisma.ShipExpectationsWhereInput | Prisma.ShipExpectationsWhereInput[];
|
|
185
|
+
fleetId?: Prisma.StringFilter<"ShipExpectations"> | string;
|
|
186
|
+
shipId?: Prisma.StringFilter<"ShipExpectations"> | string;
|
|
187
|
+
reportChangesWithinMinutes?: Prisma.IntNullableFilter<"ShipExpectations"> | number | null;
|
|
188
|
+
reportChangesWithinSetBy?: Prisma.JsonNullableFilter<"ShipExpectations">;
|
|
189
|
+
reportChangesWithinSetAt?: Prisma.DateTimeNullableFilter<"ShipExpectations"> | Date | string | null;
|
|
190
|
+
taskDoneByTask?: Prisma.JsonNullableFilter<"ShipExpectations">;
|
|
191
|
+
taskDoneBy?: Prisma.DateTimeNullableFilter<"ShipExpectations"> | Date | string | null;
|
|
192
|
+
taskDoneBySetBy?: Prisma.JsonNullableFilter<"ShipExpectations">;
|
|
193
|
+
taskDoneBySetAt?: Prisma.DateTimeNullableFilter<"ShipExpectations"> | Date | string | null;
|
|
194
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
195
|
+
ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
|
|
196
|
+
};
|
|
197
|
+
export type ShipExpectationsOrderByWithRelationInput = {
|
|
198
|
+
fleetId?: Prisma.SortOrder;
|
|
199
|
+
shipId?: Prisma.SortOrder;
|
|
200
|
+
reportChangesWithinMinutes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
201
|
+
reportChangesWithinSetBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
202
|
+
reportChangesWithinSetAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
203
|
+
taskDoneByTask?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
204
|
+
taskDoneBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
205
|
+
taskDoneBySetBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
206
|
+
taskDoneBySetAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
207
|
+
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
208
|
+
ship?: Prisma.ShipOrderByWithRelationInput;
|
|
209
|
+
};
|
|
210
|
+
export type ShipExpectationsWhereUniqueInput = Prisma.AtLeast<{
|
|
211
|
+
fleetId_shipId?: Prisma.ShipExpectationsFleetIdShipIdCompoundUniqueInput;
|
|
212
|
+
AND?: Prisma.ShipExpectationsWhereInput | Prisma.ShipExpectationsWhereInput[];
|
|
213
|
+
OR?: Prisma.ShipExpectationsWhereInput[];
|
|
214
|
+
NOT?: Prisma.ShipExpectationsWhereInput | Prisma.ShipExpectationsWhereInput[];
|
|
215
|
+
fleetId?: Prisma.StringFilter<"ShipExpectations"> | string;
|
|
216
|
+
shipId?: Prisma.StringFilter<"ShipExpectations"> | string;
|
|
217
|
+
reportChangesWithinMinutes?: Prisma.IntNullableFilter<"ShipExpectations"> | number | null;
|
|
218
|
+
reportChangesWithinSetBy?: Prisma.JsonNullableFilter<"ShipExpectations">;
|
|
219
|
+
reportChangesWithinSetAt?: Prisma.DateTimeNullableFilter<"ShipExpectations"> | Date | string | null;
|
|
220
|
+
taskDoneByTask?: Prisma.JsonNullableFilter<"ShipExpectations">;
|
|
221
|
+
taskDoneBy?: Prisma.DateTimeNullableFilter<"ShipExpectations"> | Date | string | null;
|
|
222
|
+
taskDoneBySetBy?: Prisma.JsonNullableFilter<"ShipExpectations">;
|
|
223
|
+
taskDoneBySetAt?: Prisma.DateTimeNullableFilter<"ShipExpectations"> | Date | string | null;
|
|
224
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
225
|
+
ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
|
|
226
|
+
}, "fleetId_shipId">;
|
|
227
|
+
export type ShipExpectationsOrderByWithAggregationInput = {
|
|
228
|
+
fleetId?: Prisma.SortOrder;
|
|
229
|
+
shipId?: Prisma.SortOrder;
|
|
230
|
+
reportChangesWithinMinutes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
231
|
+
reportChangesWithinSetBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
|
+
reportChangesWithinSetAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
233
|
+
taskDoneByTask?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
234
|
+
taskDoneBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
235
|
+
taskDoneBySetBy?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
236
|
+
taskDoneBySetAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
237
|
+
_count?: Prisma.ShipExpectationsCountOrderByAggregateInput;
|
|
238
|
+
_avg?: Prisma.ShipExpectationsAvgOrderByAggregateInput;
|
|
239
|
+
_max?: Prisma.ShipExpectationsMaxOrderByAggregateInput;
|
|
240
|
+
_min?: Prisma.ShipExpectationsMinOrderByAggregateInput;
|
|
241
|
+
_sum?: Prisma.ShipExpectationsSumOrderByAggregateInput;
|
|
242
|
+
};
|
|
243
|
+
export type ShipExpectationsScalarWhereWithAggregatesInput = {
|
|
244
|
+
AND?: Prisma.ShipExpectationsScalarWhereWithAggregatesInput | Prisma.ShipExpectationsScalarWhereWithAggregatesInput[];
|
|
245
|
+
OR?: Prisma.ShipExpectationsScalarWhereWithAggregatesInput[];
|
|
246
|
+
NOT?: Prisma.ShipExpectationsScalarWhereWithAggregatesInput | Prisma.ShipExpectationsScalarWhereWithAggregatesInput[];
|
|
247
|
+
fleetId?: Prisma.StringWithAggregatesFilter<"ShipExpectations"> | string;
|
|
248
|
+
shipId?: Prisma.StringWithAggregatesFilter<"ShipExpectations"> | string;
|
|
249
|
+
reportChangesWithinMinutes?: Prisma.IntNullableWithAggregatesFilter<"ShipExpectations"> | number | null;
|
|
250
|
+
reportChangesWithinSetBy?: Prisma.JsonNullableWithAggregatesFilter<"ShipExpectations">;
|
|
251
|
+
reportChangesWithinSetAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ShipExpectations"> | Date | string | null;
|
|
252
|
+
taskDoneByTask?: Prisma.JsonNullableWithAggregatesFilter<"ShipExpectations">;
|
|
253
|
+
taskDoneBy?: Prisma.DateTimeNullableWithAggregatesFilter<"ShipExpectations"> | Date | string | null;
|
|
254
|
+
taskDoneBySetBy?: Prisma.JsonNullableWithAggregatesFilter<"ShipExpectations">;
|
|
255
|
+
taskDoneBySetAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ShipExpectations"> | Date | string | null;
|
|
256
|
+
};
|
|
257
|
+
export type ShipExpectationsCreateInput = {
|
|
258
|
+
reportChangesWithinMinutes?: number | null;
|
|
259
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
260
|
+
reportChangesWithinSetAt?: Date | string | null;
|
|
261
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
262
|
+
taskDoneBy?: Date | string | null;
|
|
263
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
264
|
+
taskDoneBySetAt?: Date | string | null;
|
|
265
|
+
fleet: Prisma.FleetCreateNestedOneWithoutShipExpectationsInput;
|
|
266
|
+
ship: Prisma.ShipCreateNestedOneWithoutShipExpectationsInput;
|
|
267
|
+
};
|
|
268
|
+
export type ShipExpectationsUncheckedCreateInput = {
|
|
269
|
+
fleetId: string;
|
|
270
|
+
shipId: string;
|
|
271
|
+
reportChangesWithinMinutes?: number | null;
|
|
272
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
273
|
+
reportChangesWithinSetAt?: Date | string | null;
|
|
274
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
275
|
+
taskDoneBy?: Date | string | null;
|
|
276
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
277
|
+
taskDoneBySetAt?: Date | string | null;
|
|
278
|
+
};
|
|
279
|
+
export type ShipExpectationsUpdateInput = {
|
|
280
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
281
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
282
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
283
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
284
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
285
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
286
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
287
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutShipExpectationsNestedInput;
|
|
288
|
+
ship?: Prisma.ShipUpdateOneRequiredWithoutShipExpectationsNestedInput;
|
|
289
|
+
};
|
|
290
|
+
export type ShipExpectationsUncheckedUpdateInput = {
|
|
291
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
292
|
+
shipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
293
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
294
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
295
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
296
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
297
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
298
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
299
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
300
|
+
};
|
|
301
|
+
export type ShipExpectationsCreateManyInput = {
|
|
302
|
+
fleetId: string;
|
|
303
|
+
shipId: string;
|
|
304
|
+
reportChangesWithinMinutes?: number | null;
|
|
305
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
306
|
+
reportChangesWithinSetAt?: Date | string | null;
|
|
307
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
308
|
+
taskDoneBy?: Date | string | null;
|
|
309
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
310
|
+
taskDoneBySetAt?: Date | string | null;
|
|
311
|
+
};
|
|
312
|
+
export type ShipExpectationsUpdateManyMutationInput = {
|
|
313
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
314
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
315
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
316
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
317
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
318
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
319
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
320
|
+
};
|
|
321
|
+
export type ShipExpectationsUncheckedUpdateManyInput = {
|
|
322
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
323
|
+
shipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
324
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
325
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
326
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
327
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
328
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
329
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
330
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
331
|
+
};
|
|
332
|
+
export type ShipExpectationsListRelationFilter = {
|
|
333
|
+
every?: Prisma.ShipExpectationsWhereInput;
|
|
334
|
+
some?: Prisma.ShipExpectationsWhereInput;
|
|
335
|
+
none?: Prisma.ShipExpectationsWhereInput;
|
|
336
|
+
};
|
|
337
|
+
export type ShipExpectationsOrderByRelationAggregateInput = {
|
|
338
|
+
_count?: Prisma.SortOrder;
|
|
339
|
+
};
|
|
340
|
+
export type ShipExpectationsFleetIdShipIdCompoundUniqueInput = {
|
|
341
|
+
fleetId: string;
|
|
342
|
+
shipId: string;
|
|
343
|
+
};
|
|
344
|
+
export type ShipExpectationsCountOrderByAggregateInput = {
|
|
345
|
+
fleetId?: Prisma.SortOrder;
|
|
346
|
+
shipId?: Prisma.SortOrder;
|
|
347
|
+
reportChangesWithinMinutes?: Prisma.SortOrder;
|
|
348
|
+
reportChangesWithinSetBy?: Prisma.SortOrder;
|
|
349
|
+
reportChangesWithinSetAt?: Prisma.SortOrder;
|
|
350
|
+
taskDoneByTask?: Prisma.SortOrder;
|
|
351
|
+
taskDoneBy?: Prisma.SortOrder;
|
|
352
|
+
taskDoneBySetBy?: Prisma.SortOrder;
|
|
353
|
+
taskDoneBySetAt?: Prisma.SortOrder;
|
|
354
|
+
};
|
|
355
|
+
export type ShipExpectationsAvgOrderByAggregateInput = {
|
|
356
|
+
reportChangesWithinMinutes?: Prisma.SortOrder;
|
|
357
|
+
};
|
|
358
|
+
export type ShipExpectationsMaxOrderByAggregateInput = {
|
|
359
|
+
fleetId?: Prisma.SortOrder;
|
|
360
|
+
shipId?: Prisma.SortOrder;
|
|
361
|
+
reportChangesWithinMinutes?: Prisma.SortOrder;
|
|
362
|
+
reportChangesWithinSetAt?: Prisma.SortOrder;
|
|
363
|
+
taskDoneBy?: Prisma.SortOrder;
|
|
364
|
+
taskDoneBySetAt?: Prisma.SortOrder;
|
|
365
|
+
};
|
|
366
|
+
export type ShipExpectationsMinOrderByAggregateInput = {
|
|
367
|
+
fleetId?: Prisma.SortOrder;
|
|
368
|
+
shipId?: Prisma.SortOrder;
|
|
369
|
+
reportChangesWithinMinutes?: Prisma.SortOrder;
|
|
370
|
+
reportChangesWithinSetAt?: Prisma.SortOrder;
|
|
371
|
+
taskDoneBy?: Prisma.SortOrder;
|
|
372
|
+
taskDoneBySetAt?: Prisma.SortOrder;
|
|
373
|
+
};
|
|
374
|
+
export type ShipExpectationsSumOrderByAggregateInput = {
|
|
375
|
+
reportChangesWithinMinutes?: Prisma.SortOrder;
|
|
376
|
+
};
|
|
377
|
+
export type ShipExpectationsCreateNestedManyWithoutFleetInput = {
|
|
378
|
+
create?: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutFleetInput, Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput> | Prisma.ShipExpectationsCreateWithoutFleetInput[] | Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput[];
|
|
379
|
+
connectOrCreate?: Prisma.ShipExpectationsCreateOrConnectWithoutFleetInput | Prisma.ShipExpectationsCreateOrConnectWithoutFleetInput[];
|
|
380
|
+
createMany?: Prisma.ShipExpectationsCreateManyFleetInputEnvelope;
|
|
381
|
+
connect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
382
|
+
};
|
|
383
|
+
export type ShipExpectationsUncheckedCreateNestedManyWithoutFleetInput = {
|
|
384
|
+
create?: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutFleetInput, Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput> | Prisma.ShipExpectationsCreateWithoutFleetInput[] | Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput[];
|
|
385
|
+
connectOrCreate?: Prisma.ShipExpectationsCreateOrConnectWithoutFleetInput | Prisma.ShipExpectationsCreateOrConnectWithoutFleetInput[];
|
|
386
|
+
createMany?: Prisma.ShipExpectationsCreateManyFleetInputEnvelope;
|
|
387
|
+
connect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
388
|
+
};
|
|
389
|
+
export type ShipExpectationsUpdateManyWithoutFleetNestedInput = {
|
|
390
|
+
create?: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutFleetInput, Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput> | Prisma.ShipExpectationsCreateWithoutFleetInput[] | Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput[];
|
|
391
|
+
connectOrCreate?: Prisma.ShipExpectationsCreateOrConnectWithoutFleetInput | Prisma.ShipExpectationsCreateOrConnectWithoutFleetInput[];
|
|
392
|
+
upsert?: Prisma.ShipExpectationsUpsertWithWhereUniqueWithoutFleetInput | Prisma.ShipExpectationsUpsertWithWhereUniqueWithoutFleetInput[];
|
|
393
|
+
createMany?: Prisma.ShipExpectationsCreateManyFleetInputEnvelope;
|
|
394
|
+
set?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
395
|
+
disconnect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
396
|
+
delete?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
397
|
+
connect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
398
|
+
update?: Prisma.ShipExpectationsUpdateWithWhereUniqueWithoutFleetInput | Prisma.ShipExpectationsUpdateWithWhereUniqueWithoutFleetInput[];
|
|
399
|
+
updateMany?: Prisma.ShipExpectationsUpdateManyWithWhereWithoutFleetInput | Prisma.ShipExpectationsUpdateManyWithWhereWithoutFleetInput[];
|
|
400
|
+
deleteMany?: Prisma.ShipExpectationsScalarWhereInput | Prisma.ShipExpectationsScalarWhereInput[];
|
|
401
|
+
};
|
|
402
|
+
export type ShipExpectationsUncheckedUpdateManyWithoutFleetNestedInput = {
|
|
403
|
+
create?: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutFleetInput, Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput> | Prisma.ShipExpectationsCreateWithoutFleetInput[] | Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput[];
|
|
404
|
+
connectOrCreate?: Prisma.ShipExpectationsCreateOrConnectWithoutFleetInput | Prisma.ShipExpectationsCreateOrConnectWithoutFleetInput[];
|
|
405
|
+
upsert?: Prisma.ShipExpectationsUpsertWithWhereUniqueWithoutFleetInput | Prisma.ShipExpectationsUpsertWithWhereUniqueWithoutFleetInput[];
|
|
406
|
+
createMany?: Prisma.ShipExpectationsCreateManyFleetInputEnvelope;
|
|
407
|
+
set?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
408
|
+
disconnect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
409
|
+
delete?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
410
|
+
connect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
411
|
+
update?: Prisma.ShipExpectationsUpdateWithWhereUniqueWithoutFleetInput | Prisma.ShipExpectationsUpdateWithWhereUniqueWithoutFleetInput[];
|
|
412
|
+
updateMany?: Prisma.ShipExpectationsUpdateManyWithWhereWithoutFleetInput | Prisma.ShipExpectationsUpdateManyWithWhereWithoutFleetInput[];
|
|
413
|
+
deleteMany?: Prisma.ShipExpectationsScalarWhereInput | Prisma.ShipExpectationsScalarWhereInput[];
|
|
414
|
+
};
|
|
415
|
+
export type ShipExpectationsCreateNestedManyWithoutShipInput = {
|
|
416
|
+
create?: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutShipInput, Prisma.ShipExpectationsUncheckedCreateWithoutShipInput> | Prisma.ShipExpectationsCreateWithoutShipInput[] | Prisma.ShipExpectationsUncheckedCreateWithoutShipInput[];
|
|
417
|
+
connectOrCreate?: Prisma.ShipExpectationsCreateOrConnectWithoutShipInput | Prisma.ShipExpectationsCreateOrConnectWithoutShipInput[];
|
|
418
|
+
createMany?: Prisma.ShipExpectationsCreateManyShipInputEnvelope;
|
|
419
|
+
connect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
420
|
+
};
|
|
421
|
+
export type ShipExpectationsUncheckedCreateNestedManyWithoutShipInput = {
|
|
422
|
+
create?: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutShipInput, Prisma.ShipExpectationsUncheckedCreateWithoutShipInput> | Prisma.ShipExpectationsCreateWithoutShipInput[] | Prisma.ShipExpectationsUncheckedCreateWithoutShipInput[];
|
|
423
|
+
connectOrCreate?: Prisma.ShipExpectationsCreateOrConnectWithoutShipInput | Prisma.ShipExpectationsCreateOrConnectWithoutShipInput[];
|
|
424
|
+
createMany?: Prisma.ShipExpectationsCreateManyShipInputEnvelope;
|
|
425
|
+
connect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
426
|
+
};
|
|
427
|
+
export type ShipExpectationsUpdateManyWithoutShipNestedInput = {
|
|
428
|
+
create?: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutShipInput, Prisma.ShipExpectationsUncheckedCreateWithoutShipInput> | Prisma.ShipExpectationsCreateWithoutShipInput[] | Prisma.ShipExpectationsUncheckedCreateWithoutShipInput[];
|
|
429
|
+
connectOrCreate?: Prisma.ShipExpectationsCreateOrConnectWithoutShipInput | Prisma.ShipExpectationsCreateOrConnectWithoutShipInput[];
|
|
430
|
+
upsert?: Prisma.ShipExpectationsUpsertWithWhereUniqueWithoutShipInput | Prisma.ShipExpectationsUpsertWithWhereUniqueWithoutShipInput[];
|
|
431
|
+
createMany?: Prisma.ShipExpectationsCreateManyShipInputEnvelope;
|
|
432
|
+
set?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
433
|
+
disconnect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
434
|
+
delete?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
435
|
+
connect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
436
|
+
update?: Prisma.ShipExpectationsUpdateWithWhereUniqueWithoutShipInput | Prisma.ShipExpectationsUpdateWithWhereUniqueWithoutShipInput[];
|
|
437
|
+
updateMany?: Prisma.ShipExpectationsUpdateManyWithWhereWithoutShipInput | Prisma.ShipExpectationsUpdateManyWithWhereWithoutShipInput[];
|
|
438
|
+
deleteMany?: Prisma.ShipExpectationsScalarWhereInput | Prisma.ShipExpectationsScalarWhereInput[];
|
|
439
|
+
};
|
|
440
|
+
export type ShipExpectationsUncheckedUpdateManyWithoutShipNestedInput = {
|
|
441
|
+
create?: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutShipInput, Prisma.ShipExpectationsUncheckedCreateWithoutShipInput> | Prisma.ShipExpectationsCreateWithoutShipInput[] | Prisma.ShipExpectationsUncheckedCreateWithoutShipInput[];
|
|
442
|
+
connectOrCreate?: Prisma.ShipExpectationsCreateOrConnectWithoutShipInput | Prisma.ShipExpectationsCreateOrConnectWithoutShipInput[];
|
|
443
|
+
upsert?: Prisma.ShipExpectationsUpsertWithWhereUniqueWithoutShipInput | Prisma.ShipExpectationsUpsertWithWhereUniqueWithoutShipInput[];
|
|
444
|
+
createMany?: Prisma.ShipExpectationsCreateManyShipInputEnvelope;
|
|
445
|
+
set?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
446
|
+
disconnect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
447
|
+
delete?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
448
|
+
connect?: Prisma.ShipExpectationsWhereUniqueInput | Prisma.ShipExpectationsWhereUniqueInput[];
|
|
449
|
+
update?: Prisma.ShipExpectationsUpdateWithWhereUniqueWithoutShipInput | Prisma.ShipExpectationsUpdateWithWhereUniqueWithoutShipInput[];
|
|
450
|
+
updateMany?: Prisma.ShipExpectationsUpdateManyWithWhereWithoutShipInput | Prisma.ShipExpectationsUpdateManyWithWhereWithoutShipInput[];
|
|
451
|
+
deleteMany?: Prisma.ShipExpectationsScalarWhereInput | Prisma.ShipExpectationsScalarWhereInput[];
|
|
452
|
+
};
|
|
453
|
+
export type ShipExpectationsCreateWithoutFleetInput = {
|
|
454
|
+
reportChangesWithinMinutes?: number | null;
|
|
455
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
456
|
+
reportChangesWithinSetAt?: Date | string | null;
|
|
457
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
458
|
+
taskDoneBy?: Date | string | null;
|
|
459
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
460
|
+
taskDoneBySetAt?: Date | string | null;
|
|
461
|
+
ship: Prisma.ShipCreateNestedOneWithoutShipExpectationsInput;
|
|
462
|
+
};
|
|
463
|
+
export type ShipExpectationsUncheckedCreateWithoutFleetInput = {
|
|
464
|
+
shipId: string;
|
|
465
|
+
reportChangesWithinMinutes?: number | null;
|
|
466
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
467
|
+
reportChangesWithinSetAt?: Date | string | null;
|
|
468
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
469
|
+
taskDoneBy?: Date | string | null;
|
|
470
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
471
|
+
taskDoneBySetAt?: Date | string | null;
|
|
472
|
+
};
|
|
473
|
+
export type ShipExpectationsCreateOrConnectWithoutFleetInput = {
|
|
474
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
475
|
+
create: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutFleetInput, Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput>;
|
|
476
|
+
};
|
|
477
|
+
export type ShipExpectationsCreateManyFleetInputEnvelope = {
|
|
478
|
+
data: Prisma.ShipExpectationsCreateManyFleetInput | Prisma.ShipExpectationsCreateManyFleetInput[];
|
|
479
|
+
skipDuplicates?: boolean;
|
|
480
|
+
};
|
|
481
|
+
export type ShipExpectationsUpsertWithWhereUniqueWithoutFleetInput = {
|
|
482
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
483
|
+
update: Prisma.XOR<Prisma.ShipExpectationsUpdateWithoutFleetInput, Prisma.ShipExpectationsUncheckedUpdateWithoutFleetInput>;
|
|
484
|
+
create: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutFleetInput, Prisma.ShipExpectationsUncheckedCreateWithoutFleetInput>;
|
|
485
|
+
};
|
|
486
|
+
export type ShipExpectationsUpdateWithWhereUniqueWithoutFleetInput = {
|
|
487
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
488
|
+
data: Prisma.XOR<Prisma.ShipExpectationsUpdateWithoutFleetInput, Prisma.ShipExpectationsUncheckedUpdateWithoutFleetInput>;
|
|
489
|
+
};
|
|
490
|
+
export type ShipExpectationsUpdateManyWithWhereWithoutFleetInput = {
|
|
491
|
+
where: Prisma.ShipExpectationsScalarWhereInput;
|
|
492
|
+
data: Prisma.XOR<Prisma.ShipExpectationsUpdateManyMutationInput, Prisma.ShipExpectationsUncheckedUpdateManyWithoutFleetInput>;
|
|
493
|
+
};
|
|
494
|
+
export type ShipExpectationsScalarWhereInput = {
|
|
495
|
+
AND?: Prisma.ShipExpectationsScalarWhereInput | Prisma.ShipExpectationsScalarWhereInput[];
|
|
496
|
+
OR?: Prisma.ShipExpectationsScalarWhereInput[];
|
|
497
|
+
NOT?: Prisma.ShipExpectationsScalarWhereInput | Prisma.ShipExpectationsScalarWhereInput[];
|
|
498
|
+
fleetId?: Prisma.StringFilter<"ShipExpectations"> | string;
|
|
499
|
+
shipId?: Prisma.StringFilter<"ShipExpectations"> | string;
|
|
500
|
+
reportChangesWithinMinutes?: Prisma.IntNullableFilter<"ShipExpectations"> | number | null;
|
|
501
|
+
reportChangesWithinSetBy?: Prisma.JsonNullableFilter<"ShipExpectations">;
|
|
502
|
+
reportChangesWithinSetAt?: Prisma.DateTimeNullableFilter<"ShipExpectations"> | Date | string | null;
|
|
503
|
+
taskDoneByTask?: Prisma.JsonNullableFilter<"ShipExpectations">;
|
|
504
|
+
taskDoneBy?: Prisma.DateTimeNullableFilter<"ShipExpectations"> | Date | string | null;
|
|
505
|
+
taskDoneBySetBy?: Prisma.JsonNullableFilter<"ShipExpectations">;
|
|
506
|
+
taskDoneBySetAt?: Prisma.DateTimeNullableFilter<"ShipExpectations"> | Date | string | null;
|
|
507
|
+
};
|
|
508
|
+
export type ShipExpectationsCreateWithoutShipInput = {
|
|
509
|
+
reportChangesWithinMinutes?: number | null;
|
|
510
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
511
|
+
reportChangesWithinSetAt?: Date | string | null;
|
|
512
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
513
|
+
taskDoneBy?: Date | string | null;
|
|
514
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
515
|
+
taskDoneBySetAt?: Date | string | null;
|
|
516
|
+
fleet: Prisma.FleetCreateNestedOneWithoutShipExpectationsInput;
|
|
517
|
+
};
|
|
518
|
+
export type ShipExpectationsUncheckedCreateWithoutShipInput = {
|
|
519
|
+
reportChangesWithinMinutes?: number | null;
|
|
520
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
521
|
+
reportChangesWithinSetAt?: Date | string | null;
|
|
522
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
523
|
+
taskDoneBy?: Date | string | null;
|
|
524
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
525
|
+
taskDoneBySetAt?: Date | string | null;
|
|
526
|
+
};
|
|
527
|
+
export type ShipExpectationsCreateOrConnectWithoutShipInput = {
|
|
528
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
529
|
+
create: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutShipInput, Prisma.ShipExpectationsUncheckedCreateWithoutShipInput>;
|
|
530
|
+
};
|
|
531
|
+
export type ShipExpectationsCreateManyShipInputEnvelope = {
|
|
532
|
+
data: Prisma.ShipExpectationsCreateManyShipInput | Prisma.ShipExpectationsCreateManyShipInput[];
|
|
533
|
+
skipDuplicates?: boolean;
|
|
534
|
+
};
|
|
535
|
+
export type ShipExpectationsUpsertWithWhereUniqueWithoutShipInput = {
|
|
536
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
537
|
+
update: Prisma.XOR<Prisma.ShipExpectationsUpdateWithoutShipInput, Prisma.ShipExpectationsUncheckedUpdateWithoutShipInput>;
|
|
538
|
+
create: Prisma.XOR<Prisma.ShipExpectationsCreateWithoutShipInput, Prisma.ShipExpectationsUncheckedCreateWithoutShipInput>;
|
|
539
|
+
};
|
|
540
|
+
export type ShipExpectationsUpdateWithWhereUniqueWithoutShipInput = {
|
|
541
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
542
|
+
data: Prisma.XOR<Prisma.ShipExpectationsUpdateWithoutShipInput, Prisma.ShipExpectationsUncheckedUpdateWithoutShipInput>;
|
|
543
|
+
};
|
|
544
|
+
export type ShipExpectationsUpdateManyWithWhereWithoutShipInput = {
|
|
545
|
+
where: Prisma.ShipExpectationsScalarWhereInput;
|
|
546
|
+
data: Prisma.XOR<Prisma.ShipExpectationsUpdateManyMutationInput, Prisma.ShipExpectationsUncheckedUpdateManyWithoutShipInput>;
|
|
547
|
+
};
|
|
548
|
+
export type ShipExpectationsCreateManyFleetInput = {
|
|
549
|
+
shipId: string;
|
|
550
|
+
reportChangesWithinMinutes?: number | null;
|
|
551
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
552
|
+
reportChangesWithinSetAt?: Date | string | null;
|
|
553
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
554
|
+
taskDoneBy?: Date | string | null;
|
|
555
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
556
|
+
taskDoneBySetAt?: Date | string | null;
|
|
557
|
+
};
|
|
558
|
+
export type ShipExpectationsUpdateWithoutFleetInput = {
|
|
559
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
560
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
561
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
562
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
563
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
564
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
565
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
566
|
+
ship?: Prisma.ShipUpdateOneRequiredWithoutShipExpectationsNestedInput;
|
|
567
|
+
};
|
|
568
|
+
export type ShipExpectationsUncheckedUpdateWithoutFleetInput = {
|
|
569
|
+
shipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
570
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
571
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
572
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
573
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
574
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
575
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
576
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
577
|
+
};
|
|
578
|
+
export type ShipExpectationsUncheckedUpdateManyWithoutFleetInput = {
|
|
579
|
+
shipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
580
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
581
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
582
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
583
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
584
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
585
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
586
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
587
|
+
};
|
|
588
|
+
export type ShipExpectationsCreateManyShipInput = {
|
|
589
|
+
reportChangesWithinMinutes?: number | null;
|
|
590
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
591
|
+
reportChangesWithinSetAt?: Date | string | null;
|
|
592
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
593
|
+
taskDoneBy?: Date | string | null;
|
|
594
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
595
|
+
taskDoneBySetAt?: Date | string | null;
|
|
596
|
+
};
|
|
597
|
+
export type ShipExpectationsUpdateWithoutShipInput = {
|
|
598
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
599
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
600
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
601
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
602
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
603
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
604
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
605
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutShipExpectationsNestedInput;
|
|
606
|
+
};
|
|
607
|
+
export type ShipExpectationsUncheckedUpdateWithoutShipInput = {
|
|
608
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
609
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
610
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
611
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
612
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
613
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
614
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
615
|
+
};
|
|
616
|
+
export type ShipExpectationsUncheckedUpdateManyWithoutShipInput = {
|
|
617
|
+
reportChangesWithinMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
618
|
+
reportChangesWithinSetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
619
|
+
reportChangesWithinSetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
620
|
+
taskDoneByTask?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
621
|
+
taskDoneBy?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
622
|
+
taskDoneBySetBy?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
623
|
+
taskDoneBySetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
624
|
+
};
|
|
625
|
+
export type ShipExpectationsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
626
|
+
fleetId?: boolean;
|
|
627
|
+
shipId?: boolean;
|
|
628
|
+
reportChangesWithinMinutes?: boolean;
|
|
629
|
+
reportChangesWithinSetBy?: boolean;
|
|
630
|
+
reportChangesWithinSetAt?: boolean;
|
|
631
|
+
taskDoneByTask?: boolean;
|
|
632
|
+
taskDoneBy?: boolean;
|
|
633
|
+
taskDoneBySetBy?: boolean;
|
|
634
|
+
taskDoneBySetAt?: boolean;
|
|
635
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
636
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
637
|
+
}, ExtArgs["result"]["shipExpectations"]>;
|
|
638
|
+
export type ShipExpectationsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
639
|
+
fleetId?: boolean;
|
|
640
|
+
shipId?: boolean;
|
|
641
|
+
reportChangesWithinMinutes?: boolean;
|
|
642
|
+
reportChangesWithinSetBy?: boolean;
|
|
643
|
+
reportChangesWithinSetAt?: boolean;
|
|
644
|
+
taskDoneByTask?: boolean;
|
|
645
|
+
taskDoneBy?: boolean;
|
|
646
|
+
taskDoneBySetBy?: boolean;
|
|
647
|
+
taskDoneBySetAt?: boolean;
|
|
648
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
649
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
650
|
+
}, ExtArgs["result"]["shipExpectations"]>;
|
|
651
|
+
export type ShipExpectationsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
652
|
+
fleetId?: boolean;
|
|
653
|
+
shipId?: boolean;
|
|
654
|
+
reportChangesWithinMinutes?: boolean;
|
|
655
|
+
reportChangesWithinSetBy?: boolean;
|
|
656
|
+
reportChangesWithinSetAt?: boolean;
|
|
657
|
+
taskDoneByTask?: boolean;
|
|
658
|
+
taskDoneBy?: boolean;
|
|
659
|
+
taskDoneBySetBy?: boolean;
|
|
660
|
+
taskDoneBySetAt?: boolean;
|
|
661
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
662
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
663
|
+
}, ExtArgs["result"]["shipExpectations"]>;
|
|
664
|
+
export type ShipExpectationsSelectScalar = {
|
|
665
|
+
fleetId?: boolean;
|
|
666
|
+
shipId?: boolean;
|
|
667
|
+
reportChangesWithinMinutes?: boolean;
|
|
668
|
+
reportChangesWithinSetBy?: boolean;
|
|
669
|
+
reportChangesWithinSetAt?: boolean;
|
|
670
|
+
taskDoneByTask?: boolean;
|
|
671
|
+
taskDoneBy?: boolean;
|
|
672
|
+
taskDoneBySetBy?: boolean;
|
|
673
|
+
taskDoneBySetAt?: boolean;
|
|
674
|
+
};
|
|
675
|
+
export type ShipExpectationsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "shipId" | "reportChangesWithinMinutes" | "reportChangesWithinSetBy" | "reportChangesWithinSetAt" | "taskDoneByTask" | "taskDoneBy" | "taskDoneBySetBy" | "taskDoneBySetAt", ExtArgs["result"]["shipExpectations"]>;
|
|
676
|
+
export type ShipExpectationsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
677
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
678
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
679
|
+
};
|
|
680
|
+
export type ShipExpectationsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
681
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
682
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
683
|
+
};
|
|
684
|
+
export type ShipExpectationsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
685
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
686
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
687
|
+
};
|
|
688
|
+
export type $ShipExpectationsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
689
|
+
name: "ShipExpectations";
|
|
690
|
+
objects: {
|
|
691
|
+
fleet: Prisma.$FleetPayload<ExtArgs>;
|
|
692
|
+
ship: Prisma.$ShipPayload<ExtArgs>;
|
|
693
|
+
};
|
|
694
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
695
|
+
fleetId: string;
|
|
696
|
+
shipId: string;
|
|
697
|
+
reportChangesWithinMinutes: number | null;
|
|
698
|
+
reportChangesWithinSetBy: runtime.JsonValue | null;
|
|
699
|
+
reportChangesWithinSetAt: Date | null;
|
|
700
|
+
taskDoneByTask: runtime.JsonValue | null;
|
|
701
|
+
taskDoneBy: Date | null;
|
|
702
|
+
taskDoneBySetBy: runtime.JsonValue | null;
|
|
703
|
+
taskDoneBySetAt: Date | null;
|
|
704
|
+
}, ExtArgs["result"]["shipExpectations"]>;
|
|
705
|
+
composites: {};
|
|
706
|
+
};
|
|
707
|
+
export type ShipExpectationsGetPayload<S extends boolean | null | undefined | ShipExpectationsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload, S>;
|
|
708
|
+
export type ShipExpectationsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ShipExpectationsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
709
|
+
select?: ShipExpectationsCountAggregateInputType | true;
|
|
710
|
+
};
|
|
711
|
+
export interface ShipExpectationsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
712
|
+
[K: symbol]: {
|
|
713
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ShipExpectations'];
|
|
714
|
+
meta: {
|
|
715
|
+
name: 'ShipExpectations';
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
/**
|
|
719
|
+
* Find zero or one ShipExpectations that matches the filter.
|
|
720
|
+
* @param {ShipExpectationsFindUniqueArgs} args - Arguments to find a ShipExpectations
|
|
721
|
+
* @example
|
|
722
|
+
* // Get one ShipExpectations
|
|
723
|
+
* const shipExpectations = await prisma.shipExpectations.findUnique({
|
|
724
|
+
* where: {
|
|
725
|
+
* // ... provide filter here
|
|
726
|
+
* }
|
|
727
|
+
* })
|
|
728
|
+
*/
|
|
729
|
+
findUnique<T extends ShipExpectationsFindUniqueArgs>(args: Prisma.SelectSubset<T, ShipExpectationsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ShipExpectationsClient<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
730
|
+
/**
|
|
731
|
+
* Find one ShipExpectations that matches the filter or throw an error with `error.code='P2025'`
|
|
732
|
+
* if no matches were found.
|
|
733
|
+
* @param {ShipExpectationsFindUniqueOrThrowArgs} args - Arguments to find a ShipExpectations
|
|
734
|
+
* @example
|
|
735
|
+
* // Get one ShipExpectations
|
|
736
|
+
* const shipExpectations = await prisma.shipExpectations.findUniqueOrThrow({
|
|
737
|
+
* where: {
|
|
738
|
+
* // ... provide filter here
|
|
739
|
+
* }
|
|
740
|
+
* })
|
|
741
|
+
*/
|
|
742
|
+
findUniqueOrThrow<T extends ShipExpectationsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ShipExpectationsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShipExpectationsClient<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
743
|
+
/**
|
|
744
|
+
* Find the first ShipExpectations that matches the filter.
|
|
745
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
746
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
747
|
+
* @param {ShipExpectationsFindFirstArgs} args - Arguments to find a ShipExpectations
|
|
748
|
+
* @example
|
|
749
|
+
* // Get one ShipExpectations
|
|
750
|
+
* const shipExpectations = await prisma.shipExpectations.findFirst({
|
|
751
|
+
* where: {
|
|
752
|
+
* // ... provide filter here
|
|
753
|
+
* }
|
|
754
|
+
* })
|
|
755
|
+
*/
|
|
756
|
+
findFirst<T extends ShipExpectationsFindFirstArgs>(args?: Prisma.SelectSubset<T, ShipExpectationsFindFirstArgs<ExtArgs>>): Prisma.Prisma__ShipExpectationsClient<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
757
|
+
/**
|
|
758
|
+
* Find the first ShipExpectations that matches the filter or
|
|
759
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
760
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
761
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
762
|
+
* @param {ShipExpectationsFindFirstOrThrowArgs} args - Arguments to find a ShipExpectations
|
|
763
|
+
* @example
|
|
764
|
+
* // Get one ShipExpectations
|
|
765
|
+
* const shipExpectations = await prisma.shipExpectations.findFirstOrThrow({
|
|
766
|
+
* where: {
|
|
767
|
+
* // ... provide filter here
|
|
768
|
+
* }
|
|
769
|
+
* })
|
|
770
|
+
*/
|
|
771
|
+
findFirstOrThrow<T extends ShipExpectationsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ShipExpectationsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShipExpectationsClient<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
772
|
+
/**
|
|
773
|
+
* Find zero or more ShipExpectations that matches the filter.
|
|
774
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
775
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
776
|
+
* @param {ShipExpectationsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
777
|
+
* @example
|
|
778
|
+
* // Get all ShipExpectations
|
|
779
|
+
* const shipExpectations = await prisma.shipExpectations.findMany()
|
|
780
|
+
*
|
|
781
|
+
* // Get first 10 ShipExpectations
|
|
782
|
+
* const shipExpectations = await prisma.shipExpectations.findMany({ take: 10 })
|
|
783
|
+
*
|
|
784
|
+
* // Only select the `fleetId`
|
|
785
|
+
* const shipExpectationsWithFleetIdOnly = await prisma.shipExpectations.findMany({ select: { fleetId: true } })
|
|
786
|
+
*
|
|
787
|
+
*/
|
|
788
|
+
findMany<T extends ShipExpectationsFindManyArgs>(args?: Prisma.SelectSubset<T, ShipExpectationsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
789
|
+
/**
|
|
790
|
+
* Create a ShipExpectations.
|
|
791
|
+
* @param {ShipExpectationsCreateArgs} args - Arguments to create a ShipExpectations.
|
|
792
|
+
* @example
|
|
793
|
+
* // Create one ShipExpectations
|
|
794
|
+
* const ShipExpectations = await prisma.shipExpectations.create({
|
|
795
|
+
* data: {
|
|
796
|
+
* // ... data to create a ShipExpectations
|
|
797
|
+
* }
|
|
798
|
+
* })
|
|
799
|
+
*
|
|
800
|
+
*/
|
|
801
|
+
create<T extends ShipExpectationsCreateArgs>(args: Prisma.SelectSubset<T, ShipExpectationsCreateArgs<ExtArgs>>): Prisma.Prisma__ShipExpectationsClient<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
802
|
+
/**
|
|
803
|
+
* Create many ShipExpectations.
|
|
804
|
+
* @param {ShipExpectationsCreateManyArgs} args - Arguments to create many ShipExpectations.
|
|
805
|
+
* @example
|
|
806
|
+
* // Create many ShipExpectations
|
|
807
|
+
* const shipExpectations = await prisma.shipExpectations.createMany({
|
|
808
|
+
* data: [
|
|
809
|
+
* // ... provide data here
|
|
810
|
+
* ]
|
|
811
|
+
* })
|
|
812
|
+
*
|
|
813
|
+
*/
|
|
814
|
+
createMany<T extends ShipExpectationsCreateManyArgs>(args?: Prisma.SelectSubset<T, ShipExpectationsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
815
|
+
/**
|
|
816
|
+
* Create many ShipExpectations and returns the data saved in the database.
|
|
817
|
+
* @param {ShipExpectationsCreateManyAndReturnArgs} args - Arguments to create many ShipExpectations.
|
|
818
|
+
* @example
|
|
819
|
+
* // Create many ShipExpectations
|
|
820
|
+
* const shipExpectations = await prisma.shipExpectations.createManyAndReturn({
|
|
821
|
+
* data: [
|
|
822
|
+
* // ... provide data here
|
|
823
|
+
* ]
|
|
824
|
+
* })
|
|
825
|
+
*
|
|
826
|
+
* // Create many ShipExpectations and only return the `fleetId`
|
|
827
|
+
* const shipExpectationsWithFleetIdOnly = await prisma.shipExpectations.createManyAndReturn({
|
|
828
|
+
* select: { fleetId: true },
|
|
829
|
+
* data: [
|
|
830
|
+
* // ... provide data here
|
|
831
|
+
* ]
|
|
832
|
+
* })
|
|
833
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
834
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
835
|
+
*
|
|
836
|
+
*/
|
|
837
|
+
createManyAndReturn<T extends ShipExpectationsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ShipExpectationsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
838
|
+
/**
|
|
839
|
+
* Delete a ShipExpectations.
|
|
840
|
+
* @param {ShipExpectationsDeleteArgs} args - Arguments to delete one ShipExpectations.
|
|
841
|
+
* @example
|
|
842
|
+
* // Delete one ShipExpectations
|
|
843
|
+
* const ShipExpectations = await prisma.shipExpectations.delete({
|
|
844
|
+
* where: {
|
|
845
|
+
* // ... filter to delete one ShipExpectations
|
|
846
|
+
* }
|
|
847
|
+
* })
|
|
848
|
+
*
|
|
849
|
+
*/
|
|
850
|
+
delete<T extends ShipExpectationsDeleteArgs>(args: Prisma.SelectSubset<T, ShipExpectationsDeleteArgs<ExtArgs>>): Prisma.Prisma__ShipExpectationsClient<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
851
|
+
/**
|
|
852
|
+
* Update one ShipExpectations.
|
|
853
|
+
* @param {ShipExpectationsUpdateArgs} args - Arguments to update one ShipExpectations.
|
|
854
|
+
* @example
|
|
855
|
+
* // Update one ShipExpectations
|
|
856
|
+
* const shipExpectations = await prisma.shipExpectations.update({
|
|
857
|
+
* where: {
|
|
858
|
+
* // ... provide filter here
|
|
859
|
+
* },
|
|
860
|
+
* data: {
|
|
861
|
+
* // ... provide data here
|
|
862
|
+
* }
|
|
863
|
+
* })
|
|
864
|
+
*
|
|
865
|
+
*/
|
|
866
|
+
update<T extends ShipExpectationsUpdateArgs>(args: Prisma.SelectSubset<T, ShipExpectationsUpdateArgs<ExtArgs>>): Prisma.Prisma__ShipExpectationsClient<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
867
|
+
/**
|
|
868
|
+
* Delete zero or more ShipExpectations.
|
|
869
|
+
* @param {ShipExpectationsDeleteManyArgs} args - Arguments to filter ShipExpectations to delete.
|
|
870
|
+
* @example
|
|
871
|
+
* // Delete a few ShipExpectations
|
|
872
|
+
* const { count } = await prisma.shipExpectations.deleteMany({
|
|
873
|
+
* where: {
|
|
874
|
+
* // ... provide filter here
|
|
875
|
+
* }
|
|
876
|
+
* })
|
|
877
|
+
*
|
|
878
|
+
*/
|
|
879
|
+
deleteMany<T extends ShipExpectationsDeleteManyArgs>(args?: Prisma.SelectSubset<T, ShipExpectationsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
880
|
+
/**
|
|
881
|
+
* Update zero or more ShipExpectations.
|
|
882
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
883
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
884
|
+
* @param {ShipExpectationsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
885
|
+
* @example
|
|
886
|
+
* // Update many ShipExpectations
|
|
887
|
+
* const shipExpectations = await prisma.shipExpectations.updateMany({
|
|
888
|
+
* where: {
|
|
889
|
+
* // ... provide filter here
|
|
890
|
+
* },
|
|
891
|
+
* data: {
|
|
892
|
+
* // ... provide data here
|
|
893
|
+
* }
|
|
894
|
+
* })
|
|
895
|
+
*
|
|
896
|
+
*/
|
|
897
|
+
updateMany<T extends ShipExpectationsUpdateManyArgs>(args: Prisma.SelectSubset<T, ShipExpectationsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
898
|
+
/**
|
|
899
|
+
* Update zero or more ShipExpectations and returns the data updated in the database.
|
|
900
|
+
* @param {ShipExpectationsUpdateManyAndReturnArgs} args - Arguments to update many ShipExpectations.
|
|
901
|
+
* @example
|
|
902
|
+
* // Update many ShipExpectations
|
|
903
|
+
* const shipExpectations = await prisma.shipExpectations.updateManyAndReturn({
|
|
904
|
+
* where: {
|
|
905
|
+
* // ... provide filter here
|
|
906
|
+
* },
|
|
907
|
+
* data: [
|
|
908
|
+
* // ... provide data here
|
|
909
|
+
* ]
|
|
910
|
+
* })
|
|
911
|
+
*
|
|
912
|
+
* // Update zero or more ShipExpectations and only return the `fleetId`
|
|
913
|
+
* const shipExpectationsWithFleetIdOnly = await prisma.shipExpectations.updateManyAndReturn({
|
|
914
|
+
* select: { fleetId: true },
|
|
915
|
+
* where: {
|
|
916
|
+
* // ... provide filter here
|
|
917
|
+
* },
|
|
918
|
+
* data: [
|
|
919
|
+
* // ... provide data here
|
|
920
|
+
* ]
|
|
921
|
+
* })
|
|
922
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
923
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
924
|
+
*
|
|
925
|
+
*/
|
|
926
|
+
updateManyAndReturn<T extends ShipExpectationsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ShipExpectationsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
927
|
+
/**
|
|
928
|
+
* Create or update one ShipExpectations.
|
|
929
|
+
* @param {ShipExpectationsUpsertArgs} args - Arguments to update or create a ShipExpectations.
|
|
930
|
+
* @example
|
|
931
|
+
* // Update or create a ShipExpectations
|
|
932
|
+
* const shipExpectations = await prisma.shipExpectations.upsert({
|
|
933
|
+
* create: {
|
|
934
|
+
* // ... data to create a ShipExpectations
|
|
935
|
+
* },
|
|
936
|
+
* update: {
|
|
937
|
+
* // ... in case it already exists, update
|
|
938
|
+
* },
|
|
939
|
+
* where: {
|
|
940
|
+
* // ... the filter for the ShipExpectations we want to update
|
|
941
|
+
* }
|
|
942
|
+
* })
|
|
943
|
+
*/
|
|
944
|
+
upsert<T extends ShipExpectationsUpsertArgs>(args: Prisma.SelectSubset<T, ShipExpectationsUpsertArgs<ExtArgs>>): Prisma.Prisma__ShipExpectationsClient<runtime.Types.Result.GetResult<Prisma.$ShipExpectationsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
945
|
+
/**
|
|
946
|
+
* Count the number of ShipExpectations.
|
|
947
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
948
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
949
|
+
* @param {ShipExpectationsCountArgs} args - Arguments to filter ShipExpectations to count.
|
|
950
|
+
* @example
|
|
951
|
+
* // Count the number of ShipExpectations
|
|
952
|
+
* const count = await prisma.shipExpectations.count({
|
|
953
|
+
* where: {
|
|
954
|
+
* // ... the filter for the ShipExpectations we want to count
|
|
955
|
+
* }
|
|
956
|
+
* })
|
|
957
|
+
**/
|
|
958
|
+
count<T extends ShipExpectationsCountArgs>(args?: Prisma.Subset<T, ShipExpectationsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ShipExpectationsCountAggregateOutputType> : number>;
|
|
959
|
+
/**
|
|
960
|
+
* Allows you to perform aggregations operations on a ShipExpectations.
|
|
961
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
962
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
963
|
+
* @param {ShipExpectationsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
964
|
+
* @example
|
|
965
|
+
* // Ordered by age ascending
|
|
966
|
+
* // Where email contains prisma.io
|
|
967
|
+
* // Limited to the 10 users
|
|
968
|
+
* const aggregations = await prisma.user.aggregate({
|
|
969
|
+
* _avg: {
|
|
970
|
+
* age: true,
|
|
971
|
+
* },
|
|
972
|
+
* where: {
|
|
973
|
+
* email: {
|
|
974
|
+
* contains: "prisma.io",
|
|
975
|
+
* },
|
|
976
|
+
* },
|
|
977
|
+
* orderBy: {
|
|
978
|
+
* age: "asc",
|
|
979
|
+
* },
|
|
980
|
+
* take: 10,
|
|
981
|
+
* })
|
|
982
|
+
**/
|
|
983
|
+
aggregate<T extends ShipExpectationsAggregateArgs>(args: Prisma.Subset<T, ShipExpectationsAggregateArgs>): Prisma.PrismaPromise<GetShipExpectationsAggregateType<T>>;
|
|
984
|
+
/**
|
|
985
|
+
* Group by ShipExpectations.
|
|
986
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
987
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
988
|
+
* @param {ShipExpectationsGroupByArgs} args - Group by arguments.
|
|
989
|
+
* @example
|
|
990
|
+
* // Group by city, order by createdAt, get count
|
|
991
|
+
* const result = await prisma.user.groupBy({
|
|
992
|
+
* by: ['city', 'createdAt'],
|
|
993
|
+
* orderBy: {
|
|
994
|
+
* createdAt: true
|
|
995
|
+
* },
|
|
996
|
+
* _count: {
|
|
997
|
+
* _all: true
|
|
998
|
+
* },
|
|
999
|
+
* })
|
|
1000
|
+
*
|
|
1001
|
+
**/
|
|
1002
|
+
groupBy<T extends ShipExpectationsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1003
|
+
orderBy: ShipExpectationsGroupByArgs['orderBy'];
|
|
1004
|
+
} : {
|
|
1005
|
+
orderBy?: ShipExpectationsGroupByArgs['orderBy'];
|
|
1006
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1007
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1008
|
+
Error,
|
|
1009
|
+
'Field ',
|
|
1010
|
+
P,
|
|
1011
|
+
` in "having" needs to be provided in "by"`
|
|
1012
|
+
];
|
|
1013
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1014
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1015
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1016
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1017
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1018
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1019
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ShipExpectationsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipExpectationsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Fields of the ShipExpectations model
|
|
1022
|
+
*/
|
|
1023
|
+
readonly fields: ShipExpectationsFieldRefs;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* The delegate class that acts as a "Promise-like" for ShipExpectations.
|
|
1027
|
+
* Why is this prefixed with `Prisma__`?
|
|
1028
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1029
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1030
|
+
*/
|
|
1031
|
+
export interface Prisma__ShipExpectationsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1032
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1033
|
+
fleet<T extends Prisma.FleetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FleetDefaultArgs<ExtArgs>>): Prisma.Prisma__FleetClient<runtime.Types.Result.GetResult<Prisma.$FleetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1034
|
+
ship<T extends Prisma.ShipDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ShipDefaultArgs<ExtArgs>>): Prisma.Prisma__ShipClient<runtime.Types.Result.GetResult<Prisma.$ShipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1037
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1038
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1039
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1040
|
+
*/
|
|
1041
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
1042
|
+
/**
|
|
1043
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1044
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1045
|
+
* @returns A Promise for the completion of the callback.
|
|
1046
|
+
*/
|
|
1047
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1050
|
+
* resolved value cannot be modified from the callback.
|
|
1051
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1052
|
+
* @returns A Promise for the completion of the callback.
|
|
1053
|
+
*/
|
|
1054
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1055
|
+
}
|
|
1056
|
+
/**
|
|
1057
|
+
* Fields of the ShipExpectations model
|
|
1058
|
+
*/
|
|
1059
|
+
export interface ShipExpectationsFieldRefs {
|
|
1060
|
+
readonly fleetId: Prisma.FieldRef<"ShipExpectations", 'String'>;
|
|
1061
|
+
readonly shipId: Prisma.FieldRef<"ShipExpectations", 'String'>;
|
|
1062
|
+
readonly reportChangesWithinMinutes: Prisma.FieldRef<"ShipExpectations", 'Int'>;
|
|
1063
|
+
readonly reportChangesWithinSetBy: Prisma.FieldRef<"ShipExpectations", 'Json'>;
|
|
1064
|
+
readonly reportChangesWithinSetAt: Prisma.FieldRef<"ShipExpectations", 'DateTime'>;
|
|
1065
|
+
readonly taskDoneByTask: Prisma.FieldRef<"ShipExpectations", 'Json'>;
|
|
1066
|
+
readonly taskDoneBy: Prisma.FieldRef<"ShipExpectations", 'DateTime'>;
|
|
1067
|
+
readonly taskDoneBySetBy: Prisma.FieldRef<"ShipExpectations", 'Json'>;
|
|
1068
|
+
readonly taskDoneBySetAt: Prisma.FieldRef<"ShipExpectations", 'DateTime'>;
|
|
1069
|
+
}
|
|
1070
|
+
/**
|
|
1071
|
+
* ShipExpectations findUnique
|
|
1072
|
+
*/
|
|
1073
|
+
export type ShipExpectationsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1074
|
+
/**
|
|
1075
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1076
|
+
*/
|
|
1077
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1078
|
+
/**
|
|
1079
|
+
* Omit specific fields from the ShipExpectations
|
|
1080
|
+
*/
|
|
1081
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1082
|
+
/**
|
|
1083
|
+
* Choose, which related nodes to fetch as well
|
|
1084
|
+
*/
|
|
1085
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1086
|
+
/**
|
|
1087
|
+
* Filter, which ShipExpectations to fetch.
|
|
1088
|
+
*/
|
|
1089
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
1090
|
+
};
|
|
1091
|
+
/**
|
|
1092
|
+
* ShipExpectations findUniqueOrThrow
|
|
1093
|
+
*/
|
|
1094
|
+
export type ShipExpectationsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1095
|
+
/**
|
|
1096
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1097
|
+
*/
|
|
1098
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* Omit specific fields from the ShipExpectations
|
|
1101
|
+
*/
|
|
1102
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1103
|
+
/**
|
|
1104
|
+
* Choose, which related nodes to fetch as well
|
|
1105
|
+
*/
|
|
1106
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1107
|
+
/**
|
|
1108
|
+
* Filter, which ShipExpectations to fetch.
|
|
1109
|
+
*/
|
|
1110
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
1111
|
+
};
|
|
1112
|
+
/**
|
|
1113
|
+
* ShipExpectations findFirst
|
|
1114
|
+
*/
|
|
1115
|
+
export type ShipExpectationsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1116
|
+
/**
|
|
1117
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1118
|
+
*/
|
|
1119
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* Omit specific fields from the ShipExpectations
|
|
1122
|
+
*/
|
|
1123
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Choose, which related nodes to fetch as well
|
|
1126
|
+
*/
|
|
1127
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* Filter, which ShipExpectations to fetch.
|
|
1130
|
+
*/
|
|
1131
|
+
where?: Prisma.ShipExpectationsWhereInput;
|
|
1132
|
+
/**
|
|
1133
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1134
|
+
*
|
|
1135
|
+
* Determine the order of ShipExpectations to fetch.
|
|
1136
|
+
*/
|
|
1137
|
+
orderBy?: Prisma.ShipExpectationsOrderByWithRelationInput | Prisma.ShipExpectationsOrderByWithRelationInput[];
|
|
1138
|
+
/**
|
|
1139
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1140
|
+
*
|
|
1141
|
+
* Sets the position for searching for ShipExpectations.
|
|
1142
|
+
*/
|
|
1143
|
+
cursor?: Prisma.ShipExpectationsWhereUniqueInput;
|
|
1144
|
+
/**
|
|
1145
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1146
|
+
*
|
|
1147
|
+
* Take `±n` ShipExpectations from the position of the cursor.
|
|
1148
|
+
*/
|
|
1149
|
+
take?: number;
|
|
1150
|
+
/**
|
|
1151
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1152
|
+
*
|
|
1153
|
+
* Skip the first `n` ShipExpectations.
|
|
1154
|
+
*/
|
|
1155
|
+
skip?: number;
|
|
1156
|
+
/**
|
|
1157
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1158
|
+
*
|
|
1159
|
+
* Filter by unique combinations of ShipExpectations.
|
|
1160
|
+
*/
|
|
1161
|
+
distinct?: Prisma.ShipExpectationsScalarFieldEnum | Prisma.ShipExpectationsScalarFieldEnum[];
|
|
1162
|
+
};
|
|
1163
|
+
/**
|
|
1164
|
+
* ShipExpectations findFirstOrThrow
|
|
1165
|
+
*/
|
|
1166
|
+
export type ShipExpectationsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1167
|
+
/**
|
|
1168
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1169
|
+
*/
|
|
1170
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1171
|
+
/**
|
|
1172
|
+
* Omit specific fields from the ShipExpectations
|
|
1173
|
+
*/
|
|
1174
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* Choose, which related nodes to fetch as well
|
|
1177
|
+
*/
|
|
1178
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1179
|
+
/**
|
|
1180
|
+
* Filter, which ShipExpectations to fetch.
|
|
1181
|
+
*/
|
|
1182
|
+
where?: Prisma.ShipExpectationsWhereInput;
|
|
1183
|
+
/**
|
|
1184
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1185
|
+
*
|
|
1186
|
+
* Determine the order of ShipExpectations to fetch.
|
|
1187
|
+
*/
|
|
1188
|
+
orderBy?: Prisma.ShipExpectationsOrderByWithRelationInput | Prisma.ShipExpectationsOrderByWithRelationInput[];
|
|
1189
|
+
/**
|
|
1190
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1191
|
+
*
|
|
1192
|
+
* Sets the position for searching for ShipExpectations.
|
|
1193
|
+
*/
|
|
1194
|
+
cursor?: Prisma.ShipExpectationsWhereUniqueInput;
|
|
1195
|
+
/**
|
|
1196
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1197
|
+
*
|
|
1198
|
+
* Take `±n` ShipExpectations from the position of the cursor.
|
|
1199
|
+
*/
|
|
1200
|
+
take?: number;
|
|
1201
|
+
/**
|
|
1202
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1203
|
+
*
|
|
1204
|
+
* Skip the first `n` ShipExpectations.
|
|
1205
|
+
*/
|
|
1206
|
+
skip?: number;
|
|
1207
|
+
/**
|
|
1208
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1209
|
+
*
|
|
1210
|
+
* Filter by unique combinations of ShipExpectations.
|
|
1211
|
+
*/
|
|
1212
|
+
distinct?: Prisma.ShipExpectationsScalarFieldEnum | Prisma.ShipExpectationsScalarFieldEnum[];
|
|
1213
|
+
};
|
|
1214
|
+
/**
|
|
1215
|
+
* ShipExpectations findMany
|
|
1216
|
+
*/
|
|
1217
|
+
export type ShipExpectationsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1218
|
+
/**
|
|
1219
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1220
|
+
*/
|
|
1221
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* Omit specific fields from the ShipExpectations
|
|
1224
|
+
*/
|
|
1225
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1226
|
+
/**
|
|
1227
|
+
* Choose, which related nodes to fetch as well
|
|
1228
|
+
*/
|
|
1229
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* Filter, which ShipExpectations to fetch.
|
|
1232
|
+
*/
|
|
1233
|
+
where?: Prisma.ShipExpectationsWhereInput;
|
|
1234
|
+
/**
|
|
1235
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1236
|
+
*
|
|
1237
|
+
* Determine the order of ShipExpectations to fetch.
|
|
1238
|
+
*/
|
|
1239
|
+
orderBy?: Prisma.ShipExpectationsOrderByWithRelationInput | Prisma.ShipExpectationsOrderByWithRelationInput[];
|
|
1240
|
+
/**
|
|
1241
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1242
|
+
*
|
|
1243
|
+
* Sets the position for listing ShipExpectations.
|
|
1244
|
+
*/
|
|
1245
|
+
cursor?: Prisma.ShipExpectationsWhereUniqueInput;
|
|
1246
|
+
/**
|
|
1247
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1248
|
+
*
|
|
1249
|
+
* Take `±n` ShipExpectations from the position of the cursor.
|
|
1250
|
+
*/
|
|
1251
|
+
take?: number;
|
|
1252
|
+
/**
|
|
1253
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1254
|
+
*
|
|
1255
|
+
* Skip the first `n` ShipExpectations.
|
|
1256
|
+
*/
|
|
1257
|
+
skip?: number;
|
|
1258
|
+
/**
|
|
1259
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1260
|
+
*
|
|
1261
|
+
* Filter by unique combinations of ShipExpectations.
|
|
1262
|
+
*/
|
|
1263
|
+
distinct?: Prisma.ShipExpectationsScalarFieldEnum | Prisma.ShipExpectationsScalarFieldEnum[];
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* ShipExpectations create
|
|
1267
|
+
*/
|
|
1268
|
+
export type ShipExpectationsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1269
|
+
/**
|
|
1270
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1271
|
+
*/
|
|
1272
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* Omit specific fields from the ShipExpectations
|
|
1275
|
+
*/
|
|
1276
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1277
|
+
/**
|
|
1278
|
+
* Choose, which related nodes to fetch as well
|
|
1279
|
+
*/
|
|
1280
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1281
|
+
/**
|
|
1282
|
+
* The data needed to create a ShipExpectations.
|
|
1283
|
+
*/
|
|
1284
|
+
data: Prisma.XOR<Prisma.ShipExpectationsCreateInput, Prisma.ShipExpectationsUncheckedCreateInput>;
|
|
1285
|
+
};
|
|
1286
|
+
/**
|
|
1287
|
+
* ShipExpectations createMany
|
|
1288
|
+
*/
|
|
1289
|
+
export type ShipExpectationsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1290
|
+
/**
|
|
1291
|
+
* The data used to create many ShipExpectations.
|
|
1292
|
+
*/
|
|
1293
|
+
data: Prisma.ShipExpectationsCreateManyInput | Prisma.ShipExpectationsCreateManyInput[];
|
|
1294
|
+
skipDuplicates?: boolean;
|
|
1295
|
+
};
|
|
1296
|
+
/**
|
|
1297
|
+
* ShipExpectations createManyAndReturn
|
|
1298
|
+
*/
|
|
1299
|
+
export type ShipExpectationsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1300
|
+
/**
|
|
1301
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1302
|
+
*/
|
|
1303
|
+
select?: Prisma.ShipExpectationsSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1304
|
+
/**
|
|
1305
|
+
* Omit specific fields from the ShipExpectations
|
|
1306
|
+
*/
|
|
1307
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1308
|
+
/**
|
|
1309
|
+
* The data used to create many ShipExpectations.
|
|
1310
|
+
*/
|
|
1311
|
+
data: Prisma.ShipExpectationsCreateManyInput | Prisma.ShipExpectationsCreateManyInput[];
|
|
1312
|
+
skipDuplicates?: boolean;
|
|
1313
|
+
/**
|
|
1314
|
+
* Choose, which related nodes to fetch as well
|
|
1315
|
+
*/
|
|
1316
|
+
include?: Prisma.ShipExpectationsIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1317
|
+
};
|
|
1318
|
+
/**
|
|
1319
|
+
* ShipExpectations update
|
|
1320
|
+
*/
|
|
1321
|
+
export type ShipExpectationsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1322
|
+
/**
|
|
1323
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1324
|
+
*/
|
|
1325
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1326
|
+
/**
|
|
1327
|
+
* Omit specific fields from the ShipExpectations
|
|
1328
|
+
*/
|
|
1329
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1330
|
+
/**
|
|
1331
|
+
* Choose, which related nodes to fetch as well
|
|
1332
|
+
*/
|
|
1333
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1334
|
+
/**
|
|
1335
|
+
* The data needed to update a ShipExpectations.
|
|
1336
|
+
*/
|
|
1337
|
+
data: Prisma.XOR<Prisma.ShipExpectationsUpdateInput, Prisma.ShipExpectationsUncheckedUpdateInput>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Choose, which ShipExpectations to update.
|
|
1340
|
+
*/
|
|
1341
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
1342
|
+
};
|
|
1343
|
+
/**
|
|
1344
|
+
* ShipExpectations updateMany
|
|
1345
|
+
*/
|
|
1346
|
+
export type ShipExpectationsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1347
|
+
/**
|
|
1348
|
+
* The data used to update ShipExpectations.
|
|
1349
|
+
*/
|
|
1350
|
+
data: Prisma.XOR<Prisma.ShipExpectationsUpdateManyMutationInput, Prisma.ShipExpectationsUncheckedUpdateManyInput>;
|
|
1351
|
+
/**
|
|
1352
|
+
* Filter which ShipExpectations to update
|
|
1353
|
+
*/
|
|
1354
|
+
where?: Prisma.ShipExpectationsWhereInput;
|
|
1355
|
+
/**
|
|
1356
|
+
* Limit how many ShipExpectations to update.
|
|
1357
|
+
*/
|
|
1358
|
+
limit?: number;
|
|
1359
|
+
};
|
|
1360
|
+
/**
|
|
1361
|
+
* ShipExpectations updateManyAndReturn
|
|
1362
|
+
*/
|
|
1363
|
+
export type ShipExpectationsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1364
|
+
/**
|
|
1365
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1366
|
+
*/
|
|
1367
|
+
select?: Prisma.ShipExpectationsSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1368
|
+
/**
|
|
1369
|
+
* Omit specific fields from the ShipExpectations
|
|
1370
|
+
*/
|
|
1371
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1372
|
+
/**
|
|
1373
|
+
* The data used to update ShipExpectations.
|
|
1374
|
+
*/
|
|
1375
|
+
data: Prisma.XOR<Prisma.ShipExpectationsUpdateManyMutationInput, Prisma.ShipExpectationsUncheckedUpdateManyInput>;
|
|
1376
|
+
/**
|
|
1377
|
+
* Filter which ShipExpectations to update
|
|
1378
|
+
*/
|
|
1379
|
+
where?: Prisma.ShipExpectationsWhereInput;
|
|
1380
|
+
/**
|
|
1381
|
+
* Limit how many ShipExpectations to update.
|
|
1382
|
+
*/
|
|
1383
|
+
limit?: number;
|
|
1384
|
+
/**
|
|
1385
|
+
* Choose, which related nodes to fetch as well
|
|
1386
|
+
*/
|
|
1387
|
+
include?: Prisma.ShipExpectationsIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1388
|
+
};
|
|
1389
|
+
/**
|
|
1390
|
+
* ShipExpectations upsert
|
|
1391
|
+
*/
|
|
1392
|
+
export type ShipExpectationsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1393
|
+
/**
|
|
1394
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1395
|
+
*/
|
|
1396
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1397
|
+
/**
|
|
1398
|
+
* Omit specific fields from the ShipExpectations
|
|
1399
|
+
*/
|
|
1400
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1401
|
+
/**
|
|
1402
|
+
* Choose, which related nodes to fetch as well
|
|
1403
|
+
*/
|
|
1404
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1405
|
+
/**
|
|
1406
|
+
* The filter to search for the ShipExpectations to update in case it exists.
|
|
1407
|
+
*/
|
|
1408
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
1409
|
+
/**
|
|
1410
|
+
* In case the ShipExpectations found by the `where` argument doesn't exist, create a new ShipExpectations with this data.
|
|
1411
|
+
*/
|
|
1412
|
+
create: Prisma.XOR<Prisma.ShipExpectationsCreateInput, Prisma.ShipExpectationsUncheckedCreateInput>;
|
|
1413
|
+
/**
|
|
1414
|
+
* In case the ShipExpectations was found with the provided `where` argument, update it with this data.
|
|
1415
|
+
*/
|
|
1416
|
+
update: Prisma.XOR<Prisma.ShipExpectationsUpdateInput, Prisma.ShipExpectationsUncheckedUpdateInput>;
|
|
1417
|
+
};
|
|
1418
|
+
/**
|
|
1419
|
+
* ShipExpectations delete
|
|
1420
|
+
*/
|
|
1421
|
+
export type ShipExpectationsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1422
|
+
/**
|
|
1423
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1424
|
+
*/
|
|
1425
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1426
|
+
/**
|
|
1427
|
+
* Omit specific fields from the ShipExpectations
|
|
1428
|
+
*/
|
|
1429
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1430
|
+
/**
|
|
1431
|
+
* Choose, which related nodes to fetch as well
|
|
1432
|
+
*/
|
|
1433
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1434
|
+
/**
|
|
1435
|
+
* Filter which ShipExpectations to delete.
|
|
1436
|
+
*/
|
|
1437
|
+
where: Prisma.ShipExpectationsWhereUniqueInput;
|
|
1438
|
+
};
|
|
1439
|
+
/**
|
|
1440
|
+
* ShipExpectations deleteMany
|
|
1441
|
+
*/
|
|
1442
|
+
export type ShipExpectationsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1443
|
+
/**
|
|
1444
|
+
* Filter which ShipExpectations to delete
|
|
1445
|
+
*/
|
|
1446
|
+
where?: Prisma.ShipExpectationsWhereInput;
|
|
1447
|
+
/**
|
|
1448
|
+
* Limit how many ShipExpectations to delete.
|
|
1449
|
+
*/
|
|
1450
|
+
limit?: number;
|
|
1451
|
+
};
|
|
1452
|
+
/**
|
|
1453
|
+
* ShipExpectations without action
|
|
1454
|
+
*/
|
|
1455
|
+
export type ShipExpectationsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1456
|
+
/**
|
|
1457
|
+
* Select specific fields to fetch from the ShipExpectations
|
|
1458
|
+
*/
|
|
1459
|
+
select?: Prisma.ShipExpectationsSelect<ExtArgs> | null;
|
|
1460
|
+
/**
|
|
1461
|
+
* Omit specific fields from the ShipExpectations
|
|
1462
|
+
*/
|
|
1463
|
+
omit?: Prisma.ShipExpectationsOmit<ExtArgs> | null;
|
|
1464
|
+
/**
|
|
1465
|
+
* Choose, which related nodes to fetch as well
|
|
1466
|
+
*/
|
|
1467
|
+
include?: Prisma.ShipExpectationsInclude<ExtArgs> | null;
|
|
1468
|
+
};
|