@aeolus-fleet/core 0.20.5 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/http/server.d.ts +2 -0
- package/dist/adapters/http/server.js +11 -0
- package/dist/adapters/http/server.js.map +1 -1
- package/dist/adapters/prisma/client.d.ts +2 -0
- package/dist/adapters/prisma/client.js +19 -1
- package/dist/adapters/prisma/client.js.map +1 -1
- package/dist/adapters/prisma/fleet-busy.d.ts +2 -0
- package/dist/adapters/prisma/fleet-busy.js +26 -0
- package/dist/adapters/prisma/fleet-busy.js.map +1 -0
- package/dist/adapters/prisma/generated/browser.d.ts +7 -0
- package/dist/adapters/prisma/generated/client.d.ts +7 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +11 -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 +83 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +6 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +7 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +6 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/DeclaredNetworkRules.d.ts +1195 -0
- package/dist/adapters/prisma/generated/models/DeclaredNetworkRules.js +2 -0
- package/dist/adapters/prisma/generated/models/DeclaredNetworkRules.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +259 -0
- package/dist/adapters/prisma/generated/models/Ship.d.ts +263 -0
- package/dist/adapters/prisma/generated/models.d.ts +1 -0
- package/dist/adapters/prisma/migrate.js +17 -4
- package/dist/adapters/prisma/migrate.js.map +1 -1
- package/dist/adapters/prisma/network.d.ts +3 -1
- package/dist/adapters/prisma/network.js +23 -0
- package/dist/adapters/prisma/network.js.map +1 -1
- package/dist/adapters/prisma/registry.js +2 -0
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/unit-of-work.d.ts +2 -1
- package/dist/adapters/prisma/unit-of-work.js +2 -1
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/trpc/console.d.ts +2 -1
- package/dist/adapters/trpc/console.js +6 -2
- package/dist/adapters/trpc/console.js.map +1 -1
- package/dist/adapters/trpc/context.d.ts +9 -1
- package/dist/adapters/trpc/fleet.d.ts +46 -3
- package/dist/adapters/trpc/fleet.js +34 -6
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/router.d.ts +52 -3
- package/dist/adapters/trpc/ship-contract.js +2 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -1
- package/dist/adapters/trpc/ship-protocol.js +2 -2
- package/dist/adapters/trpc/ship-protocol.js.map +1 -1
- package/dist/adapters/trpc/system.d.ts +15 -0
- package/dist/adapters/trpc/system.js +10 -1
- package/dist/adapters/trpc/system.js.map +1 -1
- package/dist/adapters/trpc/trpc.d.ts +11 -0
- package/dist/adapters/trpc/trpc.js +26 -10
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/app.js +2 -1
- package/dist/app.js.map +1 -1
- package/dist/domain/registry/check-reach.d.ts +15 -0
- package/dist/domain/registry/check-reach.js +4 -4
- package/dist/domain/registry/check-reach.js.map +1 -1
- package/dist/domain/registry/declare-network-rules.d.ts +33 -0
- package/dist/domain/registry/declare-network-rules.js +30 -0
- package/dist/domain/registry/declare-network-rules.js.map +1 -0
- package/dist/domain/registry/declared-network-rules.d.ts +60 -0
- package/dist/domain/registry/declared-network-rules.js +70 -0
- package/dist/domain/registry/declared-network-rules.js.map +1 -0
- package/dist/domain/registry/explain-reach.d.ts +34 -0
- package/dist/domain/registry/explain-reach.js +42 -0
- package/dist/domain/registry/explain-reach.js.map +1 -0
- package/dist/domain/registry/label.d.ts +8 -10
- package/dist/domain/registry/label.js +4 -16
- package/dist/domain/registry/label.js.map +1 -1
- package/dist/domain/registry/network-settings.d.ts +26 -13
- package/dist/domain/registry/network-settings.js +68 -31
- package/dist/domain/registry/network-settings.js.map +1 -1
- package/dist/domain/registry/ports.d.ts +12 -0
- package/dist/domain/registry/read-assigned-crew-requests.d.ts +2 -2
- package/dist/domain/registry/read-assigned-crew-requests.js +2 -1
- package/dist/domain/registry/read-assigned-crew-requests.js.map +1 -1
- package/dist/domain/registry/read-declared-network-rules.d.ts +16 -0
- package/dist/domain/registry/read-declared-network-rules.js +9 -0
- package/dist/domain/registry/read-declared-network-rules.js.map +1 -0
- package/dist/domain/registry/retire-ship.d.ts +4 -2
- package/dist/domain/registry/retire-ship.js +10 -1
- package/dist/domain/registry/retire-ship.js.map +1 -1
- package/dist/domain/registry/set-network-rules.d.ts +4 -2
- package/dist/domain/registry/set-network-rules.js +4 -2
- package/dist/domain/registry/set-network-rules.js.map +1 -1
- package/dist/domain/registry/unassign-label.js +1 -1
- package/dist/domain/registry/unassign-label.js.map +1 -1
- package/dist/domain/shared/errors.d.ts +1 -1
- package/dist/domain/shared/errors.js.map +1 -1
- package/dist/wiring.d.ts +6 -0
- package/dist/wiring.js +7 -1
- package/dist/wiring.js.map +1 -1
- package/package.json +3 -2
- package/src/adapters/prisma/migrations/20261010110000_network_rules_through_plugin/migration.sql +4 -0
- package/src/adapters/prisma/migrations/20261010130000_cleared_network_rules_on_record/migration.sql +57 -0
- package/src/adapters/prisma/migrations/20261010210000_declared_network_rules/migration.sql +16 -0
- package/src/adapters/prisma/schema.prisma +17 -0
|
@@ -0,0 +1,1195 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model DeclaredNetworkRules
|
|
5
|
+
* The network rules a ship declared on the labels it owns (decision 0037),
|
|
6
|
+
* its whole list as JSON, at most 20. No row while it declares none; a retire
|
|
7
|
+
* removes its row.
|
|
8
|
+
*/
|
|
9
|
+
export type DeclaredNetworkRulesModel = runtime.Types.Result.DefaultSelection<Prisma.$DeclaredNetworkRulesPayload>;
|
|
10
|
+
export type AggregateDeclaredNetworkRules = {
|
|
11
|
+
_count: DeclaredNetworkRulesCountAggregateOutputType | null;
|
|
12
|
+
_min: DeclaredNetworkRulesMinAggregateOutputType | null;
|
|
13
|
+
_max: DeclaredNetworkRulesMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type DeclaredNetworkRulesMinAggregateOutputType = {
|
|
16
|
+
fleetId: string | null;
|
|
17
|
+
shipId: string | null;
|
|
18
|
+
};
|
|
19
|
+
export type DeclaredNetworkRulesMaxAggregateOutputType = {
|
|
20
|
+
fleetId: string | null;
|
|
21
|
+
shipId: string | null;
|
|
22
|
+
};
|
|
23
|
+
export type DeclaredNetworkRulesCountAggregateOutputType = {
|
|
24
|
+
fleetId: number;
|
|
25
|
+
shipId: number;
|
|
26
|
+
rules: number;
|
|
27
|
+
_all: number;
|
|
28
|
+
};
|
|
29
|
+
export type DeclaredNetworkRulesMinAggregateInputType = {
|
|
30
|
+
fleetId?: true;
|
|
31
|
+
shipId?: true;
|
|
32
|
+
};
|
|
33
|
+
export type DeclaredNetworkRulesMaxAggregateInputType = {
|
|
34
|
+
fleetId?: true;
|
|
35
|
+
shipId?: true;
|
|
36
|
+
};
|
|
37
|
+
export type DeclaredNetworkRulesCountAggregateInputType = {
|
|
38
|
+
fleetId?: true;
|
|
39
|
+
shipId?: true;
|
|
40
|
+
rules?: true;
|
|
41
|
+
_all?: true;
|
|
42
|
+
};
|
|
43
|
+
export type DeclaredNetworkRulesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
44
|
+
/**
|
|
45
|
+
* Filter which DeclaredNetworkRules to aggregate.
|
|
46
|
+
*/
|
|
47
|
+
where?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
48
|
+
/**
|
|
49
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
50
|
+
*
|
|
51
|
+
* Determine the order of DeclaredNetworkRules to fetch.
|
|
52
|
+
*/
|
|
53
|
+
orderBy?: Prisma.DeclaredNetworkRulesOrderByWithRelationInput | Prisma.DeclaredNetworkRulesOrderByWithRelationInput[];
|
|
54
|
+
/**
|
|
55
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
56
|
+
*
|
|
57
|
+
* Sets the start position
|
|
58
|
+
*/
|
|
59
|
+
cursor?: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
60
|
+
/**
|
|
61
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
62
|
+
*
|
|
63
|
+
* Take `±n` DeclaredNetworkRules from the position of the cursor.
|
|
64
|
+
*/
|
|
65
|
+
take?: number;
|
|
66
|
+
/**
|
|
67
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
68
|
+
*
|
|
69
|
+
* Skip the first `n` DeclaredNetworkRules.
|
|
70
|
+
*/
|
|
71
|
+
skip?: number;
|
|
72
|
+
/**
|
|
73
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
74
|
+
*
|
|
75
|
+
* Count returned DeclaredNetworkRules
|
|
76
|
+
**/
|
|
77
|
+
_count?: true | DeclaredNetworkRulesCountAggregateInputType;
|
|
78
|
+
/**
|
|
79
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
80
|
+
*
|
|
81
|
+
* Select which fields to find the minimum value
|
|
82
|
+
**/
|
|
83
|
+
_min?: DeclaredNetworkRulesMinAggregateInputType;
|
|
84
|
+
/**
|
|
85
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
86
|
+
*
|
|
87
|
+
* Select which fields to find the maximum value
|
|
88
|
+
**/
|
|
89
|
+
_max?: DeclaredNetworkRulesMaxAggregateInputType;
|
|
90
|
+
};
|
|
91
|
+
export type GetDeclaredNetworkRulesAggregateType<T extends DeclaredNetworkRulesAggregateArgs> = {
|
|
92
|
+
[P in keyof T & keyof AggregateDeclaredNetworkRules]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDeclaredNetworkRules[P]> : Prisma.GetScalarType<T[P], AggregateDeclaredNetworkRules[P]>;
|
|
93
|
+
};
|
|
94
|
+
export type DeclaredNetworkRulesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
95
|
+
where?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
96
|
+
orderBy?: Prisma.DeclaredNetworkRulesOrderByWithAggregationInput | Prisma.DeclaredNetworkRulesOrderByWithAggregationInput[];
|
|
97
|
+
by: Prisma.DeclaredNetworkRulesScalarFieldEnum[] | Prisma.DeclaredNetworkRulesScalarFieldEnum;
|
|
98
|
+
having?: Prisma.DeclaredNetworkRulesScalarWhereWithAggregatesInput;
|
|
99
|
+
take?: number;
|
|
100
|
+
skip?: number;
|
|
101
|
+
_count?: DeclaredNetworkRulesCountAggregateInputType | true;
|
|
102
|
+
_min?: DeclaredNetworkRulesMinAggregateInputType;
|
|
103
|
+
_max?: DeclaredNetworkRulesMaxAggregateInputType;
|
|
104
|
+
};
|
|
105
|
+
export type DeclaredNetworkRulesGroupByOutputType = {
|
|
106
|
+
fleetId: string;
|
|
107
|
+
shipId: string;
|
|
108
|
+
rules: runtime.JsonValue;
|
|
109
|
+
_count: DeclaredNetworkRulesCountAggregateOutputType | null;
|
|
110
|
+
_min: DeclaredNetworkRulesMinAggregateOutputType | null;
|
|
111
|
+
_max: DeclaredNetworkRulesMaxAggregateOutputType | null;
|
|
112
|
+
};
|
|
113
|
+
export type GetDeclaredNetworkRulesGroupByPayload<T extends DeclaredNetworkRulesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DeclaredNetworkRulesGroupByOutputType, T['by']> & {
|
|
114
|
+
[P in ((keyof T) & (keyof DeclaredNetworkRulesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DeclaredNetworkRulesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DeclaredNetworkRulesGroupByOutputType[P]>;
|
|
115
|
+
}>>;
|
|
116
|
+
export type DeclaredNetworkRulesWhereInput = {
|
|
117
|
+
AND?: Prisma.DeclaredNetworkRulesWhereInput | Prisma.DeclaredNetworkRulesWhereInput[];
|
|
118
|
+
OR?: Prisma.DeclaredNetworkRulesWhereInput[];
|
|
119
|
+
NOT?: Prisma.DeclaredNetworkRulesWhereInput | Prisma.DeclaredNetworkRulesWhereInput[];
|
|
120
|
+
fleetId?: Prisma.StringFilter<"DeclaredNetworkRules"> | string;
|
|
121
|
+
shipId?: Prisma.StringFilter<"DeclaredNetworkRules"> | string;
|
|
122
|
+
rules?: Prisma.JsonFilter<"DeclaredNetworkRules">;
|
|
123
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
124
|
+
ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
|
|
125
|
+
};
|
|
126
|
+
export type DeclaredNetworkRulesOrderByWithRelationInput = {
|
|
127
|
+
fleetId?: Prisma.SortOrder;
|
|
128
|
+
shipId?: Prisma.SortOrder;
|
|
129
|
+
rules?: Prisma.SortOrder;
|
|
130
|
+
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
131
|
+
ship?: Prisma.ShipOrderByWithRelationInput;
|
|
132
|
+
};
|
|
133
|
+
export type DeclaredNetworkRulesWhereUniqueInput = Prisma.AtLeast<{
|
|
134
|
+
fleetId_shipId?: Prisma.DeclaredNetworkRulesFleetIdShipIdCompoundUniqueInput;
|
|
135
|
+
AND?: Prisma.DeclaredNetworkRulesWhereInput | Prisma.DeclaredNetworkRulesWhereInput[];
|
|
136
|
+
OR?: Prisma.DeclaredNetworkRulesWhereInput[];
|
|
137
|
+
NOT?: Prisma.DeclaredNetworkRulesWhereInput | Prisma.DeclaredNetworkRulesWhereInput[];
|
|
138
|
+
fleetId?: Prisma.StringFilter<"DeclaredNetworkRules"> | string;
|
|
139
|
+
shipId?: Prisma.StringFilter<"DeclaredNetworkRules"> | string;
|
|
140
|
+
rules?: Prisma.JsonFilter<"DeclaredNetworkRules">;
|
|
141
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
142
|
+
ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
|
|
143
|
+
}, "fleetId_shipId">;
|
|
144
|
+
export type DeclaredNetworkRulesOrderByWithAggregationInput = {
|
|
145
|
+
fleetId?: Prisma.SortOrder;
|
|
146
|
+
shipId?: Prisma.SortOrder;
|
|
147
|
+
rules?: Prisma.SortOrder;
|
|
148
|
+
_count?: Prisma.DeclaredNetworkRulesCountOrderByAggregateInput;
|
|
149
|
+
_max?: Prisma.DeclaredNetworkRulesMaxOrderByAggregateInput;
|
|
150
|
+
_min?: Prisma.DeclaredNetworkRulesMinOrderByAggregateInput;
|
|
151
|
+
};
|
|
152
|
+
export type DeclaredNetworkRulesScalarWhereWithAggregatesInput = {
|
|
153
|
+
AND?: Prisma.DeclaredNetworkRulesScalarWhereWithAggregatesInput | Prisma.DeclaredNetworkRulesScalarWhereWithAggregatesInput[];
|
|
154
|
+
OR?: Prisma.DeclaredNetworkRulesScalarWhereWithAggregatesInput[];
|
|
155
|
+
NOT?: Prisma.DeclaredNetworkRulesScalarWhereWithAggregatesInput | Prisma.DeclaredNetworkRulesScalarWhereWithAggregatesInput[];
|
|
156
|
+
fleetId?: Prisma.StringWithAggregatesFilter<"DeclaredNetworkRules"> | string;
|
|
157
|
+
shipId?: Prisma.StringWithAggregatesFilter<"DeclaredNetworkRules"> | string;
|
|
158
|
+
rules?: Prisma.JsonWithAggregatesFilter<"DeclaredNetworkRules">;
|
|
159
|
+
};
|
|
160
|
+
export type DeclaredNetworkRulesCreateInput = {
|
|
161
|
+
rules: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
162
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDeclaredNetworkRulesInput;
|
|
163
|
+
ship: Prisma.ShipCreateNestedOneWithoutDeclaredNetworkRulesInput;
|
|
164
|
+
};
|
|
165
|
+
export type DeclaredNetworkRulesUncheckedCreateInput = {
|
|
166
|
+
fleetId: string;
|
|
167
|
+
shipId: string;
|
|
168
|
+
rules: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
169
|
+
};
|
|
170
|
+
export type DeclaredNetworkRulesUpdateInput = {
|
|
171
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
172
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeclaredNetworkRulesNestedInput;
|
|
173
|
+
ship?: Prisma.ShipUpdateOneRequiredWithoutDeclaredNetworkRulesNestedInput;
|
|
174
|
+
};
|
|
175
|
+
export type DeclaredNetworkRulesUncheckedUpdateInput = {
|
|
176
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
177
|
+
shipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
178
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
179
|
+
};
|
|
180
|
+
export type DeclaredNetworkRulesCreateManyInput = {
|
|
181
|
+
fleetId: string;
|
|
182
|
+
shipId: string;
|
|
183
|
+
rules: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
184
|
+
};
|
|
185
|
+
export type DeclaredNetworkRulesUpdateManyMutationInput = {
|
|
186
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
187
|
+
};
|
|
188
|
+
export type DeclaredNetworkRulesUncheckedUpdateManyInput = {
|
|
189
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
190
|
+
shipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
191
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
192
|
+
};
|
|
193
|
+
export type DeclaredNetworkRulesListRelationFilter = {
|
|
194
|
+
every?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
195
|
+
some?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
196
|
+
none?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
197
|
+
};
|
|
198
|
+
export type DeclaredNetworkRulesOrderByRelationAggregateInput = {
|
|
199
|
+
_count?: Prisma.SortOrder;
|
|
200
|
+
};
|
|
201
|
+
export type DeclaredNetworkRulesFleetIdShipIdCompoundUniqueInput = {
|
|
202
|
+
fleetId: string;
|
|
203
|
+
shipId: string;
|
|
204
|
+
};
|
|
205
|
+
export type DeclaredNetworkRulesCountOrderByAggregateInput = {
|
|
206
|
+
fleetId?: Prisma.SortOrder;
|
|
207
|
+
shipId?: Prisma.SortOrder;
|
|
208
|
+
rules?: Prisma.SortOrder;
|
|
209
|
+
};
|
|
210
|
+
export type DeclaredNetworkRulesMaxOrderByAggregateInput = {
|
|
211
|
+
fleetId?: Prisma.SortOrder;
|
|
212
|
+
shipId?: Prisma.SortOrder;
|
|
213
|
+
};
|
|
214
|
+
export type DeclaredNetworkRulesMinOrderByAggregateInput = {
|
|
215
|
+
fleetId?: Prisma.SortOrder;
|
|
216
|
+
shipId?: Prisma.SortOrder;
|
|
217
|
+
};
|
|
218
|
+
export type DeclaredNetworkRulesCreateNestedManyWithoutFleetInput = {
|
|
219
|
+
create?: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutFleetInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput> | Prisma.DeclaredNetworkRulesCreateWithoutFleetInput[] | Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput[];
|
|
220
|
+
connectOrCreate?: Prisma.DeclaredNetworkRulesCreateOrConnectWithoutFleetInput | Prisma.DeclaredNetworkRulesCreateOrConnectWithoutFleetInput[];
|
|
221
|
+
createMany?: Prisma.DeclaredNetworkRulesCreateManyFleetInputEnvelope;
|
|
222
|
+
connect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
223
|
+
};
|
|
224
|
+
export type DeclaredNetworkRulesUncheckedCreateNestedManyWithoutFleetInput = {
|
|
225
|
+
create?: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutFleetInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput> | Prisma.DeclaredNetworkRulesCreateWithoutFleetInput[] | Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput[];
|
|
226
|
+
connectOrCreate?: Prisma.DeclaredNetworkRulesCreateOrConnectWithoutFleetInput | Prisma.DeclaredNetworkRulesCreateOrConnectWithoutFleetInput[];
|
|
227
|
+
createMany?: Prisma.DeclaredNetworkRulesCreateManyFleetInputEnvelope;
|
|
228
|
+
connect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
229
|
+
};
|
|
230
|
+
export type DeclaredNetworkRulesUpdateManyWithoutFleetNestedInput = {
|
|
231
|
+
create?: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutFleetInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput> | Prisma.DeclaredNetworkRulesCreateWithoutFleetInput[] | Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput[];
|
|
232
|
+
connectOrCreate?: Prisma.DeclaredNetworkRulesCreateOrConnectWithoutFleetInput | Prisma.DeclaredNetworkRulesCreateOrConnectWithoutFleetInput[];
|
|
233
|
+
upsert?: Prisma.DeclaredNetworkRulesUpsertWithWhereUniqueWithoutFleetInput | Prisma.DeclaredNetworkRulesUpsertWithWhereUniqueWithoutFleetInput[];
|
|
234
|
+
createMany?: Prisma.DeclaredNetworkRulesCreateManyFleetInputEnvelope;
|
|
235
|
+
set?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
236
|
+
disconnect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
237
|
+
delete?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
238
|
+
connect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
239
|
+
update?: Prisma.DeclaredNetworkRulesUpdateWithWhereUniqueWithoutFleetInput | Prisma.DeclaredNetworkRulesUpdateWithWhereUniqueWithoutFleetInput[];
|
|
240
|
+
updateMany?: Prisma.DeclaredNetworkRulesUpdateManyWithWhereWithoutFleetInput | Prisma.DeclaredNetworkRulesUpdateManyWithWhereWithoutFleetInput[];
|
|
241
|
+
deleteMany?: Prisma.DeclaredNetworkRulesScalarWhereInput | Prisma.DeclaredNetworkRulesScalarWhereInput[];
|
|
242
|
+
};
|
|
243
|
+
export type DeclaredNetworkRulesUncheckedUpdateManyWithoutFleetNestedInput = {
|
|
244
|
+
create?: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutFleetInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput> | Prisma.DeclaredNetworkRulesCreateWithoutFleetInput[] | Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput[];
|
|
245
|
+
connectOrCreate?: Prisma.DeclaredNetworkRulesCreateOrConnectWithoutFleetInput | Prisma.DeclaredNetworkRulesCreateOrConnectWithoutFleetInput[];
|
|
246
|
+
upsert?: Prisma.DeclaredNetworkRulesUpsertWithWhereUniqueWithoutFleetInput | Prisma.DeclaredNetworkRulesUpsertWithWhereUniqueWithoutFleetInput[];
|
|
247
|
+
createMany?: Prisma.DeclaredNetworkRulesCreateManyFleetInputEnvelope;
|
|
248
|
+
set?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
249
|
+
disconnect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
250
|
+
delete?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
251
|
+
connect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
252
|
+
update?: Prisma.DeclaredNetworkRulesUpdateWithWhereUniqueWithoutFleetInput | Prisma.DeclaredNetworkRulesUpdateWithWhereUniqueWithoutFleetInput[];
|
|
253
|
+
updateMany?: Prisma.DeclaredNetworkRulesUpdateManyWithWhereWithoutFleetInput | Prisma.DeclaredNetworkRulesUpdateManyWithWhereWithoutFleetInput[];
|
|
254
|
+
deleteMany?: Prisma.DeclaredNetworkRulesScalarWhereInput | Prisma.DeclaredNetworkRulesScalarWhereInput[];
|
|
255
|
+
};
|
|
256
|
+
export type DeclaredNetworkRulesCreateNestedManyWithoutShipInput = {
|
|
257
|
+
create?: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutShipInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput> | Prisma.DeclaredNetworkRulesCreateWithoutShipInput[] | Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput[];
|
|
258
|
+
connectOrCreate?: Prisma.DeclaredNetworkRulesCreateOrConnectWithoutShipInput | Prisma.DeclaredNetworkRulesCreateOrConnectWithoutShipInput[];
|
|
259
|
+
createMany?: Prisma.DeclaredNetworkRulesCreateManyShipInputEnvelope;
|
|
260
|
+
connect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
261
|
+
};
|
|
262
|
+
export type DeclaredNetworkRulesUncheckedCreateNestedManyWithoutShipInput = {
|
|
263
|
+
create?: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutShipInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput> | Prisma.DeclaredNetworkRulesCreateWithoutShipInput[] | Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput[];
|
|
264
|
+
connectOrCreate?: Prisma.DeclaredNetworkRulesCreateOrConnectWithoutShipInput | Prisma.DeclaredNetworkRulesCreateOrConnectWithoutShipInput[];
|
|
265
|
+
createMany?: Prisma.DeclaredNetworkRulesCreateManyShipInputEnvelope;
|
|
266
|
+
connect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
267
|
+
};
|
|
268
|
+
export type DeclaredNetworkRulesUpdateManyWithoutShipNestedInput = {
|
|
269
|
+
create?: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutShipInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput> | Prisma.DeclaredNetworkRulesCreateWithoutShipInput[] | Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput[];
|
|
270
|
+
connectOrCreate?: Prisma.DeclaredNetworkRulesCreateOrConnectWithoutShipInput | Prisma.DeclaredNetworkRulesCreateOrConnectWithoutShipInput[];
|
|
271
|
+
upsert?: Prisma.DeclaredNetworkRulesUpsertWithWhereUniqueWithoutShipInput | Prisma.DeclaredNetworkRulesUpsertWithWhereUniqueWithoutShipInput[];
|
|
272
|
+
createMany?: Prisma.DeclaredNetworkRulesCreateManyShipInputEnvelope;
|
|
273
|
+
set?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
274
|
+
disconnect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
275
|
+
delete?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
276
|
+
connect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
277
|
+
update?: Prisma.DeclaredNetworkRulesUpdateWithWhereUniqueWithoutShipInput | Prisma.DeclaredNetworkRulesUpdateWithWhereUniqueWithoutShipInput[];
|
|
278
|
+
updateMany?: Prisma.DeclaredNetworkRulesUpdateManyWithWhereWithoutShipInput | Prisma.DeclaredNetworkRulesUpdateManyWithWhereWithoutShipInput[];
|
|
279
|
+
deleteMany?: Prisma.DeclaredNetworkRulesScalarWhereInput | Prisma.DeclaredNetworkRulesScalarWhereInput[];
|
|
280
|
+
};
|
|
281
|
+
export type DeclaredNetworkRulesUncheckedUpdateManyWithoutShipNestedInput = {
|
|
282
|
+
create?: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutShipInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput> | Prisma.DeclaredNetworkRulesCreateWithoutShipInput[] | Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput[];
|
|
283
|
+
connectOrCreate?: Prisma.DeclaredNetworkRulesCreateOrConnectWithoutShipInput | Prisma.DeclaredNetworkRulesCreateOrConnectWithoutShipInput[];
|
|
284
|
+
upsert?: Prisma.DeclaredNetworkRulesUpsertWithWhereUniqueWithoutShipInput | Prisma.DeclaredNetworkRulesUpsertWithWhereUniqueWithoutShipInput[];
|
|
285
|
+
createMany?: Prisma.DeclaredNetworkRulesCreateManyShipInputEnvelope;
|
|
286
|
+
set?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
287
|
+
disconnect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
288
|
+
delete?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
289
|
+
connect?: Prisma.DeclaredNetworkRulesWhereUniqueInput | Prisma.DeclaredNetworkRulesWhereUniqueInput[];
|
|
290
|
+
update?: Prisma.DeclaredNetworkRulesUpdateWithWhereUniqueWithoutShipInput | Prisma.DeclaredNetworkRulesUpdateWithWhereUniqueWithoutShipInput[];
|
|
291
|
+
updateMany?: Prisma.DeclaredNetworkRulesUpdateManyWithWhereWithoutShipInput | Prisma.DeclaredNetworkRulesUpdateManyWithWhereWithoutShipInput[];
|
|
292
|
+
deleteMany?: Prisma.DeclaredNetworkRulesScalarWhereInput | Prisma.DeclaredNetworkRulesScalarWhereInput[];
|
|
293
|
+
};
|
|
294
|
+
export type DeclaredNetworkRulesCreateWithoutFleetInput = {
|
|
295
|
+
rules: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
296
|
+
ship: Prisma.ShipCreateNestedOneWithoutDeclaredNetworkRulesInput;
|
|
297
|
+
};
|
|
298
|
+
export type DeclaredNetworkRulesUncheckedCreateWithoutFleetInput = {
|
|
299
|
+
shipId: string;
|
|
300
|
+
rules: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
301
|
+
};
|
|
302
|
+
export type DeclaredNetworkRulesCreateOrConnectWithoutFleetInput = {
|
|
303
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
304
|
+
create: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutFleetInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput>;
|
|
305
|
+
};
|
|
306
|
+
export type DeclaredNetworkRulesCreateManyFleetInputEnvelope = {
|
|
307
|
+
data: Prisma.DeclaredNetworkRulesCreateManyFleetInput | Prisma.DeclaredNetworkRulesCreateManyFleetInput[];
|
|
308
|
+
skipDuplicates?: boolean;
|
|
309
|
+
};
|
|
310
|
+
export type DeclaredNetworkRulesUpsertWithWhereUniqueWithoutFleetInput = {
|
|
311
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
312
|
+
update: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateWithoutFleetInput, Prisma.DeclaredNetworkRulesUncheckedUpdateWithoutFleetInput>;
|
|
313
|
+
create: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutFleetInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutFleetInput>;
|
|
314
|
+
};
|
|
315
|
+
export type DeclaredNetworkRulesUpdateWithWhereUniqueWithoutFleetInput = {
|
|
316
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
317
|
+
data: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateWithoutFleetInput, Prisma.DeclaredNetworkRulesUncheckedUpdateWithoutFleetInput>;
|
|
318
|
+
};
|
|
319
|
+
export type DeclaredNetworkRulesUpdateManyWithWhereWithoutFleetInput = {
|
|
320
|
+
where: Prisma.DeclaredNetworkRulesScalarWhereInput;
|
|
321
|
+
data: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateManyMutationInput, Prisma.DeclaredNetworkRulesUncheckedUpdateManyWithoutFleetInput>;
|
|
322
|
+
};
|
|
323
|
+
export type DeclaredNetworkRulesScalarWhereInput = {
|
|
324
|
+
AND?: Prisma.DeclaredNetworkRulesScalarWhereInput | Prisma.DeclaredNetworkRulesScalarWhereInput[];
|
|
325
|
+
OR?: Prisma.DeclaredNetworkRulesScalarWhereInput[];
|
|
326
|
+
NOT?: Prisma.DeclaredNetworkRulesScalarWhereInput | Prisma.DeclaredNetworkRulesScalarWhereInput[];
|
|
327
|
+
fleetId?: Prisma.StringFilter<"DeclaredNetworkRules"> | string;
|
|
328
|
+
shipId?: Prisma.StringFilter<"DeclaredNetworkRules"> | string;
|
|
329
|
+
rules?: Prisma.JsonFilter<"DeclaredNetworkRules">;
|
|
330
|
+
};
|
|
331
|
+
export type DeclaredNetworkRulesCreateWithoutShipInput = {
|
|
332
|
+
rules: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
333
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDeclaredNetworkRulesInput;
|
|
334
|
+
};
|
|
335
|
+
export type DeclaredNetworkRulesUncheckedCreateWithoutShipInput = {
|
|
336
|
+
rules: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
337
|
+
};
|
|
338
|
+
export type DeclaredNetworkRulesCreateOrConnectWithoutShipInput = {
|
|
339
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
340
|
+
create: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutShipInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput>;
|
|
341
|
+
};
|
|
342
|
+
export type DeclaredNetworkRulesCreateManyShipInputEnvelope = {
|
|
343
|
+
data: Prisma.DeclaredNetworkRulesCreateManyShipInput | Prisma.DeclaredNetworkRulesCreateManyShipInput[];
|
|
344
|
+
skipDuplicates?: boolean;
|
|
345
|
+
};
|
|
346
|
+
export type DeclaredNetworkRulesUpsertWithWhereUniqueWithoutShipInput = {
|
|
347
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
348
|
+
update: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateWithoutShipInput, Prisma.DeclaredNetworkRulesUncheckedUpdateWithoutShipInput>;
|
|
349
|
+
create: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateWithoutShipInput, Prisma.DeclaredNetworkRulesUncheckedCreateWithoutShipInput>;
|
|
350
|
+
};
|
|
351
|
+
export type DeclaredNetworkRulesUpdateWithWhereUniqueWithoutShipInput = {
|
|
352
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
353
|
+
data: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateWithoutShipInput, Prisma.DeclaredNetworkRulesUncheckedUpdateWithoutShipInput>;
|
|
354
|
+
};
|
|
355
|
+
export type DeclaredNetworkRulesUpdateManyWithWhereWithoutShipInput = {
|
|
356
|
+
where: Prisma.DeclaredNetworkRulesScalarWhereInput;
|
|
357
|
+
data: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateManyMutationInput, Prisma.DeclaredNetworkRulesUncheckedUpdateManyWithoutShipInput>;
|
|
358
|
+
};
|
|
359
|
+
export type DeclaredNetworkRulesCreateManyFleetInput = {
|
|
360
|
+
shipId: string;
|
|
361
|
+
rules: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
362
|
+
};
|
|
363
|
+
export type DeclaredNetworkRulesUpdateWithoutFleetInput = {
|
|
364
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
365
|
+
ship?: Prisma.ShipUpdateOneRequiredWithoutDeclaredNetworkRulesNestedInput;
|
|
366
|
+
};
|
|
367
|
+
export type DeclaredNetworkRulesUncheckedUpdateWithoutFleetInput = {
|
|
368
|
+
shipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
369
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
370
|
+
};
|
|
371
|
+
export type DeclaredNetworkRulesUncheckedUpdateManyWithoutFleetInput = {
|
|
372
|
+
shipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
373
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
374
|
+
};
|
|
375
|
+
export type DeclaredNetworkRulesCreateManyShipInput = {
|
|
376
|
+
rules: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
377
|
+
};
|
|
378
|
+
export type DeclaredNetworkRulesUpdateWithoutShipInput = {
|
|
379
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
380
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeclaredNetworkRulesNestedInput;
|
|
381
|
+
};
|
|
382
|
+
export type DeclaredNetworkRulesUncheckedUpdateWithoutShipInput = {
|
|
383
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
384
|
+
};
|
|
385
|
+
export type DeclaredNetworkRulesUncheckedUpdateManyWithoutShipInput = {
|
|
386
|
+
rules?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
387
|
+
};
|
|
388
|
+
export type DeclaredNetworkRulesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
389
|
+
fleetId?: boolean;
|
|
390
|
+
shipId?: boolean;
|
|
391
|
+
rules?: boolean;
|
|
392
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
393
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
394
|
+
}, ExtArgs["result"]["declaredNetworkRules"]>;
|
|
395
|
+
export type DeclaredNetworkRulesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
396
|
+
fleetId?: boolean;
|
|
397
|
+
shipId?: boolean;
|
|
398
|
+
rules?: boolean;
|
|
399
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
400
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
401
|
+
}, ExtArgs["result"]["declaredNetworkRules"]>;
|
|
402
|
+
export type DeclaredNetworkRulesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
403
|
+
fleetId?: boolean;
|
|
404
|
+
shipId?: boolean;
|
|
405
|
+
rules?: boolean;
|
|
406
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
407
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
408
|
+
}, ExtArgs["result"]["declaredNetworkRules"]>;
|
|
409
|
+
export type DeclaredNetworkRulesSelectScalar = {
|
|
410
|
+
fleetId?: boolean;
|
|
411
|
+
shipId?: boolean;
|
|
412
|
+
rules?: boolean;
|
|
413
|
+
};
|
|
414
|
+
export type DeclaredNetworkRulesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "shipId" | "rules", ExtArgs["result"]["declaredNetworkRules"]>;
|
|
415
|
+
export type DeclaredNetworkRulesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
416
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
417
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
418
|
+
};
|
|
419
|
+
export type DeclaredNetworkRulesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
420
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
421
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
422
|
+
};
|
|
423
|
+
export type DeclaredNetworkRulesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
424
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
425
|
+
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
426
|
+
};
|
|
427
|
+
export type $DeclaredNetworkRulesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
428
|
+
name: "DeclaredNetworkRules";
|
|
429
|
+
objects: {
|
|
430
|
+
fleet: Prisma.$FleetPayload<ExtArgs>;
|
|
431
|
+
ship: Prisma.$ShipPayload<ExtArgs>;
|
|
432
|
+
};
|
|
433
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
434
|
+
fleetId: string;
|
|
435
|
+
shipId: string;
|
|
436
|
+
rules: runtime.JsonValue;
|
|
437
|
+
}, ExtArgs["result"]["declaredNetworkRules"]>;
|
|
438
|
+
composites: {};
|
|
439
|
+
};
|
|
440
|
+
export type DeclaredNetworkRulesGetPayload<S extends boolean | null | undefined | DeclaredNetworkRulesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload, S>;
|
|
441
|
+
export type DeclaredNetworkRulesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DeclaredNetworkRulesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
442
|
+
select?: DeclaredNetworkRulesCountAggregateInputType | true;
|
|
443
|
+
};
|
|
444
|
+
export interface DeclaredNetworkRulesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
445
|
+
[K: symbol]: {
|
|
446
|
+
types: Prisma.TypeMap<ExtArgs>['model']['DeclaredNetworkRules'];
|
|
447
|
+
meta: {
|
|
448
|
+
name: 'DeclaredNetworkRules';
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
/**
|
|
452
|
+
* Find zero or one DeclaredNetworkRules that matches the filter.
|
|
453
|
+
* @param {DeclaredNetworkRulesFindUniqueArgs} args - Arguments to find a DeclaredNetworkRules
|
|
454
|
+
* @example
|
|
455
|
+
* // Get one DeclaredNetworkRules
|
|
456
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.findUnique({
|
|
457
|
+
* where: {
|
|
458
|
+
* // ... provide filter here
|
|
459
|
+
* }
|
|
460
|
+
* })
|
|
461
|
+
*/
|
|
462
|
+
findUnique<T extends DeclaredNetworkRulesFindUniqueArgs>(args: Prisma.SelectSubset<T, DeclaredNetworkRulesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DeclaredNetworkRulesClient<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
463
|
+
/**
|
|
464
|
+
* Find one DeclaredNetworkRules that matches the filter or throw an error with `error.code='P2025'`
|
|
465
|
+
* if no matches were found.
|
|
466
|
+
* @param {DeclaredNetworkRulesFindUniqueOrThrowArgs} args - Arguments to find a DeclaredNetworkRules
|
|
467
|
+
* @example
|
|
468
|
+
* // Get one DeclaredNetworkRules
|
|
469
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.findUniqueOrThrow({
|
|
470
|
+
* where: {
|
|
471
|
+
* // ... provide filter here
|
|
472
|
+
* }
|
|
473
|
+
* })
|
|
474
|
+
*/
|
|
475
|
+
findUniqueOrThrow<T extends DeclaredNetworkRulesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DeclaredNetworkRulesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeclaredNetworkRulesClient<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
476
|
+
/**
|
|
477
|
+
* Find the first DeclaredNetworkRules that matches the filter.
|
|
478
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
479
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
480
|
+
* @param {DeclaredNetworkRulesFindFirstArgs} args - Arguments to find a DeclaredNetworkRules
|
|
481
|
+
* @example
|
|
482
|
+
* // Get one DeclaredNetworkRules
|
|
483
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.findFirst({
|
|
484
|
+
* where: {
|
|
485
|
+
* // ... provide filter here
|
|
486
|
+
* }
|
|
487
|
+
* })
|
|
488
|
+
*/
|
|
489
|
+
findFirst<T extends DeclaredNetworkRulesFindFirstArgs>(args?: Prisma.SelectSubset<T, DeclaredNetworkRulesFindFirstArgs<ExtArgs>>): Prisma.Prisma__DeclaredNetworkRulesClient<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
490
|
+
/**
|
|
491
|
+
* Find the first DeclaredNetworkRules that matches the filter or
|
|
492
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
493
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
494
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
495
|
+
* @param {DeclaredNetworkRulesFindFirstOrThrowArgs} args - Arguments to find a DeclaredNetworkRules
|
|
496
|
+
* @example
|
|
497
|
+
* // Get one DeclaredNetworkRules
|
|
498
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.findFirstOrThrow({
|
|
499
|
+
* where: {
|
|
500
|
+
* // ... provide filter here
|
|
501
|
+
* }
|
|
502
|
+
* })
|
|
503
|
+
*/
|
|
504
|
+
findFirstOrThrow<T extends DeclaredNetworkRulesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DeclaredNetworkRulesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeclaredNetworkRulesClient<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
505
|
+
/**
|
|
506
|
+
* Find zero or more DeclaredNetworkRules that matches the filter.
|
|
507
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
508
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
509
|
+
* @param {DeclaredNetworkRulesFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
510
|
+
* @example
|
|
511
|
+
* // Get all DeclaredNetworkRules
|
|
512
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.findMany()
|
|
513
|
+
*
|
|
514
|
+
* // Get first 10 DeclaredNetworkRules
|
|
515
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.findMany({ take: 10 })
|
|
516
|
+
*
|
|
517
|
+
* // Only select the `fleetId`
|
|
518
|
+
* const declaredNetworkRulesWithFleetIdOnly = await prisma.declaredNetworkRules.findMany({ select: { fleetId: true } })
|
|
519
|
+
*
|
|
520
|
+
*/
|
|
521
|
+
findMany<T extends DeclaredNetworkRulesFindManyArgs>(args?: Prisma.SelectSubset<T, DeclaredNetworkRulesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
522
|
+
/**
|
|
523
|
+
* Create a DeclaredNetworkRules.
|
|
524
|
+
* @param {DeclaredNetworkRulesCreateArgs} args - Arguments to create a DeclaredNetworkRules.
|
|
525
|
+
* @example
|
|
526
|
+
* // Create one DeclaredNetworkRules
|
|
527
|
+
* const DeclaredNetworkRules = await prisma.declaredNetworkRules.create({
|
|
528
|
+
* data: {
|
|
529
|
+
* // ... data to create a DeclaredNetworkRules
|
|
530
|
+
* }
|
|
531
|
+
* })
|
|
532
|
+
*
|
|
533
|
+
*/
|
|
534
|
+
create<T extends DeclaredNetworkRulesCreateArgs>(args: Prisma.SelectSubset<T, DeclaredNetworkRulesCreateArgs<ExtArgs>>): Prisma.Prisma__DeclaredNetworkRulesClient<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
535
|
+
/**
|
|
536
|
+
* Create many DeclaredNetworkRules.
|
|
537
|
+
* @param {DeclaredNetworkRulesCreateManyArgs} args - Arguments to create many DeclaredNetworkRules.
|
|
538
|
+
* @example
|
|
539
|
+
* // Create many DeclaredNetworkRules
|
|
540
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.createMany({
|
|
541
|
+
* data: [
|
|
542
|
+
* // ... provide data here
|
|
543
|
+
* ]
|
|
544
|
+
* })
|
|
545
|
+
*
|
|
546
|
+
*/
|
|
547
|
+
createMany<T extends DeclaredNetworkRulesCreateManyArgs>(args?: Prisma.SelectSubset<T, DeclaredNetworkRulesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
548
|
+
/**
|
|
549
|
+
* Create many DeclaredNetworkRules and returns the data saved in the database.
|
|
550
|
+
* @param {DeclaredNetworkRulesCreateManyAndReturnArgs} args - Arguments to create many DeclaredNetworkRules.
|
|
551
|
+
* @example
|
|
552
|
+
* // Create many DeclaredNetworkRules
|
|
553
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.createManyAndReturn({
|
|
554
|
+
* data: [
|
|
555
|
+
* // ... provide data here
|
|
556
|
+
* ]
|
|
557
|
+
* })
|
|
558
|
+
*
|
|
559
|
+
* // Create many DeclaredNetworkRules and only return the `fleetId`
|
|
560
|
+
* const declaredNetworkRulesWithFleetIdOnly = await prisma.declaredNetworkRules.createManyAndReturn({
|
|
561
|
+
* select: { fleetId: true },
|
|
562
|
+
* data: [
|
|
563
|
+
* // ... provide data here
|
|
564
|
+
* ]
|
|
565
|
+
* })
|
|
566
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
567
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
568
|
+
*
|
|
569
|
+
*/
|
|
570
|
+
createManyAndReturn<T extends DeclaredNetworkRulesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DeclaredNetworkRulesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
571
|
+
/**
|
|
572
|
+
* Delete a DeclaredNetworkRules.
|
|
573
|
+
* @param {DeclaredNetworkRulesDeleteArgs} args - Arguments to delete one DeclaredNetworkRules.
|
|
574
|
+
* @example
|
|
575
|
+
* // Delete one DeclaredNetworkRules
|
|
576
|
+
* const DeclaredNetworkRules = await prisma.declaredNetworkRules.delete({
|
|
577
|
+
* where: {
|
|
578
|
+
* // ... filter to delete one DeclaredNetworkRules
|
|
579
|
+
* }
|
|
580
|
+
* })
|
|
581
|
+
*
|
|
582
|
+
*/
|
|
583
|
+
delete<T extends DeclaredNetworkRulesDeleteArgs>(args: Prisma.SelectSubset<T, DeclaredNetworkRulesDeleteArgs<ExtArgs>>): Prisma.Prisma__DeclaredNetworkRulesClient<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
584
|
+
/**
|
|
585
|
+
* Update one DeclaredNetworkRules.
|
|
586
|
+
* @param {DeclaredNetworkRulesUpdateArgs} args - Arguments to update one DeclaredNetworkRules.
|
|
587
|
+
* @example
|
|
588
|
+
* // Update one DeclaredNetworkRules
|
|
589
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.update({
|
|
590
|
+
* where: {
|
|
591
|
+
* // ... provide filter here
|
|
592
|
+
* },
|
|
593
|
+
* data: {
|
|
594
|
+
* // ... provide data here
|
|
595
|
+
* }
|
|
596
|
+
* })
|
|
597
|
+
*
|
|
598
|
+
*/
|
|
599
|
+
update<T extends DeclaredNetworkRulesUpdateArgs>(args: Prisma.SelectSubset<T, DeclaredNetworkRulesUpdateArgs<ExtArgs>>): Prisma.Prisma__DeclaredNetworkRulesClient<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
600
|
+
/**
|
|
601
|
+
* Delete zero or more DeclaredNetworkRules.
|
|
602
|
+
* @param {DeclaredNetworkRulesDeleteManyArgs} args - Arguments to filter DeclaredNetworkRules to delete.
|
|
603
|
+
* @example
|
|
604
|
+
* // Delete a few DeclaredNetworkRules
|
|
605
|
+
* const { count } = await prisma.declaredNetworkRules.deleteMany({
|
|
606
|
+
* where: {
|
|
607
|
+
* // ... provide filter here
|
|
608
|
+
* }
|
|
609
|
+
* })
|
|
610
|
+
*
|
|
611
|
+
*/
|
|
612
|
+
deleteMany<T extends DeclaredNetworkRulesDeleteManyArgs>(args?: Prisma.SelectSubset<T, DeclaredNetworkRulesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
613
|
+
/**
|
|
614
|
+
* Update zero or more DeclaredNetworkRules.
|
|
615
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
616
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
617
|
+
* @param {DeclaredNetworkRulesUpdateManyArgs} args - Arguments to update one or more rows.
|
|
618
|
+
* @example
|
|
619
|
+
* // Update many DeclaredNetworkRules
|
|
620
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.updateMany({
|
|
621
|
+
* where: {
|
|
622
|
+
* // ... provide filter here
|
|
623
|
+
* },
|
|
624
|
+
* data: {
|
|
625
|
+
* // ... provide data here
|
|
626
|
+
* }
|
|
627
|
+
* })
|
|
628
|
+
*
|
|
629
|
+
*/
|
|
630
|
+
updateMany<T extends DeclaredNetworkRulesUpdateManyArgs>(args: Prisma.SelectSubset<T, DeclaredNetworkRulesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
631
|
+
/**
|
|
632
|
+
* Update zero or more DeclaredNetworkRules and returns the data updated in the database.
|
|
633
|
+
* @param {DeclaredNetworkRulesUpdateManyAndReturnArgs} args - Arguments to update many DeclaredNetworkRules.
|
|
634
|
+
* @example
|
|
635
|
+
* // Update many DeclaredNetworkRules
|
|
636
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.updateManyAndReturn({
|
|
637
|
+
* where: {
|
|
638
|
+
* // ... provide filter here
|
|
639
|
+
* },
|
|
640
|
+
* data: [
|
|
641
|
+
* // ... provide data here
|
|
642
|
+
* ]
|
|
643
|
+
* })
|
|
644
|
+
*
|
|
645
|
+
* // Update zero or more DeclaredNetworkRules and only return the `fleetId`
|
|
646
|
+
* const declaredNetworkRulesWithFleetIdOnly = await prisma.declaredNetworkRules.updateManyAndReturn({
|
|
647
|
+
* select: { fleetId: true },
|
|
648
|
+
* where: {
|
|
649
|
+
* // ... provide filter here
|
|
650
|
+
* },
|
|
651
|
+
* data: [
|
|
652
|
+
* // ... provide data here
|
|
653
|
+
* ]
|
|
654
|
+
* })
|
|
655
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
656
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
657
|
+
*
|
|
658
|
+
*/
|
|
659
|
+
updateManyAndReturn<T extends DeclaredNetworkRulesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DeclaredNetworkRulesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
660
|
+
/**
|
|
661
|
+
* Create or update one DeclaredNetworkRules.
|
|
662
|
+
* @param {DeclaredNetworkRulesUpsertArgs} args - Arguments to update or create a DeclaredNetworkRules.
|
|
663
|
+
* @example
|
|
664
|
+
* // Update or create a DeclaredNetworkRules
|
|
665
|
+
* const declaredNetworkRules = await prisma.declaredNetworkRules.upsert({
|
|
666
|
+
* create: {
|
|
667
|
+
* // ... data to create a DeclaredNetworkRules
|
|
668
|
+
* },
|
|
669
|
+
* update: {
|
|
670
|
+
* // ... in case it already exists, update
|
|
671
|
+
* },
|
|
672
|
+
* where: {
|
|
673
|
+
* // ... the filter for the DeclaredNetworkRules we want to update
|
|
674
|
+
* }
|
|
675
|
+
* })
|
|
676
|
+
*/
|
|
677
|
+
upsert<T extends DeclaredNetworkRulesUpsertArgs>(args: Prisma.SelectSubset<T, DeclaredNetworkRulesUpsertArgs<ExtArgs>>): Prisma.Prisma__DeclaredNetworkRulesClient<runtime.Types.Result.GetResult<Prisma.$DeclaredNetworkRulesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
678
|
+
/**
|
|
679
|
+
* Count the number of DeclaredNetworkRules.
|
|
680
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
681
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
682
|
+
* @param {DeclaredNetworkRulesCountArgs} args - Arguments to filter DeclaredNetworkRules to count.
|
|
683
|
+
* @example
|
|
684
|
+
* // Count the number of DeclaredNetworkRules
|
|
685
|
+
* const count = await prisma.declaredNetworkRules.count({
|
|
686
|
+
* where: {
|
|
687
|
+
* // ... the filter for the DeclaredNetworkRules we want to count
|
|
688
|
+
* }
|
|
689
|
+
* })
|
|
690
|
+
**/
|
|
691
|
+
count<T extends DeclaredNetworkRulesCountArgs>(args?: Prisma.Subset<T, DeclaredNetworkRulesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DeclaredNetworkRulesCountAggregateOutputType> : number>;
|
|
692
|
+
/**
|
|
693
|
+
* Allows you to perform aggregations operations on a DeclaredNetworkRules.
|
|
694
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
695
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
696
|
+
* @param {DeclaredNetworkRulesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
697
|
+
* @example
|
|
698
|
+
* // Ordered by age ascending
|
|
699
|
+
* // Where email contains prisma.io
|
|
700
|
+
* // Limited to the 10 users
|
|
701
|
+
* const aggregations = await prisma.user.aggregate({
|
|
702
|
+
* _avg: {
|
|
703
|
+
* age: true,
|
|
704
|
+
* },
|
|
705
|
+
* where: {
|
|
706
|
+
* email: {
|
|
707
|
+
* contains: "prisma.io",
|
|
708
|
+
* },
|
|
709
|
+
* },
|
|
710
|
+
* orderBy: {
|
|
711
|
+
* age: "asc",
|
|
712
|
+
* },
|
|
713
|
+
* take: 10,
|
|
714
|
+
* })
|
|
715
|
+
**/
|
|
716
|
+
aggregate<T extends DeclaredNetworkRulesAggregateArgs>(args: Prisma.Subset<T, DeclaredNetworkRulesAggregateArgs>): Prisma.PrismaPromise<GetDeclaredNetworkRulesAggregateType<T>>;
|
|
717
|
+
/**
|
|
718
|
+
* Group by DeclaredNetworkRules.
|
|
719
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
720
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
721
|
+
* @param {DeclaredNetworkRulesGroupByArgs} args - Group by arguments.
|
|
722
|
+
* @example
|
|
723
|
+
* // Group by city, order by createdAt, get count
|
|
724
|
+
* const result = await prisma.user.groupBy({
|
|
725
|
+
* by: ['city', 'createdAt'],
|
|
726
|
+
* orderBy: {
|
|
727
|
+
* createdAt: true
|
|
728
|
+
* },
|
|
729
|
+
* _count: {
|
|
730
|
+
* _all: true
|
|
731
|
+
* },
|
|
732
|
+
* })
|
|
733
|
+
*
|
|
734
|
+
**/
|
|
735
|
+
groupBy<T extends DeclaredNetworkRulesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
736
|
+
orderBy: DeclaredNetworkRulesGroupByArgs['orderBy'];
|
|
737
|
+
} : {
|
|
738
|
+
orderBy?: DeclaredNetworkRulesGroupByArgs['orderBy'];
|
|
739
|
+
}, 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 ? {
|
|
740
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
741
|
+
Error,
|
|
742
|
+
'Field ',
|
|
743
|
+
P,
|
|
744
|
+
` in "having" needs to be provided in "by"`
|
|
745
|
+
];
|
|
746
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
747
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
748
|
+
}[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 ? {} : {
|
|
749
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
750
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
751
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
752
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, DeclaredNetworkRulesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeclaredNetworkRulesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
753
|
+
/**
|
|
754
|
+
* Fields of the DeclaredNetworkRules model
|
|
755
|
+
*/
|
|
756
|
+
readonly fields: DeclaredNetworkRulesFieldRefs;
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* The delegate class that acts as a "Promise-like" for DeclaredNetworkRules.
|
|
760
|
+
* Why is this prefixed with `Prisma__`?
|
|
761
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
762
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
763
|
+
*/
|
|
764
|
+
export interface Prisma__DeclaredNetworkRulesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
765
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
766
|
+
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>;
|
|
767
|
+
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>;
|
|
768
|
+
/**
|
|
769
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
770
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
771
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
772
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
773
|
+
*/
|
|
774
|
+
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>;
|
|
775
|
+
/**
|
|
776
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
777
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
778
|
+
* @returns A Promise for the completion of the callback.
|
|
779
|
+
*/
|
|
780
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
781
|
+
/**
|
|
782
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
783
|
+
* resolved value cannot be modified from the callback.
|
|
784
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
785
|
+
* @returns A Promise for the completion of the callback.
|
|
786
|
+
*/
|
|
787
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* Fields of the DeclaredNetworkRules model
|
|
791
|
+
*/
|
|
792
|
+
export interface DeclaredNetworkRulesFieldRefs {
|
|
793
|
+
readonly fleetId: Prisma.FieldRef<"DeclaredNetworkRules", 'String'>;
|
|
794
|
+
readonly shipId: Prisma.FieldRef<"DeclaredNetworkRules", 'String'>;
|
|
795
|
+
readonly rules: Prisma.FieldRef<"DeclaredNetworkRules", 'Json'>;
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* DeclaredNetworkRules findUnique
|
|
799
|
+
*/
|
|
800
|
+
export type DeclaredNetworkRulesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
801
|
+
/**
|
|
802
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
803
|
+
*/
|
|
804
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
805
|
+
/**
|
|
806
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
807
|
+
*/
|
|
808
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
809
|
+
/**
|
|
810
|
+
* Choose, which related nodes to fetch as well
|
|
811
|
+
*/
|
|
812
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
813
|
+
/**
|
|
814
|
+
* Filter, which DeclaredNetworkRules to fetch.
|
|
815
|
+
*/
|
|
816
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
817
|
+
};
|
|
818
|
+
/**
|
|
819
|
+
* DeclaredNetworkRules findUniqueOrThrow
|
|
820
|
+
*/
|
|
821
|
+
export type DeclaredNetworkRulesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
822
|
+
/**
|
|
823
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
824
|
+
*/
|
|
825
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
826
|
+
/**
|
|
827
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
828
|
+
*/
|
|
829
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
830
|
+
/**
|
|
831
|
+
* Choose, which related nodes to fetch as well
|
|
832
|
+
*/
|
|
833
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
834
|
+
/**
|
|
835
|
+
* Filter, which DeclaredNetworkRules to fetch.
|
|
836
|
+
*/
|
|
837
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
838
|
+
};
|
|
839
|
+
/**
|
|
840
|
+
* DeclaredNetworkRules findFirst
|
|
841
|
+
*/
|
|
842
|
+
export type DeclaredNetworkRulesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
843
|
+
/**
|
|
844
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
845
|
+
*/
|
|
846
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
847
|
+
/**
|
|
848
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
849
|
+
*/
|
|
850
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
851
|
+
/**
|
|
852
|
+
* Choose, which related nodes to fetch as well
|
|
853
|
+
*/
|
|
854
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
855
|
+
/**
|
|
856
|
+
* Filter, which DeclaredNetworkRules to fetch.
|
|
857
|
+
*/
|
|
858
|
+
where?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
859
|
+
/**
|
|
860
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
861
|
+
*
|
|
862
|
+
* Determine the order of DeclaredNetworkRules to fetch.
|
|
863
|
+
*/
|
|
864
|
+
orderBy?: Prisma.DeclaredNetworkRulesOrderByWithRelationInput | Prisma.DeclaredNetworkRulesOrderByWithRelationInput[];
|
|
865
|
+
/**
|
|
866
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
867
|
+
*
|
|
868
|
+
* Sets the position for searching for DeclaredNetworkRules.
|
|
869
|
+
*/
|
|
870
|
+
cursor?: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
871
|
+
/**
|
|
872
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
873
|
+
*
|
|
874
|
+
* Take `±n` DeclaredNetworkRules from the position of the cursor.
|
|
875
|
+
*/
|
|
876
|
+
take?: number;
|
|
877
|
+
/**
|
|
878
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
879
|
+
*
|
|
880
|
+
* Skip the first `n` DeclaredNetworkRules.
|
|
881
|
+
*/
|
|
882
|
+
skip?: number;
|
|
883
|
+
/**
|
|
884
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
885
|
+
*
|
|
886
|
+
* Filter by unique combinations of DeclaredNetworkRules.
|
|
887
|
+
*/
|
|
888
|
+
distinct?: Prisma.DeclaredNetworkRulesScalarFieldEnum | Prisma.DeclaredNetworkRulesScalarFieldEnum[];
|
|
889
|
+
};
|
|
890
|
+
/**
|
|
891
|
+
* DeclaredNetworkRules findFirstOrThrow
|
|
892
|
+
*/
|
|
893
|
+
export type DeclaredNetworkRulesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
894
|
+
/**
|
|
895
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
896
|
+
*/
|
|
897
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
898
|
+
/**
|
|
899
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
900
|
+
*/
|
|
901
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
902
|
+
/**
|
|
903
|
+
* Choose, which related nodes to fetch as well
|
|
904
|
+
*/
|
|
905
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
906
|
+
/**
|
|
907
|
+
* Filter, which DeclaredNetworkRules to fetch.
|
|
908
|
+
*/
|
|
909
|
+
where?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
910
|
+
/**
|
|
911
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
912
|
+
*
|
|
913
|
+
* Determine the order of DeclaredNetworkRules to fetch.
|
|
914
|
+
*/
|
|
915
|
+
orderBy?: Prisma.DeclaredNetworkRulesOrderByWithRelationInput | Prisma.DeclaredNetworkRulesOrderByWithRelationInput[];
|
|
916
|
+
/**
|
|
917
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
918
|
+
*
|
|
919
|
+
* Sets the position for searching for DeclaredNetworkRules.
|
|
920
|
+
*/
|
|
921
|
+
cursor?: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
922
|
+
/**
|
|
923
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
924
|
+
*
|
|
925
|
+
* Take `±n` DeclaredNetworkRules from the position of the cursor.
|
|
926
|
+
*/
|
|
927
|
+
take?: number;
|
|
928
|
+
/**
|
|
929
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
930
|
+
*
|
|
931
|
+
* Skip the first `n` DeclaredNetworkRules.
|
|
932
|
+
*/
|
|
933
|
+
skip?: number;
|
|
934
|
+
/**
|
|
935
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
936
|
+
*
|
|
937
|
+
* Filter by unique combinations of DeclaredNetworkRules.
|
|
938
|
+
*/
|
|
939
|
+
distinct?: Prisma.DeclaredNetworkRulesScalarFieldEnum | Prisma.DeclaredNetworkRulesScalarFieldEnum[];
|
|
940
|
+
};
|
|
941
|
+
/**
|
|
942
|
+
* DeclaredNetworkRules findMany
|
|
943
|
+
*/
|
|
944
|
+
export type DeclaredNetworkRulesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
945
|
+
/**
|
|
946
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
947
|
+
*/
|
|
948
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
949
|
+
/**
|
|
950
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
951
|
+
*/
|
|
952
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
953
|
+
/**
|
|
954
|
+
* Choose, which related nodes to fetch as well
|
|
955
|
+
*/
|
|
956
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
957
|
+
/**
|
|
958
|
+
* Filter, which DeclaredNetworkRules to fetch.
|
|
959
|
+
*/
|
|
960
|
+
where?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
961
|
+
/**
|
|
962
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
963
|
+
*
|
|
964
|
+
* Determine the order of DeclaredNetworkRules to fetch.
|
|
965
|
+
*/
|
|
966
|
+
orderBy?: Prisma.DeclaredNetworkRulesOrderByWithRelationInput | Prisma.DeclaredNetworkRulesOrderByWithRelationInput[];
|
|
967
|
+
/**
|
|
968
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
969
|
+
*
|
|
970
|
+
* Sets the position for listing DeclaredNetworkRules.
|
|
971
|
+
*/
|
|
972
|
+
cursor?: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
973
|
+
/**
|
|
974
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
975
|
+
*
|
|
976
|
+
* Take `±n` DeclaredNetworkRules from the position of the cursor.
|
|
977
|
+
*/
|
|
978
|
+
take?: number;
|
|
979
|
+
/**
|
|
980
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
981
|
+
*
|
|
982
|
+
* Skip the first `n` DeclaredNetworkRules.
|
|
983
|
+
*/
|
|
984
|
+
skip?: number;
|
|
985
|
+
/**
|
|
986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
987
|
+
*
|
|
988
|
+
* Filter by unique combinations of DeclaredNetworkRules.
|
|
989
|
+
*/
|
|
990
|
+
distinct?: Prisma.DeclaredNetworkRulesScalarFieldEnum | Prisma.DeclaredNetworkRulesScalarFieldEnum[];
|
|
991
|
+
};
|
|
992
|
+
/**
|
|
993
|
+
* DeclaredNetworkRules create
|
|
994
|
+
*/
|
|
995
|
+
export type DeclaredNetworkRulesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
996
|
+
/**
|
|
997
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
998
|
+
*/
|
|
999
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
1000
|
+
/**
|
|
1001
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
1002
|
+
*/
|
|
1003
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* Choose, which related nodes to fetch as well
|
|
1006
|
+
*/
|
|
1007
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* The data needed to create a DeclaredNetworkRules.
|
|
1010
|
+
*/
|
|
1011
|
+
data: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateInput, Prisma.DeclaredNetworkRulesUncheckedCreateInput>;
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* DeclaredNetworkRules createMany
|
|
1015
|
+
*/
|
|
1016
|
+
export type DeclaredNetworkRulesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1017
|
+
/**
|
|
1018
|
+
* The data used to create many DeclaredNetworkRules.
|
|
1019
|
+
*/
|
|
1020
|
+
data: Prisma.DeclaredNetworkRulesCreateManyInput | Prisma.DeclaredNetworkRulesCreateManyInput[];
|
|
1021
|
+
skipDuplicates?: boolean;
|
|
1022
|
+
};
|
|
1023
|
+
/**
|
|
1024
|
+
* DeclaredNetworkRules createManyAndReturn
|
|
1025
|
+
*/
|
|
1026
|
+
export type DeclaredNetworkRulesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1027
|
+
/**
|
|
1028
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
1029
|
+
*/
|
|
1030
|
+
select?: Prisma.DeclaredNetworkRulesSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1031
|
+
/**
|
|
1032
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
1033
|
+
*/
|
|
1034
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
1035
|
+
/**
|
|
1036
|
+
* The data used to create many DeclaredNetworkRules.
|
|
1037
|
+
*/
|
|
1038
|
+
data: Prisma.DeclaredNetworkRulesCreateManyInput | Prisma.DeclaredNetworkRulesCreateManyInput[];
|
|
1039
|
+
skipDuplicates?: boolean;
|
|
1040
|
+
/**
|
|
1041
|
+
* Choose, which related nodes to fetch as well
|
|
1042
|
+
*/
|
|
1043
|
+
include?: Prisma.DeclaredNetworkRulesIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1044
|
+
};
|
|
1045
|
+
/**
|
|
1046
|
+
* DeclaredNetworkRules update
|
|
1047
|
+
*/
|
|
1048
|
+
export type DeclaredNetworkRulesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1049
|
+
/**
|
|
1050
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
1051
|
+
*/
|
|
1052
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
1053
|
+
/**
|
|
1054
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
1055
|
+
*/
|
|
1056
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
1057
|
+
/**
|
|
1058
|
+
* Choose, which related nodes to fetch as well
|
|
1059
|
+
*/
|
|
1060
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
1061
|
+
/**
|
|
1062
|
+
* The data needed to update a DeclaredNetworkRules.
|
|
1063
|
+
*/
|
|
1064
|
+
data: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateInput, Prisma.DeclaredNetworkRulesUncheckedUpdateInput>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Choose, which DeclaredNetworkRules to update.
|
|
1067
|
+
*/
|
|
1068
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
1069
|
+
};
|
|
1070
|
+
/**
|
|
1071
|
+
* DeclaredNetworkRules updateMany
|
|
1072
|
+
*/
|
|
1073
|
+
export type DeclaredNetworkRulesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1074
|
+
/**
|
|
1075
|
+
* The data used to update DeclaredNetworkRules.
|
|
1076
|
+
*/
|
|
1077
|
+
data: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateManyMutationInput, Prisma.DeclaredNetworkRulesUncheckedUpdateManyInput>;
|
|
1078
|
+
/**
|
|
1079
|
+
* Filter which DeclaredNetworkRules to update
|
|
1080
|
+
*/
|
|
1081
|
+
where?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
1082
|
+
/**
|
|
1083
|
+
* Limit how many DeclaredNetworkRules to update.
|
|
1084
|
+
*/
|
|
1085
|
+
limit?: number;
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* DeclaredNetworkRules updateManyAndReturn
|
|
1089
|
+
*/
|
|
1090
|
+
export type DeclaredNetworkRulesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
1093
|
+
*/
|
|
1094
|
+
select?: Prisma.DeclaredNetworkRulesSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
1097
|
+
*/
|
|
1098
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* The data used to update DeclaredNetworkRules.
|
|
1101
|
+
*/
|
|
1102
|
+
data: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateManyMutationInput, Prisma.DeclaredNetworkRulesUncheckedUpdateManyInput>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Filter which DeclaredNetworkRules to update
|
|
1105
|
+
*/
|
|
1106
|
+
where?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
1107
|
+
/**
|
|
1108
|
+
* Limit how many DeclaredNetworkRules to update.
|
|
1109
|
+
*/
|
|
1110
|
+
limit?: number;
|
|
1111
|
+
/**
|
|
1112
|
+
* Choose, which related nodes to fetch as well
|
|
1113
|
+
*/
|
|
1114
|
+
include?: Prisma.DeclaredNetworkRulesIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1115
|
+
};
|
|
1116
|
+
/**
|
|
1117
|
+
* DeclaredNetworkRules upsert
|
|
1118
|
+
*/
|
|
1119
|
+
export type DeclaredNetworkRulesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1120
|
+
/**
|
|
1121
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
1122
|
+
*/
|
|
1123
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
1126
|
+
*/
|
|
1127
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* Choose, which related nodes to fetch as well
|
|
1130
|
+
*/
|
|
1131
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
1132
|
+
/**
|
|
1133
|
+
* The filter to search for the DeclaredNetworkRules to update in case it exists.
|
|
1134
|
+
*/
|
|
1135
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
1136
|
+
/**
|
|
1137
|
+
* In case the DeclaredNetworkRules found by the `where` argument doesn't exist, create a new DeclaredNetworkRules with this data.
|
|
1138
|
+
*/
|
|
1139
|
+
create: Prisma.XOR<Prisma.DeclaredNetworkRulesCreateInput, Prisma.DeclaredNetworkRulesUncheckedCreateInput>;
|
|
1140
|
+
/**
|
|
1141
|
+
* In case the DeclaredNetworkRules was found with the provided `where` argument, update it with this data.
|
|
1142
|
+
*/
|
|
1143
|
+
update: Prisma.XOR<Prisma.DeclaredNetworkRulesUpdateInput, Prisma.DeclaredNetworkRulesUncheckedUpdateInput>;
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* DeclaredNetworkRules delete
|
|
1147
|
+
*/
|
|
1148
|
+
export type DeclaredNetworkRulesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1149
|
+
/**
|
|
1150
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
1151
|
+
*/
|
|
1152
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
1153
|
+
/**
|
|
1154
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
1155
|
+
*/
|
|
1156
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
1157
|
+
/**
|
|
1158
|
+
* Choose, which related nodes to fetch as well
|
|
1159
|
+
*/
|
|
1160
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
1161
|
+
/**
|
|
1162
|
+
* Filter which DeclaredNetworkRules to delete.
|
|
1163
|
+
*/
|
|
1164
|
+
where: Prisma.DeclaredNetworkRulesWhereUniqueInput;
|
|
1165
|
+
};
|
|
1166
|
+
/**
|
|
1167
|
+
* DeclaredNetworkRules deleteMany
|
|
1168
|
+
*/
|
|
1169
|
+
export type DeclaredNetworkRulesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1170
|
+
/**
|
|
1171
|
+
* Filter which DeclaredNetworkRules to delete
|
|
1172
|
+
*/
|
|
1173
|
+
where?: Prisma.DeclaredNetworkRulesWhereInput;
|
|
1174
|
+
/**
|
|
1175
|
+
* Limit how many DeclaredNetworkRules to delete.
|
|
1176
|
+
*/
|
|
1177
|
+
limit?: number;
|
|
1178
|
+
};
|
|
1179
|
+
/**
|
|
1180
|
+
* DeclaredNetworkRules without action
|
|
1181
|
+
*/
|
|
1182
|
+
export type DeclaredNetworkRulesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1183
|
+
/**
|
|
1184
|
+
* Select specific fields to fetch from the DeclaredNetworkRules
|
|
1185
|
+
*/
|
|
1186
|
+
select?: Prisma.DeclaredNetworkRulesSelect<ExtArgs> | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* Omit specific fields from the DeclaredNetworkRules
|
|
1189
|
+
*/
|
|
1190
|
+
omit?: Prisma.DeclaredNetworkRulesOmit<ExtArgs> | null;
|
|
1191
|
+
/**
|
|
1192
|
+
* Choose, which related nodes to fetch as well
|
|
1193
|
+
*/
|
|
1194
|
+
include?: Prisma.DeclaredNetworkRulesInclude<ExtArgs> | null;
|
|
1195
|
+
};
|