@highstate/backend 0.12.1 → 0.13.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.
Files changed (48) hide show
  1. package/dist/{chunk-SEPC66ZL.js → chunk-4JUMOKLV.js} +4 -3
  2. package/dist/chunk-4JUMOKLV.js.map +1 -0
  3. package/dist/highstate.manifest.json +2 -2
  4. package/dist/index.js +86 -60
  5. package/dist/index.js.map +1 -1
  6. package/dist/shared/index.js +1 -1
  7. package/package.json +3 -3
  8. package/prisma/project/main.prisma +1 -1
  9. package/prisma/project/operation.prisma +1 -0
  10. package/src/business/instance-state.ts +61 -27
  11. package/src/database/_generated/project/browser.ts +244 -0
  12. package/src/database/_generated/project/client.ts +5 -30
  13. package/src/database/_generated/project/commonInputTypes.ts +2 -2
  14. package/src/database/_generated/project/enums.ts +3 -1
  15. package/src/database/_generated/project/internal/class.ts +11 -16
  16. package/src/database/_generated/project/internal/prismaNamespace.ts +7 -13
  17. package/src/database/_generated/project/internal/prismaNamespaceBrowser.ts +445 -0
  18. package/src/database/_generated/project/models/ApiKey.ts +21 -21
  19. package/src/database/_generated/project/models/Artifact.ts +31 -31
  20. package/src/database/_generated/project/models/HubModel.ts +11 -11
  21. package/src/database/_generated/project/models/InstanceCustomStatus.ts +23 -23
  22. package/src/database/_generated/project/models/InstanceEvaluationState.ts +15 -15
  23. package/src/database/_generated/project/models/InstanceLock.ts +15 -15
  24. package/src/database/_generated/project/models/InstanceModel.ts +11 -11
  25. package/src/database/_generated/project/models/InstanceOperationState.ts +44 -44
  26. package/src/database/_generated/project/models/InstanceState.ts +206 -206
  27. package/src/database/_generated/project/models/Operation.ts +70 -70
  28. package/src/database/_generated/project/models/OperationLog.ts +2 -2
  29. package/src/database/_generated/project/models/Page.ts +54 -54
  30. package/src/database/_generated/project/models/Secret.ts +44 -44
  31. package/src/database/_generated/project/models/ServiceAccount.ts +40 -40
  32. package/src/database/_generated/project/models/Terminal.ts +62 -62
  33. package/src/database/_generated/project/models/TerminalSession.ts +2 -2
  34. package/src/database/_generated/project/models/TerminalSessionLog.ts +2 -2
  35. package/src/database/_generated/project/models/Trigger.ts +32 -32
  36. package/src/database/_generated/project/models/UnlockMethod.ts +11 -11
  37. package/src/database/_generated/project/models/UserCompositeViewport.ts +17 -17
  38. package/src/database/_generated/project/models/UserProjectViewport.ts +11 -11
  39. package/src/database/_generated/project/models/Worker.ts +2 -2
  40. package/src/database/_generated/project/models/WorkerUnitRegistration.ts +23 -23
  41. package/src/database/_generated/project/models/WorkerVersion.ts +29 -29
  42. package/src/database/_generated/project/models/WorkerVersionLog.ts +2 -2
  43. package/src/database/_generated/project/models.ts +1 -1
  44. package/src/database/_generated/project/pjtg.ts +1 -0
  45. package/src/orchestrator/operation-workset.ts +22 -11
  46. package/src/orchestrator/operation.ts +11 -5
  47. package/src/shared/models/project/operation.ts +1 -0
  48. package/dist/chunk-SEPC66ZL.js.map +0 -1
