@aeolus-fleet/core 0.29.1 → 0.30.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 +21 -0
- package/dist/adapters/http/server.js +5 -0
- package/dist/adapters/http/server.js.map +1 -1
- package/dist/adapters/prisma/generated/browser.d.ts +24 -0
- package/dist/adapters/prisma/generated/client.d.ts +24 -0
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +30 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +33 -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 +262 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +33 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +36 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +33 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +993 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshot.d.ts +1282 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshot.js +2 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshot.js.map +1 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshotDelivery.d.ts +1470 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshotDelivery.js +2 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshotDelivery.js.map +1 -0
- package/dist/adapters/prisma/generated/models/MessageDay.d.ts +1193 -0
- package/dist/adapters/prisma/generated/models/MessageDay.js +2 -0
- package/dist/adapters/prisma/generated/models/MessageDay.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +3 -0
- package/dist/adapters/prisma/health-snapshots.d.ts +30 -0
- package/dist/adapters/prisma/health-snapshots.js +250 -0
- package/dist/adapters/prisma/health-snapshots.js.map +1 -0
- package/dist/adapters/prisma/health.d.ts +58 -1
- package/dist/adapters/prisma/health.js +157 -65
- package/dist/adapters/prisma/health.js.map +1 -1
- package/dist/adapters/prisma/history.d.ts +19 -0
- package/dist/adapters/prisma/history.js +167 -69
- package/dist/adapters/prisma/history.js.map +1 -1
- package/dist/adapters/prisma/installation.d.ts +5 -1
- package/dist/adapters/prisma/installation.js +27 -11
- package/dist/adapters/prisma/installation.js.map +1 -1
- package/dist/adapters/prisma/messaging.d.ts +12 -1
- package/dist/adapters/prisma/messaging.js +33 -1
- package/dist/adapters/prisma/messaging.js.map +1 -1
- package/dist/adapters/prisma/network.js +4 -3
- package/dist/adapters/prisma/network.js.map +1 -1
- package/dist/adapters/prisma/registry.d.ts +26 -7
- package/dist/adapters/prisma/registry.js +291 -12
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/ship-counts.d.ts +34 -0
- package/dist/adapters/prisma/ship-counts.js +116 -0
- package/dist/adapters/prisma/ship-counts.js.map +1 -0
- package/dist/adapters/prisma/telemetry.d.ts +5 -0
- package/dist/adapters/prisma/telemetry.js +40 -0
- package/dist/adapters/prisma/telemetry.js.map +1 -0
- package/dist/adapters/prisma/unit-of-work.d.ts +13 -3
- package/dist/adapters/prisma/unit-of-work.js +13 -1
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/telemetry/calls.d.ts +14 -0
- package/dist/adapters/telemetry/calls.js +48 -0
- package/dist/adapters/telemetry/calls.js.map +1 -0
- package/dist/adapters/telemetry/requests.d.ts +8 -0
- package/dist/adapters/telemetry/requests.js +28 -0
- package/dist/adapters/telemetry/requests.js.map +1 -0
- package/dist/adapters/telemetry/sdk.d.ts +2 -0
- package/dist/adapters/telemetry/sdk.js +40 -0
- package/dist/adapters/telemetry/sdk.js.map +1 -0
- package/dist/adapters/telemetry/telemetry.d.ts +21 -0
- package/dist/adapters/telemetry/telemetry.js +16 -0
- package/dist/adapters/telemetry/telemetry.js.map +1 -0
- package/dist/adapters/trpc/context.d.ts +28 -0
- package/dist/adapters/trpc/fleet.d.ts +721 -243
- package/dist/adapters/trpc/fleet.js +171 -44
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/health.d.ts +42 -1
- package/dist/adapters/trpc/health.js +18 -10
- package/dist/adapters/trpc/health.js.map +1 -1
- package/dist/adapters/trpc/installation.d.ts +2 -2
- package/dist/adapters/trpc/router.d.ts +694 -233
- package/dist/adapters/trpc/ship-contract.js +3 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -1
- package/dist/adapters/trpc/ship.d.ts +6 -4
- package/dist/adapters/trpc/ship.js +5 -2
- package/dist/adapters/trpc/ship.js.map +1 -1
- package/dist/adapters/trpc/trpc.d.ts +8 -0
- package/dist/adapters/trpc/trpc.js +35 -1
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/app.d.ts +2 -1
- package/dist/app.js +11 -3
- package/dist/app.js.map +1 -1
- package/dist/domain/messaging/check-inbox.d.ts +12 -4
- package/dist/domain/messaging/check-inbox.js +16 -7
- package/dist/domain/messaging/check-inbox.js.map +1 -1
- package/dist/domain/messaging/daily-message-limit.d.ts +1 -1
- package/dist/domain/messaging/daily-message-limit.js +1 -1
- package/dist/domain/messaging/daily-message-limit.js.map +1 -1
- package/dist/domain/messaging/ports.d.ts +2 -2
- package/dist/domain/registry/check-network-rules-file.d.ts +38 -0
- package/dist/domain/registry/check-network-rules-file.js +50 -0
- package/dist/domain/registry/check-network-rules-file.js.map +1 -0
- package/dist/domain/registry/count-ships.d.ts +18 -0
- package/dist/domain/registry/count-ships.js +10 -0
- package/dist/domain/registry/count-ships.js.map +1 -0
- package/dist/domain/registry/export-network-rules.d.ts +27 -0
- package/dist/domain/registry/export-network-rules.js +55 -0
- package/dist/domain/registry/export-network-rules.js.map +1 -0
- package/dist/domain/registry/found-fleet.d.ts +5 -1
- package/dist/domain/registry/found-fleet.js +5 -1
- package/dist/domain/registry/found-fleet.js.map +1 -1
- package/dist/domain/registry/get-installation-fleet.d.ts +3 -1
- package/dist/domain/registry/get-installation-fleet.js +2 -2
- package/dist/domain/registry/get-installation-fleet.js.map +1 -1
- package/dist/domain/registry/import-network-rules.d.ts +40 -0
- package/dist/domain/registry/import-network-rules.js +98 -0
- package/dist/domain/registry/import-network-rules.js.map +1 -0
- package/dist/domain/registry/label.d.ts +2 -6
- package/dist/domain/registry/label.js +1 -9
- package/dist/domain/registry/label.js.map +1 -1
- package/dist/domain/registry/list-fleet.d.ts +21 -10
- package/dist/domain/registry/list-fleet.js +20 -11
- package/dist/domain/registry/list-fleet.js.map +1 -1
- package/dist/domain/registry/list-installation-fleets.d.ts +3 -1
- package/dist/domain/registry/list-installation-fleets.js +2 -2
- package/dist/domain/registry/list-installation-fleets.js.map +1 -1
- package/dist/domain/registry/list-labels.d.ts +16 -5
- package/dist/domain/registry/list-labels.js +12 -3
- package/dist/domain/registry/list-labels.js.map +1 -1
- package/dist/domain/registry/list-ship-types.d.ts +18 -0
- package/dist/domain/registry/list-ship-types.js +12 -0
- package/dist/domain/registry/list-ship-types.js.map +1 -0
- package/dist/domain/registry/network-rules-file.d.ts +91 -0
- package/dist/domain/registry/network-rules-file.js +292 -0
- package/dist/domain/registry/network-rules-file.js.map +1 -0
- package/dist/domain/registry/network-settings.d.ts +15 -0
- package/dist/domain/registry/network-settings.js +18 -13
- package/dist/domain/registry/network-settings.js.map +1 -1
- package/dist/domain/registry/ports.d.ts +45 -4
- package/dist/domain/registry/read-listed-ship.d.ts +21 -0
- package/dist/domain/registry/read-listed-ship.js +22 -0
- package/dist/domain/registry/read-listed-ship.js.map +1 -0
- package/dist/domain/registry/read-reach-refusals.d.ts +8 -3
- package/dist/domain/registry/read-reach-refusals.js +6 -7
- package/dist/domain/registry/read-reach-refusals.js.map +1 -1
- package/dist/domain/registry/ship-counts.d.ts +28 -0
- package/dist/domain/registry/ship-counts.js +35 -0
- package/dist/domain/registry/ship-counts.js.map +1 -0
- package/dist/domain/registry/ship-order.d.ts +29 -0
- package/dist/domain/registry/ship-order.js +54 -0
- package/dist/domain/registry/ship-order.js.map +1 -0
- package/dist/domain/shared/close-health-snapshots.d.ts +24 -0
- package/dist/domain/shared/close-health-snapshots.js +67 -0
- package/dist/domain/shared/close-health-snapshots.js.map +1 -0
- package/dist/domain/shared/count-open-inbox.d.ts +20 -0
- package/dist/domain/shared/count-open-inbox.js +26 -0
- package/dist/domain/shared/count-open-inbox.js.map +1 -0
- package/dist/domain/shared/errors.d.ts +1 -1
- package/dist/domain/shared/errors.js.map +1 -1
- package/dist/domain/shared/health-fold.d.ts +51 -0
- package/dist/domain/shared/health-fold.js +105 -0
- package/dist/domain/shared/health-fold.js.map +1 -0
- package/dist/domain/shared/health-read.d.ts +35 -0
- package/dist/domain/shared/health-read.js +113 -0
- package/dist/domain/shared/health-read.js.map +1 -0
- package/dist/domain/shared/health-snapshot.d.ts +222 -0
- package/dist/domain/shared/health-snapshot.js +204 -0
- package/dist/domain/shared/health-snapshot.js.map +1 -0
- package/dist/domain/shared/health.d.ts +3 -13
- package/dist/domain/shared/health.js +6 -15
- package/dist/domain/shared/health.js.map +1 -1
- package/dist/domain/shared/history.d.ts +35 -10
- package/dist/domain/shared/history.js.map +1 -1
- package/dist/domain/shared/page.d.ts +24 -0
- package/dist/domain/shared/page.js +10 -0
- package/dist/domain/shared/page.js.map +1 -0
- package/dist/domain/shared/read-acknowledged.d.ts +19 -0
- package/dist/domain/shared/read-acknowledged.js +19 -0
- package/dist/domain/shared/read-acknowledged.js.map +1 -0
- package/dist/domain/shared/read-fleet-limits.d.ts +2 -2
- package/dist/domain/shared/read-fleet-limits.js +1 -1
- package/dist/domain/shared/read-fleet-limits.js.map +1 -1
- package/dist/domain/shared/read-health.d.ts +4 -2
- package/dist/domain/shared/read-health.js +3 -5
- package/dist/domain/shared/read-health.js.map +1 -1
- package/dist/domain/shared/read-inbox-message.d.ts +21 -0
- package/dist/domain/shared/read-inbox-message.js +21 -0
- package/dist/domain/shared/read-inbox-message.js.map +1 -0
- package/dist/domain/shared/read-inbox-withdrawals.d.ts +22 -0
- package/dist/domain/shared/read-inbox-withdrawals.js +20 -0
- package/dist/domain/shared/read-inbox-withdrawals.js.map +1 -0
- package/dist/domain/shared/read-inbox.d.ts +18 -3
- package/dist/domain/shared/read-inbox.js +24 -10
- package/dist/domain/shared/read-inbox.js.map +1 -1
- package/dist/domain/shared/read-needs-attention.d.ts +16 -7
- package/dist/domain/shared/read-needs-attention.js +14 -8
- package/dist/domain/shared/read-needs-attention.js.map +1 -1
- package/dist/domain/shared/read-ship-messages.d.ts +7 -6
- package/dist/domain/shared/read-ship-messages.js +18 -16
- package/dist/domain/shared/read-ship-messages.js.map +1 -1
- package/dist/domain/shared/read-ship-timeline.d.ts +6 -5
- package/dist/domain/shared/read-ship-timeline.js +6 -7
- package/dist/domain/shared/read-ship-timeline.js.map +1 -1
- package/dist/domain/shared/read-stuck-count.d.ts +23 -0
- package/dist/domain/shared/read-stuck-count.js +20 -0
- package/dist/domain/shared/read-stuck-count.js.map +1 -0
- package/dist/domain/shared/read-stuck-history.d.ts +21 -0
- package/dist/domain/shared/read-stuck-history.js +18 -0
- package/dist/domain/shared/read-stuck-history.js.map +1 -0
- package/dist/domain/shared/read-stuck-summary.d.ts +44 -0
- package/dist/domain/shared/read-stuck-summary.js +44 -0
- package/dist/domain/shared/read-stuck-summary.js.map +1 -0
- package/dist/domain/shared/read-stuck.d.ts +41 -0
- package/dist/domain/shared/read-stuck.js +43 -0
- package/dist/domain/shared/read-stuck.js.map +1 -0
- package/dist/domain/shared/stuck.d.ts +4 -1
- package/dist/domain/shared/stuck.js +4 -2
- package/dist/domain/shared/stuck.js.map +1 -1
- package/dist/domain/shared/wait-buckets.d.ts +15 -0
- package/dist/domain/shared/wait-buckets.js +54 -0
- package/dist/domain/shared/wait-buckets.js.map +1 -0
- package/dist/start.d.ts +2 -1
- package/dist/start.js +8 -2
- package/dist/start.js.map +1 -1
- package/dist/wiring.d.ts +31 -1
- package/dist/wiring.js +40 -5
- package/dist/wiring.js.map +1 -1
- package/package.json +10 -2
- package/src/adapters/prisma/migrations/20261022130000_message_days/migration.sql +20 -0
- package/src/adapters/prisma/migrations/20261022130100_messages_fleet_time_index/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261022140000_health_snapshots/migration.sql +41 -0
- package/src/adapters/prisma/migrations/20261023090000_timeline_page_indexes/migration.sql +7 -0
- package/src/adapters/prisma/migrations/20261023090100_messages_page_indexes/migration.sql +7 -0
- package/src/adapters/prisma/migrations/20261023090200_inbox_page_index/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261023090300_reach_refusals_page_index/migration.sql +4 -0
- package/src/adapters/prisma/migrations/20261023090400_messages_question_id_index/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20261023210000_health_snapshot_acknowledged_waits/migration.sql +15 -0
- package/src/adapters/prisma/migrations/20261024090000_ship_listing_indexes/migration.sql +13 -0
- package/src/adapters/prisma/migrations/20261024120000_ship_listing_every_status_indexes/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20261024150000_ship_kind_listing_index/migration.sql +2 -0
- package/src/adapters/prisma/schema.prisma +88 -5
|
@@ -0,0 +1,1282 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model HealthSnapshot
|
|
5
|
+
* The stuck snapshot (docs/design/performance/performance.md, section 5):
|
|
6
|
+
* one row per fleet and closed hour, written once by the 30 second pass and
|
|
7
|
+
* kept for 168 hours. Its counts are by message parties, so a read counts
|
|
8
|
+
* only what its caller reads (decision 0034).
|
|
9
|
+
*/
|
|
10
|
+
export type HealthSnapshotModel = runtime.Types.Result.DefaultSelection<Prisma.$HealthSnapshotPayload>;
|
|
11
|
+
export type AggregateHealthSnapshot = {
|
|
12
|
+
_count: HealthSnapshotCountAggregateOutputType | null;
|
|
13
|
+
_avg: HealthSnapshotAvgAggregateOutputType | null;
|
|
14
|
+
_sum: HealthSnapshotSumAggregateOutputType | null;
|
|
15
|
+
_min: HealthSnapshotMinAggregateOutputType | null;
|
|
16
|
+
_max: HealthSnapshotMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type HealthSnapshotAvgAggregateOutputType = {
|
|
19
|
+
seq: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type HealthSnapshotSumAggregateOutputType = {
|
|
22
|
+
seq: bigint | null;
|
|
23
|
+
};
|
|
24
|
+
export type HealthSnapshotMinAggregateOutputType = {
|
|
25
|
+
fleetId: string | null;
|
|
26
|
+
hour: Date | null;
|
|
27
|
+
seq: bigint | null;
|
|
28
|
+
};
|
|
29
|
+
export type HealthSnapshotMaxAggregateOutputType = {
|
|
30
|
+
fleetId: string | null;
|
|
31
|
+
hour: Date | null;
|
|
32
|
+
seq: bigint | null;
|
|
33
|
+
};
|
|
34
|
+
export type HealthSnapshotCountAggregateOutputType = {
|
|
35
|
+
fleetId: number;
|
|
36
|
+
hour: number;
|
|
37
|
+
seq: number;
|
|
38
|
+
stuck: number;
|
|
39
|
+
acknowledged: number;
|
|
40
|
+
acknowledgedWaits: number;
|
|
41
|
+
turns: number;
|
|
42
|
+
_all: number;
|
|
43
|
+
};
|
|
44
|
+
export type HealthSnapshotAvgAggregateInputType = {
|
|
45
|
+
seq?: true;
|
|
46
|
+
};
|
|
47
|
+
export type HealthSnapshotSumAggregateInputType = {
|
|
48
|
+
seq?: true;
|
|
49
|
+
};
|
|
50
|
+
export type HealthSnapshotMinAggregateInputType = {
|
|
51
|
+
fleetId?: true;
|
|
52
|
+
hour?: true;
|
|
53
|
+
seq?: true;
|
|
54
|
+
};
|
|
55
|
+
export type HealthSnapshotMaxAggregateInputType = {
|
|
56
|
+
fleetId?: true;
|
|
57
|
+
hour?: true;
|
|
58
|
+
seq?: true;
|
|
59
|
+
};
|
|
60
|
+
export type HealthSnapshotCountAggregateInputType = {
|
|
61
|
+
fleetId?: true;
|
|
62
|
+
hour?: true;
|
|
63
|
+
seq?: true;
|
|
64
|
+
stuck?: true;
|
|
65
|
+
acknowledged?: true;
|
|
66
|
+
acknowledgedWaits?: true;
|
|
67
|
+
turns?: true;
|
|
68
|
+
_all?: true;
|
|
69
|
+
};
|
|
70
|
+
export type HealthSnapshotAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
71
|
+
/**
|
|
72
|
+
* Filter which HealthSnapshot to aggregate.
|
|
73
|
+
*/
|
|
74
|
+
where?: Prisma.HealthSnapshotWhereInput;
|
|
75
|
+
/**
|
|
76
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
77
|
+
*
|
|
78
|
+
* Determine the order of HealthSnapshots to fetch.
|
|
79
|
+
*/
|
|
80
|
+
orderBy?: Prisma.HealthSnapshotOrderByWithRelationInput | Prisma.HealthSnapshotOrderByWithRelationInput[];
|
|
81
|
+
/**
|
|
82
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
83
|
+
*
|
|
84
|
+
* Sets the start position
|
|
85
|
+
*/
|
|
86
|
+
cursor?: Prisma.HealthSnapshotWhereUniqueInput;
|
|
87
|
+
/**
|
|
88
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
89
|
+
*
|
|
90
|
+
* Take `±n` HealthSnapshots from the position of the cursor.
|
|
91
|
+
*/
|
|
92
|
+
take?: number;
|
|
93
|
+
/**
|
|
94
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
95
|
+
*
|
|
96
|
+
* Skip the first `n` HealthSnapshots.
|
|
97
|
+
*/
|
|
98
|
+
skip?: number;
|
|
99
|
+
/**
|
|
100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
101
|
+
*
|
|
102
|
+
* Count returned HealthSnapshots
|
|
103
|
+
**/
|
|
104
|
+
_count?: true | HealthSnapshotCountAggregateInputType;
|
|
105
|
+
/**
|
|
106
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
107
|
+
*
|
|
108
|
+
* Select which fields to average
|
|
109
|
+
**/
|
|
110
|
+
_avg?: HealthSnapshotAvgAggregateInputType;
|
|
111
|
+
/**
|
|
112
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
113
|
+
*
|
|
114
|
+
* Select which fields to sum
|
|
115
|
+
**/
|
|
116
|
+
_sum?: HealthSnapshotSumAggregateInputType;
|
|
117
|
+
/**
|
|
118
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
119
|
+
*
|
|
120
|
+
* Select which fields to find the minimum value
|
|
121
|
+
**/
|
|
122
|
+
_min?: HealthSnapshotMinAggregateInputType;
|
|
123
|
+
/**
|
|
124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
125
|
+
*
|
|
126
|
+
* Select which fields to find the maximum value
|
|
127
|
+
**/
|
|
128
|
+
_max?: HealthSnapshotMaxAggregateInputType;
|
|
129
|
+
};
|
|
130
|
+
export type GetHealthSnapshotAggregateType<T extends HealthSnapshotAggregateArgs> = {
|
|
131
|
+
[P in keyof T & keyof AggregateHealthSnapshot]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateHealthSnapshot[P]> : Prisma.GetScalarType<T[P], AggregateHealthSnapshot[P]>;
|
|
132
|
+
};
|
|
133
|
+
export type HealthSnapshotGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
134
|
+
where?: Prisma.HealthSnapshotWhereInput;
|
|
135
|
+
orderBy?: Prisma.HealthSnapshotOrderByWithAggregationInput | Prisma.HealthSnapshotOrderByWithAggregationInput[];
|
|
136
|
+
by: Prisma.HealthSnapshotScalarFieldEnum[] | Prisma.HealthSnapshotScalarFieldEnum;
|
|
137
|
+
having?: Prisma.HealthSnapshotScalarWhereWithAggregatesInput;
|
|
138
|
+
take?: number;
|
|
139
|
+
skip?: number;
|
|
140
|
+
_count?: HealthSnapshotCountAggregateInputType | true;
|
|
141
|
+
_avg?: HealthSnapshotAvgAggregateInputType;
|
|
142
|
+
_sum?: HealthSnapshotSumAggregateInputType;
|
|
143
|
+
_min?: HealthSnapshotMinAggregateInputType;
|
|
144
|
+
_max?: HealthSnapshotMaxAggregateInputType;
|
|
145
|
+
};
|
|
146
|
+
export type HealthSnapshotGroupByOutputType = {
|
|
147
|
+
fleetId: string;
|
|
148
|
+
hour: Date;
|
|
149
|
+
seq: bigint;
|
|
150
|
+
stuck: runtime.JsonValue;
|
|
151
|
+
acknowledged: runtime.JsonValue;
|
|
152
|
+
acknowledgedWaits: runtime.JsonValue;
|
|
153
|
+
turns: runtime.JsonValue;
|
|
154
|
+
_count: HealthSnapshotCountAggregateOutputType | null;
|
|
155
|
+
_avg: HealthSnapshotAvgAggregateOutputType | null;
|
|
156
|
+
_sum: HealthSnapshotSumAggregateOutputType | null;
|
|
157
|
+
_min: HealthSnapshotMinAggregateOutputType | null;
|
|
158
|
+
_max: HealthSnapshotMaxAggregateOutputType | null;
|
|
159
|
+
};
|
|
160
|
+
export type GetHealthSnapshotGroupByPayload<T extends HealthSnapshotGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<HealthSnapshotGroupByOutputType, T['by']> & {
|
|
161
|
+
[P in ((keyof T) & (keyof HealthSnapshotGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], HealthSnapshotGroupByOutputType[P]> : Prisma.GetScalarType<T[P], HealthSnapshotGroupByOutputType[P]>;
|
|
162
|
+
}>>;
|
|
163
|
+
export type HealthSnapshotWhereInput = {
|
|
164
|
+
AND?: Prisma.HealthSnapshotWhereInput | Prisma.HealthSnapshotWhereInput[];
|
|
165
|
+
OR?: Prisma.HealthSnapshotWhereInput[];
|
|
166
|
+
NOT?: Prisma.HealthSnapshotWhereInput | Prisma.HealthSnapshotWhereInput[];
|
|
167
|
+
fleetId?: Prisma.StringFilter<"HealthSnapshot"> | string;
|
|
168
|
+
hour?: Prisma.DateTimeFilter<"HealthSnapshot"> | Date | string;
|
|
169
|
+
seq?: Prisma.BigIntFilter<"HealthSnapshot"> | bigint | number;
|
|
170
|
+
stuck?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
171
|
+
acknowledged?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
172
|
+
acknowledgedWaits?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
173
|
+
turns?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
174
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
175
|
+
};
|
|
176
|
+
export type HealthSnapshotOrderByWithRelationInput = {
|
|
177
|
+
fleetId?: Prisma.SortOrder;
|
|
178
|
+
hour?: Prisma.SortOrder;
|
|
179
|
+
seq?: Prisma.SortOrder;
|
|
180
|
+
stuck?: Prisma.SortOrder;
|
|
181
|
+
acknowledged?: Prisma.SortOrder;
|
|
182
|
+
acknowledgedWaits?: Prisma.SortOrder;
|
|
183
|
+
turns?: Prisma.SortOrder;
|
|
184
|
+
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
185
|
+
};
|
|
186
|
+
export type HealthSnapshotWhereUniqueInput = Prisma.AtLeast<{
|
|
187
|
+
fleetId_hour?: Prisma.HealthSnapshotFleetIdHourCompoundUniqueInput;
|
|
188
|
+
AND?: Prisma.HealthSnapshotWhereInput | Prisma.HealthSnapshotWhereInput[];
|
|
189
|
+
OR?: Prisma.HealthSnapshotWhereInput[];
|
|
190
|
+
NOT?: Prisma.HealthSnapshotWhereInput | Prisma.HealthSnapshotWhereInput[];
|
|
191
|
+
fleetId?: Prisma.StringFilter<"HealthSnapshot"> | string;
|
|
192
|
+
hour?: Prisma.DateTimeFilter<"HealthSnapshot"> | Date | string;
|
|
193
|
+
seq?: Prisma.BigIntFilter<"HealthSnapshot"> | bigint | number;
|
|
194
|
+
stuck?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
195
|
+
acknowledged?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
196
|
+
acknowledgedWaits?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
197
|
+
turns?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
198
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
199
|
+
}, "fleetId_hour">;
|
|
200
|
+
export type HealthSnapshotOrderByWithAggregationInput = {
|
|
201
|
+
fleetId?: Prisma.SortOrder;
|
|
202
|
+
hour?: Prisma.SortOrder;
|
|
203
|
+
seq?: Prisma.SortOrder;
|
|
204
|
+
stuck?: Prisma.SortOrder;
|
|
205
|
+
acknowledged?: Prisma.SortOrder;
|
|
206
|
+
acknowledgedWaits?: Prisma.SortOrder;
|
|
207
|
+
turns?: Prisma.SortOrder;
|
|
208
|
+
_count?: Prisma.HealthSnapshotCountOrderByAggregateInput;
|
|
209
|
+
_avg?: Prisma.HealthSnapshotAvgOrderByAggregateInput;
|
|
210
|
+
_max?: Prisma.HealthSnapshotMaxOrderByAggregateInput;
|
|
211
|
+
_min?: Prisma.HealthSnapshotMinOrderByAggregateInput;
|
|
212
|
+
_sum?: Prisma.HealthSnapshotSumOrderByAggregateInput;
|
|
213
|
+
};
|
|
214
|
+
export type HealthSnapshotScalarWhereWithAggregatesInput = {
|
|
215
|
+
AND?: Prisma.HealthSnapshotScalarWhereWithAggregatesInput | Prisma.HealthSnapshotScalarWhereWithAggregatesInput[];
|
|
216
|
+
OR?: Prisma.HealthSnapshotScalarWhereWithAggregatesInput[];
|
|
217
|
+
NOT?: Prisma.HealthSnapshotScalarWhereWithAggregatesInput | Prisma.HealthSnapshotScalarWhereWithAggregatesInput[];
|
|
218
|
+
fleetId?: Prisma.StringWithAggregatesFilter<"HealthSnapshot"> | string;
|
|
219
|
+
hour?: Prisma.DateTimeWithAggregatesFilter<"HealthSnapshot"> | Date | string;
|
|
220
|
+
seq?: Prisma.BigIntWithAggregatesFilter<"HealthSnapshot"> | bigint | number;
|
|
221
|
+
stuck?: Prisma.JsonWithAggregatesFilter<"HealthSnapshot">;
|
|
222
|
+
acknowledged?: Prisma.JsonWithAggregatesFilter<"HealthSnapshot">;
|
|
223
|
+
acknowledgedWaits?: Prisma.JsonWithAggregatesFilter<"HealthSnapshot">;
|
|
224
|
+
turns?: Prisma.JsonWithAggregatesFilter<"HealthSnapshot">;
|
|
225
|
+
};
|
|
226
|
+
export type HealthSnapshotCreateInput = {
|
|
227
|
+
hour: Date | string;
|
|
228
|
+
seq: bigint | number;
|
|
229
|
+
stuck: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
230
|
+
acknowledged: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
231
|
+
acknowledgedWaits: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
232
|
+
turns: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
233
|
+
fleet: Prisma.FleetCreateNestedOneWithoutHealthSnapshotsInput;
|
|
234
|
+
};
|
|
235
|
+
export type HealthSnapshotUncheckedCreateInput = {
|
|
236
|
+
fleetId: string;
|
|
237
|
+
hour: Date | string;
|
|
238
|
+
seq: bigint | number;
|
|
239
|
+
stuck: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
240
|
+
acknowledged: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
241
|
+
acknowledgedWaits: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
242
|
+
turns: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
243
|
+
};
|
|
244
|
+
export type HealthSnapshotUpdateInput = {
|
|
245
|
+
hour?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
246
|
+
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
247
|
+
stuck?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
248
|
+
acknowledged?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
249
|
+
acknowledgedWaits?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
250
|
+
turns?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
251
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutHealthSnapshotsNestedInput;
|
|
252
|
+
};
|
|
253
|
+
export type HealthSnapshotUncheckedUpdateInput = {
|
|
254
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
255
|
+
hour?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
256
|
+
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
257
|
+
stuck?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
258
|
+
acknowledged?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
259
|
+
acknowledgedWaits?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
260
|
+
turns?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
261
|
+
};
|
|
262
|
+
export type HealthSnapshotCreateManyInput = {
|
|
263
|
+
fleetId: string;
|
|
264
|
+
hour: Date | string;
|
|
265
|
+
seq: bigint | number;
|
|
266
|
+
stuck: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
267
|
+
acknowledged: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
268
|
+
acknowledgedWaits: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
269
|
+
turns: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
270
|
+
};
|
|
271
|
+
export type HealthSnapshotUpdateManyMutationInput = {
|
|
272
|
+
hour?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
273
|
+
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
274
|
+
stuck?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
275
|
+
acknowledged?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
276
|
+
acknowledgedWaits?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
277
|
+
turns?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
278
|
+
};
|
|
279
|
+
export type HealthSnapshotUncheckedUpdateManyInput = {
|
|
280
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
281
|
+
hour?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
282
|
+
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
283
|
+
stuck?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
284
|
+
acknowledged?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
285
|
+
acknowledgedWaits?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
286
|
+
turns?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
287
|
+
};
|
|
288
|
+
export type HealthSnapshotListRelationFilter = {
|
|
289
|
+
every?: Prisma.HealthSnapshotWhereInput;
|
|
290
|
+
some?: Prisma.HealthSnapshotWhereInput;
|
|
291
|
+
none?: Prisma.HealthSnapshotWhereInput;
|
|
292
|
+
};
|
|
293
|
+
export type HealthSnapshotOrderByRelationAggregateInput = {
|
|
294
|
+
_count?: Prisma.SortOrder;
|
|
295
|
+
};
|
|
296
|
+
export type HealthSnapshotFleetIdHourCompoundUniqueInput = {
|
|
297
|
+
fleetId: string;
|
|
298
|
+
hour: Date | string;
|
|
299
|
+
};
|
|
300
|
+
export type HealthSnapshotCountOrderByAggregateInput = {
|
|
301
|
+
fleetId?: Prisma.SortOrder;
|
|
302
|
+
hour?: Prisma.SortOrder;
|
|
303
|
+
seq?: Prisma.SortOrder;
|
|
304
|
+
stuck?: Prisma.SortOrder;
|
|
305
|
+
acknowledged?: Prisma.SortOrder;
|
|
306
|
+
acknowledgedWaits?: Prisma.SortOrder;
|
|
307
|
+
turns?: Prisma.SortOrder;
|
|
308
|
+
};
|
|
309
|
+
export type HealthSnapshotAvgOrderByAggregateInput = {
|
|
310
|
+
seq?: Prisma.SortOrder;
|
|
311
|
+
};
|
|
312
|
+
export type HealthSnapshotMaxOrderByAggregateInput = {
|
|
313
|
+
fleetId?: Prisma.SortOrder;
|
|
314
|
+
hour?: Prisma.SortOrder;
|
|
315
|
+
seq?: Prisma.SortOrder;
|
|
316
|
+
};
|
|
317
|
+
export type HealthSnapshotMinOrderByAggregateInput = {
|
|
318
|
+
fleetId?: Prisma.SortOrder;
|
|
319
|
+
hour?: Prisma.SortOrder;
|
|
320
|
+
seq?: Prisma.SortOrder;
|
|
321
|
+
};
|
|
322
|
+
export type HealthSnapshotSumOrderByAggregateInput = {
|
|
323
|
+
seq?: Prisma.SortOrder;
|
|
324
|
+
};
|
|
325
|
+
export type HealthSnapshotCreateNestedManyWithoutFleetInput = {
|
|
326
|
+
create?: Prisma.XOR<Prisma.HealthSnapshotCreateWithoutFleetInput, Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput> | Prisma.HealthSnapshotCreateWithoutFleetInput[] | Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput[];
|
|
327
|
+
connectOrCreate?: Prisma.HealthSnapshotCreateOrConnectWithoutFleetInput | Prisma.HealthSnapshotCreateOrConnectWithoutFleetInput[];
|
|
328
|
+
createMany?: Prisma.HealthSnapshotCreateManyFleetInputEnvelope;
|
|
329
|
+
connect?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
330
|
+
};
|
|
331
|
+
export type HealthSnapshotUncheckedCreateNestedManyWithoutFleetInput = {
|
|
332
|
+
create?: Prisma.XOR<Prisma.HealthSnapshotCreateWithoutFleetInput, Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput> | Prisma.HealthSnapshotCreateWithoutFleetInput[] | Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput[];
|
|
333
|
+
connectOrCreate?: Prisma.HealthSnapshotCreateOrConnectWithoutFleetInput | Prisma.HealthSnapshotCreateOrConnectWithoutFleetInput[];
|
|
334
|
+
createMany?: Prisma.HealthSnapshotCreateManyFleetInputEnvelope;
|
|
335
|
+
connect?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
336
|
+
};
|
|
337
|
+
export type HealthSnapshotUpdateManyWithoutFleetNestedInput = {
|
|
338
|
+
create?: Prisma.XOR<Prisma.HealthSnapshotCreateWithoutFleetInput, Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput> | Prisma.HealthSnapshotCreateWithoutFleetInput[] | Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput[];
|
|
339
|
+
connectOrCreate?: Prisma.HealthSnapshotCreateOrConnectWithoutFleetInput | Prisma.HealthSnapshotCreateOrConnectWithoutFleetInput[];
|
|
340
|
+
upsert?: Prisma.HealthSnapshotUpsertWithWhereUniqueWithoutFleetInput | Prisma.HealthSnapshotUpsertWithWhereUniqueWithoutFleetInput[];
|
|
341
|
+
createMany?: Prisma.HealthSnapshotCreateManyFleetInputEnvelope;
|
|
342
|
+
set?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
343
|
+
disconnect?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
344
|
+
delete?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
345
|
+
connect?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
346
|
+
update?: Prisma.HealthSnapshotUpdateWithWhereUniqueWithoutFleetInput | Prisma.HealthSnapshotUpdateWithWhereUniqueWithoutFleetInput[];
|
|
347
|
+
updateMany?: Prisma.HealthSnapshotUpdateManyWithWhereWithoutFleetInput | Prisma.HealthSnapshotUpdateManyWithWhereWithoutFleetInput[];
|
|
348
|
+
deleteMany?: Prisma.HealthSnapshotScalarWhereInput | Prisma.HealthSnapshotScalarWhereInput[];
|
|
349
|
+
};
|
|
350
|
+
export type HealthSnapshotUncheckedUpdateManyWithoutFleetNestedInput = {
|
|
351
|
+
create?: Prisma.XOR<Prisma.HealthSnapshotCreateWithoutFleetInput, Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput> | Prisma.HealthSnapshotCreateWithoutFleetInput[] | Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput[];
|
|
352
|
+
connectOrCreate?: Prisma.HealthSnapshotCreateOrConnectWithoutFleetInput | Prisma.HealthSnapshotCreateOrConnectWithoutFleetInput[];
|
|
353
|
+
upsert?: Prisma.HealthSnapshotUpsertWithWhereUniqueWithoutFleetInput | Prisma.HealthSnapshotUpsertWithWhereUniqueWithoutFleetInput[];
|
|
354
|
+
createMany?: Prisma.HealthSnapshotCreateManyFleetInputEnvelope;
|
|
355
|
+
set?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
356
|
+
disconnect?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
357
|
+
delete?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
358
|
+
connect?: Prisma.HealthSnapshotWhereUniqueInput | Prisma.HealthSnapshotWhereUniqueInput[];
|
|
359
|
+
update?: Prisma.HealthSnapshotUpdateWithWhereUniqueWithoutFleetInput | Prisma.HealthSnapshotUpdateWithWhereUniqueWithoutFleetInput[];
|
|
360
|
+
updateMany?: Prisma.HealthSnapshotUpdateManyWithWhereWithoutFleetInput | Prisma.HealthSnapshotUpdateManyWithWhereWithoutFleetInput[];
|
|
361
|
+
deleteMany?: Prisma.HealthSnapshotScalarWhereInput | Prisma.HealthSnapshotScalarWhereInput[];
|
|
362
|
+
};
|
|
363
|
+
export type HealthSnapshotCreateWithoutFleetInput = {
|
|
364
|
+
hour: Date | string;
|
|
365
|
+
seq: bigint | number;
|
|
366
|
+
stuck: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
367
|
+
acknowledged: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
368
|
+
acknowledgedWaits: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
369
|
+
turns: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
370
|
+
};
|
|
371
|
+
export type HealthSnapshotUncheckedCreateWithoutFleetInput = {
|
|
372
|
+
hour: Date | string;
|
|
373
|
+
seq: bigint | number;
|
|
374
|
+
stuck: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
375
|
+
acknowledged: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
376
|
+
acknowledgedWaits: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
377
|
+
turns: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
378
|
+
};
|
|
379
|
+
export type HealthSnapshotCreateOrConnectWithoutFleetInput = {
|
|
380
|
+
where: Prisma.HealthSnapshotWhereUniqueInput;
|
|
381
|
+
create: Prisma.XOR<Prisma.HealthSnapshotCreateWithoutFleetInput, Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput>;
|
|
382
|
+
};
|
|
383
|
+
export type HealthSnapshotCreateManyFleetInputEnvelope = {
|
|
384
|
+
data: Prisma.HealthSnapshotCreateManyFleetInput | Prisma.HealthSnapshotCreateManyFleetInput[];
|
|
385
|
+
skipDuplicates?: boolean;
|
|
386
|
+
};
|
|
387
|
+
export type HealthSnapshotUpsertWithWhereUniqueWithoutFleetInput = {
|
|
388
|
+
where: Prisma.HealthSnapshotWhereUniqueInput;
|
|
389
|
+
update: Prisma.XOR<Prisma.HealthSnapshotUpdateWithoutFleetInput, Prisma.HealthSnapshotUncheckedUpdateWithoutFleetInput>;
|
|
390
|
+
create: Prisma.XOR<Prisma.HealthSnapshotCreateWithoutFleetInput, Prisma.HealthSnapshotUncheckedCreateWithoutFleetInput>;
|
|
391
|
+
};
|
|
392
|
+
export type HealthSnapshotUpdateWithWhereUniqueWithoutFleetInput = {
|
|
393
|
+
where: Prisma.HealthSnapshotWhereUniqueInput;
|
|
394
|
+
data: Prisma.XOR<Prisma.HealthSnapshotUpdateWithoutFleetInput, Prisma.HealthSnapshotUncheckedUpdateWithoutFleetInput>;
|
|
395
|
+
};
|
|
396
|
+
export type HealthSnapshotUpdateManyWithWhereWithoutFleetInput = {
|
|
397
|
+
where: Prisma.HealthSnapshotScalarWhereInput;
|
|
398
|
+
data: Prisma.XOR<Prisma.HealthSnapshotUpdateManyMutationInput, Prisma.HealthSnapshotUncheckedUpdateManyWithoutFleetInput>;
|
|
399
|
+
};
|
|
400
|
+
export type HealthSnapshotScalarWhereInput = {
|
|
401
|
+
AND?: Prisma.HealthSnapshotScalarWhereInput | Prisma.HealthSnapshotScalarWhereInput[];
|
|
402
|
+
OR?: Prisma.HealthSnapshotScalarWhereInput[];
|
|
403
|
+
NOT?: Prisma.HealthSnapshotScalarWhereInput | Prisma.HealthSnapshotScalarWhereInput[];
|
|
404
|
+
fleetId?: Prisma.StringFilter<"HealthSnapshot"> | string;
|
|
405
|
+
hour?: Prisma.DateTimeFilter<"HealthSnapshot"> | Date | string;
|
|
406
|
+
seq?: Prisma.BigIntFilter<"HealthSnapshot"> | bigint | number;
|
|
407
|
+
stuck?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
408
|
+
acknowledged?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
409
|
+
acknowledgedWaits?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
410
|
+
turns?: Prisma.JsonFilter<"HealthSnapshot">;
|
|
411
|
+
};
|
|
412
|
+
export type HealthSnapshotCreateManyFleetInput = {
|
|
413
|
+
hour: Date | string;
|
|
414
|
+
seq: bigint | number;
|
|
415
|
+
stuck: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
416
|
+
acknowledged: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
417
|
+
acknowledgedWaits: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
418
|
+
turns: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
419
|
+
};
|
|
420
|
+
export type HealthSnapshotUpdateWithoutFleetInput = {
|
|
421
|
+
hour?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
422
|
+
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
423
|
+
stuck?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
424
|
+
acknowledged?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
425
|
+
acknowledgedWaits?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
426
|
+
turns?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
427
|
+
};
|
|
428
|
+
export type HealthSnapshotUncheckedUpdateWithoutFleetInput = {
|
|
429
|
+
hour?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
430
|
+
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
431
|
+
stuck?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
432
|
+
acknowledged?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
433
|
+
acknowledgedWaits?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
434
|
+
turns?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
435
|
+
};
|
|
436
|
+
export type HealthSnapshotUncheckedUpdateManyWithoutFleetInput = {
|
|
437
|
+
hour?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
438
|
+
seq?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
439
|
+
stuck?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
440
|
+
acknowledged?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
441
|
+
acknowledgedWaits?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
442
|
+
turns?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
443
|
+
};
|
|
444
|
+
export type HealthSnapshotSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
445
|
+
fleetId?: boolean;
|
|
446
|
+
hour?: boolean;
|
|
447
|
+
seq?: boolean;
|
|
448
|
+
stuck?: boolean;
|
|
449
|
+
acknowledged?: boolean;
|
|
450
|
+
acknowledgedWaits?: boolean;
|
|
451
|
+
turns?: boolean;
|
|
452
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
453
|
+
}, ExtArgs["result"]["healthSnapshot"]>;
|
|
454
|
+
export type HealthSnapshotSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
455
|
+
fleetId?: boolean;
|
|
456
|
+
hour?: boolean;
|
|
457
|
+
seq?: boolean;
|
|
458
|
+
stuck?: boolean;
|
|
459
|
+
acknowledged?: boolean;
|
|
460
|
+
acknowledgedWaits?: boolean;
|
|
461
|
+
turns?: boolean;
|
|
462
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
463
|
+
}, ExtArgs["result"]["healthSnapshot"]>;
|
|
464
|
+
export type HealthSnapshotSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
465
|
+
fleetId?: boolean;
|
|
466
|
+
hour?: boolean;
|
|
467
|
+
seq?: boolean;
|
|
468
|
+
stuck?: boolean;
|
|
469
|
+
acknowledged?: boolean;
|
|
470
|
+
acknowledgedWaits?: boolean;
|
|
471
|
+
turns?: boolean;
|
|
472
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
473
|
+
}, ExtArgs["result"]["healthSnapshot"]>;
|
|
474
|
+
export type HealthSnapshotSelectScalar = {
|
|
475
|
+
fleetId?: boolean;
|
|
476
|
+
hour?: boolean;
|
|
477
|
+
seq?: boolean;
|
|
478
|
+
stuck?: boolean;
|
|
479
|
+
acknowledged?: boolean;
|
|
480
|
+
acknowledgedWaits?: boolean;
|
|
481
|
+
turns?: boolean;
|
|
482
|
+
};
|
|
483
|
+
export type HealthSnapshotOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "hour" | "seq" | "stuck" | "acknowledged" | "acknowledgedWaits" | "turns", ExtArgs["result"]["healthSnapshot"]>;
|
|
484
|
+
export type HealthSnapshotInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
485
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
486
|
+
};
|
|
487
|
+
export type HealthSnapshotIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
488
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
489
|
+
};
|
|
490
|
+
export type HealthSnapshotIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
491
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
492
|
+
};
|
|
493
|
+
export type $HealthSnapshotPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
494
|
+
name: "HealthSnapshot";
|
|
495
|
+
objects: {
|
|
496
|
+
fleet: Prisma.$FleetPayload<ExtArgs>;
|
|
497
|
+
};
|
|
498
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
499
|
+
fleetId: string;
|
|
500
|
+
hour: Date;
|
|
501
|
+
/**
|
|
502
|
+
* The last event folded into it, by its seq.
|
|
503
|
+
*/
|
|
504
|
+
seq: bigint;
|
|
505
|
+
/**
|
|
506
|
+
* Stuck at the hour mark: cause, place, message parties, count and oldest since, each.
|
|
507
|
+
*/
|
|
508
|
+
stuck: runtime.JsonValue;
|
|
509
|
+
/**
|
|
510
|
+
* The waits from send to acknowledgement in the hour, by message parties, as counts per duration bucket.
|
|
511
|
+
*/
|
|
512
|
+
acknowledged: runtime.JsonValue;
|
|
513
|
+
/**
|
|
514
|
+
* The same waits summed over every message, as a reader of every ship reads them.
|
|
515
|
+
*/
|
|
516
|
+
acknowledgedWaits: runtime.JsonValue;
|
|
517
|
+
/**
|
|
518
|
+
* Each lease's latest turn as of seq; the latest row's is the fold's.
|
|
519
|
+
*/
|
|
520
|
+
turns: runtime.JsonValue;
|
|
521
|
+
}, ExtArgs["result"]["healthSnapshot"]>;
|
|
522
|
+
composites: {};
|
|
523
|
+
};
|
|
524
|
+
export type HealthSnapshotGetPayload<S extends boolean | null | undefined | HealthSnapshotDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload, S>;
|
|
525
|
+
export type HealthSnapshotCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<HealthSnapshotFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
526
|
+
select?: HealthSnapshotCountAggregateInputType | true;
|
|
527
|
+
};
|
|
528
|
+
export interface HealthSnapshotDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
529
|
+
[K: symbol]: {
|
|
530
|
+
types: Prisma.TypeMap<ExtArgs>['model']['HealthSnapshot'];
|
|
531
|
+
meta: {
|
|
532
|
+
name: 'HealthSnapshot';
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
/**
|
|
536
|
+
* Find zero or one HealthSnapshot that matches the filter.
|
|
537
|
+
* @param {HealthSnapshotFindUniqueArgs} args - Arguments to find a HealthSnapshot
|
|
538
|
+
* @example
|
|
539
|
+
* // Get one HealthSnapshot
|
|
540
|
+
* const healthSnapshot = await prisma.healthSnapshot.findUnique({
|
|
541
|
+
* where: {
|
|
542
|
+
* // ... provide filter here
|
|
543
|
+
* }
|
|
544
|
+
* })
|
|
545
|
+
*/
|
|
546
|
+
findUnique<T extends HealthSnapshotFindUniqueArgs>(args: Prisma.SelectSubset<T, HealthSnapshotFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
547
|
+
/**
|
|
548
|
+
* Find one HealthSnapshot that matches the filter or throw an error with `error.code='P2025'`
|
|
549
|
+
* if no matches were found.
|
|
550
|
+
* @param {HealthSnapshotFindUniqueOrThrowArgs} args - Arguments to find a HealthSnapshot
|
|
551
|
+
* @example
|
|
552
|
+
* // Get one HealthSnapshot
|
|
553
|
+
* const healthSnapshot = await prisma.healthSnapshot.findUniqueOrThrow({
|
|
554
|
+
* where: {
|
|
555
|
+
* // ... provide filter here
|
|
556
|
+
* }
|
|
557
|
+
* })
|
|
558
|
+
*/
|
|
559
|
+
findUniqueOrThrow<T extends HealthSnapshotFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HealthSnapshotFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
560
|
+
/**
|
|
561
|
+
* Find the first HealthSnapshot that matches the filter.
|
|
562
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
563
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
564
|
+
* @param {HealthSnapshotFindFirstArgs} args - Arguments to find a HealthSnapshot
|
|
565
|
+
* @example
|
|
566
|
+
* // Get one HealthSnapshot
|
|
567
|
+
* const healthSnapshot = await prisma.healthSnapshot.findFirst({
|
|
568
|
+
* where: {
|
|
569
|
+
* // ... provide filter here
|
|
570
|
+
* }
|
|
571
|
+
* })
|
|
572
|
+
*/
|
|
573
|
+
findFirst<T extends HealthSnapshotFindFirstArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotFindFirstArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
574
|
+
/**
|
|
575
|
+
* Find the first HealthSnapshot that matches the filter or
|
|
576
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
577
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
578
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
579
|
+
* @param {HealthSnapshotFindFirstOrThrowArgs} args - Arguments to find a HealthSnapshot
|
|
580
|
+
* @example
|
|
581
|
+
* // Get one HealthSnapshot
|
|
582
|
+
* const healthSnapshot = await prisma.healthSnapshot.findFirstOrThrow({
|
|
583
|
+
* where: {
|
|
584
|
+
* // ... provide filter here
|
|
585
|
+
* }
|
|
586
|
+
* })
|
|
587
|
+
*/
|
|
588
|
+
findFirstOrThrow<T extends HealthSnapshotFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
589
|
+
/**
|
|
590
|
+
* Find zero or more HealthSnapshots that matches the filter.
|
|
591
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
592
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
593
|
+
* @param {HealthSnapshotFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
594
|
+
* @example
|
|
595
|
+
* // Get all HealthSnapshots
|
|
596
|
+
* const healthSnapshots = await prisma.healthSnapshot.findMany()
|
|
597
|
+
*
|
|
598
|
+
* // Get first 10 HealthSnapshots
|
|
599
|
+
* const healthSnapshots = await prisma.healthSnapshot.findMany({ take: 10 })
|
|
600
|
+
*
|
|
601
|
+
* // Only select the `fleetId`
|
|
602
|
+
* const healthSnapshotWithFleetIdOnly = await prisma.healthSnapshot.findMany({ select: { fleetId: true } })
|
|
603
|
+
*
|
|
604
|
+
*/
|
|
605
|
+
findMany<T extends HealthSnapshotFindManyArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
606
|
+
/**
|
|
607
|
+
* Create a HealthSnapshot.
|
|
608
|
+
* @param {HealthSnapshotCreateArgs} args - Arguments to create a HealthSnapshot.
|
|
609
|
+
* @example
|
|
610
|
+
* // Create one HealthSnapshot
|
|
611
|
+
* const HealthSnapshot = await prisma.healthSnapshot.create({
|
|
612
|
+
* data: {
|
|
613
|
+
* // ... data to create a HealthSnapshot
|
|
614
|
+
* }
|
|
615
|
+
* })
|
|
616
|
+
*
|
|
617
|
+
*/
|
|
618
|
+
create<T extends HealthSnapshotCreateArgs>(args: Prisma.SelectSubset<T, HealthSnapshotCreateArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
619
|
+
/**
|
|
620
|
+
* Create many HealthSnapshots.
|
|
621
|
+
* @param {HealthSnapshotCreateManyArgs} args - Arguments to create many HealthSnapshots.
|
|
622
|
+
* @example
|
|
623
|
+
* // Create many HealthSnapshots
|
|
624
|
+
* const healthSnapshot = await prisma.healthSnapshot.createMany({
|
|
625
|
+
* data: [
|
|
626
|
+
* // ... provide data here
|
|
627
|
+
* ]
|
|
628
|
+
* })
|
|
629
|
+
*
|
|
630
|
+
*/
|
|
631
|
+
createMany<T extends HealthSnapshotCreateManyArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
632
|
+
/**
|
|
633
|
+
* Create many HealthSnapshots and returns the data saved in the database.
|
|
634
|
+
* @param {HealthSnapshotCreateManyAndReturnArgs} args - Arguments to create many HealthSnapshots.
|
|
635
|
+
* @example
|
|
636
|
+
* // Create many HealthSnapshots
|
|
637
|
+
* const healthSnapshot = await prisma.healthSnapshot.createManyAndReturn({
|
|
638
|
+
* data: [
|
|
639
|
+
* // ... provide data here
|
|
640
|
+
* ]
|
|
641
|
+
* })
|
|
642
|
+
*
|
|
643
|
+
* // Create many HealthSnapshots and only return the `fleetId`
|
|
644
|
+
* const healthSnapshotWithFleetIdOnly = await prisma.healthSnapshot.createManyAndReturn({
|
|
645
|
+
* select: { fleetId: true },
|
|
646
|
+
* data: [
|
|
647
|
+
* // ... provide data here
|
|
648
|
+
* ]
|
|
649
|
+
* })
|
|
650
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
651
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
652
|
+
*
|
|
653
|
+
*/
|
|
654
|
+
createManyAndReturn<T extends HealthSnapshotCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
655
|
+
/**
|
|
656
|
+
* Delete a HealthSnapshot.
|
|
657
|
+
* @param {HealthSnapshotDeleteArgs} args - Arguments to delete one HealthSnapshot.
|
|
658
|
+
* @example
|
|
659
|
+
* // Delete one HealthSnapshot
|
|
660
|
+
* const HealthSnapshot = await prisma.healthSnapshot.delete({
|
|
661
|
+
* where: {
|
|
662
|
+
* // ... filter to delete one HealthSnapshot
|
|
663
|
+
* }
|
|
664
|
+
* })
|
|
665
|
+
*
|
|
666
|
+
*/
|
|
667
|
+
delete<T extends HealthSnapshotDeleteArgs>(args: Prisma.SelectSubset<T, HealthSnapshotDeleteArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
668
|
+
/**
|
|
669
|
+
* Update one HealthSnapshot.
|
|
670
|
+
* @param {HealthSnapshotUpdateArgs} args - Arguments to update one HealthSnapshot.
|
|
671
|
+
* @example
|
|
672
|
+
* // Update one HealthSnapshot
|
|
673
|
+
* const healthSnapshot = await prisma.healthSnapshot.update({
|
|
674
|
+
* where: {
|
|
675
|
+
* // ... provide filter here
|
|
676
|
+
* },
|
|
677
|
+
* data: {
|
|
678
|
+
* // ... provide data here
|
|
679
|
+
* }
|
|
680
|
+
* })
|
|
681
|
+
*
|
|
682
|
+
*/
|
|
683
|
+
update<T extends HealthSnapshotUpdateArgs>(args: Prisma.SelectSubset<T, HealthSnapshotUpdateArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
684
|
+
/**
|
|
685
|
+
* Delete zero or more HealthSnapshots.
|
|
686
|
+
* @param {HealthSnapshotDeleteManyArgs} args - Arguments to filter HealthSnapshots to delete.
|
|
687
|
+
* @example
|
|
688
|
+
* // Delete a few HealthSnapshots
|
|
689
|
+
* const { count } = await prisma.healthSnapshot.deleteMany({
|
|
690
|
+
* where: {
|
|
691
|
+
* // ... provide filter here
|
|
692
|
+
* }
|
|
693
|
+
* })
|
|
694
|
+
*
|
|
695
|
+
*/
|
|
696
|
+
deleteMany<T extends HealthSnapshotDeleteManyArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
697
|
+
/**
|
|
698
|
+
* Update zero or more HealthSnapshots.
|
|
699
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
700
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
701
|
+
* @param {HealthSnapshotUpdateManyArgs} args - Arguments to update one or more rows.
|
|
702
|
+
* @example
|
|
703
|
+
* // Update many HealthSnapshots
|
|
704
|
+
* const healthSnapshot = await prisma.healthSnapshot.updateMany({
|
|
705
|
+
* where: {
|
|
706
|
+
* // ... provide filter here
|
|
707
|
+
* },
|
|
708
|
+
* data: {
|
|
709
|
+
* // ... provide data here
|
|
710
|
+
* }
|
|
711
|
+
* })
|
|
712
|
+
*
|
|
713
|
+
*/
|
|
714
|
+
updateMany<T extends HealthSnapshotUpdateManyArgs>(args: Prisma.SelectSubset<T, HealthSnapshotUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
715
|
+
/**
|
|
716
|
+
* Update zero or more HealthSnapshots and returns the data updated in the database.
|
|
717
|
+
* @param {HealthSnapshotUpdateManyAndReturnArgs} args - Arguments to update many HealthSnapshots.
|
|
718
|
+
* @example
|
|
719
|
+
* // Update many HealthSnapshots
|
|
720
|
+
* const healthSnapshot = await prisma.healthSnapshot.updateManyAndReturn({
|
|
721
|
+
* where: {
|
|
722
|
+
* // ... provide filter here
|
|
723
|
+
* },
|
|
724
|
+
* data: [
|
|
725
|
+
* // ... provide data here
|
|
726
|
+
* ]
|
|
727
|
+
* })
|
|
728
|
+
*
|
|
729
|
+
* // Update zero or more HealthSnapshots and only return the `fleetId`
|
|
730
|
+
* const healthSnapshotWithFleetIdOnly = await prisma.healthSnapshot.updateManyAndReturn({
|
|
731
|
+
* select: { fleetId: true },
|
|
732
|
+
* where: {
|
|
733
|
+
* // ... provide filter here
|
|
734
|
+
* },
|
|
735
|
+
* data: [
|
|
736
|
+
* // ... provide data here
|
|
737
|
+
* ]
|
|
738
|
+
* })
|
|
739
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
740
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
741
|
+
*
|
|
742
|
+
*/
|
|
743
|
+
updateManyAndReturn<T extends HealthSnapshotUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HealthSnapshotUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
744
|
+
/**
|
|
745
|
+
* Create or update one HealthSnapshot.
|
|
746
|
+
* @param {HealthSnapshotUpsertArgs} args - Arguments to update or create a HealthSnapshot.
|
|
747
|
+
* @example
|
|
748
|
+
* // Update or create a HealthSnapshot
|
|
749
|
+
* const healthSnapshot = await prisma.healthSnapshot.upsert({
|
|
750
|
+
* create: {
|
|
751
|
+
* // ... data to create a HealthSnapshot
|
|
752
|
+
* },
|
|
753
|
+
* update: {
|
|
754
|
+
* // ... in case it already exists, update
|
|
755
|
+
* },
|
|
756
|
+
* where: {
|
|
757
|
+
* // ... the filter for the HealthSnapshot we want to update
|
|
758
|
+
* }
|
|
759
|
+
* })
|
|
760
|
+
*/
|
|
761
|
+
upsert<T extends HealthSnapshotUpsertArgs>(args: Prisma.SelectSubset<T, HealthSnapshotUpsertArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
762
|
+
/**
|
|
763
|
+
* Count the number of HealthSnapshots.
|
|
764
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
765
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
766
|
+
* @param {HealthSnapshotCountArgs} args - Arguments to filter HealthSnapshots to count.
|
|
767
|
+
* @example
|
|
768
|
+
* // Count the number of HealthSnapshots
|
|
769
|
+
* const count = await prisma.healthSnapshot.count({
|
|
770
|
+
* where: {
|
|
771
|
+
* // ... the filter for the HealthSnapshots we want to count
|
|
772
|
+
* }
|
|
773
|
+
* })
|
|
774
|
+
**/
|
|
775
|
+
count<T extends HealthSnapshotCountArgs>(args?: Prisma.Subset<T, HealthSnapshotCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], HealthSnapshotCountAggregateOutputType> : number>;
|
|
776
|
+
/**
|
|
777
|
+
* Allows you to perform aggregations operations on a HealthSnapshot.
|
|
778
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
779
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
780
|
+
* @param {HealthSnapshotAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
781
|
+
* @example
|
|
782
|
+
* // Ordered by age ascending
|
|
783
|
+
* // Where email contains prisma.io
|
|
784
|
+
* // Limited to the 10 users
|
|
785
|
+
* const aggregations = await prisma.user.aggregate({
|
|
786
|
+
* _avg: {
|
|
787
|
+
* age: true,
|
|
788
|
+
* },
|
|
789
|
+
* where: {
|
|
790
|
+
* email: {
|
|
791
|
+
* contains: "prisma.io",
|
|
792
|
+
* },
|
|
793
|
+
* },
|
|
794
|
+
* orderBy: {
|
|
795
|
+
* age: "asc",
|
|
796
|
+
* },
|
|
797
|
+
* take: 10,
|
|
798
|
+
* })
|
|
799
|
+
**/
|
|
800
|
+
aggregate<T extends HealthSnapshotAggregateArgs>(args: Prisma.Subset<T, HealthSnapshotAggregateArgs>): Prisma.PrismaPromise<GetHealthSnapshotAggregateType<T>>;
|
|
801
|
+
/**
|
|
802
|
+
* Group by HealthSnapshot.
|
|
803
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
804
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
805
|
+
* @param {HealthSnapshotGroupByArgs} args - Group by arguments.
|
|
806
|
+
* @example
|
|
807
|
+
* // Group by city, order by createdAt, get count
|
|
808
|
+
* const result = await prisma.user.groupBy({
|
|
809
|
+
* by: ['city', 'createdAt'],
|
|
810
|
+
* orderBy: {
|
|
811
|
+
* createdAt: true
|
|
812
|
+
* },
|
|
813
|
+
* _count: {
|
|
814
|
+
* _all: true
|
|
815
|
+
* },
|
|
816
|
+
* })
|
|
817
|
+
*
|
|
818
|
+
**/
|
|
819
|
+
groupBy<T extends HealthSnapshotGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
820
|
+
orderBy: HealthSnapshotGroupByArgs['orderBy'];
|
|
821
|
+
} : {
|
|
822
|
+
orderBy?: HealthSnapshotGroupByArgs['orderBy'];
|
|
823
|
+
}, 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 ? {
|
|
824
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
825
|
+
Error,
|
|
826
|
+
'Field ',
|
|
827
|
+
P,
|
|
828
|
+
` in "having" needs to be provided in "by"`
|
|
829
|
+
];
|
|
830
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
831
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
832
|
+
}[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 ? {} : {
|
|
833
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
834
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
835
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
836
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, HealthSnapshotGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHealthSnapshotGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
837
|
+
/**
|
|
838
|
+
* Fields of the HealthSnapshot model
|
|
839
|
+
*/
|
|
840
|
+
readonly fields: HealthSnapshotFieldRefs;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* The delegate class that acts as a "Promise-like" for HealthSnapshot.
|
|
844
|
+
* Why is this prefixed with `Prisma__`?
|
|
845
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
846
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
847
|
+
*/
|
|
848
|
+
export interface Prisma__HealthSnapshotClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
849
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
850
|
+
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>;
|
|
851
|
+
/**
|
|
852
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
853
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
854
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
855
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
856
|
+
*/
|
|
857
|
+
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>;
|
|
858
|
+
/**
|
|
859
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
860
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
861
|
+
* @returns A Promise for the completion of the callback.
|
|
862
|
+
*/
|
|
863
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
864
|
+
/**
|
|
865
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
866
|
+
* resolved value cannot be modified from the callback.
|
|
867
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
868
|
+
* @returns A Promise for the completion of the callback.
|
|
869
|
+
*/
|
|
870
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* Fields of the HealthSnapshot model
|
|
874
|
+
*/
|
|
875
|
+
export interface HealthSnapshotFieldRefs {
|
|
876
|
+
readonly fleetId: Prisma.FieldRef<"HealthSnapshot", 'String'>;
|
|
877
|
+
readonly hour: Prisma.FieldRef<"HealthSnapshot", 'DateTime'>;
|
|
878
|
+
readonly seq: Prisma.FieldRef<"HealthSnapshot", 'BigInt'>;
|
|
879
|
+
readonly stuck: Prisma.FieldRef<"HealthSnapshot", 'Json'>;
|
|
880
|
+
readonly acknowledged: Prisma.FieldRef<"HealthSnapshot", 'Json'>;
|
|
881
|
+
readonly acknowledgedWaits: Prisma.FieldRef<"HealthSnapshot", 'Json'>;
|
|
882
|
+
readonly turns: Prisma.FieldRef<"HealthSnapshot", 'Json'>;
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* HealthSnapshot findUnique
|
|
886
|
+
*/
|
|
887
|
+
export type HealthSnapshotFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
888
|
+
/**
|
|
889
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
890
|
+
*/
|
|
891
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
892
|
+
/**
|
|
893
|
+
* Omit specific fields from the HealthSnapshot
|
|
894
|
+
*/
|
|
895
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
896
|
+
/**
|
|
897
|
+
* Choose, which related nodes to fetch as well
|
|
898
|
+
*/
|
|
899
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
900
|
+
/**
|
|
901
|
+
* Filter, which HealthSnapshot to fetch.
|
|
902
|
+
*/
|
|
903
|
+
where: Prisma.HealthSnapshotWhereUniqueInput;
|
|
904
|
+
};
|
|
905
|
+
/**
|
|
906
|
+
* HealthSnapshot findUniqueOrThrow
|
|
907
|
+
*/
|
|
908
|
+
export type HealthSnapshotFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
909
|
+
/**
|
|
910
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
911
|
+
*/
|
|
912
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
913
|
+
/**
|
|
914
|
+
* Omit specific fields from the HealthSnapshot
|
|
915
|
+
*/
|
|
916
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
917
|
+
/**
|
|
918
|
+
* Choose, which related nodes to fetch as well
|
|
919
|
+
*/
|
|
920
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
921
|
+
/**
|
|
922
|
+
* Filter, which HealthSnapshot to fetch.
|
|
923
|
+
*/
|
|
924
|
+
where: Prisma.HealthSnapshotWhereUniqueInput;
|
|
925
|
+
};
|
|
926
|
+
/**
|
|
927
|
+
* HealthSnapshot findFirst
|
|
928
|
+
*/
|
|
929
|
+
export type HealthSnapshotFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
930
|
+
/**
|
|
931
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
932
|
+
*/
|
|
933
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
934
|
+
/**
|
|
935
|
+
* Omit specific fields from the HealthSnapshot
|
|
936
|
+
*/
|
|
937
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
938
|
+
/**
|
|
939
|
+
* Choose, which related nodes to fetch as well
|
|
940
|
+
*/
|
|
941
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
942
|
+
/**
|
|
943
|
+
* Filter, which HealthSnapshot to fetch.
|
|
944
|
+
*/
|
|
945
|
+
where?: Prisma.HealthSnapshotWhereInput;
|
|
946
|
+
/**
|
|
947
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
948
|
+
*
|
|
949
|
+
* Determine the order of HealthSnapshots to fetch.
|
|
950
|
+
*/
|
|
951
|
+
orderBy?: Prisma.HealthSnapshotOrderByWithRelationInput | Prisma.HealthSnapshotOrderByWithRelationInput[];
|
|
952
|
+
/**
|
|
953
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
954
|
+
*
|
|
955
|
+
* Sets the position for searching for HealthSnapshots.
|
|
956
|
+
*/
|
|
957
|
+
cursor?: Prisma.HealthSnapshotWhereUniqueInput;
|
|
958
|
+
/**
|
|
959
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
960
|
+
*
|
|
961
|
+
* Take `±n` HealthSnapshots from the position of the cursor.
|
|
962
|
+
*/
|
|
963
|
+
take?: number;
|
|
964
|
+
/**
|
|
965
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
966
|
+
*
|
|
967
|
+
* Skip the first `n` HealthSnapshots.
|
|
968
|
+
*/
|
|
969
|
+
skip?: number;
|
|
970
|
+
/**
|
|
971
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
972
|
+
*
|
|
973
|
+
* Filter by unique combinations of HealthSnapshots.
|
|
974
|
+
*/
|
|
975
|
+
distinct?: Prisma.HealthSnapshotScalarFieldEnum | Prisma.HealthSnapshotScalarFieldEnum[];
|
|
976
|
+
};
|
|
977
|
+
/**
|
|
978
|
+
* HealthSnapshot findFirstOrThrow
|
|
979
|
+
*/
|
|
980
|
+
export type HealthSnapshotFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
981
|
+
/**
|
|
982
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
983
|
+
*/
|
|
984
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
985
|
+
/**
|
|
986
|
+
* Omit specific fields from the HealthSnapshot
|
|
987
|
+
*/
|
|
988
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
989
|
+
/**
|
|
990
|
+
* Choose, which related nodes to fetch as well
|
|
991
|
+
*/
|
|
992
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
993
|
+
/**
|
|
994
|
+
* Filter, which HealthSnapshot to fetch.
|
|
995
|
+
*/
|
|
996
|
+
where?: Prisma.HealthSnapshotWhereInput;
|
|
997
|
+
/**
|
|
998
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
999
|
+
*
|
|
1000
|
+
* Determine the order of HealthSnapshots to fetch.
|
|
1001
|
+
*/
|
|
1002
|
+
orderBy?: Prisma.HealthSnapshotOrderByWithRelationInput | Prisma.HealthSnapshotOrderByWithRelationInput[];
|
|
1003
|
+
/**
|
|
1004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1005
|
+
*
|
|
1006
|
+
* Sets the position for searching for HealthSnapshots.
|
|
1007
|
+
*/
|
|
1008
|
+
cursor?: Prisma.HealthSnapshotWhereUniqueInput;
|
|
1009
|
+
/**
|
|
1010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1011
|
+
*
|
|
1012
|
+
* Take `±n` HealthSnapshots from the position of the cursor.
|
|
1013
|
+
*/
|
|
1014
|
+
take?: number;
|
|
1015
|
+
/**
|
|
1016
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1017
|
+
*
|
|
1018
|
+
* Skip the first `n` HealthSnapshots.
|
|
1019
|
+
*/
|
|
1020
|
+
skip?: number;
|
|
1021
|
+
/**
|
|
1022
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1023
|
+
*
|
|
1024
|
+
* Filter by unique combinations of HealthSnapshots.
|
|
1025
|
+
*/
|
|
1026
|
+
distinct?: Prisma.HealthSnapshotScalarFieldEnum | Prisma.HealthSnapshotScalarFieldEnum[];
|
|
1027
|
+
};
|
|
1028
|
+
/**
|
|
1029
|
+
* HealthSnapshot findMany
|
|
1030
|
+
*/
|
|
1031
|
+
export type HealthSnapshotFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1032
|
+
/**
|
|
1033
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
1034
|
+
*/
|
|
1035
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
1036
|
+
/**
|
|
1037
|
+
* Omit specific fields from the HealthSnapshot
|
|
1038
|
+
*/
|
|
1039
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
1040
|
+
/**
|
|
1041
|
+
* Choose, which related nodes to fetch as well
|
|
1042
|
+
*/
|
|
1043
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
1044
|
+
/**
|
|
1045
|
+
* Filter, which HealthSnapshots to fetch.
|
|
1046
|
+
*/
|
|
1047
|
+
where?: Prisma.HealthSnapshotWhereInput;
|
|
1048
|
+
/**
|
|
1049
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1050
|
+
*
|
|
1051
|
+
* Determine the order of HealthSnapshots to fetch.
|
|
1052
|
+
*/
|
|
1053
|
+
orderBy?: Prisma.HealthSnapshotOrderByWithRelationInput | Prisma.HealthSnapshotOrderByWithRelationInput[];
|
|
1054
|
+
/**
|
|
1055
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1056
|
+
*
|
|
1057
|
+
* Sets the position for listing HealthSnapshots.
|
|
1058
|
+
*/
|
|
1059
|
+
cursor?: Prisma.HealthSnapshotWhereUniqueInput;
|
|
1060
|
+
/**
|
|
1061
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1062
|
+
*
|
|
1063
|
+
* Take `±n` HealthSnapshots from the position of the cursor.
|
|
1064
|
+
*/
|
|
1065
|
+
take?: number;
|
|
1066
|
+
/**
|
|
1067
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1068
|
+
*
|
|
1069
|
+
* Skip the first `n` HealthSnapshots.
|
|
1070
|
+
*/
|
|
1071
|
+
skip?: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1074
|
+
*
|
|
1075
|
+
* Filter by unique combinations of HealthSnapshots.
|
|
1076
|
+
*/
|
|
1077
|
+
distinct?: Prisma.HealthSnapshotScalarFieldEnum | Prisma.HealthSnapshotScalarFieldEnum[];
|
|
1078
|
+
};
|
|
1079
|
+
/**
|
|
1080
|
+
* HealthSnapshot create
|
|
1081
|
+
*/
|
|
1082
|
+
export type HealthSnapshotCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1083
|
+
/**
|
|
1084
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
1085
|
+
*/
|
|
1086
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Omit specific fields from the HealthSnapshot
|
|
1089
|
+
*/
|
|
1090
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
1091
|
+
/**
|
|
1092
|
+
* Choose, which related nodes to fetch as well
|
|
1093
|
+
*/
|
|
1094
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* The data needed to create a HealthSnapshot.
|
|
1097
|
+
*/
|
|
1098
|
+
data: Prisma.XOR<Prisma.HealthSnapshotCreateInput, Prisma.HealthSnapshotUncheckedCreateInput>;
|
|
1099
|
+
};
|
|
1100
|
+
/**
|
|
1101
|
+
* HealthSnapshot createMany
|
|
1102
|
+
*/
|
|
1103
|
+
export type HealthSnapshotCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1104
|
+
/**
|
|
1105
|
+
* The data used to create many HealthSnapshots.
|
|
1106
|
+
*/
|
|
1107
|
+
data: Prisma.HealthSnapshotCreateManyInput | Prisma.HealthSnapshotCreateManyInput[];
|
|
1108
|
+
skipDuplicates?: boolean;
|
|
1109
|
+
};
|
|
1110
|
+
/**
|
|
1111
|
+
* HealthSnapshot createManyAndReturn
|
|
1112
|
+
*/
|
|
1113
|
+
export type HealthSnapshotCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1114
|
+
/**
|
|
1115
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
1116
|
+
*/
|
|
1117
|
+
select?: Prisma.HealthSnapshotSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1118
|
+
/**
|
|
1119
|
+
* Omit specific fields from the HealthSnapshot
|
|
1120
|
+
*/
|
|
1121
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
1122
|
+
/**
|
|
1123
|
+
* The data used to create many HealthSnapshots.
|
|
1124
|
+
*/
|
|
1125
|
+
data: Prisma.HealthSnapshotCreateManyInput | Prisma.HealthSnapshotCreateManyInput[];
|
|
1126
|
+
skipDuplicates?: boolean;
|
|
1127
|
+
/**
|
|
1128
|
+
* Choose, which related nodes to fetch as well
|
|
1129
|
+
*/
|
|
1130
|
+
include?: Prisma.HealthSnapshotIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1131
|
+
};
|
|
1132
|
+
/**
|
|
1133
|
+
* HealthSnapshot update
|
|
1134
|
+
*/
|
|
1135
|
+
export type HealthSnapshotUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1136
|
+
/**
|
|
1137
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
1138
|
+
*/
|
|
1139
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
1140
|
+
/**
|
|
1141
|
+
* Omit specific fields from the HealthSnapshot
|
|
1142
|
+
*/
|
|
1143
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
1144
|
+
/**
|
|
1145
|
+
* Choose, which related nodes to fetch as well
|
|
1146
|
+
*/
|
|
1147
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
1148
|
+
/**
|
|
1149
|
+
* The data needed to update a HealthSnapshot.
|
|
1150
|
+
*/
|
|
1151
|
+
data: Prisma.XOR<Prisma.HealthSnapshotUpdateInput, Prisma.HealthSnapshotUncheckedUpdateInput>;
|
|
1152
|
+
/**
|
|
1153
|
+
* Choose, which HealthSnapshot to update.
|
|
1154
|
+
*/
|
|
1155
|
+
where: Prisma.HealthSnapshotWhereUniqueInput;
|
|
1156
|
+
};
|
|
1157
|
+
/**
|
|
1158
|
+
* HealthSnapshot updateMany
|
|
1159
|
+
*/
|
|
1160
|
+
export type HealthSnapshotUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1161
|
+
/**
|
|
1162
|
+
* The data used to update HealthSnapshots.
|
|
1163
|
+
*/
|
|
1164
|
+
data: Prisma.XOR<Prisma.HealthSnapshotUpdateManyMutationInput, Prisma.HealthSnapshotUncheckedUpdateManyInput>;
|
|
1165
|
+
/**
|
|
1166
|
+
* Filter which HealthSnapshots to update
|
|
1167
|
+
*/
|
|
1168
|
+
where?: Prisma.HealthSnapshotWhereInput;
|
|
1169
|
+
/**
|
|
1170
|
+
* Limit how many HealthSnapshots to update.
|
|
1171
|
+
*/
|
|
1172
|
+
limit?: number;
|
|
1173
|
+
};
|
|
1174
|
+
/**
|
|
1175
|
+
* HealthSnapshot updateManyAndReturn
|
|
1176
|
+
*/
|
|
1177
|
+
export type HealthSnapshotUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1178
|
+
/**
|
|
1179
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
1180
|
+
*/
|
|
1181
|
+
select?: Prisma.HealthSnapshotSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* Omit specific fields from the HealthSnapshot
|
|
1184
|
+
*/
|
|
1185
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
1186
|
+
/**
|
|
1187
|
+
* The data used to update HealthSnapshots.
|
|
1188
|
+
*/
|
|
1189
|
+
data: Prisma.XOR<Prisma.HealthSnapshotUpdateManyMutationInput, Prisma.HealthSnapshotUncheckedUpdateManyInput>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Filter which HealthSnapshots to update
|
|
1192
|
+
*/
|
|
1193
|
+
where?: Prisma.HealthSnapshotWhereInput;
|
|
1194
|
+
/**
|
|
1195
|
+
* Limit how many HealthSnapshots to update.
|
|
1196
|
+
*/
|
|
1197
|
+
limit?: number;
|
|
1198
|
+
/**
|
|
1199
|
+
* Choose, which related nodes to fetch as well
|
|
1200
|
+
*/
|
|
1201
|
+
include?: Prisma.HealthSnapshotIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1202
|
+
};
|
|
1203
|
+
/**
|
|
1204
|
+
* HealthSnapshot upsert
|
|
1205
|
+
*/
|
|
1206
|
+
export type HealthSnapshotUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1207
|
+
/**
|
|
1208
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
1209
|
+
*/
|
|
1210
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
1211
|
+
/**
|
|
1212
|
+
* Omit specific fields from the HealthSnapshot
|
|
1213
|
+
*/
|
|
1214
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
1215
|
+
/**
|
|
1216
|
+
* Choose, which related nodes to fetch as well
|
|
1217
|
+
*/
|
|
1218
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
1219
|
+
/**
|
|
1220
|
+
* The filter to search for the HealthSnapshot to update in case it exists.
|
|
1221
|
+
*/
|
|
1222
|
+
where: Prisma.HealthSnapshotWhereUniqueInput;
|
|
1223
|
+
/**
|
|
1224
|
+
* In case the HealthSnapshot found by the `where` argument doesn't exist, create a new HealthSnapshot with this data.
|
|
1225
|
+
*/
|
|
1226
|
+
create: Prisma.XOR<Prisma.HealthSnapshotCreateInput, Prisma.HealthSnapshotUncheckedCreateInput>;
|
|
1227
|
+
/**
|
|
1228
|
+
* In case the HealthSnapshot was found with the provided `where` argument, update it with this data.
|
|
1229
|
+
*/
|
|
1230
|
+
update: Prisma.XOR<Prisma.HealthSnapshotUpdateInput, Prisma.HealthSnapshotUncheckedUpdateInput>;
|
|
1231
|
+
};
|
|
1232
|
+
/**
|
|
1233
|
+
* HealthSnapshot delete
|
|
1234
|
+
*/
|
|
1235
|
+
export type HealthSnapshotDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1236
|
+
/**
|
|
1237
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
1238
|
+
*/
|
|
1239
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* Omit specific fields from the HealthSnapshot
|
|
1242
|
+
*/
|
|
1243
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
1244
|
+
/**
|
|
1245
|
+
* Choose, which related nodes to fetch as well
|
|
1246
|
+
*/
|
|
1247
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
1248
|
+
/**
|
|
1249
|
+
* Filter which HealthSnapshot to delete.
|
|
1250
|
+
*/
|
|
1251
|
+
where: Prisma.HealthSnapshotWhereUniqueInput;
|
|
1252
|
+
};
|
|
1253
|
+
/**
|
|
1254
|
+
* HealthSnapshot deleteMany
|
|
1255
|
+
*/
|
|
1256
|
+
export type HealthSnapshotDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1257
|
+
/**
|
|
1258
|
+
* Filter which HealthSnapshots to delete
|
|
1259
|
+
*/
|
|
1260
|
+
where?: Prisma.HealthSnapshotWhereInput;
|
|
1261
|
+
/**
|
|
1262
|
+
* Limit how many HealthSnapshots to delete.
|
|
1263
|
+
*/
|
|
1264
|
+
limit?: number;
|
|
1265
|
+
};
|
|
1266
|
+
/**
|
|
1267
|
+
* HealthSnapshot without action
|
|
1268
|
+
*/
|
|
1269
|
+
export type HealthSnapshotDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1270
|
+
/**
|
|
1271
|
+
* Select specific fields to fetch from the HealthSnapshot
|
|
1272
|
+
*/
|
|
1273
|
+
select?: Prisma.HealthSnapshotSelect<ExtArgs> | null;
|
|
1274
|
+
/**
|
|
1275
|
+
* Omit specific fields from the HealthSnapshot
|
|
1276
|
+
*/
|
|
1277
|
+
omit?: Prisma.HealthSnapshotOmit<ExtArgs> | null;
|
|
1278
|
+
/**
|
|
1279
|
+
* Choose, which related nodes to fetch as well
|
|
1280
|
+
*/
|
|
1281
|
+
include?: Prisma.HealthSnapshotInclude<ExtArgs> | null;
|
|
1282
|
+
};
|