@aeolus-fleet/trierarch-plugin 0.33.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/prisma/fleet-forgetter.d.ts +1 -1
- package/dist/adapters/prisma/fleet-forgetter.js +2 -2
- package/dist/adapters/prisma/fleet-forgetter.js.map +1 -1
- package/dist/adapters/prisma/generated/browser.d.ts +23 -0
- package/dist/adapters/prisma/generated/client.d.ts +23 -0
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +201 -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 +306 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +54 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +56 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +54 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/SubscriptionReading.d.ts +1113 -0
- package/dist/adapters/prisma/generated/models/SubscriptionReading.js +2 -0
- package/dist/adapters/prisma/generated/models/SubscriptionReading.js.map +1 -0
- package/dist/adapters/prisma/generated/models/UsageDay.d.ts +1554 -0
- package/dist/adapters/prisma/generated/models/UsageDay.js +2 -0
- package/dist/adapters/prisma/generated/models/UsageDay.js.map +1 -0
- package/dist/adapters/prisma/generated/models/UsageHour.d.ts +1445 -0
- package/dist/adapters/prisma/generated/models/UsageHour.js +2 -0
- package/dist/adapters/prisma/generated/models/UsageHour.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +3 -0
- package/dist/adapters/prisma/usage-history.d.ts +3 -0
- package/dist/adapters/prisma/usage-history.js +316 -0
- package/dist/adapters/prisma/usage-history.js.map +1 -0
- package/dist/adapters/trpc/router.d.ts +205 -1
- package/dist/adapters/trpc/router.js +159 -1
- package/dist/adapters/trpc/router.js.map +1 -1
- package/dist/app.js +11 -0
- package/dist/app.js.map +1 -1
- package/dist/core/shared/errors.d.ts +1 -1
- package/dist/core/shared/errors.js.map +1 -1
- package/dist/core/usage/ports.d.ts +19 -0
- package/dist/core/usage/ports.js +2 -0
- package/dist/core/usage/ports.js.map +1 -0
- package/dist/core/usage/read-subscription-windows.d.ts +35 -0
- package/dist/core/usage/read-subscription-windows.js +32 -0
- package/dist/core/usage/read-subscription-windows.js.map +1 -0
- package/dist/core/usage/read-token-usage.d.ts +61 -0
- package/dist/core/usage/read-token-usage.js +79 -0
- package/dist/core/usage/read-token-usage.js.map +1 -0
- package/dist/core/usage/read-usage-values.d.ts +36 -0
- package/dist/core/usage/read-usage-values.js +31 -0
- package/dist/core/usage/read-usage-values.js.map +1 -0
- package/dist/core/usage/ship-names.d.ts +19 -0
- package/dist/core/usage/ship-names.js +29 -0
- package/dist/core/usage/ship-names.js.map +1 -0
- package/dist/core/usage/subscription-windows.d.ts +28 -0
- package/dist/core/usage/subscription-windows.js +2 -0
- package/dist/core/usage/subscription-windows.js.map +1 -0
- package/dist/core/usage/token-usage.d.ts +61 -0
- package/dist/core/usage/token-usage.js +5 -0
- package/dist/core/usage/token-usage.js.map +1 -0
- package/dist/core/usage/usage-range.d.ts +12 -0
- package/dist/core/usage/usage-range.js +24 -0
- package/dist/core/usage/usage-range.js.map +1 -0
- package/dist/core/usage/usage-reading.d.ts +53 -0
- package/dist/core/usage/usage-reading.js +2 -0
- package/dist/core/usage/usage-reading.js.map +1 -0
- package/dist/core/usage/usage-values.d.ts +15 -0
- package/dist/core/usage/usage-values.js +2 -0
- package/dist/core/usage/usage-values.js.map +1 -0
- package/package.json +1 -1
- package/src/adapters/prisma/migrations/20261028120000_usage_history/migration.sql +57 -0
- package/src/adapters/prisma/migrations/20261028150000_usage_cost_per_kind/migration.sql +21 -0
- package/src/adapters/prisma/schema.prisma +79 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { FleetForgetter } from '../../core/installation/ports.js';
|
|
2
2
|
import type { PrismaClient } from './client.js';
|
|
3
|
-
/** Forgets every record the trierarch plugin holds of a fleet, in one transaction: its connection, its switch, its enabled models and the requests that name it. */
|
|
3
|
+
/** Forgets every record the trierarch plugin holds of a fleet, in one transaction: its connection, its switch, its enabled models, its usage history and the requests that name it. */
|
|
4
4
|
export declare function createPrismaFleetForgetter(db: PrismaClient): FleetForgetter;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/** Forgets every record the trierarch plugin holds of a fleet, in one transaction: its connection, its switch, its enabled models and the requests that name it. */
|
|
1
|
+
/** Forgets every record the trierarch plugin holds of a fleet, in one transaction: its connection, its switch, its enabled models, its usage history and the requests that name it. */
|
|
2
2
|
export function createPrismaFleetForgetter(db) {
|
|
3
3
|
return {
|
|
4
4
|
forget: async (fleetId) => {
|
|
5
5
|
const where = { where: { fleetId } };
|
|
6
|
-
await db.$transaction([db.connection.deleteMany(where), db.fleetSwitch.deleteMany(where), db.enabledModel.deleteMany(where), db.installationRequest.deleteMany(where)]);
|
|
6
|
+
await db.$transaction([db.connection.deleteMany(where), db.fleetSwitch.deleteMany(where), db.enabledModel.deleteMany(where), db.usageHour.deleteMany(where), db.usageDay.deleteMany(where), db.subscriptionReading.deleteMany(where), db.installationRequest.deleteMany(where)]);
|
|
7
7
|
},
|
|
8
8
|
};
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fleet-forgetter.js","sourceRoot":"","sources":["../../../src/adapters/prisma/fleet-forgetter.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"fleet-forgetter.js","sourceRoot":"","sources":["../../../src/adapters/prisma/fleet-forgetter.ts"],"names":[],"mappings":"AAGA,uLAAuL;AACvL,MAAM,UAAU,0BAA0B,CAAC,EAAgB;IACzD,OAAO;QACL,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YACxB,MAAM,KAAK,GAAG,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,CAAC;YACrC,MAAM,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,mBAAmB,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,mBAAmB,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACnR,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -29,3 +29,26 @@ export type InstallationRequest = Prisma.InstallationRequestModel;
|
|
|
29
29
|
* the trierarch plugin off keeps them.
|
|
30
30
|
*/
|
|
31
31
|
export type EnabledModel = Prisma.EnabledModelModel;
|
|
32
|
+
/**
|
|
33
|
+
* Model UsageHour
|
|
34
|
+
* One ship's tokens of one model in one UTC hour, in one folder of the ship on
|
|
35
|
+
* one machine, as its trierarch read them (decision 0030, the usage design). The
|
|
36
|
+
* hour's total so far: a row is kept only when its read_at is newer than the
|
|
37
|
+
* stored one. Its primary key, fleet and hour first, serves a range of hours.
|
|
38
|
+
*/
|
|
39
|
+
export type UsageHour = Prisma.UsageHourModel;
|
|
40
|
+
/**
|
|
41
|
+
* Model UsageDay
|
|
42
|
+
* The hours of one UTC day added up, per machine, ship, model, harness and
|
|
43
|
+
* login: the rollup ranges over 7 days read. Written in the same transaction as
|
|
44
|
+
* each usage_hours row, by the difference between the new and the stored row.
|
|
45
|
+
* Its key holds the login, which may be null, so the migration makes that
|
|
46
|
+
* unique index NULLS NOT DISTINCT, which this schema cannot say.
|
|
47
|
+
*/
|
|
48
|
+
export type UsageDay = Prisma.UsageDayModel;
|
|
49
|
+
/**
|
|
50
|
+
* Model SubscriptionReading
|
|
51
|
+
* How full one subscription window of a harness on one machine was when its
|
|
52
|
+
* trierarch read it. Kept once: a repeat changes nothing.
|
|
53
|
+
*/
|
|
54
|
+
export type SubscriptionReading = Prisma.SubscriptionReadingModel;
|
|
@@ -48,3 +48,26 @@ export type InstallationRequest = Prisma.InstallationRequestModel;
|
|
|
48
48
|
* the trierarch plugin off keeps them.
|
|
49
49
|
*/
|
|
50
50
|
export type EnabledModel = Prisma.EnabledModelModel;
|
|
51
|
+
/**
|
|
52
|
+
* Model UsageHour
|
|
53
|
+
* One ship's tokens of one model in one UTC hour, in one folder of the ship on
|
|
54
|
+
* one machine, as its trierarch read them (decision 0030, the usage design). The
|
|
55
|
+
* hour's total so far: a row is kept only when its read_at is newer than the
|
|
56
|
+
* stored one. Its primary key, fleet and hour first, serves a range of hours.
|
|
57
|
+
*/
|
|
58
|
+
export type UsageHour = Prisma.UsageHourModel;
|
|
59
|
+
/**
|
|
60
|
+
* Model UsageDay
|
|
61
|
+
* The hours of one UTC day added up, per machine, ship, model, harness and
|
|
62
|
+
* login: the rollup ranges over 7 days read. Written in the same transaction as
|
|
63
|
+
* each usage_hours row, by the difference between the new and the stored row.
|
|
64
|
+
* Its key holds the login, which may be null, so the migration makes that
|
|
65
|
+
* unique index NULLS NOT DISTINCT, which this schema cannot say.
|
|
66
|
+
*/
|
|
67
|
+
export type UsageDay = Prisma.UsageDayModel;
|
|
68
|
+
/**
|
|
69
|
+
* Model SubscriptionReading
|
|
70
|
+
* How full one subscription window of a harness on one machine was when its
|
|
71
|
+
* trierarch read it. Kept once: a repeat changes nothing.
|
|
72
|
+
*/
|
|
73
|
+
export type SubscriptionReading = Prisma.SubscriptionReadingModel;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
1
2
|
import type * as Prisma from "./internal/prismaNamespace.js";
|
|
2
3
|
export type StringFilter<$PrismaModel = never> = {
|
|
3
4
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
@@ -110,6 +111,106 @@ export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
110
111
|
_min?: Prisma.NestedBoolNullableFilter<$PrismaModel>;
|
|
111
112
|
_max?: Prisma.NestedBoolNullableFilter<$PrismaModel>;
|
|
112
113
|
};
|
|
114
|
+
export type BigIntFilter<$PrismaModel = never> = {
|
|
115
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
116
|
+
in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
117
|
+
notIn?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
118
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
119
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
120
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
121
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
122
|
+
not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number;
|
|
123
|
+
};
|
|
124
|
+
export type DecimalNullableFilter<$PrismaModel = never> = {
|
|
125
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null;
|
|
126
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel> | null;
|
|
127
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel> | null;
|
|
128
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
129
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
130
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
131
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
132
|
+
not?: Prisma.NestedDecimalNullableFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
133
|
+
};
|
|
134
|
+
export type BigIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
135
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
136
|
+
in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
137
|
+
notIn?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
138
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
139
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
140
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
141
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
142
|
+
not?: Prisma.NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number;
|
|
143
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
144
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
145
|
+
_sum?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
146
|
+
_min?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
147
|
+
_max?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
148
|
+
};
|
|
149
|
+
export type DecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
150
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null;
|
|
151
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel> | null;
|
|
152
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel> | null;
|
|
153
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
154
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
155
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
156
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
157
|
+
not?: Prisma.NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
158
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
159
|
+
_avg?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
160
|
+
_sum?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
161
|
+
_min?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
162
|
+
_max?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
163
|
+
};
|
|
164
|
+
export type DecimalFilter<$PrismaModel = never> = {
|
|
165
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
166
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel>;
|
|
167
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel>;
|
|
168
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
169
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
170
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
171
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
172
|
+
not?: Prisma.NestedDecimalFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
173
|
+
};
|
|
174
|
+
export type DecimalWithAggregatesFilter<$PrismaModel = never> = {
|
|
175
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
176
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel>;
|
|
177
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel>;
|
|
178
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
179
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
180
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
181
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
182
|
+
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
183
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
184
|
+
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>;
|
|
185
|
+
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>;
|
|
186
|
+
_min?: Prisma.NestedDecimalFilter<$PrismaModel>;
|
|
187
|
+
_max?: Prisma.NestedDecimalFilter<$PrismaModel>;
|
|
188
|
+
};
|
|
189
|
+
export type IntFilter<$PrismaModel = never> = {
|
|
190
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
191
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
192
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
193
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
194
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
195
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
196
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
197
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
198
|
+
};
|
|
199
|
+
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
200
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
201
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
202
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
203
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
204
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
205
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
206
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
207
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
208
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
209
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
210
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
211
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
212
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
213
|
+
};
|
|
113
214
|
export type NestedStringFilter<$PrismaModel = never> = {
|
|
114
215
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
115
216
|
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
@@ -233,3 +334,103 @@ export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
233
334
|
_min?: Prisma.NestedBoolNullableFilter<$PrismaModel>;
|
|
234
335
|
_max?: Prisma.NestedBoolNullableFilter<$PrismaModel>;
|
|
235
336
|
};
|
|
337
|
+
export type NestedBigIntFilter<$PrismaModel = never> = {
|
|
338
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
339
|
+
in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
340
|
+
notIn?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
341
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
342
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
343
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
344
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
345
|
+
not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number;
|
|
346
|
+
};
|
|
347
|
+
export type NestedDecimalNullableFilter<$PrismaModel = never> = {
|
|
348
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null;
|
|
349
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel> | null;
|
|
350
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel> | null;
|
|
351
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
352
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
353
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
354
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
355
|
+
not?: Prisma.NestedDecimalNullableFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
356
|
+
};
|
|
357
|
+
export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
358
|
+
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
359
|
+
in?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
360
|
+
notIn?: bigint[] | number[] | Prisma.ListBigIntFieldRefInput<$PrismaModel>;
|
|
361
|
+
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
362
|
+
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
363
|
+
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
364
|
+
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>;
|
|
365
|
+
not?: Prisma.NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number;
|
|
366
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
367
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
368
|
+
_sum?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
369
|
+
_min?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
370
|
+
_max?: Prisma.NestedBigIntFilter<$PrismaModel>;
|
|
371
|
+
};
|
|
372
|
+
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
373
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
374
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>;
|
|
375
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>;
|
|
376
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
377
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
378
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
379
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
380
|
+
not?: Prisma.NestedFloatFilter<$PrismaModel> | number;
|
|
381
|
+
};
|
|
382
|
+
export type NestedDecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
383
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null;
|
|
384
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel> | null;
|
|
385
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel> | null;
|
|
386
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
387
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
388
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
389
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
390
|
+
not?: Prisma.NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
391
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
392
|
+
_avg?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
393
|
+
_sum?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
394
|
+
_min?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
395
|
+
_max?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
396
|
+
};
|
|
397
|
+
export type NestedDecimalFilter<$PrismaModel = never> = {
|
|
398
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
399
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel>;
|
|
400
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel>;
|
|
401
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
402
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
403
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
404
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
405
|
+
not?: Prisma.NestedDecimalFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
406
|
+
};
|
|
407
|
+
export type NestedDecimalWithAggregatesFilter<$PrismaModel = never> = {
|
|
408
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
409
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel>;
|
|
410
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | Prisma.ListDecimalFieldRefInput<$PrismaModel>;
|
|
411
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
412
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
413
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
414
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
415
|
+
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
416
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
417
|
+
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>;
|
|
418
|
+
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>;
|
|
419
|
+
_min?: Prisma.NestedDecimalFilter<$PrismaModel>;
|
|
420
|
+
_max?: Prisma.NestedDecimalFilter<$PrismaModel>;
|
|
421
|
+
};
|
|
422
|
+
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
423
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
424
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
425
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
|
|
426
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
427
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
428
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
429
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
430
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
431
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
432
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
433
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
434
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
435
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
436
|
+
};
|
|
@@ -161,5 +161,38 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
161
161
|
get enabledModel(): Prisma.EnabledModelDelegate<ExtArgs, {
|
|
162
162
|
omit: OmitOpts;
|
|
163
163
|
}>;
|
|
164
|
+
/**
|
|
165
|
+
* `prisma.usageHour`: Exposes CRUD operations for the **UsageHour** model.
|
|
166
|
+
* Example usage:
|
|
167
|
+
* ```ts
|
|
168
|
+
* // Fetch zero or more UsageHours
|
|
169
|
+
* const usageHours = await prisma.usageHour.findMany()
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
get usageHour(): Prisma.UsageHourDelegate<ExtArgs, {
|
|
173
|
+
omit: OmitOpts;
|
|
174
|
+
}>;
|
|
175
|
+
/**
|
|
176
|
+
* `prisma.usageDay`: Exposes CRUD operations for the **UsageDay** model.
|
|
177
|
+
* Example usage:
|
|
178
|
+
* ```ts
|
|
179
|
+
* // Fetch zero or more UsageDays
|
|
180
|
+
* const usageDays = await prisma.usageDay.findMany()
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
get usageDay(): Prisma.UsageDayDelegate<ExtArgs, {
|
|
184
|
+
omit: OmitOpts;
|
|
185
|
+
}>;
|
|
186
|
+
/**
|
|
187
|
+
* `prisma.subscriptionReading`: Exposes CRUD operations for the **SubscriptionReading** model.
|
|
188
|
+
* Example usage:
|
|
189
|
+
* ```ts
|
|
190
|
+
* // Fetch zero or more SubscriptionReadings
|
|
191
|
+
* const subscriptionReadings = await prisma.subscriptionReading.findMany()
|
|
192
|
+
* ```
|
|
193
|
+
*/
|
|
194
|
+
get subscriptionReading(): Prisma.SubscriptionReadingDelegate<ExtArgs, {
|
|
195
|
+
omit: OmitOpts;
|
|
196
|
+
}>;
|
|
164
197
|
}
|
|
165
198
|
export declare function getPrismaClientClass(): PrismaClientConstructor;
|
|
@@ -15,7 +15,7 @@ const config = {
|
|
|
15
15
|
"clientVersion": "7.10.1",
|
|
16
16
|
"engineVersion": "d1b3f377ca835d73fd50954a5e22128b9ebdd6b8",
|
|
17
17
|
"activeProvider": "postgresql",
|
|
18
|
-
"inlineSchema": "// The trierarch plugin's tables, in its own small database (decision 0030): per\n// fleet only its connection, its switch
|
|
18
|
+
"inlineSchema": "// The trierarch plugin's tables, in its own small database (decision 0030): per\n// fleet only its connection, its switch, its enabled models (decision 0063) and\n// its usage history, and the installation's requests.\n// Everything else (crew requests, statuses, machines) lives in the fleet, which\n// it reaches only through its public API, as the ship it crews.\n//\n// Timestamps have no database default: the application's Clock port sets every\n// one of them, so tests control time.\n\ngenerator client {\n provider = \"prisma-client\"\n output = \"./generated\"\n moduleFormat = \"esm\"\n importFileExtension = \"js\"\n runtime = \"nodejs\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\n/// The crew token the trierarch plugin holds for each fleet's plugin ship, so a\n/// restart crews it again without a new secret. One row per fleet: one install\n/// serves many fleets.\nmodel Connection {\n fleetId String @id @map(\"fleet_id\")\n shipId String @map(\"ship_id\")\n shipName String @map(\"ship_name\")\n /// Null while the plugin is not connected: the fleet and ship stay, as the last connection.\n crewToken String? @map(\"crew_token\")\n crewedAt DateTime @map(\"crewed_at\") @db.Timestamptz(3)\n\n @@map(\"connections\")\n}\n\n/// Whether the hosting service switched the trierarch plugin on for a fleet\n/// (decisions 0021, 0030). None before the first switch.\nmodel FleetSwitch {\n fleetId String @id @map(\"fleet_id\")\n enabled Boolean\n changedAt DateTime @map(\"changed_at\") @db.Timestamptz(3)\n\n @@map(\"fleet_switches\")\n}\n\n/// The installation's requests, by the caller's request id, so a replay answers\n/// what the first call answered. A switch names its fleet and goes with it; a\n/// delete keeps only the request's hash, so nothing of the deleted fleet stays.\nmodel InstallationRequest {\n requestId String @id @map(\"request_id\")\n kind String\n requestHash String @map(\"request_hash\")\n fleetId String? @map(\"fleet_id\")\n enabled Boolean?\n at DateTime @db.Timestamptz(3)\n\n @@index([fleetId])\n @@map(\"installation_requests\")\n}\n\n/// The models each fleet's agent ships may be crewed with (decision 0063): exact\n/// model ids, one row each. None is no rule. Forgotten with the fleet; switching\n/// the trierarch plugin off keeps them.\nmodel EnabledModel {\n fleetId String @map(\"fleet_id\")\n model String\n\n @@id([fleetId, model])\n @@map(\"enabled_models\")\n}\n\n/// One ship's tokens of one model in one UTC hour, in one folder of the ship on\n/// one machine, as its trierarch read them (decision 0030, the usage design). The\n/// hour's total so far: a row is kept only when its read_at is newer than the\n/// stored one. Its primary key, fleet and hour first, serves a range of hours.\nmodel UsageHour {\n fleetId String @map(\"fleet_id\")\n hour DateTime @db.Timestamptz(3)\n machineShipId String @map(\"machine_ship_id\")\n shipId String @map(\"ship_id\")\n folderMadeAt DateTime @map(\"folder_made_at\") @db.Timestamptz(3)\n model String\n harness String\n /// Null: the trierarch reported no login.\n login String?\n input BigInt\n output BigInt\n cacheRead BigInt @map(\"cache_read\")\n cacheWrite BigInt @map(\"cache_write\")\n /// The estimated cost of each kind of tokens; all four null: the trierarch does not price the model.\n estimatedCostInputUsd Decimal? @map(\"estimated_cost_input_usd\") @db.Decimal(18, 6)\n estimatedCostOutputUsd Decimal? @map(\"estimated_cost_output_usd\") @db.Decimal(18, 6)\n estimatedCostCacheReadUsd Decimal? @map(\"estimated_cost_cache_read_usd\") @db.Decimal(18, 6)\n estimatedCostCacheWriteUsd Decimal? @map(\"estimated_cost_cache_write_usd\") @db.Decimal(18, 6)\n readAt DateTime @map(\"read_at\") @db.Timestamptz(3)\n\n @@id([fleetId, hour, machineShipId, shipId, folderMadeAt, model])\n @@map(\"usage_hours\")\n}\n\n/// The hours of one UTC day added up, per machine, ship, model, harness and\n/// login: the rollup ranges over 7 days read. Written in the same transaction as\n/// each usage_hours row, by the difference between the new and the stored row.\n/// Its key holds the login, which may be null, so the migration makes that\n/// unique index NULLS NOT DISTINCT, which this schema cannot say.\nmodel UsageDay {\n id BigInt @id @default(autoincrement())\n fleetId String @map(\"fleet_id\")\n day DateTime @db.Date\n machineShipId String @map(\"machine_ship_id\")\n shipId String @map(\"ship_id\")\n model String\n harness String\n login String?\n input BigInt\n output BigInt\n cacheRead BigInt @map(\"cache_read\")\n cacheWrite BigInt @map(\"cache_write\")\n /// The estimated cost of each kind of tokens, of the priced hours only.\n estimatedCostInputUsd Decimal @map(\"estimated_cost_input_usd\") @db.Decimal(18, 6)\n estimatedCostOutputUsd Decimal @map(\"estimated_cost_output_usd\") @db.Decimal(18, 6)\n estimatedCostCacheReadUsd Decimal @map(\"estimated_cost_cache_read_usd\") @db.Decimal(18, 6)\n estimatedCostCacheWriteUsd Decimal @map(\"estimated_cost_cache_write_usd\") @db.Decimal(18, 6)\n /// The tokens of each kind of the hours whose model the trierarch does not price.\n unpricedInput BigInt @map(\"unpriced_input\")\n unpricedOutput BigInt @map(\"unpriced_output\")\n unpricedCacheRead BigInt @map(\"unpriced_cache_read\")\n unpricedCacheWrite BigInt @map(\"unpriced_cache_write\")\n\n @@unique([fleetId, day, machineShipId, shipId, model, harness, login])\n @@map(\"usage_days\")\n}\n\n/// How full one subscription window of a harness on one machine was when its\n/// trierarch read it. Kept once: a repeat changes nothing.\nmodel SubscriptionReading {\n fleetId String @map(\"fleet_id\")\n machineShipId String @map(\"machine_ship_id\")\n harness String\n windowMinutes Int @map(\"window_minutes\")\n readAt DateTime @map(\"read_at\") @db.Timestamptz(3)\n usedPercent Decimal @map(\"used_percent\") @db.Decimal(5, 2)\n resetsAt DateTime @map(\"resets_at\") @db.Timestamptz(3)\n\n @@id([fleetId, machineShipId, harness, windowMinutes, readAt])\n @@map(\"subscription_readings\")\n}\n",
|
|
19
19
|
"runtimeDataModel": {
|
|
20
20
|
"models": {},
|
|
21
21
|
"enums": {},
|
|
@@ -26,10 +26,10 @@ const config = {
|
|
|
26
26
|
"graph": ""
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
config.runtimeDataModel = JSON.parse("{\"models\":{\"Connection\":{\"fields\":[{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"shipId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"ship_id\"},{\"name\":\"shipName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"ship_name\"},{\"name\":\"crewToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"crew_token\"},{\"name\":\"crewedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"crewed_at\"}],\"dbName\":\"connections\",\"schema\":null},\"FleetSwitch\":{\"fields\":[{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"enabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"changedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"changed_at\"}],\"dbName\":\"fleet_switches\",\"schema\":null},\"InstallationRequest\":{\"fields\":[{\"name\":\"requestId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"request_id\"},{\"name\":\"kind\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"requestHash\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"request_hash\"},{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"enabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"at\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":\"installation_requests\",\"schema\":null},\"EnabledModel\":{\"fields\":[{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"model\",\"kind\":\"scalar\",\"type\":\"String\"}],\"dbName\":\"enabled_models\",\"schema\":null}},\"enums\":{},\"types\":{}}");
|
|
29
|
+
config.runtimeDataModel = JSON.parse("{\"models\":{\"Connection\":{\"fields\":[{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"shipId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"ship_id\"},{\"name\":\"shipName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"ship_name\"},{\"name\":\"crewToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"crew_token\"},{\"name\":\"crewedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"crewed_at\"}],\"dbName\":\"connections\",\"schema\":null},\"FleetSwitch\":{\"fields\":[{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"enabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"changedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"changed_at\"}],\"dbName\":\"fleet_switches\",\"schema\":null},\"InstallationRequest\":{\"fields\":[{\"name\":\"requestId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"request_id\"},{\"name\":\"kind\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"requestHash\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"request_hash\"},{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"enabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"at\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":\"installation_requests\",\"schema\":null},\"EnabledModel\":{\"fields\":[{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"model\",\"kind\":\"scalar\",\"type\":\"String\"}],\"dbName\":\"enabled_models\",\"schema\":null},\"UsageHour\":{\"fields\":[{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"hour\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"machineShipId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"machine_ship_id\"},{\"name\":\"shipId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"ship_id\"},{\"name\":\"folderMadeAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"folder_made_at\"},{\"name\":\"model\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"harness\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"login\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"input\",\"kind\":\"scalar\",\"type\":\"BigInt\"},{\"name\":\"output\",\"kind\":\"scalar\",\"type\":\"BigInt\"},{\"name\":\"cacheRead\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"cache_read\"},{\"name\":\"cacheWrite\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"cache_write\"},{\"name\":\"estimatedCostInputUsd\",\"kind\":\"scalar\",\"type\":\"Decimal\",\"dbName\":\"estimated_cost_input_usd\"},{\"name\":\"estimatedCostOutputUsd\",\"kind\":\"scalar\",\"type\":\"Decimal\",\"dbName\":\"estimated_cost_output_usd\"},{\"name\":\"estimatedCostCacheReadUsd\",\"kind\":\"scalar\",\"type\":\"Decimal\",\"dbName\":\"estimated_cost_cache_read_usd\"},{\"name\":\"estimatedCostCacheWriteUsd\",\"kind\":\"scalar\",\"type\":\"Decimal\",\"dbName\":\"estimated_cost_cache_write_usd\"},{\"name\":\"readAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"read_at\"}],\"dbName\":\"usage_hours\",\"schema\":null},\"UsageDay\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"BigInt\"},{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"day\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"machineShipId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"machine_ship_id\"},{\"name\":\"shipId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"ship_id\"},{\"name\":\"model\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"harness\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"login\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"input\",\"kind\":\"scalar\",\"type\":\"BigInt\"},{\"name\":\"output\",\"kind\":\"scalar\",\"type\":\"BigInt\"},{\"name\":\"cacheRead\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"cache_read\"},{\"name\":\"cacheWrite\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"cache_write\"},{\"name\":\"estimatedCostInputUsd\",\"kind\":\"scalar\",\"type\":\"Decimal\",\"dbName\":\"estimated_cost_input_usd\"},{\"name\":\"estimatedCostOutputUsd\",\"kind\":\"scalar\",\"type\":\"Decimal\",\"dbName\":\"estimated_cost_output_usd\"},{\"name\":\"estimatedCostCacheReadUsd\",\"kind\":\"scalar\",\"type\":\"Decimal\",\"dbName\":\"estimated_cost_cache_read_usd\"},{\"name\":\"estimatedCostCacheWriteUsd\",\"kind\":\"scalar\",\"type\":\"Decimal\",\"dbName\":\"estimated_cost_cache_write_usd\"},{\"name\":\"unpricedInput\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"unpriced_input\"},{\"name\":\"unpricedOutput\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"unpriced_output\"},{\"name\":\"unpricedCacheRead\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"unpriced_cache_read\"},{\"name\":\"unpricedCacheWrite\",\"kind\":\"scalar\",\"type\":\"BigInt\",\"dbName\":\"unpriced_cache_write\"}],\"dbName\":\"usage_days\",\"schema\":null},\"SubscriptionReading\":{\"fields\":[{\"name\":\"fleetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fleet_id\"},{\"name\":\"machineShipId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"machine_ship_id\"},{\"name\":\"harness\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"windowMinutes\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"window_minutes\"},{\"name\":\"readAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"read_at\"},{\"name\":\"usedPercent\",\"kind\":\"scalar\",\"type\":\"Decimal\",\"dbName\":\"used_percent\"},{\"name\":\"resetsAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"resets_at\"}],\"dbName\":\"subscription_readings\",\"schema\":null}},\"enums\":{},\"types\":{}}");
|
|
30
30
|
config.parameterizationSchema = {
|
|
31
|
-
strings: JSON.parse("[\"where\",\"Connection.findUnique\",\"Connection.findUniqueOrThrow\",\"orderBy\",\"cursor\",\"Connection.findFirst\",\"Connection.findFirstOrThrow\",\"Connection.findMany\",\"data\",\"Connection.createOne\",\"Connection.createMany\",\"Connection.createManyAndReturn\",\"Connection.updateOne\",\"Connection.updateMany\",\"Connection.updateManyAndReturn\",\"create\",\"update\",\"Connection.upsertOne\",\"Connection.deleteOne\",\"Connection.deleteMany\",\"having\",\"_count\",\"_min\",\"_max\",\"Connection.groupBy\",\"Connection.aggregate\",\"FleetSwitch.findUnique\",\"FleetSwitch.findUniqueOrThrow\",\"FleetSwitch.findFirst\",\"FleetSwitch.findFirstOrThrow\",\"FleetSwitch.findMany\",\"FleetSwitch.createOne\",\"FleetSwitch.createMany\",\"FleetSwitch.createManyAndReturn\",\"FleetSwitch.updateOne\",\"FleetSwitch.updateMany\",\"FleetSwitch.updateManyAndReturn\",\"FleetSwitch.upsertOne\",\"FleetSwitch.deleteOne\",\"FleetSwitch.deleteMany\",\"FleetSwitch.groupBy\",\"FleetSwitch.aggregate\",\"InstallationRequest.findUnique\",\"InstallationRequest.findUniqueOrThrow\",\"InstallationRequest.findFirst\",\"InstallationRequest.findFirstOrThrow\",\"InstallationRequest.findMany\",\"InstallationRequest.createOne\",\"InstallationRequest.createMany\",\"InstallationRequest.createManyAndReturn\",\"InstallationRequest.updateOne\",\"InstallationRequest.updateMany\",\"InstallationRequest.updateManyAndReturn\",\"InstallationRequest.upsertOne\",\"InstallationRequest.deleteOne\",\"InstallationRequest.deleteMany\",\"InstallationRequest.groupBy\",\"InstallationRequest.aggregate\",\"EnabledModel.findUnique\",\"EnabledModel.findUniqueOrThrow\",\"EnabledModel.findFirst\",\"EnabledModel.findFirstOrThrow\",\"EnabledModel.findMany\",\"EnabledModel.createOne\",\"EnabledModel.createMany\",\"EnabledModel.createManyAndReturn\",\"EnabledModel.updateOne\",\"EnabledModel.updateMany\",\"EnabledModel.updateManyAndReturn\",\"EnabledModel.upsertOne\",\"EnabledModel.deleteOne\",\"EnabledModel.deleteMany\",\"EnabledModel.groupBy\",\"EnabledModel.aggregate\",\"AND\",\"OR\",\"NOT\",\"fleetId\",\"
|
|
32
|
-
graph: "lQEhQAhKAACDAQAwSwAABAAQTAAAgwEAME0BAAAAAWEBAGsAIWIBAGsAIWMBAHkAIWRAAHsAIQEAAAABACABAAAAAQAgCEoAAIMBADBLAAAEABBMAACDAQAwTQEAawAhYQEAawAhYgEAawAhYwEAeQAhZEAAewAhAWMAAIgBACADAAAABAAgAwAABQAwBAAAAQAgAwAAAAQAIAMAAAUAMAQAAAEAIAMAAAAEACADAAAFADAEAAABACAFTQEAAAABYQEAAAABYgEAAAABYwEAAAABZEAAAAABAQgAAAkAIAVNAQAAAAFhAQAAAAFiAQAAAAFjAQAAAAFkQAAAAAEBCAAACwAwAQgAAAsAMAVNAQCHAQAhYQEAhwEAIWIBAIcBACFjAQCMAQAhZEAAjgEAIQIAAAABACAIAAAOACAFTQEAhwEAIWEBAIcBACFiAQCHAQAhYwEAjAEAIWRAAI4BAC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sMJSwKJi0KJy4CKDENKTIRKjQSKzUSLDgSLTkSLjoSLzwSMD4CMT8TMkESM0MCNEQUNUUSNkYSN0cCOEoVOUsZOk0aO04aPFEaPVIaPlMaP1UaQFcCQVgbQloaQ1wCRF0cRV4aRl8aR2ACSGMdSWQh"
|
|
31
|
+
strings: JSON.parse("[\"where\",\"Connection.findUnique\",\"Connection.findUniqueOrThrow\",\"orderBy\",\"cursor\",\"Connection.findFirst\",\"Connection.findFirstOrThrow\",\"Connection.findMany\",\"data\",\"Connection.createOne\",\"Connection.createMany\",\"Connection.createManyAndReturn\",\"Connection.updateOne\",\"Connection.updateMany\",\"Connection.updateManyAndReturn\",\"create\",\"update\",\"Connection.upsertOne\",\"Connection.deleteOne\",\"Connection.deleteMany\",\"having\",\"_count\",\"_min\",\"_max\",\"Connection.groupBy\",\"Connection.aggregate\",\"FleetSwitch.findUnique\",\"FleetSwitch.findUniqueOrThrow\",\"FleetSwitch.findFirst\",\"FleetSwitch.findFirstOrThrow\",\"FleetSwitch.findMany\",\"FleetSwitch.createOne\",\"FleetSwitch.createMany\",\"FleetSwitch.createManyAndReturn\",\"FleetSwitch.updateOne\",\"FleetSwitch.updateMany\",\"FleetSwitch.updateManyAndReturn\",\"FleetSwitch.upsertOne\",\"FleetSwitch.deleteOne\",\"FleetSwitch.deleteMany\",\"FleetSwitch.groupBy\",\"FleetSwitch.aggregate\",\"InstallationRequest.findUnique\",\"InstallationRequest.findUniqueOrThrow\",\"InstallationRequest.findFirst\",\"InstallationRequest.findFirstOrThrow\",\"InstallationRequest.findMany\",\"InstallationRequest.createOne\",\"InstallationRequest.createMany\",\"InstallationRequest.createManyAndReturn\",\"InstallationRequest.updateOne\",\"InstallationRequest.updateMany\",\"InstallationRequest.updateManyAndReturn\",\"InstallationRequest.upsertOne\",\"InstallationRequest.deleteOne\",\"InstallationRequest.deleteMany\",\"InstallationRequest.groupBy\",\"InstallationRequest.aggregate\",\"EnabledModel.findUnique\",\"EnabledModel.findUniqueOrThrow\",\"EnabledModel.findFirst\",\"EnabledModel.findFirstOrThrow\",\"EnabledModel.findMany\",\"EnabledModel.createOne\",\"EnabledModel.createMany\",\"EnabledModel.createManyAndReturn\",\"EnabledModel.updateOne\",\"EnabledModel.updateMany\",\"EnabledModel.updateManyAndReturn\",\"EnabledModel.upsertOne\",\"EnabledModel.deleteOne\",\"EnabledModel.deleteMany\",\"EnabledModel.groupBy\",\"EnabledModel.aggregate\",\"UsageHour.findUnique\",\"UsageHour.findUniqueOrThrow\",\"UsageHour.findFirst\",\"UsageHour.findFirstOrThrow\",\"UsageHour.findMany\",\"UsageHour.createOne\",\"UsageHour.createMany\",\"UsageHour.createManyAndReturn\",\"UsageHour.updateOne\",\"UsageHour.updateMany\",\"UsageHour.updateManyAndReturn\",\"UsageHour.upsertOne\",\"UsageHour.deleteOne\",\"UsageHour.deleteMany\",\"_avg\",\"_sum\",\"UsageHour.groupBy\",\"UsageHour.aggregate\",\"UsageDay.findUnique\",\"UsageDay.findUniqueOrThrow\",\"UsageDay.findFirst\",\"UsageDay.findFirstOrThrow\",\"UsageDay.findMany\",\"UsageDay.createOne\",\"UsageDay.createMany\",\"UsageDay.createManyAndReturn\",\"UsageDay.updateOne\",\"UsageDay.updateMany\",\"UsageDay.updateManyAndReturn\",\"UsageDay.upsertOne\",\"UsageDay.deleteOne\",\"UsageDay.deleteMany\",\"UsageDay.groupBy\",\"UsageDay.aggregate\",\"SubscriptionReading.findUnique\",\"SubscriptionReading.findUniqueOrThrow\",\"SubscriptionReading.findFirst\",\"SubscriptionReading.findFirstOrThrow\",\"SubscriptionReading.findMany\",\"SubscriptionReading.createOne\",\"SubscriptionReading.createMany\",\"SubscriptionReading.createManyAndReturn\",\"SubscriptionReading.updateOne\",\"SubscriptionReading.updateMany\",\"SubscriptionReading.updateManyAndReturn\",\"SubscriptionReading.upsertOne\",\"SubscriptionReading.deleteOne\",\"SubscriptionReading.deleteMany\",\"SubscriptionReading.groupBy\",\"SubscriptionReading.aggregate\",\"AND\",\"OR\",\"NOT\",\"fleetId\",\"machineShipId\",\"harness\",\"windowMinutes\",\"readAt\",\"usedPercent\",\"resetsAt\",\"equals\",\"in\",\"notIn\",\"lt\",\"lte\",\"gt\",\"gte\",\"not\",\"contains\",\"startsWith\",\"endsWith\",\"fleetId_machineShipId_harness_windowMinutes_readAt\",\"id\",\"day\",\"shipId\",\"model\",\"login\",\"input\",\"output\",\"cacheRead\",\"cacheWrite\",\"estimatedCostInputUsd\",\"estimatedCostOutputUsd\",\"estimatedCostCacheReadUsd\",\"estimatedCostCacheWriteUsd\",\"unpricedInput\",\"unpricedOutput\",\"unpricedCacheRead\",\"unpricedCacheWrite\",\"fleetId_day_machineShipId_shipId_model_harness_login\",\"hour\",\"folderMadeAt\",\"fleetId_hour_machineShipId_shipId_folderMadeAt_model\",\"fleetId_model\",\"requestId\",\"kind\",\"requestHash\",\"enabled\",\"at\",\"changedAt\",\"shipName\",\"crewToken\",\"crewedAt\",\"set\",\"increment\",\"decrement\",\"multiply\",\"divide\"]"),
|
|
32
|
+
graph: "jAI_cAh8AADnAQAwfQAABAAQfgAA5wEAMH8BAAAAAZQBAQC_AQAhrgEBAL8BACGvAQEAzgEAIbABQADBAQAhAQAAAAEAIAEAAAABACAIfAAA5wEAMH0AAAQAEH4AAOcBADB_AQC_AQAhlAEBAL8BACGuAQEAvwEAIa8BAQDOAQAhsAFAAMEBACEBrwEAAPEBACADAAAABAAgAwAABQAwBAAAAQAgAwAAAAQAIAMAAAUAMAQAAAEAIAMAAAAEACADAAAFADAEAAABACAFfwEAAAABlAEBAAAAAa4BAQAAAAGvAQEAAAABsAFAAAAAAQEIAAAJACAFfwEAAAABlAEBAAAAAa4BAQAAAAGvAQEAAAABsAFAAAAAAQEIAAALADABCAAACwAwBX8BAO0BACGUAQEA7QEAIa4BAQDtAQAhrwEBAPgBACGwAUAA7wEAIQIAAAABACAIAAAOACAFfwEA7QEAIZQBAQDtAQAhrgEBAO0BACGvAQEA-AEAIbABQADvAQAhA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QIAAAABtQECAAAAAQGxAUAAAAABBbEBEAAAAAGyARAAAAABswEQAAAAAbQBEAAAAAG1ARAAAAABAAAAAAAABbEBBAAAAAGyAQQAAAABswEEAAAAAbQBBAAAAAG1AQQAAAABAbEBAQAAAAEAAAAAAAWxARAAAAABsgEQAAAAAbMBEAAAAAG0ARAAAAABtQEQAAAAAQAAAAAAAAGxASAAAAABAAAAAbEBIAAAAAEAAAAAAAAAAxUABhYABxcACAAAAAMVAAYWAAcXAAgAAAADFQAOFgAPFwAQAAAAAxUADhYADxcAEAAAAAMVABYWABcXABgAAAADFQAWFgAXFwAYAAAAAxUAHhYAHxcAIAAAAAMVAB4WAB8XACAAAAAFFQAmFgApFwAqWAAnWQAoAAAAAAAFFQAmFgApFwAqWAAnWQAoAAAABRUAMBYAMxcANFgAMVkAMgAAAAAABRUAMBYAMxcANFgAMVkAMgAAAAUVADoWAD0XAD5YADtZADwAAAAAAAUVADoWAD0XAD5YADtZADwBAgECAwEFBgEGBwEHCAEJCgEKDAILDQMMDwENEQIOEgQREwESFAETFQIYGAUZGQkaGwobHAocHwodIAoeIQofIwogJQIhJgsiKAojKgIkKwwlLAomLQonLgIoMQ0pMhEqNBIrNRIsOBItORIuOhIvPBIwPgIxPxMyQRIzQwI0RBQ1RRI2RhI3RwI4ShU5Sxk6TRo7Tho8URo9Uho-Uxo_VRpAVwJBWBtCWhpDXAJEXRxFXhpGXxpHYAJIYx1JZCFKZiJLZyJMaiJNayJObCJPbiJQcAJRcSNScyJTdQJUdiRVdyJWeCJXeQJafCVbfStcfyxdgAEsXoMBLF-EASxghQEsYYcBLGKJAQJjigEtZIwBLGWOAQJmjwEuZ5ABLGiRASxpkgECapUBL2uWATVsmAE2bZkBNm6cATZvnQE2cJ4BNnGgATZyogECc6MBN3SlATZ1pwECdqgBOHepATZ4qgE2easBAnquATl7rwE_"
|
|
33
33
|
};
|
|
34
34
|
async function decodeBase64AsWasm(wasmBase64) {
|
|
35
35
|
const { Buffer } = await import('node:buffer');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../../src/adapters/prisma/generated/internal/class.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;GAMG;AAEH,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AAIxD,MAAM,MAAM,GAAkC;IAC5C,iBAAiB,EAAE,EAAE;IACrB,eAAe,EAAE,QAAQ;IACzB,eAAe,EAAE,0CAA0C;IAC3D,gBAAgB,EAAE,YAAY;IAC9B,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"class.js","sourceRoot":"","sources":["../../../../../src/adapters/prisma/generated/internal/class.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;GAMG;AAEH,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AAIxD,MAAM,MAAM,GAAkC;IAC5C,iBAAiB,EAAE,EAAE;IACrB,eAAe,EAAE,QAAQ;IACzB,eAAe,EAAE,0CAA0C;IAC3D,gBAAgB,EAAE,YAAY;IAC9B,cAAc,EAAE,oqNAAoqN;IACprN,kBAAkB,EAAE;QAClB,QAAQ,EAAE,EAAE;QACZ,OAAO,EAAE,EAAE;QACX,OAAO,EAAE,EAAE;KACZ;IACD,wBAAwB,EAAE;QACxB,SAAS,EAAE,EAAE;QACb,OAAO,EAAE,EAAE;KACZ;CACF,CAAA;AAED,MAAM,CAAC,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,krLAAkrL,CAAC,CAAA;AACxtL,MAAM,CAAC,sBAAsB,GAAG;IAC9B,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,oxIAAoxI,CAAC;IACzyI,KAAK,EAAE,k0aAAk0a;CAC10a,CAAA;AAED,KAAK,UAAU,kBAAkB,CAAC,UAAkB;IAClD,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,MA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