@@ -0,0 +1,445 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ /*
6
+ * WARNING: This is an internal file that is subject to change!
7
+ *
8
+ * 🛑 Under no circumstances should you import this file directly! 🛑
9
+ *
10
+ * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
11
+ * While this enables partial backward compatibility, it is not part of the stable public API.
12
+ *
13
+ * If you are looking for your Models, Enums, and Input Types, please import them from the respective
14
+ * model files in the `model` directory!
15
+ */
16
+
17
+ import * as runtime from "@prisma/client/runtime/index-browser"
18
+
19
+ export type * from '../models.ts'
20
+ export type * from './prismaNamespace.ts'
21
+
22
+ export const Decimal = runtime.Decimal
23
+
24
+
25
+ export const NullTypes = {
26
+ DbNull: runtime.objectEnumValues.classes.DbNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.DbNull),
27
+ JsonNull: runtime.objectEnumValues.classes.JsonNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.JsonNull),
28
+ AnyNull: runtime.objectEnumValues.classes.AnyNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.AnyNull),
29
+ }
30
+ /**
31
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
32
+ *
33
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
34
+ */
35
+ export const DbNull = runtime.objectEnumValues.instances.DbNull
36
+ /**
37
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
38
+ *
39
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
40
+ */
41
+ export const JsonNull = runtime.objectEnumValues.instances.JsonNull
42
+ /**
43
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
44
+ *
45
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
46
+ */
47
+ export const AnyNull = runtime.objectEnumValues.instances.AnyNull
48
+
49
+
50
+ export const ModelName = {
51
+ ApiKey: 'ApiKey',
52
+ Artifact: 'Artifact',
53
+ InstanceCustomStatus: 'InstanceCustomStatus',
54
+ InstanceEvaluationState: 'InstanceEvaluationState',
55
+ InstanceState: 'InstanceState',
56
+ UserProjectViewport: 'UserProjectViewport',
57
+ UserCompositeViewport: 'UserCompositeViewport',
58
+ InstanceLock: 'InstanceLock',
59
+ InstanceModel: 'InstanceModel',
60
+ HubModel: 'HubModel',
61
+ Operation: 'Operation',
62
+ InstanceOperationState: 'InstanceOperationState',
63
+ OperationLog: 'OperationLog',
64
+ Page: 'Page',
65
+ Secret: 'Secret',
66
+ ServiceAccount: 'ServiceAccount',
67
+ Terminal: 'Terminal',
68
+ TerminalSession: 'TerminalSession',
69
+ TerminalSessionLog: 'TerminalSessionLog',
70
+ Trigger: 'Trigger',
71
+ UnlockMethod: 'UnlockMethod',
72
+ Worker: 'Worker',
73
+ WorkerVersion: 'WorkerVersion',
74
+ WorkerUnitRegistration: 'WorkerUnitRegistration',
75
+ WorkerVersionLog: 'WorkerVersionLog'
76
+ } as const
77
+
78
+ export type ModelName = (typeof ModelName)[keyof typeof ModelName]
79
+
80
+ /*
81
+ * Enums
82
+ */
83
+
84
+ export const TransactionIsolationLevel = runtime.makeStrictEnum({
85
+ Serializable: 'Serializable'
86
+ } as const)
87
+
88
+ export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
89
+
90
+
91
+ export const ApiKeyScalarFieldEnum = {
92
+ id: 'id',
93
+ meta: 'meta',
94
+ serviceAccountId: 'serviceAccountId',
95
+ token: 'token',
96
+ createdAt: 'createdAt',
97
+ updatedAt: 'updatedAt'
98
+ } as const
99
+
100
+ export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum]
101
+
102
+
103
+ export const ArtifactScalarFieldEnum = {
104
+ id: 'id',
105
+ meta: 'meta',
106
+ hash: 'hash',
107
+ size: 'size',
108
+ chunkSize: 'chunkSize',
109
+ createdAt: 'createdAt',
110
+ updatedAt: 'updatedAt'
111
+ } as const
112
+
113
+ export type ArtifactScalarFieldEnum = (typeof ArtifactScalarFieldEnum)[keyof typeof ArtifactScalarFieldEnum]
114
+
115
+
116
+ export const InstanceCustomStatusScalarFieldEnum = {
117
+ stateId: 'stateId',
118
+ serviceAccountId: 'serviceAccountId',
119
+ name: 'name',
120
+ meta: 'meta',
121
+ value: 'value',
122
+ message: 'message',
123
+ order: 'order',
124
+ createdAt: 'createdAt',
125
+ updatedAt: 'updatedAt'
126
+ } as const
127
+
128
+ export type InstanceCustomStatusScalarFieldEnum = (typeof InstanceCustomStatusScalarFieldEnum)[keyof typeof InstanceCustomStatusScalarFieldEnum]
129
+
130
+
131
+ export const InstanceEvaluationStateScalarFieldEnum = {
132
+ stateId: 'stateId',
133
+ status: 'status',
134
+ message: 'message',
135
+ model: 'model',
136
+ evaluatedAt: 'evaluatedAt'
137
+ } as const
138
+
139
+ export type InstanceEvaluationStateScalarFieldEnum = (typeof InstanceEvaluationStateScalarFieldEnum)[keyof typeof InstanceEvaluationStateScalarFieldEnum]
140
+
141
+
142
+ export const InstanceStateScalarFieldEnum = {
143
+ id: 'id',
144
+ instanceId: 'instanceId',
145
+ status: 'status',
146
+ source: 'source',
147
+ kind: 'kind',
148
+ parentId: 'parentId',
149
+ inputHashNonce: 'inputHashNonce',
150
+ inputHash: 'inputHash',
151
+ outputHash: 'outputHash',
152
+ dependencyOutputHash: 'dependencyOutputHash',
153
+ exportedArtifactIds: 'exportedArtifactIds',
154
+ model: 'model',
155
+ resolvedInputs: 'resolvedInputs',
156
+ currentResourceCount: 'currentResourceCount',
157
+ statusFields: 'statusFields'
158
+ } as const
159
+
160
+ export type InstanceStateScalarFieldEnum = (typeof InstanceStateScalarFieldEnum)[keyof typeof InstanceStateScalarFieldEnum]
161
+
162
+
163
+ export const UserProjectViewportScalarFieldEnum = {
164
+ userId: 'userId',
165
+ viewport: 'viewport'
166
+ } as const
167
+
168
+ export type UserProjectViewportScalarFieldEnum = (typeof UserProjectViewportScalarFieldEnum)[keyof typeof UserProjectViewportScalarFieldEnum]
169
+
170
+
171
+ export const UserCompositeViewportScalarFieldEnum = {
172
+ userId: 'userId',
173
+ stateId: 'stateId',
174
+ viewport: 'viewport'
175
+ } as const
176
+
177
+ export type UserCompositeViewportScalarFieldEnum = (typeof UserCompositeViewportScalarFieldEnum)[keyof typeof UserCompositeViewportScalarFieldEnum]
178
+
179
+
180
+ export const InstanceLockScalarFieldEnum = {
181
+ stateId: 'stateId',
182
+ meta: 'meta',
183
+ token: 'token',
184
+ acquiredAt: 'acquiredAt'
185
+ } as const
186
+
187
+ export type InstanceLockScalarFieldEnum = (typeof InstanceLockScalarFieldEnum)[keyof typeof InstanceLockScalarFieldEnum]
188
+
189
+
190
+ export const InstanceModelScalarFieldEnum = {
191
+ id: 'id',
192
+ model: 'model',
193
+ createdAt: 'createdAt',
194
+ updatedAt: 'updatedAt'
195
+ } as const
196
+
197
+ export type InstanceModelScalarFieldEnum = (typeof InstanceModelScalarFieldEnum)[keyof typeof InstanceModelScalarFieldEnum]
198
+
199
+
200
+ export const HubModelScalarFieldEnum = {
201
+ id: 'id',
202
+ model: 'model',
203
+ createdAt: 'createdAt',
204
+ updatedAt: 'updatedAt'
205
+ } as const
206
+
207
+ export type HubModelScalarFieldEnum = (typeof HubModelScalarFieldEnum)[keyof typeof HubModelScalarFieldEnum]
208
+
209
+
210
+ export const OperationScalarFieldEnum = {
211
+ id: 'id',
212
+ meta: 'meta',
213
+ type: 'type',
214
+ status: 'status',
215
+ options: 'options',
216
+ requestedInstanceIds: 'requestedInstanceIds',
217
+ phases: 'phases',
218
+ startedAt: 'startedAt',
219
+ updatedAt: 'updatedAt',
220
+ finishedAt: 'finishedAt'
221
+ } as const
222
+
223
+ export type OperationScalarFieldEnum = (typeof OperationScalarFieldEnum)[keyof typeof OperationScalarFieldEnum]
224
+
225
+
226
+ export const InstanceOperationStateScalarFieldEnum = {
227
+ operationId: 'operationId',
228
+ stateId: 'stateId',
229
+ status: 'status',
230
+ currentResourceCount: 'currentResourceCount',
231
+ totalResourceCount: 'totalResourceCount',
232
+ model: 'model',
233
+ resolvedInputs: 'resolvedInputs',
234
+ startedAt: 'startedAt',
235
+ finishedAt: 'finishedAt'
236
+ } as const
237
+
238
+ export type InstanceOperationStateScalarFieldEnum = (typeof InstanceOperationStateScalarFieldEnum)[keyof typeof InstanceOperationStateScalarFieldEnum]
239
+
240
+
241
+ export const OperationLogScalarFieldEnum = {
242
+ id: 'id',
243
+ operationId: 'operationId',
244
+ stateId: 'stateId',
245
+ isSystem: 'isSystem',
246
+ content: 'content'
247
+ } as const
248
+
249
+ export type OperationLogScalarFieldEnum = (typeof OperationLogScalarFieldEnum)[keyof typeof OperationLogScalarFieldEnum]
250
+
251
+
252
+ export const PageScalarFieldEnum = {
253
+ id: 'id',
254
+ meta: 'meta',
255
+ stateId: 'stateId',
256
+ name: 'name',
257
+ serviceAccountId: 'serviceAccountId',
258
+ content: 'content',
259
+ createdAt: 'createdAt',
260
+ updatedAt: 'updatedAt'
261
+ } as const
262
+
263
+ export type PageScalarFieldEnum = (typeof PageScalarFieldEnum)[keyof typeof PageScalarFieldEnum]
264
+
265
+
266
+ export const SecretScalarFieldEnum = {
267
+ id: 'id',
268
+ meta: 'meta',
269
+ stateId: 'stateId',
270
+ name: 'name',
271
+ systemName: 'systemName',
272
+ serviceAccountId: 'serviceAccountId',
273
+ content: 'content',
274
+ createdAt: 'createdAt',
275
+ updatedAt: 'updatedAt'
276
+ } as const
277
+
278
+ export type SecretScalarFieldEnum = (typeof SecretScalarFieldEnum)[keyof typeof SecretScalarFieldEnum]
279
+
280
+
281
+ export const ServiceAccountScalarFieldEnum = {
282
+ id: 'id',
283
+ meta: 'meta',
284
+ createdAt: 'createdAt',
285
+ updatedAt: 'updatedAt'
286
+ } as const
287
+
288
+ export type ServiceAccountScalarFieldEnum = (typeof ServiceAccountScalarFieldEnum)[keyof typeof ServiceAccountScalarFieldEnum]
289
+
290
+
291
+ export const TerminalScalarFieldEnum = {
292
+ id: 'id',
293
+ meta: 'meta',
294
+ status: 'status',
295
+ spec: 'spec',
296
+ stateId: 'stateId',
297
+ name: 'name',
298
+ serviceAccountId: 'serviceAccountId',
299
+ createdAt: 'createdAt',
300
+ updatedAt: 'updatedAt'
301
+ } as const
302
+
303
+ export type TerminalScalarFieldEnum = (typeof TerminalScalarFieldEnum)[keyof typeof TerminalScalarFieldEnum]
304
+
305
+
306
+ export const TerminalSessionScalarFieldEnum = {
307
+ id: 'id',
308
+ terminalId: 'terminalId',
309
+ startedAt: 'startedAt',
310
+ finishedAt: 'finishedAt'
311
+ } as const
312
+
313
+ export type TerminalSessionScalarFieldEnum = (typeof TerminalSessionScalarFieldEnum)[keyof typeof TerminalSessionScalarFieldEnum]
314
+
315
+
316
+ export const TerminalSessionLogScalarFieldEnum = {
317
+ id: 'id',
318
+ sessionId: 'sessionId',
319
+ content: 'content'
320
+ } as const
321
+
322
+ export type TerminalSessionLogScalarFieldEnum = (typeof TerminalSessionLogScalarFieldEnum)[keyof typeof TerminalSessionLogScalarFieldEnum]
323
+
324
+
325
+ export const TriggerScalarFieldEnum = {
326
+ id: 'id',
327
+ meta: 'meta',
328
+ stateId: 'stateId',
329
+ name: 'name',
330
+ spec: 'spec',
331
+ createdAt: 'createdAt',
332
+ updatedAt: 'updatedAt'
333
+ } as const
334
+
335
+ export type TriggerScalarFieldEnum = (typeof TriggerScalarFieldEnum)[keyof typeof TriggerScalarFieldEnum]
336
+
337
+
338
+ export const UnlockMethodScalarFieldEnum = {
339
+ id: 'id',
340
+ meta: 'meta',
341
+ type: 'type',
342
+ encryptedIdentity: 'encryptedIdentity',
343
+ recipient: 'recipient',
344
+ createdAt: 'createdAt',
345
+ updatedAt: 'updatedAt'
346
+ } as const
347
+
348
+ export type UnlockMethodScalarFieldEnum = (typeof UnlockMethodScalarFieldEnum)[keyof typeof UnlockMethodScalarFieldEnum]
349
+
350
+
351
+ export const WorkerScalarFieldEnum = {
352
+ id: 'id',
353
+ identity: 'identity',
354
+ serviceAccountId: 'serviceAccountId',
355
+ createdAt: 'createdAt'
356
+ } as const
357
+
358
+ export type WorkerScalarFieldEnum = (typeof WorkerScalarFieldEnum)[keyof typeof WorkerScalarFieldEnum]
359
+
360
+
361
+ export const WorkerVersionScalarFieldEnum = {
362
+ id: 'id',
363
+ meta: 'meta',
364
+ status: 'status',
365
+ enabled: 'enabled',
366
+ runtimeId: 'runtimeId',
367
+ workerId: 'workerId',
368
+ digest: 'digest',
369
+ apiKeyId: 'apiKeyId',
370
+ createdAt: 'createdAt',
371
+ updatedAt: 'updatedAt'
372
+ } as const
373
+
374
+ export type WorkerVersionScalarFieldEnum = (typeof WorkerVersionScalarFieldEnum)[keyof typeof WorkerVersionScalarFieldEnum]
375
+
376
+
377
+ export const WorkerUnitRegistrationScalarFieldEnum = {
378
+ stateId: 'stateId',
379
+ name: 'name',
380
+ params: 'params',
381
+ workerVersionId: 'workerVersionId',
382
+ createdAt: 'createdAt',
383
+ updatedAt: 'updatedAt'
384
+ } as const
385
+
386
+ export type WorkerUnitRegistrationScalarFieldEnum = (typeof WorkerUnitRegistrationScalarFieldEnum)[keyof typeof WorkerUnitRegistrationScalarFieldEnum]
387
+
388
+
389
+ export const WorkerVersionLogScalarFieldEnum = {
390
+ id: 'id',
391
+ workerVersionId: 'workerVersionId',
392
+ content: 'content',
393
+ isSystem: 'isSystem'
394
+ } as const
395
+
396
+ export type WorkerVersionLogScalarFieldEnum = (typeof WorkerVersionLogScalarFieldEnum)[keyof typeof WorkerVersionLogScalarFieldEnum]
397
+
398
+
399
+ export const SortOrder = {
400
+ asc: 'asc',
401
+ desc: 'desc'
402
+ } as const
403
+
404
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
405
+
406
+
407
+ export const JsonNullValueInput = {
408
+ JsonNull: JsonNull
409
+ } as const
410
+
411
+ export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
412
+
413
+
414
+ export const NullableJsonNullValueInput = {
415
+ DbNull: DbNull,
416
+ JsonNull: JsonNull
417
+ } as const
418
+
419
+ export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
420
+
421
+
422
+ export const JsonNullValueFilter = {
423
+ DbNull: DbNull,
424
+ JsonNull: JsonNull,
425
+ AnyNull: AnyNull
426
+ } as const
427
+
428
+ export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
429
+
430
+
431
+ export const QueryMode = {
432
+ default: 'default',
433
+ insensitive: 'insensitive'
434
+ } as const
435
+
436
+ export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
437
+
438
+
439
+ export const NullsOrder = {
440
+ first: 'first',
441
+ last: 'last'
442
+ } as const
443
+
444
+ export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
445
+
@@ -2,14 +2,14 @@
2
2
  /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- /**
5
+ /*
6
6
  * This file exports the `ApiKey` model and its related types.
7
7
  *
8
8
  * 🟢 You can import this file directly.
9
9
  */
