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