10
10
 
11
11
  import type * as PJTG from '../pjtg.ts';
12
- import * as runtime from "@prisma/client/runtime/client"
12
+ import type * as runtime from "@prisma/client/runtime/client"
13
13
  import type * as $Enums from "../enums.ts"
14
14
  import type * as Prisma from "../internal/prismaNamespace.ts"
15
15
 
@@ -156,7 +156,7 @@ export type ApiKeyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalA
156
156
 
157
157
  export type ApiKeyGroupByOutputType = {
158
158
  id: string
159
- meta: PrismaJson.ApiKeyMeta
159
+ meta:PrismaJson.ApiKeyMeta
160
160
  serviceAccountId: string
161
161
  token: string
162
162
  createdAt: Date
@@ -246,7 +246,7 @@ export type ApiKeyScalarWhereWithAggregatesInput = {
246
246
 
247
247
  export type ApiKeyCreateInput = {
248
248
  id?: string
249
- meta: PrismaJson.ApiKeyMeta
249
+ meta:PrismaJson.ApiKeyMeta
250
250
  token: string
251
251
  createdAt?: Date | string
252
252
  updatedAt?: Date | string
@@ -256,7 +256,7 @@ export type ApiKeyCreateInput = {
256
256
 
257
257
  export type ApiKeyUncheckedCreateInput = {
258
258
  id?: string
259
- meta: PrismaJson.ApiKeyMeta
259
+ meta:PrismaJson.ApiKeyMeta
260
260
  serviceAccountId: string
261
261
  token: string
262
262
  createdAt?: Date | string
@@ -266,7 +266,7 @@ export type ApiKeyUncheckedCreateInput = {
266
266
 
267
267
  export type ApiKeyUpdateInput = {
268
268
  id?: Prisma.StringFieldUpdateOperationsInput | string
269
- meta?: PrismaJson.ApiKeyMeta
269
+ meta?:PrismaJson.ApiKeyMeta
270
270
  token?: Prisma.StringFieldUpdateOperationsInput | string
271
271
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
272
272
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -276,7 +276,7 @@ export type ApiKeyUpdateInput = {
276
276
 
277
277
  export type ApiKeyUncheckedUpdateInput = {
278
278
  id?: Prisma.StringFieldUpdateOperationsInput | string
279
- meta?: PrismaJson.ApiKeyMeta
279
+ meta?:PrismaJson.ApiKeyMeta
280
280
  serviceAccountId?: Prisma.StringFieldUpdateOperationsInput | string
281
281
  token?: Prisma.StringFieldUpdateOperationsInput | string
282
282
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -286,7 +286,7 @@ export type ApiKeyUncheckedUpdateInput = {
286
286
 
287
287
  export type ApiKeyCreateManyInput = {
288
288
  id?: string
289
- meta: PrismaJson.ApiKeyMeta
289
+ meta:PrismaJson.ApiKeyMeta
290
290
  serviceAccountId: string
291
291
  token: string
292
292
  createdAt?: Date | string
@@ -295,7 +295,7 @@ export type ApiKeyCreateManyInput = {
295
295
 
296
296
  export type ApiKeyUpdateManyMutationInput = {
297
297
  id?: Prisma.StringFieldUpdateOperationsInput | string
298
- meta?: PrismaJson.ApiKeyMeta
298
+ meta?:PrismaJson.ApiKeyMeta
299
299
  token?: Prisma.StringFieldUpdateOperationsInput | string
300
300
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
301
301
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -303,7 +303,7 @@ export type ApiKeyUpdateManyMutationInput = {
303
303
 
304
304
  export type ApiKeyUncheckedUpdateManyInput = {
305
305
  id?: Prisma.StringFieldUpdateOperationsInput | string
306
- meta?: PrismaJson.ApiKeyMeta
306
+ meta?:PrismaJson.ApiKeyMeta
307
307
  serviceAccountId?: Prisma.StringFieldUpdateOperationsInput | string
308
308
  token?: Prisma.StringFieldUpdateOperationsInput | string
309
309
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -416,7 +416,7 @@ export type ApiKeyUpdateOneRequiredWithoutWorkerNestedInput = {
416
416
 
417
417
  export type ApiKeyCreateWithoutServiceAccountInput = {
418
418
  id?: string
419
- meta: PrismaJson.ApiKeyMeta
419
+ meta:PrismaJson.ApiKeyMeta
420
420
  token: string
421
421
  createdAt?: Date | string
422
422
  updatedAt?: Date | string
@@ -425,7 +425,7 @@ export type ApiKeyCreateWithoutServiceAccountInput = {
425
425
 
426
426
  export type ApiKeyUncheckedCreateWithoutServiceAccountInput = {
427
427
  id?: string
428
- meta: PrismaJson.ApiKeyMeta
428
+ meta:PrismaJson.ApiKeyMeta
429
429
  token: string
430
430
  createdAt?: Date | string
431
431
  updatedAt?: Date | string
@@ -471,7 +471,7 @@ export type ApiKeyScalarWhereInput = {
471
471
 
472
472
  export type ApiKeyCreateWithoutWorkerInput = {
473
473
  id?: string
474
- meta: PrismaJson.ApiKeyMeta
474
+ meta:PrismaJson.ApiKeyMeta
475
475
  token: string
476
476
  createdAt?: Date | string
477
477
  updatedAt?: Date | string
@@ -480,7 +480,7 @@ export type ApiKeyCreateWithoutWorkerInput = {
480
480
 
481
481
  export type ApiKeyUncheckedCreateWithoutWorkerInput = {
482
482
  id?: string
483
- meta: PrismaJson.ApiKeyMeta
483
+ meta:PrismaJson.ApiKeyMeta
484
484
  serviceAccountId: string
485
485
  token: string
486
486
  createdAt?: Date | string
@@ -505,7 +505,7 @@ export type ApiKeyUpdateToOneWithWhereWithoutWorkerInput = {
505
505
 
506
506
  export type ApiKeyUpdateWithoutWorkerInput = {
507
507
  id?: Prisma.StringFieldUpdateOperationsInput | string
508
- meta?: PrismaJson.ApiKeyMeta
508
+ meta?:PrismaJson.ApiKeyMeta
509
509
  token?: Prisma.StringFieldUpdateOperationsInput | string
510
510
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
511
511
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -514,7 +514,7 @@ export type ApiKeyUpdateWithoutWorkerInput = {
514
514
 
515
515
  export type ApiKeyUncheckedUpdateWithoutWorkerInput = {
516
516
  id?: Prisma.StringFieldUpdateOperationsInput | string
517
- meta?: PrismaJson.ApiKeyMeta
517
+ meta?:PrismaJson.ApiKeyMeta
518
518
  serviceAccountId?: Prisma.StringFieldUpdateOperationsInput | string
519
519
  token?: Prisma.StringFieldUpdateOperationsInput | string
520
520
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -523,7 +523,7 @@ export type ApiKeyUncheckedUpdateWithoutWorkerInput = {
523
523
 
524
524
  export type ApiKeyCreateManyServiceAccountInput = {
525
525
  id?: string
526
- meta: PrismaJson.ApiKeyMeta
526
+ meta:PrismaJson.ApiKeyMeta
527
527
  token: string
528
528
  createdAt?: Date | string
529
529
  updatedAt?: Date | string
@@ -531,7 +531,7 @@ export type ApiKeyCreateManyServiceAccountInput = {
531
531
 
532
532
  export type ApiKeyUpdateWithoutServiceAccountInput = {
533
533
  id?: Prisma.StringFieldUpdateOperationsInput | string
534
- meta?: PrismaJson.ApiKeyMeta
534
+ meta?:PrismaJson.ApiKeyMeta
535
535
  token?: Prisma.StringFieldUpdateOperationsInput | string
536
536
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
537
537
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -540,7 +540,7 @@ export type ApiKeyUpdateWithoutServiceAccountInput = {
540
540
 
541
541
  export type ApiKeyUncheckedUpdateWithoutServiceAccountInput = {
542
542
  id?: Prisma.StringFieldUpdateOperationsInput | string
543
- meta?: PrismaJson.ApiKeyMeta
543
+ meta?:PrismaJson.ApiKeyMeta
544
544
  token?: Prisma.StringFieldUpdateOperationsInput | string
545
545
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
546
546
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -549,7 +549,7 @@ export type ApiKeyUncheckedUpdateWithoutServiceAccountInput = {
549
549
 
550
550
  export type ApiKeyUncheckedUpdateManyWithoutServiceAccountInput = {
551
551
  id?: Prisma.StringFieldUpdateOperationsInput | string
552
- meta?: Prisma.JsonNullValueInput | runtime.InputJsonValue
552
+ meta?:PrismaJson.ApiKeyMeta
553
553
  token?: Prisma.StringFieldUpdateOperationsInput | string
554
554
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
555
555
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
@@ -631,7 +631,7 @@ export type $ApiKeyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
631
631
  *
632
632
  * [ApiKeyMeta]
633
633
  */
634
- meta: PrismaJson.ApiKeyMeta
634
+ meta:PrismaJson.ApiKeyMeta
635
635
  /**
636
636
  * The ID of the service account impersonated by this API key.
637
637
  */