@codemation/host 0.0.5 → 0.0.11

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 (132) hide show
  1. package/README.md +3 -3
  2. package/dist/{PrismaMigrationDeployer-B7cHGrXP.js → AppConfigFactory-DWIz2hy-.js} +104 -58
  3. package/dist/AppConfigFactory-DWIz2hy-.js.map +1 -0
  4. package/dist/{client-Yh7-CQud.d.ts → AppConfigFactory-DmHOpg8O.d.ts} +52 -31
  5. package/dist/{CodemationFrontendBootstrapRequest-CNEk-C4D.js → AppContainerFactory-B5eRpvAa.js} +3269 -3374
  6. package/dist/AppContainerFactory-B5eRpvAa.js.map +1 -0
  7. package/dist/{CodemationWhitelabelConfig-DgbjgtrR.d.ts → CodemationAuthConfig-Bh2cCNCI.d.ts} +32 -2
  8. package/dist/{CodemationConfig-XCkSV2dj.d.ts → CodemationConfig-D2ULNkec.d.ts} +53 -49
  9. package/dist/CodemationConfigNormalizer-CBLxXaRV.d.ts +9 -0
  10. package/dist/{CodemationConsumerConfigLoader-scS_RQMy.js → CodemationConsumerConfigLoader-BBzAr6L_.js} +128 -3
  11. package/dist/CodemationConsumerConfigLoader-BBzAr6L_.js.map +1 -0
  12. package/dist/{CodemationConsumerConfigLoader-Dmm2TzAA.d.ts → CodemationConsumerConfigLoader-BLvzcfb7.d.ts} +4 -4
  13. package/dist/CodemationPluginListMerger-B0-e4CJ6.d.ts +391 -0
  14. package/dist/{CodemationPluginListMerger-BNmaoXQL.js → CodemationPluginListMerger-DrVOw9KP.js} +18 -10
  15. package/dist/CodemationPluginListMerger-DrVOw9KP.js.map +1 -0
  16. package/dist/{CredentialServices-DpDpm8mL.d.ts → CredentialServices-BeuMtqYA.d.ts} +3 -3
  17. package/dist/{CredentialServices-BKBGe7l3.js → CredentialServices-DNb3CZwW.js} +3 -3
  18. package/dist/CredentialServices-DNb3CZwW.js.map +1 -0
  19. package/dist/FrontendAppConfig-D50wjj_n.d.ts +27 -0
  20. package/dist/{WorkflowViewContracts-DCLpTn25.d.ts → FrontendAppConfigFactory-Bj-DZNlt.d.ts} +29 -2
  21. package/dist/FrontendAppConfigJsonCodec-1_L7H_Qo.d.ts +20 -0
  22. package/dist/FrontendAppConfigJsonCodec-nOCQI0ag.js +84 -0
  23. package/dist/FrontendAppConfigJsonCodec-nOCQI0ag.js.map +1 -0
  24. package/dist/{LogLevelPolicy-4cq9z0TI.d.ts → LogLevelPolicy-BS_NlAOg.d.ts} +2 -2
  25. package/dist/{ServerLoggerFactory-BRHxIDS7.js → ServerLoggerFactory-BltIIDfQ.js} +4 -129
  26. package/dist/ServerLoggerFactory-BltIIDfQ.js.map +1 -0
  27. package/dist/client.d.ts +5 -3
  28. package/dist/client.js +2 -1
  29. package/dist/client.js.map +1 -1
  30. package/dist/consumer.d.ts +5 -4
  31. package/dist/consumer.js +4 -4
  32. package/dist/credentials.d.ts +4 -4
  33. package/dist/credentials.js +3 -3
  34. package/dist/devServerSidecar.d.ts +1 -1
  35. package/dist/{index-Bs4F1IsC.d.ts → index-CkiptHb-.d.ts} +19 -20
  36. package/dist/index.d.ts +14 -19
  37. package/dist/index.js +12 -11
  38. package/dist/nextServer.d.ts +244 -9
  39. package/dist/nextServer.js +8 -8
  40. package/dist/persistenceServer-CaehMh3M.d.ts +9 -0
  41. package/dist/{persistenceServer-8tcM2S48.js → persistenceServer-DVeWUbc3.js} +2 -2
  42. package/dist/{persistenceServer-8tcM2S48.js.map → persistenceServer-DVeWUbc3.js.map} +1 -1
  43. package/dist/persistenceServer.d.ts +7 -6
  44. package/dist/persistenceServer.js +4 -4
  45. package/dist/{server-Dd65rNm6.js → server-C65z_kqm.js} +47 -17
  46. package/dist/server-C65z_kqm.js.map +1 -0
  47. package/dist/{server-BBdsATju.d.ts → server-Dyo8qh4k.d.ts} +23 -4
  48. package/dist/server.d.ts +12 -9
  49. package/dist/server.js +11 -10
  50. package/package.json +11 -6
  51. package/prisma/migrations/20260315063514_init/migration.sql +16 -16
  52. package/prisma/migrations/20260316090000_workflow_debugger_overlay/migration.sql +9 -9
  53. package/prisma/migrations/20260317120000_trigger_state_store/migration.sql +3 -3
  54. package/prisma/migrations/20260317153000_trigger_setup_state/migration.sql +8 -8
  55. package/prisma/migrations/20260318110000_credentials_v2/migration.sql +49 -49
  56. package/prisma/migrations/20260319110000_credential_oauth2_material/migration.sql +28 -28
  57. package/prisma/migrations/20260319200000_codemation_auth_tables/migration.sql +56 -56
  58. package/prisma/migrations/20260320140000_user_invites_account_status/migration.sql +20 -20
  59. package/prisma/migrations/20260325120000_workflow_activation/migration.sql +8 -8
  60. package/prisma/migrations/migration_lock.toml +3 -3
  61. package/prisma/schema.prisma +179 -179
  62. package/prisma.config.ts +15 -2
  63. package/src/application/commands/WorkflowCommandHandlers.ts +9 -0
  64. package/src/application/dev/BootRuntimeSnapshotHolder.ts +2 -2
  65. package/src/application/dev/BootRuntimeSummary.types.ts +2 -2
  66. package/src/application/queries/WorkflowQueryHandlers.ts +7 -0
  67. package/src/applicationTokens.ts +1 -1
  68. package/src/bootstrap/AppContainerFactory.ts +584 -0
  69. package/src/bootstrap/{PreparedCodemationRuntime.ts → AppContainerLifecycle.ts} +3 -8
  70. package/src/bootstrap/runtime/AppConfigFactory.ts +155 -30
  71. package/src/bootstrap/runtime/DatabaseMigrations.ts +18 -0
  72. package/src/bootstrap/runtime/FrontendRuntime.ts +44 -0
  73. package/src/bootstrap/runtime/WorkerRuntime.ts +55 -0
  74. package/src/client.ts +7 -0
  75. package/src/index.ts +15 -5
  76. package/src/infrastructure/persistence/PrismaMigrationDeployer.ts +2 -2
  77. package/src/infrastructure/persistence/SchedulerPersistenceCompatibilityValidator.ts +2 -2
  78. package/src/infrastructure/scheduler/WorkerRuntimeScheduler.ts +16 -0
  79. package/src/infrastructure/scheduler/bullmq/BullmqNodeExecutionScheduler.ts +47 -0
  80. package/src/infrastructure/scheduler/bullmq/BullmqScheduler.ts +33 -0
  81. package/src/infrastructure/scheduler/bullmq/BullmqWorker.ts +48 -0
  82. package/src/infrastructure/scheduler/bullmq/RedisConnectionOptionsFactory.ts +48 -0
  83. package/src/nextServer.ts +12 -3
  84. package/src/persistenceServer.ts +2 -2
  85. package/src/presentation/config/AppConfig.ts +25 -1
  86. package/src/presentation/frontend/CodemationFrontendAuthSnapshot.ts +14 -0
  87. package/src/presentation/frontend/CodemationFrontendAuthSnapshotFactory.ts +84 -0
  88. package/src/presentation/frontend/CodemationFrontendAuthSnapshotJsonCodec.ts +58 -0
  89. package/src/presentation/frontend/FrontendAppConfig.ts +10 -0
  90. package/src/presentation/frontend/FrontendAppConfigFactory.ts +26 -0
  91. package/src/presentation/frontend/FrontendAppConfigJsonCodec.ts +58 -0
  92. package/src/presentation/http/CodemationServerGatewayFactory.ts +22 -16
  93. package/src/presentation/server/AppConfigLoader.ts +39 -0
  94. package/src/presentation/server/CodemationConsumerAppResolver.ts +2 -2
  95. package/src/presentation/server/CodemationConsumerConfigLoader.ts +3 -2
  96. package/src/server.ts +7 -0
  97. package/vitest.shared.ts +0 -4
  98. package/dist/CodemationConsumerConfigLoader-scS_RQMy.js.map +0 -1
  99. package/dist/CodemationFrontendBootstrapRequest-CNEk-C4D.js.map +0 -1
  100. package/dist/CodemationPluginListMerger-BNmaoXQL.js.map +0 -1
  101. package/dist/CodemationPluginListMerger-BRYqEk0y.d.ts +0 -793
  102. package/dist/CredentialServices-BKBGe7l3.js.map +0 -1
  103. package/dist/PrismaMigrationDeployer-B7cHGrXP.js.map +0 -1
  104. package/dist/ServerLoggerFactory-BRHxIDS7.js.map +0 -1
  105. package/dist/persistenceServer-DPSj_-oU.d.ts +0 -37
  106. package/dist/server-Dd65rNm6.js.map +0 -1
  107. package/src/bootstrap/CodemationContainerFactory.ts +0 -310
  108. package/src/bootstrap/CodemationFrontendBootstrapRequest.ts +0 -16
  109. package/src/bootstrap/CodemationWorkerBootstrapRequest.ts +0 -19
  110. package/src/bootstrap/PreparedCodemationRuntimeFactory.ts +0 -308
  111. package/src/bootstrap/boot/CliRuntimeBootService.ts +0 -27
  112. package/src/bootstrap/boot/FrontendRuntimeBootService.ts +0 -86
  113. package/src/bootstrap/boot/WorkerRuntimeBootService.ts +0 -64
  114. package/src/bootstrap/runtime/ResolvedImplementationSelectionFactory.ts +0 -118
  115. package/src/codemationApplication.ts +0 -311
  116. package/src/infrastructure/credentials/FrameworkBuiltinCredentialTypesRegistrar.ts +0 -21
  117. package/src/infrastructure/persistence/DatabasePersistenceResolver.ts +0 -91
  118. package/src/infrastructure/persistence/generated/prisma/client.d.ts +0 -1
  119. package/src/infrastructure/persistence/generated/prisma/default.d.ts +0 -1
  120. package/src/infrastructure/persistence/generated/prisma/edge.d.ts +0 -1
  121. package/src/infrastructure/persistence/generated/prisma/index.d.ts +0 -4766
  122. package/src/infrastructure/persistence/generated/prisma/package.json +0 -144
  123. package/src/infrastructure/persistence/generated/prisma/query_compiler_fast_bg.wasm +0 -0
  124. package/src/infrastructure/persistence/generated/prisma/runtime/client.d.ts +0 -3358
  125. package/src/infrastructure/persistence/generated/prisma/runtime/index-browser.d.ts +0 -90
  126. package/src/infrastructure/persistence/generated/prisma/schema.prisma +0 -35
  127. package/src/infrastructure/persistence/generated/prisma/wasm-edge-light-loader.mjs +0 -5
  128. package/src/infrastructure/persistence/generated/prisma/wasm-worker-loader.mjs +0 -5
  129. package/src/infrastructure/runtime/WorkerRuntimeScheduler.ts +0 -35
  130. package/src/presentation/config/CodemationApplicationFacade.ts +0 -5
  131. /package/dist/{decorate-B-N_5S4p.js → decorate-B0PP651O.js} +0 -0
  132. /package/dist/{decorateParam-BTcc3KNk.js → decorateParam-DrsXNPuw.js} +0 -0
@@ -1,4766 +0,0 @@
1
-
2
- /**
3
- * Client
4
- **/
5
-
6
- import * as runtime from './runtime/client.js';
7
- import $Types = runtime.Types // general types
8
- import $Public = runtime.Types.Public
9
- import $Utils = runtime.Types.Utils
10
- import $Extensions = runtime.Types.Extensions
11
- import $Result = runtime.Types.Result
12
-
13
- export type PrismaPromise<T> = $Public.PrismaPromise<T>
14
-
15
-
16
- /**
17
- * Model Run
18
- *
19
- */
20
- export type Run = $Result.DefaultSelection<Prisma.$RunPayload>
21
- /**
22
- * Model WorkflowDebuggerOverlay
23
- *
24
- */
25
- export type WorkflowDebuggerOverlay = $Result.DefaultSelection<Prisma.$WorkflowDebuggerOverlayPayload>
26
- /**
27
- * Model TriggerSetupState
28
- *
29
- */
30
- export type TriggerSetupState = $Result.DefaultSelection<Prisma.$TriggerSetupStatePayload>
31
-
32
- /**
33
- * ## Prisma Client ʲˢ
34
- *
35
- * Type-safe database client for TypeScript & Node.js
36
- * @example
37
- * ```
38
- * const prisma = new PrismaClient({
39
- * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
40
- * })
41
- * // Fetch zero or more Runs
42
- * const runs = await prisma.run.findMany()
43
- * ```
44
- *
45
- *
46
- * Read more in our [docs](https://pris.ly/d/client).
47
- */
48
- export class PrismaClient<
49
- ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions,
50
- const U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never,
51
- ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
52
- > {
53
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
54
-
55
- /**
56
- * ## Prisma Client ʲˢ
57
- *
58
- * Type-safe database client for TypeScript & Node.js
59
- * @example
60
- * ```
61
- * const prisma = new PrismaClient({
62
- * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
63
- * })
64
- * // Fetch zero or more Runs
65
- * const runs = await prisma.run.findMany()
66
- * ```
67
- *
68
- *
69
- * Read more in our [docs](https://pris.ly/d/client).
70
- */
71
-
72
- constructor(optionsArg ?: Prisma.Subset<ClientOptions, Prisma.PrismaClientOptions>);
73
- $on<V extends U>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
74
-
75
- /**
76
- * Connect with the database
77
- */
78
- $connect(): $Utils.JsPromise<void>;
79
-
80
- /**
81
- * Disconnect from the database
82
- */
83
- $disconnect(): $Utils.JsPromise<void>;
84
-
85
- /**
86
- * Executes a prepared raw query and returns the number of affected rows.
87
- * @example
88
- * ```
89
- * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
90
- * ```
91
- *
92
- * Read more in our [docs](https://pris.ly/d/raw-queries).
93
- */
94
- $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
95
-
96
- /**
97
- * Executes a raw query and returns the number of affected rows.
98
- * Susceptible to SQL injections, see documentation.
99
- * @example
100
- * ```
101
- * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
102
- * ```
103
- *
104
- * Read more in our [docs](https://pris.ly/d/raw-queries).
105
- */
106
- $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
107
-
108
- /**
109
- * Performs a prepared raw query and returns the `SELECT` data.
110
- * @example
111
- * ```
112
- * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
113
- * ```
114
- *
115
- * Read more in our [docs](https://pris.ly/d/raw-queries).
116
- */
117
- $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
118
-
119
- /**
120
- * Performs a raw query and returns the `SELECT` data.
121
- * Susceptible to SQL injections, see documentation.
122
- * @example
123
- * ```
124
- * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
125
- * ```
126
- *
127
- * Read more in our [docs](https://pris.ly/d/raw-queries).
128
- */
129
- $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
130
-
131
-
132
- /**
133
- * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
134
- * @example
135
- * ```
136
- * const [george, bob, alice] = await prisma.$transaction([
137
- * prisma.user.create({ data: { name: 'George' } }),
138
- * prisma.user.create({ data: { name: 'Bob' } }),
139
- * prisma.user.create({ data: { name: 'Alice' } }),
140
- * ])
141
- * ```
142
- *
143
- * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
144
- */
145
- $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
146
-
147
- $transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R>
148
-
149
- $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<ClientOptions>, ExtArgs, $Utils.Call<Prisma.TypeMapCb<ClientOptions>, {
150
- extArgs: ExtArgs
151
- }>>
152
-
153
- /**
154
- * `prisma.run`: Exposes CRUD operations for the **Run** model.
155
- * Example usage:
156
- * ```ts
157
- * // Fetch zero or more Runs
158
- * const runs = await prisma.run.findMany()
159
- * ```
160
- */
161
- get run(): Prisma.RunDelegate<ExtArgs, ClientOptions>;
162
-
163
- /**
164
- * `prisma.workflowDebuggerOverlay`: Exposes CRUD operations for the **WorkflowDebuggerOverlay** model.
165
- * Example usage:
166
- * ```ts
167
- * // Fetch zero or more WorkflowDebuggerOverlays
168
- * const workflowDebuggerOverlays = await prisma.workflowDebuggerOverlay.findMany()
169
- * ```
170
- */
171
- get workflowDebuggerOverlay(): Prisma.WorkflowDebuggerOverlayDelegate<ExtArgs, ClientOptions>;
172
-
173
- /**
174
- * `prisma.triggerSetupState`: Exposes CRUD operations for the **TriggerSetupState** model.
175
- * Example usage:
176
- * ```ts
177
- * // Fetch zero or more TriggerSetupStates
178
- * const triggerSetupStates = await prisma.triggerSetupState.findMany()
179
- * ```
180
- */
181
- get triggerSetupState(): Prisma.TriggerSetupStateDelegate<ExtArgs, ClientOptions>;
182
- }
183
-
184
- export namespace Prisma {
185
- export import DMMF = runtime.DMMF
186
-
187
- export type PrismaPromise<T> = $Public.PrismaPromise<T>
188
-
189
- /**
190
- * Validator
191
- */
192
- export import validator = runtime.Public.validator
193
-
194
- /**
195
- * Prisma Errors
196
- */
197
- export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
198
- export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
199
- export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
200
- export import PrismaClientInitializationError = runtime.PrismaClientInitializationError
201
- export import PrismaClientValidationError = runtime.PrismaClientValidationError
202
-
203
- /**
204
- * Re-export of sql-template-tag
205
- */
206
- export import sql = runtime.sqltag
207
- export import empty = runtime.empty
208
- export import join = runtime.join
209
- export import raw = runtime.raw
210
- export import Sql = runtime.Sql
211
-
212
-
213
-
214
- /**
215
- * Decimal.js
216
- */
217
- export import Decimal = runtime.Decimal
218
-
219
- export type DecimalJsLike = runtime.DecimalJsLike
220
-
221
- /**
222
- * Extensions
223
- */
224
- export import Extension = $Extensions.UserArgs
225
- export import getExtensionContext = runtime.Extensions.getExtensionContext
226
- export import Args = $Public.Args
227
- export import Payload = $Public.Payload
228
- export import Result = $Public.Result
229
- export import Exact = $Public.Exact
230
-
231
- /**
232
- * Prisma Client JS version: 7.5.0
233
- * Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e
234
- */
235
- export type PrismaVersion = {
236
- client: string
237
- engine: string
238
- }
239
-
240
- export const prismaVersion: PrismaVersion
241
-
242
- /**
243
- * Utility Types
244
- */
245
-
246
-
247
- export import Bytes = runtime.Bytes
248
- export import JsonObject = runtime.JsonObject
249
- export import JsonArray = runtime.JsonArray
250
- export import JsonValue = runtime.JsonValue
251
- export import InputJsonObject = runtime.InputJsonObject
252
- export import InputJsonArray = runtime.InputJsonArray
253
- export import InputJsonValue = runtime.InputJsonValue
254
-
255
- /**
256
- * Types of the values used to represent different kinds of `null` values when working with JSON fields.
257
- *
258
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
259
- */
260
- namespace NullTypes {
261
- /**
262
- * Type of `Prisma.DbNull`.
263
- *
264
- * You cannot use other instances of this class. Please use the `Prisma.DbNull` value.
265
- *
266
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
267
- */
268
- class DbNull {
269
- private DbNull: never
270
- private constructor()
271
- }
272
-
273
- /**
274
- * Type of `Prisma.JsonNull`.
275
- *
276
- * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value.
277
- *
278
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
279
- */
280
- class JsonNull {
281
- private JsonNull: never
282
- private constructor()
283
- }
284
-
285
- /**
286
- * Type of `Prisma.AnyNull`.
287
- *
288
- * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value.
289
- *
290
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
291
- */
292
- class AnyNull {
293
- private AnyNull: never
294
- private constructor()
295
- }
296
- }
297
-
298
- /**
299
- * Helper for filtering JSON entries that have `null` on the database (empty on the db)
300
- *
301
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
302
- */
303
- export const DbNull: NullTypes.DbNull
304
-
305
- /**
306
- * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
307
- *
308
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
309
- */
310
- export const JsonNull: NullTypes.JsonNull
311
-
312
- /**
313
- * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
314
- *
315
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
316
- */
317
- export const AnyNull: NullTypes.AnyNull
318
-
319
- type SelectAndInclude = {
320
- select: any
321
- include: any
322
- }
323
-
324
- type SelectAndOmit = {
325
- select: any
326
- omit: any
327
- }
328
-
329
- /**
330
- * Get the type of the value, that the Promise holds.
331
- */
332
- export type PromiseType<T extends PromiseLike<any>> = T extends PromiseLike<infer U> ? U : T;
333
-
334
- /**
335
- * Get the return type of a function which returns a Promise.
336
- */
337
- export type PromiseReturnType<T extends (...args: any) => $Utils.JsPromise<any>> = PromiseType<ReturnType<T>>
338
-
339
- /**
340
- * From T, pick a set of properties whose keys are in the union K
341
- */
342
- type Prisma__Pick<T, K extends keyof T> = {
343
- [P in K]: T[P];
344
- };
345
-
346
-
347
- export type Enumerable<T> = T | Array<T>;
348
-
349
- export type RequiredKeys<T> = {
350
- [K in keyof T]-?: {} extends Prisma__Pick<T, K> ? never : K
351
- }[keyof T]
352
-
353
- export type TruthyKeys<T> = keyof {
354
- [K in keyof T as T[K] extends false | undefined | null ? never : K]: K
355
- }
356
-
357
- export type TrueKeys<T> = TruthyKeys<Prisma__Pick<T, RequiredKeys<T>>>
358
-
359
- /**
360
- * Subset
361
- * @desc From `T` pick properties that exist in `U`. Simple version of Intersection
362
- */
363
- export type Subset<T, U> = {
364
- [key in keyof T]: key extends keyof U ? T[key] : never;
365
- };
366
-
367
- /**
368
- * SelectSubset
369
- * @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
370
- * Additionally, it validates, if both select and include are present. If the case, it errors.
371
- */
372
- export type SelectSubset<T, U> = {
373
- [key in keyof T]: key extends keyof U ? T[key] : never
374
- } &
375
- (T extends SelectAndInclude
376
- ? 'Please either choose `select` or `include`.'
377
- : T extends SelectAndOmit
378
- ? 'Please either choose `select` or `omit`.'
379
- : {})
380
-
381
- /**
382
- * Subset + Intersection
383
- * @desc From `T` pick properties that exist in `U` and intersect `K`
384
- */
385
- export type SubsetIntersection<T, U, K> = {
386
- [key in keyof T]: key extends keyof U ? T[key] : never
387
- } &
388
- K
389
-
390
- type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
391
-
392
- /**
393
- * XOR is needed to have a real mutually exclusive union type
394
- * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
395
- */
396
- type XOR<T, U> =
397
- T extends object ?
398
- U extends object ?
399
- (Without<T, U> & U) | (Without<U, T> & T)
400
- : U : T
401
-
402
-
403
- /**
404
- * Is T a Record?
405
- */
406
- type IsObject<T extends any> = T extends Array<any>
407
- ? False
408
- : T extends Date
409
- ? False
410
- : T extends Uint8Array
411
- ? False
412
- : T extends bigint
413
- ? False
414
- : T extends object
415
- ? True
416
- : False
417
-
418
-
419
- /**
420
- * If it's T[], return T
421
- */
422
- export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T
423
-
424
- /**
425
- * From ts-toolbelt
426
- */
427
-
428
- type __Either<O extends object, K extends Key> = Omit<O, K> &
429
- {
430
- // Merge all but K
431
- [P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
432
- }[K]
433
-
434
- type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
435
-
436
- type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
437
-
438
- type _Either<
439
- O extends object,
440
- K extends Key,
441
- strict extends Boolean
442
- > = {
443
- 1: EitherStrict<O, K>
444
- 0: EitherLoose<O, K>
445
- }[strict]
446
-
447
- type Either<
448
- O extends object,
449
- K extends Key,
450
- strict extends Boolean = 1
451
- > = O extends unknown ? _Either<O, K, strict> : never
452
-
453
- export type Union = any
454
-
455
- type PatchUndefined<O extends object, O1 extends object> = {
456
- [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
457
- } & {}
458
-
459
- /** Helper Types for "Merge" **/
460
- export type IntersectOf<U extends Union> = (
461
- U extends unknown ? (k: U) => void : never
462
- ) extends (k: infer I) => void
463
- ? I
464
- : never
465
-
466
- export type Overwrite<O extends object, O1 extends object> = {
467
- [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
468
- } & {};
469
-
470
- type _Merge<U extends object> = IntersectOf<Overwrite<U, {
471
- [K in keyof U]-?: At<U, K>;
472
- }>>;
473
-
474
- type Key = string | number | symbol;
475
- type AtBasic<O extends object, K extends Key> = K extends keyof O ? O[K] : never;
476
- type AtStrict<O extends object, K extends Key> = O[K & keyof O];
477
- type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
478
- export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
479
- 1: AtStrict<O, K>;
480
- 0: AtLoose<O, K>;
481
- }[strict];
482
-
483
- export type ComputeRaw<A extends any> = A extends Function ? A : {
484
- [K in keyof A]: A[K];
485
- } & {};
486
-
487
- export type OptionalFlat<O> = {
488
- [K in keyof O]?: O[K];
489
- } & {};
490
-
491
- type _Record<K extends keyof any, T> = {
492
- [P in K]: T;
493
- };
494
-
495
- // cause typescript not to expand types and preserve names
496
- type NoExpand<T> = T extends unknown ? T : never;
497
-
498
- // this type assumes the passed object is entirely optional
499
- type AtLeast<O extends object, K extends string> = NoExpand<
500
- O extends unknown
501
- ? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
502
- | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O
503
- : never>;
504
-
505
- type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
506
-
507
- export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
508
- /** End Helper Types for "Merge" **/
509
-
510
- export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
511
-
512
- /**
513
- A [[Boolean]]
514
- */
515
- export type Boolean = True | False
516
-
517
- // /**
518
- // 1
519
- // */
520
- export type True = 1
521
-
522
- /**
523
- 0
524
- */
525
- export type False = 0
526
-
527
- export type Not<B extends Boolean> = {
528
- 0: 1
529
- 1: 0
530
- }[B]
531
-
532
- export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
533
- ? 0 // anything `never` is false
534
- : A1 extends A2
535
- ? 1
536
- : 0
537
-
538
- export type Has<U extends Union, U1 extends Union> = Not<
539
- Extends<Exclude<U1, U>, U1>
540
- >
541
-
542
- export type Or<B1 extends Boolean, B2 extends Boolean> = {
543
- 0: {
544
- 0: 0
545
- 1: 1
546
- }
547
- 1: {
548
- 0: 1
549
- 1: 1
550
- }
551
- }[B1][B2]
552
-
553
- export type Keys<U extends Union> = U extends unknown ? keyof U : never
554
-
555
- type Cast<A, B> = A extends B ? A : B;
556
-
557
- export const type: unique symbol;
558
-
559
-
560
-
561
- /**
562
- * Used by group by
563
- */
564
-
565
- export type GetScalarType<T, O> = O extends object ? {
566
- [P in keyof T]: P extends keyof O
567
- ? O[P]
568
- : never
569
- } : never
570
-
571
- type FieldPaths<
572
- T,
573
- U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
574
- > = IsObject<T> extends True ? U : T
575
-
576
- type GetHavingFields<T> = {
577
- [K in keyof T]: Or<
578
- Or<Extends<'OR', K>, Extends<'AND', K>>,
579
- Extends<'NOT', K>
580
- > extends True
581
- ? // infer is only needed to not hit TS limit
582
- // based on the brilliant idea of Pierre-Antoine Mills
583
- // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
584
- T[K] extends infer TK
585
- ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
586
- : never
587
- : {} extends FieldPaths<T[K]>
588
- ? never
589
- : K
590
- }[keyof T]
591
-
592
- /**
593
- * Convert tuple to union
594
- */
595
- type _TupleToUnion<T> = T extends (infer E)[] ? E : never
596
- type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
597
- type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
598
-
599
- /**
600
- * Like `Pick`, but additionally can also accept an array of keys
601
- */
602
- type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
603
-
604
- /**
605
- * Exclude all keys with underscores
606
- */
607
- type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
608
-
609
-
610
- export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
611
-
612
- type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
613
-
614
-
615
- export const ModelName: {
616
- Run: 'Run',
617
- WorkflowDebuggerOverlay: 'WorkflowDebuggerOverlay',
618
- TriggerSetupState: 'TriggerSetupState'
619
- };
620
-
621
- export type ModelName = (typeof ModelName)[keyof typeof ModelName]
622
-
623
-
624
-
625
- interface TypeMapCb<ClientOptions = {}> extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record<string, any>> {
626
- returns: Prisma.TypeMap<this['params']['extArgs'], ClientOptions extends { omit: infer OmitOptions } ? OmitOptions : {}>
627
- }
628
-
629
- export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
630
- globalOmitOptions: {
631
- omit: GlobalOmitOptions
632
- }
633
- meta: {
634
- modelProps: "run" | "workflowDebuggerOverlay" | "triggerSetupState"
635
- txIsolationLevel: Prisma.TransactionIsolationLevel
636
- }
637
- model: {
638
- Run: {
639
- payload: Prisma.$RunPayload<ExtArgs>
640
- fields: Prisma.RunFieldRefs
641
- operations: {
642
- findUnique: {
643
- args: Prisma.RunFindUniqueArgs<ExtArgs>
644
- result: $Utils.PayloadToResult<Prisma.$RunPayload> | null
645
- }
646
- findUniqueOrThrow: {
647
- args: Prisma.RunFindUniqueOrThrowArgs<ExtArgs>
648
- result: $Utils.PayloadToResult<Prisma.$RunPayload>
649
- }
650
- findFirst: {
651
- args: Prisma.RunFindFirstArgs<ExtArgs>
652
- result: $Utils.PayloadToResult<Prisma.$RunPayload> | null
653
- }
654
- findFirstOrThrow: {
655
- args: Prisma.RunFindFirstOrThrowArgs<ExtArgs>
656
- result: $Utils.PayloadToResult<Prisma.$RunPayload>
657
- }
658
- findMany: {
659
- args: Prisma.RunFindManyArgs<ExtArgs>
660
- result: $Utils.PayloadToResult<Prisma.$RunPayload>[]
661
- }
662
- create: {
663
- args: Prisma.RunCreateArgs<ExtArgs>
664
- result: $Utils.PayloadToResult<Prisma.$RunPayload>
665
- }
666
- createMany: {
667
- args: Prisma.RunCreateManyArgs<ExtArgs>
668
- result: BatchPayload
669
- }
670
- createManyAndReturn: {
671
- args: Prisma.RunCreateManyAndReturnArgs<ExtArgs>
672
- result: $Utils.PayloadToResult<Prisma.$RunPayload>[]
673
- }
674
- delete: {
675
- args: Prisma.RunDeleteArgs<ExtArgs>
676
- result: $Utils.PayloadToResult<Prisma.$RunPayload>
677
- }
678
- update: {
679
- args: Prisma.RunUpdateArgs<ExtArgs>
680
- result: $Utils.PayloadToResult<Prisma.$RunPayload>
681
- }
682
- deleteMany: {
683
- args: Prisma.RunDeleteManyArgs<ExtArgs>
684
- result: BatchPayload
685
- }
686
- updateMany: {
687
- args: Prisma.RunUpdateManyArgs<ExtArgs>
688
- result: BatchPayload
689
- }
690
- updateManyAndReturn: {
691
- args: Prisma.RunUpdateManyAndReturnArgs<ExtArgs>
692
- result: $Utils.PayloadToResult<Prisma.$RunPayload>[]
693
- }
694
- upsert: {
695
- args: Prisma.RunUpsertArgs<ExtArgs>
696
- result: $Utils.PayloadToResult<Prisma.$RunPayload>
697
- }
698
- aggregate: {
699
- args: Prisma.RunAggregateArgs<ExtArgs>
700
- result: $Utils.Optional<AggregateRun>
701
- }
702
- groupBy: {
703
- args: Prisma.RunGroupByArgs<ExtArgs>
704
- result: $Utils.Optional<RunGroupByOutputType>[]
705
- }
706
- count: {
707
- args: Prisma.RunCountArgs<ExtArgs>
708
- result: $Utils.Optional<RunCountAggregateOutputType> | number
709
- }
710
- }
711
- }
712
- WorkflowDebuggerOverlay: {
713
- payload: Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>
714
- fields: Prisma.WorkflowDebuggerOverlayFieldRefs
715
- operations: {
716
- findUnique: {
717
- args: Prisma.WorkflowDebuggerOverlayFindUniqueArgs<ExtArgs>
718
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload> | null
719
- }
720
- findUniqueOrThrow: {
721
- args: Prisma.WorkflowDebuggerOverlayFindUniqueOrThrowArgs<ExtArgs>
722
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload>
723
- }
724
- findFirst: {
725
- args: Prisma.WorkflowDebuggerOverlayFindFirstArgs<ExtArgs>
726
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload> | null
727
- }
728
- findFirstOrThrow: {
729
- args: Prisma.WorkflowDebuggerOverlayFindFirstOrThrowArgs<ExtArgs>
730
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload>
731
- }
732
- findMany: {
733
- args: Prisma.WorkflowDebuggerOverlayFindManyArgs<ExtArgs>
734
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload>[]
735
- }
736
- create: {
737
- args: Prisma.WorkflowDebuggerOverlayCreateArgs<ExtArgs>
738
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload>
739
- }
740
- createMany: {
741
- args: Prisma.WorkflowDebuggerOverlayCreateManyArgs<ExtArgs>
742
- result: BatchPayload
743
- }
744
- createManyAndReturn: {
745
- args: Prisma.WorkflowDebuggerOverlayCreateManyAndReturnArgs<ExtArgs>
746
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload>[]
747
- }
748
- delete: {
749
- args: Prisma.WorkflowDebuggerOverlayDeleteArgs<ExtArgs>
750
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload>
751
- }
752
- update: {
753
- args: Prisma.WorkflowDebuggerOverlayUpdateArgs<ExtArgs>
754
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload>
755
- }
756
- deleteMany: {
757
- args: Prisma.WorkflowDebuggerOverlayDeleteManyArgs<ExtArgs>
758
- result: BatchPayload
759
- }
760
- updateMany: {
761
- args: Prisma.WorkflowDebuggerOverlayUpdateManyArgs<ExtArgs>
762
- result: BatchPayload
763
- }
764
- updateManyAndReturn: {
765
- args: Prisma.WorkflowDebuggerOverlayUpdateManyAndReturnArgs<ExtArgs>
766
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload>[]
767
- }
768
- upsert: {
769
- args: Prisma.WorkflowDebuggerOverlayUpsertArgs<ExtArgs>
770
- result: $Utils.PayloadToResult<Prisma.$WorkflowDebuggerOverlayPayload>
771
- }
772
- aggregate: {
773
- args: Prisma.WorkflowDebuggerOverlayAggregateArgs<ExtArgs>
774
- result: $Utils.Optional<AggregateWorkflowDebuggerOverlay>
775
- }
776
- groupBy: {
777
- args: Prisma.WorkflowDebuggerOverlayGroupByArgs<ExtArgs>
778
- result: $Utils.Optional<WorkflowDebuggerOverlayGroupByOutputType>[]
779
- }
780
- count: {
781
- args: Prisma.WorkflowDebuggerOverlayCountArgs<ExtArgs>
782
- result: $Utils.Optional<WorkflowDebuggerOverlayCountAggregateOutputType> | number
783
- }
784
- }
785
- }
786
- TriggerSetupState: {
787
- payload: Prisma.$TriggerSetupStatePayload<ExtArgs>
788
- fields: Prisma.TriggerSetupStateFieldRefs
789
- operations: {
790
- findUnique: {
791
- args: Prisma.TriggerSetupStateFindUniqueArgs<ExtArgs>
792
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload> | null
793
- }
794
- findUniqueOrThrow: {
795
- args: Prisma.TriggerSetupStateFindUniqueOrThrowArgs<ExtArgs>
796
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload>
797
- }
798
- findFirst: {
799
- args: Prisma.TriggerSetupStateFindFirstArgs<ExtArgs>
800
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload> | null
801
- }
802
- findFirstOrThrow: {
803
- args: Prisma.TriggerSetupStateFindFirstOrThrowArgs<ExtArgs>
804
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload>
805
- }
806
- findMany: {
807
- args: Prisma.TriggerSetupStateFindManyArgs<ExtArgs>
808
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload>[]
809
- }
810
- create: {
811
- args: Prisma.TriggerSetupStateCreateArgs<ExtArgs>
812
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload>
813
- }
814
- createMany: {
815
- args: Prisma.TriggerSetupStateCreateManyArgs<ExtArgs>
816
- result: BatchPayload
817
- }
818
- createManyAndReturn: {
819
- args: Prisma.TriggerSetupStateCreateManyAndReturnArgs<ExtArgs>
820
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload>[]
821
- }
822
- delete: {
823
- args: Prisma.TriggerSetupStateDeleteArgs<ExtArgs>
824
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload>
825
- }
826
- update: {
827
- args: Prisma.TriggerSetupStateUpdateArgs<ExtArgs>
828
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload>
829
- }
830
- deleteMany: {
831
- args: Prisma.TriggerSetupStateDeleteManyArgs<ExtArgs>
832
- result: BatchPayload
833
- }
834
- updateMany: {
835
- args: Prisma.TriggerSetupStateUpdateManyArgs<ExtArgs>
836
- result: BatchPayload
837
- }
838
- updateManyAndReturn: {
839
- args: Prisma.TriggerSetupStateUpdateManyAndReturnArgs<ExtArgs>
840
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload>[]
841
- }
842
- upsert: {
843
- args: Prisma.TriggerSetupStateUpsertArgs<ExtArgs>
844
- result: $Utils.PayloadToResult<Prisma.$TriggerSetupStatePayload>
845
- }
846
- aggregate: {
847
- args: Prisma.TriggerSetupStateAggregateArgs<ExtArgs>
848
- result: $Utils.Optional<AggregateTriggerSetupState>
849
- }
850
- groupBy: {
851
- args: Prisma.TriggerSetupStateGroupByArgs<ExtArgs>
852
- result: $Utils.Optional<TriggerSetupStateGroupByOutputType>[]
853
- }
854
- count: {
855
- args: Prisma.TriggerSetupStateCountArgs<ExtArgs>
856
- result: $Utils.Optional<TriggerSetupStateCountAggregateOutputType> | number
857
- }
858
- }
859
- }
860
- }
861
- } & {
862
- other: {
863
- payload: any
864
- operations: {
865
- $executeRaw: {
866
- args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
867
- result: any
868
- }
869
- $executeRawUnsafe: {
870
- args: [query: string, ...values: any[]],
871
- result: any
872
- }
873
- $queryRaw: {
874
- args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
875
- result: any
876
- }
877
- $queryRawUnsafe: {
878
- args: [query: string, ...values: any[]],
879
- result: any
880
- }
881
- }
882
- }
883
- }
884
- export const defineExtension: $Extensions.ExtendsHook<"define", Prisma.TypeMapCb, $Extensions.DefaultArgs>
885
- export type DefaultPrismaClient = PrismaClient
886
- export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
887
- export interface PrismaClientOptions {
888
- /**
889
- * @default "colorless"
890
- */
891
- errorFormat?: ErrorFormat
892
- /**
893
- * @example
894
- * ```
895
- * // Shorthand for `emit: 'stdout'`
896
- * log: ['query', 'info', 'warn', 'error']
897
- *
898
- * // Emit as events only
899
- * log: [
900
- * { emit: 'event', level: 'query' },
901
- * { emit: 'event', level: 'info' },
902
- * { emit: 'event', level: 'warn' }
903
- * { emit: 'event', level: 'error' }
904
- * ]
905
- *
906
- * / Emit as events and log to stdout
907
- * og: [
908
- * { emit: 'stdout', level: 'query' },
909
- * { emit: 'stdout', level: 'info' },
910
- * { emit: 'stdout', level: 'warn' }
911
- * { emit: 'stdout', level: 'error' }
912
- *
913
- * ```
914
- * Read more in our [docs](https://pris.ly/d/logging).
915
- */
916
- log?: (LogLevel | LogDefinition)[]
917
- /**
918
- * The default values for transactionOptions
919
- * maxWait ?= 2000
920
- * timeout ?= 5000
921
- */
922
- transactionOptions?: {
923
- maxWait?: number
924
- timeout?: number
925
- isolationLevel?: Prisma.TransactionIsolationLevel
926
- }
927
- /**
928
- * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`
929
- */
930
- adapter?: runtime.SqlDriverAdapterFactory
931
- /**
932
- * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database.
933
- */
934
- accelerateUrl?: string
935
- /**
936
- * Global configuration for omitting model fields by default.
937
- *
938
- * @example
939
- * ```
940
- * const prisma = new PrismaClient({
941
- * omit: {
942
- * user: {
943
- * password: true
944
- * }
945
- * }
946
- * })
947
- * ```
948
- */
949
- omit?: Prisma.GlobalOmitConfig
950
- /**
951
- * SQL commenter plugins that add metadata to SQL queries as comments.
952
- * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/
953
- *
954
- * @example
955
- * ```
956
- * const prisma = new PrismaClient({
957
- * adapter,
958
- * comments: [
959
- * traceContext(),
960
- * queryInsights(),
961
- * ],
962
- * })
963
- * ```
964
- */
965
- comments?: runtime.SqlCommenterPlugin[]
966
- }
967
- export type GlobalOmitConfig = {
968
- run?: RunOmit
969
- workflowDebuggerOverlay?: WorkflowDebuggerOverlayOmit
970
- triggerSetupState?: TriggerSetupStateOmit
971
- }
972
-
973
- /* Types for Logging */
974
- export type LogLevel = 'info' | 'query' | 'warn' | 'error'
975
- export type LogDefinition = {
976
- level: LogLevel
977
- emit: 'stdout' | 'event'
978
- }
979
-
980
- export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
981
-
982
- export type GetLogType<T> = CheckIsLogLevel<
983
- T extends LogDefinition ? T['level'] : T
984
- >;
985
-
986
- export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition>
987
- ? GetLogType<T[number]>
988
- : never;
989
-
990
- export type QueryEvent = {
991
- timestamp: Date
992
- query: string
993
- params: string
994
- duration: number
995
- target: string
996
- }
997
-
998
- export type LogEvent = {
999
- timestamp: Date
1000
- message: string
1001
- target: string
1002
- }
1003
- /* End Types for Logging */
1004
-
1005
-
1006
- export type PrismaAction =
1007
- | 'findUnique'
1008
- | 'findUniqueOrThrow'
1009
- | 'findMany'
1010
- | 'findFirst'
1011
- | 'findFirstOrThrow'
1012
- | 'create'
1013
- | 'createMany'
1014
- | 'createManyAndReturn'
1015
- | 'update'
1016
- | 'updateMany'
1017
- | 'updateManyAndReturn'
1018
- | 'upsert'
1019
- | 'delete'
1020
- | 'deleteMany'
1021
- | 'executeRaw'
1022
- | 'queryRaw'
1023
- | 'aggregate'
1024
- | 'count'
1025
- | 'runCommandRaw'
1026
- | 'findRaw'
1027
- | 'groupBy'
1028
-
1029
- // tested in getLogLevel.test.ts
1030
- export function getLogLevel(log: Array<LogLevel | LogDefinition>): LogLevel | undefined;
1031
-
1032
- /**
1033
- * `PrismaClient` proxy available in interactive transactions.
1034
- */
1035
- export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClientDenyList>
1036
-
1037
- export type Datasource = {
1038
- url?: string
1039
- }
1040
-
1041
- /**
1042
- * Count Types
1043
- */
1044
-
1045
-
1046
-
1047
- /**
1048
- * Models
1049
- */
1050
-
1051
- /**
1052
- * Model Run
1053
- */
1054
-
1055
- export type AggregateRun = {
1056
- _count: RunCountAggregateOutputType | null
1057
- _min: RunMinAggregateOutputType | null
1058
- _max: RunMaxAggregateOutputType | null
1059
- }
1060
-
1061
- export type RunMinAggregateOutputType = {
1062
- runId: string | null
1063
- workflowId: string | null
1064
- startedAt: string | null
1065
- status: string | null
1066
- parentJson: string | null
1067
- executionOptionsJson: string | null
1068
- updatedAt: string | null
1069
- stateJson: string | null
1070
- }
1071
-
1072
- export type RunMaxAggregateOutputType = {
1073
- runId: string | null
1074
- workflowId: string | null
1075
- startedAt: string | null
1076
- status: string | null
1077
- parentJson: string | null
1078
- executionOptionsJson: string | null
1079
- updatedAt: string | null
1080
- stateJson: string | null
1081
- }
1082
-
1083
- export type RunCountAggregateOutputType = {
1084
- runId: number
1085
- workflowId: number
1086
- startedAt: number
1087
- status: number
1088
- parentJson: number
1089
- executionOptionsJson: number
1090
- updatedAt: number
1091
- stateJson: number
1092
- _all: number
1093
- }
1094
-
1095
-
1096
- export type RunMinAggregateInputType = {
1097
- runId?: true
1098
- workflowId?: true
1099
- startedAt?: true
1100
- status?: true
1101
- parentJson?: true
1102
- executionOptionsJson?: true
1103
- updatedAt?: true
1104
- stateJson?: true
1105
- }
1106
-
1107
- export type RunMaxAggregateInputType = {
1108
- runId?: true
1109
- workflowId?: true
1110
- startedAt?: true
1111
- status?: true
1112
- parentJson?: true
1113
- executionOptionsJson?: true
1114
- updatedAt?: true
1115
- stateJson?: true
1116
- }
1117
-
1118
- export type RunCountAggregateInputType = {
1119
- runId?: true
1120
- workflowId?: true
1121
- startedAt?: true
1122
- status?: true
1123
- parentJson?: true
1124
- executionOptionsJson?: true
1125
- updatedAt?: true
1126
- stateJson?: true
1127
- _all?: true
1128
- }
1129
-
1130
- export type RunAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1131
- /**
1132
- * Filter which Run to aggregate.
1133
- */
1134
- where?: RunWhereInput
1135
- /**
1136
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1137
- *
1138
- * Determine the order of Runs to fetch.
1139
- */
1140
- orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[]
1141
- /**
1142
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1143
- *
1144
- * Sets the start position
1145
- */
1146
- cursor?: RunWhereUniqueInput
1147
- /**
1148
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1149
- *
1150
- * Take `±n` Runs from the position of the cursor.
1151
- */
1152
- take?: number
1153
- /**
1154
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1155
- *
1156
- * Skip the first `n` Runs.
1157
- */
1158
- skip?: number
1159
- /**
1160
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
1161
- *
1162
- * Count returned Runs
1163
- **/
1164
- _count?: true | RunCountAggregateInputType
1165
- /**
1166
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
1167
- *
1168
- * Select which fields to find the minimum value
1169
- **/
1170
- _min?: RunMinAggregateInputType
1171
- /**
1172
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
1173
- *
1174
- * Select which fields to find the maximum value
1175
- **/
1176
- _max?: RunMaxAggregateInputType
1177
- }
1178
-
1179
- export type GetRunAggregateType<T extends RunAggregateArgs> = {
1180
- [P in keyof T & keyof AggregateRun]: P extends '_count' | 'count'
1181
- ? T[P] extends true
1182
- ? number
1183
- : GetScalarType<T[P], AggregateRun[P]>
1184
- : GetScalarType<T[P], AggregateRun[P]>
1185
- }
1186
-
1187
-
1188
-
1189
-
1190
- export type RunGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1191
- where?: RunWhereInput
1192
- orderBy?: RunOrderByWithAggregationInput | RunOrderByWithAggregationInput[]
1193
- by: RunScalarFieldEnum[] | RunScalarFieldEnum
1194
- having?: RunScalarWhereWithAggregatesInput
1195
- take?: number
1196
- skip?: number
1197
- _count?: RunCountAggregateInputType | true
1198
- _min?: RunMinAggregateInputType
1199
- _max?: RunMaxAggregateInputType
1200
- }
1201
-
1202
- export type RunGroupByOutputType = {
1203
- runId: string
1204
- workflowId: string
1205
- startedAt: string
1206
- status: string
1207
- parentJson: string | null
1208
- executionOptionsJson: string | null
1209
- updatedAt: string
1210
- stateJson: string
1211
- _count: RunCountAggregateOutputType | null
1212
- _min: RunMinAggregateOutputType | null
1213
- _max: RunMaxAggregateOutputType | null
1214
- }
1215
-
1216
- type GetRunGroupByPayload<T extends RunGroupByArgs> = Prisma.PrismaPromise<
1217
- Array<
1218
- PickEnumerable<RunGroupByOutputType, T['by']> &
1219
- {
1220
- [P in ((keyof T) & (keyof RunGroupByOutputType))]: P extends '_count'
1221
- ? T[P] extends boolean
1222
- ? number
1223
- : GetScalarType<T[P], RunGroupByOutputType[P]>
1224
- : GetScalarType<T[P], RunGroupByOutputType[P]>
1225
- }
1226
- >
1227
- >
1228
-
1229
-
1230
- export type RunSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
1231
- runId?: boolean
1232
- workflowId?: boolean
1233
- startedAt?: boolean
1234
- status?: boolean
1235
- parentJson?: boolean
1236
- executionOptionsJson?: boolean
1237
- updatedAt?: boolean
1238
- stateJson?: boolean
1239
- }, ExtArgs["result"]["run"]>
1240
-
1241
- export type RunSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
1242
- runId?: boolean
1243
- workflowId?: boolean
1244
- startedAt?: boolean
1245
- status?: boolean
1246
- parentJson?: boolean
1247
- executionOptionsJson?: boolean
1248
- updatedAt?: boolean
1249
- stateJson?: boolean
1250
- }, ExtArgs["result"]["run"]>
1251
-
1252
- export type RunSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
1253
- runId?: boolean
1254
- workflowId?: boolean
1255
- startedAt?: boolean
1256
- status?: boolean
1257
- parentJson?: boolean
1258
- executionOptionsJson?: boolean
1259
- updatedAt?: boolean
1260
- stateJson?: boolean
1261
- }, ExtArgs["result"]["run"]>
1262
-
1263
- export type RunSelectScalar = {
1264
- runId?: boolean
1265
- workflowId?: boolean
1266
- startedAt?: boolean
1267
- status?: boolean
1268
- parentJson?: boolean
1269
- executionOptionsJson?: boolean
1270
- updatedAt?: boolean
1271
- stateJson?: boolean
1272
- }
1273
-
1274
- export type RunOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"runId" | "workflowId" | "startedAt" | "status" | "parentJson" | "executionOptionsJson" | "updatedAt" | "stateJson", ExtArgs["result"]["run"]>
1275
-
1276
- export type $RunPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1277
- name: "Run"
1278
- objects: {}
1279
- scalars: $Extensions.GetPayloadResult<{
1280
- runId: string
1281
- workflowId: string
1282
- startedAt: string
1283
- status: string
1284
- parentJson: string | null
1285
- executionOptionsJson: string | null
1286
- updatedAt: string
1287
- stateJson: string
1288
- }, ExtArgs["result"]["run"]>
1289
- composites: {}
1290
- }
1291
-
1292
- type RunGetPayload<S extends boolean | null | undefined | RunDefaultArgs> = $Result.GetResult<Prisma.$RunPayload, S>
1293
-
1294
- type RunCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
1295
- Omit<RunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1296
- select?: RunCountAggregateInputType | true
1297
- }
1298
-
1299
- export interface RunDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1300
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Run'], meta: { name: 'Run' } }
1301
- /**
1302
- * Find zero or one Run that matches the filter.
1303
- * @param {RunFindUniqueArgs} args - Arguments to find a Run
1304
- * @example
1305
- * // Get one Run
1306
- * const run = await prisma.run.findUnique({
1307
- * where: {
1308
- * // ... provide filter here
1309
- * }
1310
- * })
1311
- */
1312
- findUnique<T extends RunFindUniqueArgs>(args: SelectSubset<T, RunFindUniqueArgs<ExtArgs>>): Prisma__RunClient<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1313
-
1314
- /**
1315
- * Find one Run that matches the filter or throw an error with `error.code='P2025'`
1316
- * if no matches were found.
1317
- * @param {RunFindUniqueOrThrowArgs} args - Arguments to find a Run
1318
- * @example
1319
- * // Get one Run
1320
- * const run = await prisma.run.findUniqueOrThrow({
1321
- * where: {
1322
- * // ... provide filter here
1323
- * }
1324
- * })
1325
- */
1326
- findUniqueOrThrow<T extends RunFindUniqueOrThrowArgs>(args: SelectSubset<T, RunFindUniqueOrThrowArgs<ExtArgs>>): Prisma__RunClient<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1327
-
1328
- /**
1329
- * Find the first Run that matches the filter.
1330
- * Note, that providing `undefined` is treated as the value not being there.
1331
- * Read more here: https://pris.ly/d/null-undefined
1332
- * @param {RunFindFirstArgs} args - Arguments to find a Run
1333
- * @example
1334
- * // Get one Run
1335
- * const run = await prisma.run.findFirst({
1336
- * where: {
1337
- * // ... provide filter here
1338
- * }
1339
- * })
1340
- */
1341
- findFirst<T extends RunFindFirstArgs>(args?: SelectSubset<T, RunFindFirstArgs<ExtArgs>>): Prisma__RunClient<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1342
-
1343
- /**
1344
- * Find the first Run that matches the filter or
1345
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1346
- * Note, that providing `undefined` is treated as the value not being there.
1347
- * Read more here: https://pris.ly/d/null-undefined
1348
- * @param {RunFindFirstOrThrowArgs} args - Arguments to find a Run
1349
- * @example
1350
- * // Get one Run
1351
- * const run = await prisma.run.findFirstOrThrow({
1352
- * where: {
1353
- * // ... provide filter here
1354
- * }
1355
- * })
1356
- */
1357
- findFirstOrThrow<T extends RunFindFirstOrThrowArgs>(args?: SelectSubset<T, RunFindFirstOrThrowArgs<ExtArgs>>): Prisma__RunClient<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1358
-
1359
- /**
1360
- * Find zero or more Runs that matches the filter.
1361
- * Note, that providing `undefined` is treated as the value not being there.
1362
- * Read more here: https://pris.ly/d/null-undefined
1363
- * @param {RunFindManyArgs} args - Arguments to filter and select certain fields only.
1364
- * @example
1365
- * // Get all Runs
1366
- * const runs = await prisma.run.findMany()
1367
- *
1368
- * // Get first 10 Runs
1369
- * const runs = await prisma.run.findMany({ take: 10 })
1370
- *
1371
- * // Only select the `runId`
1372
- * const runWithRunIdOnly = await prisma.run.findMany({ select: { runId: true } })
1373
- *
1374
- */
1375
- findMany<T extends RunFindManyArgs>(args?: SelectSubset<T, RunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1376
-
1377
- /**
1378
- * Create a Run.
1379
- * @param {RunCreateArgs} args - Arguments to create a Run.
1380
- * @example
1381
- * // Create one Run
1382
- * const Run = await prisma.run.create({
1383
- * data: {
1384
- * // ... data to create a Run
1385
- * }
1386
- * })
1387
- *
1388
- */
1389
- create<T extends RunCreateArgs>(args: SelectSubset<T, RunCreateArgs<ExtArgs>>): Prisma__RunClient<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1390
-
1391
- /**
1392
- * Create many Runs.
1393
- * @param {RunCreateManyArgs} args - Arguments to create many Runs.
1394
- * @example
1395
- * // Create many Runs
1396
- * const run = await prisma.run.createMany({
1397
- * data: [
1398
- * // ... provide data here
1399
- * ]
1400
- * })
1401
- *
1402
- */
1403
- createMany<T extends RunCreateManyArgs>(args?: SelectSubset<T, RunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
1404
-
1405
- /**
1406
- * Create many Runs and returns the data saved in the database.
1407
- * @param {RunCreateManyAndReturnArgs} args - Arguments to create many Runs.
1408
- * @example
1409
- * // Create many Runs
1410
- * const run = await prisma.run.createManyAndReturn({
1411
- * data: [
1412
- * // ... provide data here
1413
- * ]
1414
- * })
1415
- *
1416
- * // Create many Runs and only return the `runId`
1417
- * const runWithRunIdOnly = await prisma.run.createManyAndReturn({
1418
- * select: { runId: true },
1419
- * data: [
1420
- * // ... provide data here
1421
- * ]
1422
- * })
1423
- * Note, that providing `undefined` is treated as the value not being there.
1424
- * Read more here: https://pris.ly/d/null-undefined
1425
- *
1426
- */
1427
- createManyAndReturn<T extends RunCreateManyAndReturnArgs>(args?: SelectSubset<T, RunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1428
-
1429
- /**
1430
- * Delete a Run.
1431
- * @param {RunDeleteArgs} args - Arguments to delete one Run.
1432
- * @example
1433
- * // Delete one Run
1434
- * const Run = await prisma.run.delete({
1435
- * where: {
1436
- * // ... filter to delete one Run
1437
- * }
1438
- * })
1439
- *
1440
- */
1441
- delete<T extends RunDeleteArgs>(args: SelectSubset<T, RunDeleteArgs<ExtArgs>>): Prisma__RunClient<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1442
-
1443
- /**
1444
- * Update one Run.
1445
- * @param {RunUpdateArgs} args - Arguments to update one Run.
1446
- * @example
1447
- * // Update one Run
1448
- * const run = await prisma.run.update({
1449
- * where: {
1450
- * // ... provide filter here
1451
- * },
1452
- * data: {
1453
- * // ... provide data here
1454
- * }
1455
- * })
1456
- *
1457
- */
1458
- update<T extends RunUpdateArgs>(args: SelectSubset<T, RunUpdateArgs<ExtArgs>>): Prisma__RunClient<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1459
-
1460
- /**
1461
- * Delete zero or more Runs.
1462
- * @param {RunDeleteManyArgs} args - Arguments to filter Runs to delete.
1463
- * @example
1464
- * // Delete a few Runs
1465
- * const { count } = await prisma.run.deleteMany({
1466
- * where: {
1467
- * // ... provide filter here
1468
- * }
1469
- * })
1470
- *
1471
- */
1472
- deleteMany<T extends RunDeleteManyArgs>(args?: SelectSubset<T, RunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
1473
-
1474
- /**
1475
- * Update zero or more Runs.
1476
- * Note, that providing `undefined` is treated as the value not being there.
1477
- * Read more here: https://pris.ly/d/null-undefined
1478
- * @param {RunUpdateManyArgs} args - Arguments to update one or more rows.
1479
- * @example
1480
- * // Update many Runs
1481
- * const run = await prisma.run.updateMany({
1482
- * where: {
1483
- * // ... provide filter here
1484
- * },
1485
- * data: {
1486
- * // ... provide data here
1487
- * }
1488
- * })
1489
- *
1490
- */
1491
- updateMany<T extends RunUpdateManyArgs>(args: SelectSubset<T, RunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
1492
-
1493
- /**
1494
- * Update zero or more Runs and returns the data updated in the database.
1495
- * @param {RunUpdateManyAndReturnArgs} args - Arguments to update many Runs.
1496
- * @example
1497
- * // Update many Runs
1498
- * const run = await prisma.run.updateManyAndReturn({
1499
- * where: {
1500
- * // ... provide filter here
1501
- * },
1502
- * data: [
1503
- * // ... provide data here
1504
- * ]
1505
- * })
1506
- *
1507
- * // Update zero or more Runs and only return the `runId`
1508
- * const runWithRunIdOnly = await prisma.run.updateManyAndReturn({
1509
- * select: { runId: true },
1510
- * where: {
1511
- * // ... provide filter here
1512
- * },
1513
- * data: [
1514
- * // ... provide data here
1515
- * ]
1516
- * })
1517
- * Note, that providing `undefined` is treated as the value not being there.
1518
- * Read more here: https://pris.ly/d/null-undefined
1519
- *
1520
- */
1521
- updateManyAndReturn<T extends RunUpdateManyAndReturnArgs>(args: SelectSubset<T, RunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1522
-
1523
- /**
1524
- * Create or update one Run.
1525
- * @param {RunUpsertArgs} args - Arguments to update or create a Run.
1526
- * @example
1527
- * // Update or create a Run
1528
- * const run = await prisma.run.upsert({
1529
- * create: {
1530
- * // ... data to create a Run
1531
- * },
1532
- * update: {
1533
- * // ... in case it already exists, update
1534
- * },
1535
- * where: {
1536
- * // ... the filter for the Run we want to update
1537
- * }
1538
- * })
1539
- */
1540
- upsert<T extends RunUpsertArgs>(args: SelectSubset<T, RunUpsertArgs<ExtArgs>>): Prisma__RunClient<$Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1541
-
1542
-
1543
- /**
1544
- * Count the number of Runs.
1545
- * Note, that providing `undefined` is treated as the value not being there.
1546
- * Read more here: https://pris.ly/d/null-undefined
1547
- * @param {RunCountArgs} args - Arguments to filter Runs to count.
1548
- * @example
1549
- * // Count the number of Runs
1550
- * const count = await prisma.run.count({
1551
- * where: {
1552
- * // ... the filter for the Runs we want to count
1553
- * }
1554
- * })
1555
- **/
1556
- count<T extends RunCountArgs>(
1557
- args?: Subset<T, RunCountArgs>,
1558
- ): Prisma.PrismaPromise<
1559
- T extends $Utils.Record<'select', any>
1560
- ? T['select'] extends true
1561
- ? number
1562
- : GetScalarType<T['select'], RunCountAggregateOutputType>
1563
- : number
1564
- >
1565
-
1566
- /**
1567
- * Allows you to perform aggregations operations on a Run.
1568
- * Note, that providing `undefined` is treated as the value not being there.
1569
- * Read more here: https://pris.ly/d/null-undefined
1570
- * @param {RunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1571
- * @example
1572
- * // Ordered by age ascending
1573
- * // Where email contains prisma.io
1574
- * // Limited to the 10 users
1575
- * const aggregations = await prisma.user.aggregate({
1576
- * _avg: {
1577
- * age: true,
1578
- * },
1579
- * where: {
1580
- * email: {
1581
- * contains: "prisma.io",
1582
- * },
1583
- * },
1584
- * orderBy: {
1585
- * age: "asc",
1586
- * },
1587
- * take: 10,
1588
- * })
1589
- **/
1590
- aggregate<T extends RunAggregateArgs>(args: Subset<T, RunAggregateArgs>): Prisma.PrismaPromise<GetRunAggregateType<T>>
1591
-
1592
- /**
1593
- * Group by Run.
1594
- * Note, that providing `undefined` is treated as the value not being there.
1595
- * Read more here: https://pris.ly/d/null-undefined
1596
- * @param {RunGroupByArgs} args - Group by arguments.
1597
- * @example
1598
- * // Group by city, order by createdAt, get count
1599
- * const result = await prisma.user.groupBy({
1600
- * by: ['city', 'createdAt'],
1601
- * orderBy: {
1602
- * createdAt: true
1603
- * },
1604
- * _count: {
1605
- * _all: true
1606
- * },
1607
- * })
1608
- *
1609
- **/
1610
- groupBy<
1611
- T extends RunGroupByArgs,
1612
- HasSelectOrTake extends Or<
1613
- Extends<'skip', Keys<T>>,
1614
- Extends<'take', Keys<T>>
1615
- >,
1616
- OrderByArg extends True extends HasSelectOrTake
1617
- ? { orderBy: RunGroupByArgs['orderBy'] }
1618
- : { orderBy?: RunGroupByArgs['orderBy'] },
1619
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
1620
- ByFields extends MaybeTupleToUnion<T['by']>,
1621
- ByValid extends Has<ByFields, OrderFields>,
1622
- HavingFields extends GetHavingFields<T['having']>,
1623
- HavingValid extends Has<ByFields, HavingFields>,
1624
- ByEmpty extends T['by'] extends never[] ? True : False,
1625
- InputErrors extends ByEmpty extends True
1626
- ? `Error: "by" must not be empty.`
1627
- : HavingValid extends False
1628
- ? {
1629
- [P in HavingFields]: P extends ByFields
1630
- ? never
1631
- : P extends string
1632
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1633
- : [
1634
- Error,
1635
- 'Field ',
1636
- P,
1637
- ` in "having" needs to be provided in "by"`,
1638
- ]
1639
- }[HavingFields]
1640
- : 'take' extends Keys<T>
1641
- ? 'orderBy' extends Keys<T>
1642
- ? ByValid extends True
1643
- ? {}
1644
- : {
1645
- [P in OrderFields]: P extends ByFields
1646
- ? never
1647
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1648
- }[OrderFields]
1649
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1650
- : 'skip' extends Keys<T>
1651
- ? 'orderBy' extends Keys<T>
1652
- ? ByValid extends True
1653
- ? {}
1654
- : {
1655
- [P in OrderFields]: P extends ByFields
1656
- ? never
1657
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1658
- }[OrderFields]
1659
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1660
- : ByValid extends True
1661
- ? {}
1662
- : {
1663
- [P in OrderFields]: P extends ByFields
1664
- ? never
1665
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1666
- }[OrderFields]
1667
- >(args: SubsetIntersection<T, RunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1668
- /**
1669
- * Fields of the Run model
1670
- */
1671
- readonly fields: RunFieldRefs;
1672
- }
1673
-
1674
- /**
1675
- * The delegate class that acts as a "Promise-like" for Run.
1676
- * Why is this prefixed with `Prisma__`?
1677
- * Because we want to prevent naming conflicts as mentioned in
1678
- * https://github.com/prisma/prisma-client-js/issues/707
1679
- */
1680
- export interface Prisma__RunClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1681
- readonly [Symbol.toStringTag]: "PrismaPromise"
1682
- /**
1683
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1684
- * @param onfulfilled The callback to execute when the Promise is resolved.
1685
- * @param onrejected The callback to execute when the Promise is rejected.
1686
- * @returns A Promise for the completion of which ever callback is executed.
1687
- */
1688
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
1689
- /**
1690
- * Attaches a callback for only the rejection of the Promise.
1691
- * @param onrejected The callback to execute when the Promise is rejected.
1692
- * @returns A Promise for the completion of the callback.
1693
- */
1694
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
1695
- /**
1696
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1697
- * resolved value cannot be modified from the callback.
1698
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1699
- * @returns A Promise for the completion of the callback.
1700
- */
1701
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
1702
- }
1703
-
1704
-
1705
-
1706
-
1707
- /**
1708
- * Fields of the Run model
1709
- */
1710
- interface RunFieldRefs {
1711
- readonly runId: FieldRef<"Run", 'String'>
1712
- readonly workflowId: FieldRef<"Run", 'String'>
1713
- readonly startedAt: FieldRef<"Run", 'String'>
1714
- readonly status: FieldRef<"Run", 'String'>
1715
- readonly parentJson: FieldRef<"Run", 'String'>
1716
- readonly executionOptionsJson: FieldRef<"Run", 'String'>
1717
- readonly updatedAt: FieldRef<"Run", 'String'>
1718
- readonly stateJson: FieldRef<"Run", 'String'>
1719
- }
1720
-
1721
-
1722
- // Custom InputTypes
1723
- /**
1724
- * Run findUnique
1725
- */
1726
- export type RunFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1727
- /**
1728
- * Select specific fields to fetch from the Run
1729
- */
1730
- select?: RunSelect<ExtArgs> | null
1731
- /**
1732
- * Omit specific fields from the Run
1733
- */
1734
- omit?: RunOmit<ExtArgs> | null
1735
- /**
1736
- * Filter, which Run to fetch.
1737
- */
1738
- where: RunWhereUniqueInput
1739
- }
1740
-
1741
- /**
1742
- * Run findUniqueOrThrow
1743
- */
1744
- export type RunFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1745
- /**
1746
- * Select specific fields to fetch from the Run
1747
- */
1748
- select?: RunSelect<ExtArgs> | null
1749
- /**
1750
- * Omit specific fields from the Run
1751
- */
1752
- omit?: RunOmit<ExtArgs> | null
1753
- /**
1754
- * Filter, which Run to fetch.
1755
- */
1756
- where: RunWhereUniqueInput
1757
- }
1758
-
1759
- /**
1760
- * Run findFirst
1761
- */
1762
- export type RunFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1763
- /**
1764
- * Select specific fields to fetch from the Run
1765
- */
1766
- select?: RunSelect<ExtArgs> | null
1767
- /**
1768
- * Omit specific fields from the Run
1769
- */
1770
- omit?: RunOmit<ExtArgs> | null
1771
- /**
1772
- * Filter, which Run to fetch.
1773
- */
1774
- where?: RunWhereInput
1775
- /**
1776
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1777
- *
1778
- * Determine the order of Runs to fetch.
1779
- */
1780
- orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[]
1781
- /**
1782
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1783
- *
1784
- * Sets the position for searching for Runs.
1785
- */
1786
- cursor?: RunWhereUniqueInput
1787
- /**
1788
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1789
- *
1790
- * Take `±n` Runs from the position of the cursor.
1791
- */
1792
- take?: number
1793
- /**
1794
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1795
- *
1796
- * Skip the first `n` Runs.
1797
- */
1798
- skip?: number
1799
- /**
1800
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1801
- *
1802
- * Filter by unique combinations of Runs.
1803
- */
1804
- distinct?: RunScalarFieldEnum | RunScalarFieldEnum[]
1805
- }
1806
-
1807
- /**
1808
- * Run findFirstOrThrow
1809
- */
1810
- export type RunFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1811
- /**
1812
- * Select specific fields to fetch from the Run
1813
- */
1814
- select?: RunSelect<ExtArgs> | null
1815
- /**
1816
- * Omit specific fields from the Run
1817
- */
1818
- omit?: RunOmit<ExtArgs> | null
1819
- /**
1820
- * Filter, which Run to fetch.
1821
- */
1822
- where?: RunWhereInput
1823
- /**
1824
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1825
- *
1826
- * Determine the order of Runs to fetch.
1827
- */
1828
- orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[]
1829
- /**
1830
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1831
- *
1832
- * Sets the position for searching for Runs.
1833
- */
1834
- cursor?: RunWhereUniqueInput
1835
- /**
1836
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1837
- *
1838
- * Take `±n` Runs from the position of the cursor.
1839
- */
1840
- take?: number
1841
- /**
1842
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1843
- *
1844
- * Skip the first `n` Runs.
1845
- */
1846
- skip?: number
1847
- /**
1848
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1849
- *
1850
- * Filter by unique combinations of Runs.
1851
- */
1852
- distinct?: RunScalarFieldEnum | RunScalarFieldEnum[]
1853
- }
1854
-
1855
- /**
1856
- * Run findMany
1857
- */
1858
- export type RunFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1859
- /**
1860
- * Select specific fields to fetch from the Run
1861
- */
1862
- select?: RunSelect<ExtArgs> | null
1863
- /**
1864
- * Omit specific fields from the Run
1865
- */
1866
- omit?: RunOmit<ExtArgs> | null
1867
- /**
1868
- * Filter, which Runs to fetch.
1869
- */
1870
- where?: RunWhereInput
1871
- /**
1872
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1873
- *
1874
- * Determine the order of Runs to fetch.
1875
- */
1876
- orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[]
1877
- /**
1878
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1879
- *
1880
- * Sets the position for listing Runs.
1881
- */
1882
- cursor?: RunWhereUniqueInput
1883
- /**
1884
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1885
- *
1886
- * Take `±n` Runs from the position of the cursor.
1887
- */
1888
- take?: number
1889
- /**
1890
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1891
- *
1892
- * Skip the first `n` Runs.
1893
- */
1894
- skip?: number
1895
- /**
1896
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1897
- *
1898
- * Filter by unique combinations of Runs.
1899
- */
1900
- distinct?: RunScalarFieldEnum | RunScalarFieldEnum[]
1901
- }
1902
-
1903
- /**
1904
- * Run create
1905
- */
1906
- export type RunCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1907
- /**
1908
- * Select specific fields to fetch from the Run
1909
- */
1910
- select?: RunSelect<ExtArgs> | null
1911
- /**
1912
- * Omit specific fields from the Run
1913
- */
1914
- omit?: RunOmit<ExtArgs> | null
1915
- /**
1916
- * The data needed to create a Run.
1917
- */
1918
- data: XOR<RunCreateInput, RunUncheckedCreateInput>
1919
- }
1920
-
1921
- /**
1922
- * Run createMany
1923
- */
1924
- export type RunCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1925
- /**
1926
- * The data used to create many Runs.
1927
- */
1928
- data: RunCreateManyInput | RunCreateManyInput[]
1929
- skipDuplicates?: boolean
1930
- }
1931
-
1932
- /**
1933
- * Run createManyAndReturn
1934
- */
1935
- export type RunCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1936
- /**
1937
- * Select specific fields to fetch from the Run
1938
- */
1939
- select?: RunSelectCreateManyAndReturn<ExtArgs> | null
1940
- /**
1941
- * Omit specific fields from the Run
1942
- */
1943
- omit?: RunOmit<ExtArgs> | null
1944
- /**
1945
- * The data used to create many Runs.
1946
- */
1947
- data: RunCreateManyInput | RunCreateManyInput[]
1948
- skipDuplicates?: boolean
1949
- }
1950
-
1951
- /**
1952
- * Run update
1953
- */
1954
- export type RunUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1955
- /**
1956
- * Select specific fields to fetch from the Run
1957
- */
1958
- select?: RunSelect<ExtArgs> | null
1959
- /**
1960
- * Omit specific fields from the Run
1961
- */
1962
- omit?: RunOmit<ExtArgs> | null
1963
- /**
1964
- * The data needed to update a Run.
1965
- */
1966
- data: XOR<RunUpdateInput, RunUncheckedUpdateInput>
1967
- /**
1968
- * Choose, which Run to update.
1969
- */
1970
- where: RunWhereUniqueInput
1971
- }
1972
-
1973
- /**
1974
- * Run updateMany
1975
- */
1976
- export type RunUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1977
- /**
1978
- * The data used to update Runs.
1979
- */
1980
- data: XOR<RunUpdateManyMutationInput, RunUncheckedUpdateManyInput>
1981
- /**
1982
- * Filter which Runs to update
1983
- */
1984
- where?: RunWhereInput
1985
- /**
1986
- * Limit how many Runs to update.
1987
- */
1988
- limit?: number
1989
- }
1990
-
1991
- /**
1992
- * Run updateManyAndReturn
1993
- */
1994
- export type RunUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
1995
- /**
1996
- * Select specific fields to fetch from the Run
1997
- */
1998
- select?: RunSelectUpdateManyAndReturn<ExtArgs> | null
1999
- /**
2000
- * Omit specific fields from the Run
2001
- */
2002
- omit?: RunOmit<ExtArgs> | null
2003
- /**
2004
- * The data used to update Runs.
2005
- */
2006
- data: XOR<RunUpdateManyMutationInput, RunUncheckedUpdateManyInput>
2007
- /**
2008
- * Filter which Runs to update
2009
- */
2010
- where?: RunWhereInput
2011
- /**
2012
- * Limit how many Runs to update.
2013
- */
2014
- limit?: number
2015
- }
2016
-
2017
- /**
2018
- * Run upsert
2019
- */
2020
- export type RunUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2021
- /**
2022
- * Select specific fields to fetch from the Run
2023
- */
2024
- select?: RunSelect<ExtArgs> | null
2025
- /**
2026
- * Omit specific fields from the Run
2027
- */
2028
- omit?: RunOmit<ExtArgs> | null
2029
- /**
2030
- * The filter to search for the Run to update in case it exists.
2031
- */
2032
- where: RunWhereUniqueInput
2033
- /**
2034
- * In case the Run found by the `where` argument doesn't exist, create a new Run with this data.
2035
- */
2036
- create: XOR<RunCreateInput, RunUncheckedCreateInput>
2037
- /**
2038
- * In case the Run was found with the provided `where` argument, update it with this data.
2039
- */
2040
- update: XOR<RunUpdateInput, RunUncheckedUpdateInput>
2041
- }
2042
-
2043
- /**
2044
- * Run delete
2045
- */
2046
- export type RunDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2047
- /**
2048
- * Select specific fields to fetch from the Run
2049
- */
2050
- select?: RunSelect<ExtArgs> | null
2051
- /**
2052
- * Omit specific fields from the Run
2053
- */
2054
- omit?: RunOmit<ExtArgs> | null
2055
- /**
2056
- * Filter which Run to delete.
2057
- */
2058
- where: RunWhereUniqueInput
2059
- }
2060
-
2061
- /**
2062
- * Run deleteMany
2063
- */
2064
- export type RunDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2065
- /**
2066
- * Filter which Runs to delete
2067
- */
2068
- where?: RunWhereInput
2069
- /**
2070
- * Limit how many Runs to delete.
2071
- */
2072
- limit?: number
2073
- }
2074
-
2075
- /**
2076
- * Run without action
2077
- */
2078
- export type RunDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2079
- /**
2080
- * Select specific fields to fetch from the Run
2081
- */
2082
- select?: RunSelect<ExtArgs> | null
2083
- /**
2084
- * Omit specific fields from the Run
2085
- */
2086
- omit?: RunOmit<ExtArgs> | null
2087
- }
2088
-
2089
-
2090
- /**
2091
- * Model WorkflowDebuggerOverlay
2092
- */
2093
-
2094
- export type AggregateWorkflowDebuggerOverlay = {
2095
- _count: WorkflowDebuggerOverlayCountAggregateOutputType | null
2096
- _min: WorkflowDebuggerOverlayMinAggregateOutputType | null
2097
- _max: WorkflowDebuggerOverlayMaxAggregateOutputType | null
2098
- }
2099
-
2100
- export type WorkflowDebuggerOverlayMinAggregateOutputType = {
2101
- workflowId: string | null
2102
- updatedAt: string | null
2103
- copiedFromRunId: string | null
2104
- stateJson: string | null
2105
- }
2106
-
2107
- export type WorkflowDebuggerOverlayMaxAggregateOutputType = {
2108
- workflowId: string | null
2109
- updatedAt: string | null
2110
- copiedFromRunId: string | null
2111
- stateJson: string | null
2112
- }
2113
-
2114
- export type WorkflowDebuggerOverlayCountAggregateOutputType = {
2115
- workflowId: number
2116
- updatedAt: number
2117
- copiedFromRunId: number
2118
- stateJson: number
2119
- _all: number
2120
- }
2121
-
2122
-
2123
- export type WorkflowDebuggerOverlayMinAggregateInputType = {
2124
- workflowId?: true
2125
- updatedAt?: true
2126
- copiedFromRunId?: true
2127
- stateJson?: true
2128
- }
2129
-
2130
- export type WorkflowDebuggerOverlayMaxAggregateInputType = {
2131
- workflowId?: true
2132
- updatedAt?: true
2133
- copiedFromRunId?: true
2134
- stateJson?: true
2135
- }
2136
-
2137
- export type WorkflowDebuggerOverlayCountAggregateInputType = {
2138
- workflowId?: true
2139
- updatedAt?: true
2140
- copiedFromRunId?: true
2141
- stateJson?: true
2142
- _all?: true
2143
- }
2144
-
2145
- export type WorkflowDebuggerOverlayAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2146
- /**
2147
- * Filter which WorkflowDebuggerOverlay to aggregate.
2148
- */
2149
- where?: WorkflowDebuggerOverlayWhereInput
2150
- /**
2151
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2152
- *
2153
- * Determine the order of WorkflowDebuggerOverlays to fetch.
2154
- */
2155
- orderBy?: WorkflowDebuggerOverlayOrderByWithRelationInput | WorkflowDebuggerOverlayOrderByWithRelationInput[]
2156
- /**
2157
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2158
- *
2159
- * Sets the start position
2160
- */
2161
- cursor?: WorkflowDebuggerOverlayWhereUniqueInput
2162
- /**
2163
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2164
- *
2165
- * Take `±n` WorkflowDebuggerOverlays from the position of the cursor.
2166
- */
2167
- take?: number
2168
- /**
2169
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2170
- *
2171
- * Skip the first `n` WorkflowDebuggerOverlays.
2172
- */
2173
- skip?: number
2174
- /**
2175
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
2176
- *
2177
- * Count returned WorkflowDebuggerOverlays
2178
- **/
2179
- _count?: true | WorkflowDebuggerOverlayCountAggregateInputType
2180
- /**
2181
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
2182
- *
2183
- * Select which fields to find the minimum value
2184
- **/
2185
- _min?: WorkflowDebuggerOverlayMinAggregateInputType
2186
- /**
2187
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
2188
- *
2189
- * Select which fields to find the maximum value
2190
- **/
2191
- _max?: WorkflowDebuggerOverlayMaxAggregateInputType
2192
- }
2193
-
2194
- export type GetWorkflowDebuggerOverlayAggregateType<T extends WorkflowDebuggerOverlayAggregateArgs> = {
2195
- [P in keyof T & keyof AggregateWorkflowDebuggerOverlay]: P extends '_count' | 'count'
2196
- ? T[P] extends true
2197
- ? number
2198
- : GetScalarType<T[P], AggregateWorkflowDebuggerOverlay[P]>
2199
- : GetScalarType<T[P], AggregateWorkflowDebuggerOverlay[P]>
2200
- }
2201
-
2202
-
2203
-
2204
-
2205
- export type WorkflowDebuggerOverlayGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2206
- where?: WorkflowDebuggerOverlayWhereInput
2207
- orderBy?: WorkflowDebuggerOverlayOrderByWithAggregationInput | WorkflowDebuggerOverlayOrderByWithAggregationInput[]
2208
- by: WorkflowDebuggerOverlayScalarFieldEnum[] | WorkflowDebuggerOverlayScalarFieldEnum
2209
- having?: WorkflowDebuggerOverlayScalarWhereWithAggregatesInput
2210
- take?: number
2211
- skip?: number
2212
- _count?: WorkflowDebuggerOverlayCountAggregateInputType | true
2213
- _min?: WorkflowDebuggerOverlayMinAggregateInputType
2214
- _max?: WorkflowDebuggerOverlayMaxAggregateInputType
2215
- }
2216
-
2217
- export type WorkflowDebuggerOverlayGroupByOutputType = {
2218
- workflowId: string
2219
- updatedAt: string
2220
- copiedFromRunId: string | null
2221
- stateJson: string
2222
- _count: WorkflowDebuggerOverlayCountAggregateOutputType | null
2223
- _min: WorkflowDebuggerOverlayMinAggregateOutputType | null
2224
- _max: WorkflowDebuggerOverlayMaxAggregateOutputType | null
2225
- }
2226
-
2227
- type GetWorkflowDebuggerOverlayGroupByPayload<T extends WorkflowDebuggerOverlayGroupByArgs> = Prisma.PrismaPromise<
2228
- Array<
2229
- PickEnumerable<WorkflowDebuggerOverlayGroupByOutputType, T['by']> &
2230
- {
2231
- [P in ((keyof T) & (keyof WorkflowDebuggerOverlayGroupByOutputType))]: P extends '_count'
2232
- ? T[P] extends boolean
2233
- ? number
2234
- : GetScalarType<T[P], WorkflowDebuggerOverlayGroupByOutputType[P]>
2235
- : GetScalarType<T[P], WorkflowDebuggerOverlayGroupByOutputType[P]>
2236
- }
2237
- >
2238
- >
2239
-
2240
-
2241
- export type WorkflowDebuggerOverlaySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
2242
- workflowId?: boolean
2243
- updatedAt?: boolean
2244
- copiedFromRunId?: boolean
2245
- stateJson?: boolean
2246
- }, ExtArgs["result"]["workflowDebuggerOverlay"]>
2247
-
2248
- export type WorkflowDebuggerOverlaySelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
2249
- workflowId?: boolean
2250
- updatedAt?: boolean
2251
- copiedFromRunId?: boolean
2252
- stateJson?: boolean
2253
- }, ExtArgs["result"]["workflowDebuggerOverlay"]>
2254
-
2255
- export type WorkflowDebuggerOverlaySelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
2256
- workflowId?: boolean
2257
- updatedAt?: boolean
2258
- copiedFromRunId?: boolean
2259
- stateJson?: boolean
2260
- }, ExtArgs["result"]["workflowDebuggerOverlay"]>
2261
-
2262
- export type WorkflowDebuggerOverlaySelectScalar = {
2263
- workflowId?: boolean
2264
- updatedAt?: boolean
2265
- copiedFromRunId?: boolean
2266
- stateJson?: boolean
2267
- }
2268
-
2269
- export type WorkflowDebuggerOverlayOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"workflowId" | "updatedAt" | "copiedFromRunId" | "stateJson", ExtArgs["result"]["workflowDebuggerOverlay"]>
2270
-
2271
- export type $WorkflowDebuggerOverlayPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2272
- name: "WorkflowDebuggerOverlay"
2273
- objects: {}
2274
- scalars: $Extensions.GetPayloadResult<{
2275
- workflowId: string
2276
- updatedAt: string
2277
- copiedFromRunId: string | null
2278
- stateJson: string
2279
- }, ExtArgs["result"]["workflowDebuggerOverlay"]>
2280
- composites: {}
2281
- }
2282
-
2283
- type WorkflowDebuggerOverlayGetPayload<S extends boolean | null | undefined | WorkflowDebuggerOverlayDefaultArgs> = $Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload, S>
2284
-
2285
- type WorkflowDebuggerOverlayCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
2286
- Omit<WorkflowDebuggerOverlayFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
2287
- select?: WorkflowDebuggerOverlayCountAggregateInputType | true
2288
- }
2289
-
2290
- export interface WorkflowDebuggerOverlayDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
2291
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowDebuggerOverlay'], meta: { name: 'WorkflowDebuggerOverlay' } }
2292
- /**
2293
- * Find zero or one WorkflowDebuggerOverlay that matches the filter.
2294
- * @param {WorkflowDebuggerOverlayFindUniqueArgs} args - Arguments to find a WorkflowDebuggerOverlay
2295
- * @example
2296
- * // Get one WorkflowDebuggerOverlay
2297
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.findUnique({
2298
- * where: {
2299
- * // ... provide filter here
2300
- * }
2301
- * })
2302
- */
2303
- findUnique<T extends WorkflowDebuggerOverlayFindUniqueArgs>(args: SelectSubset<T, WorkflowDebuggerOverlayFindUniqueArgs<ExtArgs>>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2304
-
2305
- /**
2306
- * Find one WorkflowDebuggerOverlay that matches the filter or throw an error with `error.code='P2025'`
2307
- * if no matches were found.
2308
- * @param {WorkflowDebuggerOverlayFindUniqueOrThrowArgs} args - Arguments to find a WorkflowDebuggerOverlay
2309
- * @example
2310
- * // Get one WorkflowDebuggerOverlay
2311
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.findUniqueOrThrow({
2312
- * where: {
2313
- * // ... provide filter here
2314
- * }
2315
- * })
2316
- */
2317
- findUniqueOrThrow<T extends WorkflowDebuggerOverlayFindUniqueOrThrowArgs>(args: SelectSubset<T, WorkflowDebuggerOverlayFindUniqueOrThrowArgs<ExtArgs>>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2318
-
2319
- /**
2320
- * Find the first WorkflowDebuggerOverlay that matches the filter.
2321
- * Note, that providing `undefined` is treated as the value not being there.
2322
- * Read more here: https://pris.ly/d/null-undefined
2323
- * @param {WorkflowDebuggerOverlayFindFirstArgs} args - Arguments to find a WorkflowDebuggerOverlay
2324
- * @example
2325
- * // Get one WorkflowDebuggerOverlay
2326
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.findFirst({
2327
- * where: {
2328
- * // ... provide filter here
2329
- * }
2330
- * })
2331
- */
2332
- findFirst<T extends WorkflowDebuggerOverlayFindFirstArgs>(args?: SelectSubset<T, WorkflowDebuggerOverlayFindFirstArgs<ExtArgs>>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2333
-
2334
- /**
2335
- * Find the first WorkflowDebuggerOverlay that matches the filter or
2336
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
2337
- * Note, that providing `undefined` is treated as the value not being there.
2338
- * Read more here: https://pris.ly/d/null-undefined
2339
- * @param {WorkflowDebuggerOverlayFindFirstOrThrowArgs} args - Arguments to find a WorkflowDebuggerOverlay
2340
- * @example
2341
- * // Get one WorkflowDebuggerOverlay
2342
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.findFirstOrThrow({
2343
- * where: {
2344
- * // ... provide filter here
2345
- * }
2346
- * })
2347
- */
2348
- findFirstOrThrow<T extends WorkflowDebuggerOverlayFindFirstOrThrowArgs>(args?: SelectSubset<T, WorkflowDebuggerOverlayFindFirstOrThrowArgs<ExtArgs>>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2349
-
2350
- /**
2351
- * Find zero or more WorkflowDebuggerOverlays that matches the filter.
2352
- * Note, that providing `undefined` is treated as the value not being there.
2353
- * Read more here: https://pris.ly/d/null-undefined
2354
- * @param {WorkflowDebuggerOverlayFindManyArgs} args - Arguments to filter and select certain fields only.
2355
- * @example
2356
- * // Get all WorkflowDebuggerOverlays
2357
- * const workflowDebuggerOverlays = await prisma.workflowDebuggerOverlay.findMany()
2358
- *
2359
- * // Get first 10 WorkflowDebuggerOverlays
2360
- * const workflowDebuggerOverlays = await prisma.workflowDebuggerOverlay.findMany({ take: 10 })
2361
- *
2362
- * // Only select the `workflowId`
2363
- * const workflowDebuggerOverlayWithWorkflowIdOnly = await prisma.workflowDebuggerOverlay.findMany({ select: { workflowId: true } })
2364
- *
2365
- */
2366
- findMany<T extends WorkflowDebuggerOverlayFindManyArgs>(args?: SelectSubset<T, WorkflowDebuggerOverlayFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
2367
-
2368
- /**
2369
- * Create a WorkflowDebuggerOverlay.
2370
- * @param {WorkflowDebuggerOverlayCreateArgs} args - Arguments to create a WorkflowDebuggerOverlay.
2371
- * @example
2372
- * // Create one WorkflowDebuggerOverlay
2373
- * const WorkflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.create({
2374
- * data: {
2375
- * // ... data to create a WorkflowDebuggerOverlay
2376
- * }
2377
- * })
2378
- *
2379
- */
2380
- create<T extends WorkflowDebuggerOverlayCreateArgs>(args: SelectSubset<T, WorkflowDebuggerOverlayCreateArgs<ExtArgs>>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2381
-
2382
- /**
2383
- * Create many WorkflowDebuggerOverlays.
2384
- * @param {WorkflowDebuggerOverlayCreateManyArgs} args - Arguments to create many WorkflowDebuggerOverlays.
2385
- * @example
2386
- * // Create many WorkflowDebuggerOverlays
2387
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.createMany({
2388
- * data: [
2389
- * // ... provide data here
2390
- * ]
2391
- * })
2392
- *
2393
- */
2394
- createMany<T extends WorkflowDebuggerOverlayCreateManyArgs>(args?: SelectSubset<T, WorkflowDebuggerOverlayCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
2395
-
2396
- /**
2397
- * Create many WorkflowDebuggerOverlays and returns the data saved in the database.
2398
- * @param {WorkflowDebuggerOverlayCreateManyAndReturnArgs} args - Arguments to create many WorkflowDebuggerOverlays.
2399
- * @example
2400
- * // Create many WorkflowDebuggerOverlays
2401
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.createManyAndReturn({
2402
- * data: [
2403
- * // ... provide data here
2404
- * ]
2405
- * })
2406
- *
2407
- * // Create many WorkflowDebuggerOverlays and only return the `workflowId`
2408
- * const workflowDebuggerOverlayWithWorkflowIdOnly = await prisma.workflowDebuggerOverlay.createManyAndReturn({
2409
- * select: { workflowId: true },
2410
- * data: [
2411
- * // ... provide data here
2412
- * ]
2413
- * })
2414
- * Note, that providing `undefined` is treated as the value not being there.
2415
- * Read more here: https://pris.ly/d/null-undefined
2416
- *
2417
- */
2418
- createManyAndReturn<T extends WorkflowDebuggerOverlayCreateManyAndReturnArgs>(args?: SelectSubset<T, WorkflowDebuggerOverlayCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
2419
-
2420
- /**
2421
- * Delete a WorkflowDebuggerOverlay.
2422
- * @param {WorkflowDebuggerOverlayDeleteArgs} args - Arguments to delete one WorkflowDebuggerOverlay.
2423
- * @example
2424
- * // Delete one WorkflowDebuggerOverlay
2425
- * const WorkflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.delete({
2426
- * where: {
2427
- * // ... filter to delete one WorkflowDebuggerOverlay
2428
- * }
2429
- * })
2430
- *
2431
- */
2432
- delete<T extends WorkflowDebuggerOverlayDeleteArgs>(args: SelectSubset<T, WorkflowDebuggerOverlayDeleteArgs<ExtArgs>>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2433
-
2434
- /**
2435
- * Update one WorkflowDebuggerOverlay.
2436
- * @param {WorkflowDebuggerOverlayUpdateArgs} args - Arguments to update one WorkflowDebuggerOverlay.
2437
- * @example
2438
- * // Update one WorkflowDebuggerOverlay
2439
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.update({
2440
- * where: {
2441
- * // ... provide filter here
2442
- * },
2443
- * data: {
2444
- * // ... provide data here
2445
- * }
2446
- * })
2447
- *
2448
- */
2449
- update<T extends WorkflowDebuggerOverlayUpdateArgs>(args: SelectSubset<T, WorkflowDebuggerOverlayUpdateArgs<ExtArgs>>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2450
-
2451
- /**
2452
- * Delete zero or more WorkflowDebuggerOverlays.
2453
- * @param {WorkflowDebuggerOverlayDeleteManyArgs} args - Arguments to filter WorkflowDebuggerOverlays to delete.
2454
- * @example
2455
- * // Delete a few WorkflowDebuggerOverlays
2456
- * const { count } = await prisma.workflowDebuggerOverlay.deleteMany({
2457
- * where: {
2458
- * // ... provide filter here
2459
- * }
2460
- * })
2461
- *
2462
- */
2463
- deleteMany<T extends WorkflowDebuggerOverlayDeleteManyArgs>(args?: SelectSubset<T, WorkflowDebuggerOverlayDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
2464
-
2465
- /**
2466
- * Update zero or more WorkflowDebuggerOverlays.
2467
- * Note, that providing `undefined` is treated as the value not being there.
2468
- * Read more here: https://pris.ly/d/null-undefined
2469
- * @param {WorkflowDebuggerOverlayUpdateManyArgs} args - Arguments to update one or more rows.
2470
- * @example
2471
- * // Update many WorkflowDebuggerOverlays
2472
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.updateMany({
2473
- * where: {
2474
- * // ... provide filter here
2475
- * },
2476
- * data: {
2477
- * // ... provide data here
2478
- * }
2479
- * })
2480
- *
2481
- */
2482
- updateMany<T extends WorkflowDebuggerOverlayUpdateManyArgs>(args: SelectSubset<T, WorkflowDebuggerOverlayUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
2483
-
2484
- /**
2485
- * Update zero or more WorkflowDebuggerOverlays and returns the data updated in the database.
2486
- * @param {WorkflowDebuggerOverlayUpdateManyAndReturnArgs} args - Arguments to update many WorkflowDebuggerOverlays.
2487
- * @example
2488
- * // Update many WorkflowDebuggerOverlays
2489
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.updateManyAndReturn({
2490
- * where: {
2491
- * // ... provide filter here
2492
- * },
2493
- * data: [
2494
- * // ... provide data here
2495
- * ]
2496
- * })
2497
- *
2498
- * // Update zero or more WorkflowDebuggerOverlays and only return the `workflowId`
2499
- * const workflowDebuggerOverlayWithWorkflowIdOnly = await prisma.workflowDebuggerOverlay.updateManyAndReturn({
2500
- * select: { workflowId: true },
2501
- * where: {
2502
- * // ... provide filter here
2503
- * },
2504
- * data: [
2505
- * // ... provide data here
2506
- * ]
2507
- * })
2508
- * Note, that providing `undefined` is treated as the value not being there.
2509
- * Read more here: https://pris.ly/d/null-undefined
2510
- *
2511
- */
2512
- updateManyAndReturn<T extends WorkflowDebuggerOverlayUpdateManyAndReturnArgs>(args: SelectSubset<T, WorkflowDebuggerOverlayUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2513
-
2514
- /**
2515
- * Create or update one WorkflowDebuggerOverlay.
2516
- * @param {WorkflowDebuggerOverlayUpsertArgs} args - Arguments to update or create a WorkflowDebuggerOverlay.
2517
- * @example
2518
- * // Update or create a WorkflowDebuggerOverlay
2519
- * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.upsert({
2520
- * create: {
2521
- * // ... data to create a WorkflowDebuggerOverlay
2522
- * },
2523
- * update: {
2524
- * // ... in case it already exists, update
2525
- * },
2526
- * where: {
2527
- * // ... the filter for the WorkflowDebuggerOverlay we want to update
2528
- * }
2529
- * })
2530
- */
2531
- upsert<T extends WorkflowDebuggerOverlayUpsertArgs>(args: SelectSubset<T, WorkflowDebuggerOverlayUpsertArgs<ExtArgs>>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult<Prisma.$WorkflowDebuggerOverlayPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2532
-
2533
-
2534
- /**
2535
- * Count the number of WorkflowDebuggerOverlays.
2536
- * Note, that providing `undefined` is treated as the value not being there.
2537
- * Read more here: https://pris.ly/d/null-undefined
2538
- * @param {WorkflowDebuggerOverlayCountArgs} args - Arguments to filter WorkflowDebuggerOverlays to count.
2539
- * @example
2540
- * // Count the number of WorkflowDebuggerOverlays
2541
- * const count = await prisma.workflowDebuggerOverlay.count({
2542
- * where: {
2543
- * // ... the filter for the WorkflowDebuggerOverlays we want to count
2544
- * }
2545
- * })
2546
- **/
2547
- count<T extends WorkflowDebuggerOverlayCountArgs>(
2548
- args?: Subset<T, WorkflowDebuggerOverlayCountArgs>,
2549
- ): Prisma.PrismaPromise<
2550
- T extends $Utils.Record<'select', any>
2551
- ? T['select'] extends true
2552
- ? number
2553
- : GetScalarType<T['select'], WorkflowDebuggerOverlayCountAggregateOutputType>
2554
- : number
2555
- >
2556
-
2557
- /**
2558
- * Allows you to perform aggregations operations on a WorkflowDebuggerOverlay.
2559
- * Note, that providing `undefined` is treated as the value not being there.
2560
- * Read more here: https://pris.ly/d/null-undefined
2561
- * @param {WorkflowDebuggerOverlayAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2562
- * @example
2563
- * // Ordered by age ascending
2564
- * // Where email contains prisma.io
2565
- * // Limited to the 10 users
2566
- * const aggregations = await prisma.user.aggregate({
2567
- * _avg: {
2568
- * age: true,
2569
- * },
2570
- * where: {
2571
- * email: {
2572
- * contains: "prisma.io",
2573
- * },
2574
- * },
2575
- * orderBy: {
2576
- * age: "asc",
2577
- * },
2578
- * take: 10,
2579
- * })
2580
- **/
2581
- aggregate<T extends WorkflowDebuggerOverlayAggregateArgs>(args: Subset<T, WorkflowDebuggerOverlayAggregateArgs>): Prisma.PrismaPromise<GetWorkflowDebuggerOverlayAggregateType<T>>
2582
-
2583
- /**
2584
- * Group by WorkflowDebuggerOverlay.
2585
- * Note, that providing `undefined` is treated as the value not being there.
2586
- * Read more here: https://pris.ly/d/null-undefined
2587
- * @param {WorkflowDebuggerOverlayGroupByArgs} args - Group by arguments.
2588
- * @example
2589
- * // Group by city, order by createdAt, get count
2590
- * const result = await prisma.user.groupBy({
2591
- * by: ['city', 'createdAt'],
2592
- * orderBy: {
2593
- * createdAt: true
2594
- * },
2595
- * _count: {
2596
- * _all: true
2597
- * },
2598
- * })
2599
- *
2600
- **/
2601
- groupBy<
2602
- T extends WorkflowDebuggerOverlayGroupByArgs,
2603
- HasSelectOrTake extends Or<
2604
- Extends<'skip', Keys<T>>,
2605
- Extends<'take', Keys<T>>
2606
- >,
2607
- OrderByArg extends True extends HasSelectOrTake
2608
- ? { orderBy: WorkflowDebuggerOverlayGroupByArgs['orderBy'] }
2609
- : { orderBy?: WorkflowDebuggerOverlayGroupByArgs['orderBy'] },
2610
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
2611
- ByFields extends MaybeTupleToUnion<T['by']>,
2612
- ByValid extends Has<ByFields, OrderFields>,
2613
- HavingFields extends GetHavingFields<T['having']>,
2614
- HavingValid extends Has<ByFields, HavingFields>,
2615
- ByEmpty extends T['by'] extends never[] ? True : False,
2616
- InputErrors extends ByEmpty extends True
2617
- ? `Error: "by" must not be empty.`
2618
- : HavingValid extends False
2619
- ? {
2620
- [P in HavingFields]: P extends ByFields
2621
- ? never
2622
- : P extends string
2623
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2624
- : [
2625
- Error,
2626
- 'Field ',
2627
- P,
2628
- ` in "having" needs to be provided in "by"`,
2629
- ]
2630
- }[HavingFields]
2631
- : 'take' extends Keys<T>
2632
- ? 'orderBy' extends Keys<T>
2633
- ? ByValid extends True
2634
- ? {}
2635
- : {
2636
- [P in OrderFields]: P extends ByFields
2637
- ? never
2638
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2639
- }[OrderFields]
2640
- : 'Error: If you provide "take", you also need to provide "orderBy"'
2641
- : 'skip' extends Keys<T>
2642
- ? 'orderBy' extends Keys<T>
2643
- ? ByValid extends True
2644
- ? {}
2645
- : {
2646
- [P in OrderFields]: P extends ByFields
2647
- ? never
2648
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2649
- }[OrderFields]
2650
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
2651
- : ByValid extends True
2652
- ? {}
2653
- : {
2654
- [P in OrderFields]: P extends ByFields
2655
- ? never
2656
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2657
- }[OrderFields]
2658
- >(args: SubsetIntersection<T, WorkflowDebuggerOverlayGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowDebuggerOverlayGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2659
- /**
2660
- * Fields of the WorkflowDebuggerOverlay model
2661
- */
2662
- readonly fields: WorkflowDebuggerOverlayFieldRefs;
2663
- }
2664
-
2665
- /**
2666
- * The delegate class that acts as a "Promise-like" for WorkflowDebuggerOverlay.
2667
- * Why is this prefixed with `Prisma__`?
2668
- * Because we want to prevent naming conflicts as mentioned in
2669
- * https://github.com/prisma/prisma-client-js/issues/707
2670
- */
2671
- export interface Prisma__WorkflowDebuggerOverlayClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2672
- readonly [Symbol.toStringTag]: "PrismaPromise"
2673
- /**
2674
- * Attaches callbacks for the resolution and/or rejection of the Promise.
2675
- * @param onfulfilled The callback to execute when the Promise is resolved.
2676
- * @param onrejected The callback to execute when the Promise is rejected.
2677
- * @returns A Promise for the completion of which ever callback is executed.
2678
- */
2679
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
2680
- /**
2681
- * Attaches a callback for only the rejection of the Promise.
2682
- * @param onrejected The callback to execute when the Promise is rejected.
2683
- * @returns A Promise for the completion of the callback.
2684
- */
2685
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
2686
- /**
2687
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2688
- * resolved value cannot be modified from the callback.
2689
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2690
- * @returns A Promise for the completion of the callback.
2691
- */
2692
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
2693
- }
2694
-
2695
-
2696
-
2697
-
2698
- /**
2699
- * Fields of the WorkflowDebuggerOverlay model
2700
- */
2701
- interface WorkflowDebuggerOverlayFieldRefs {
2702
- readonly workflowId: FieldRef<"WorkflowDebuggerOverlay", 'String'>
2703
- readonly updatedAt: FieldRef<"WorkflowDebuggerOverlay", 'String'>
2704
- readonly copiedFromRunId: FieldRef<"WorkflowDebuggerOverlay", 'String'>
2705
- readonly stateJson: FieldRef<"WorkflowDebuggerOverlay", 'String'>
2706
- }
2707
-
2708
-
2709
- // Custom InputTypes
2710
- /**
2711
- * WorkflowDebuggerOverlay findUnique
2712
- */
2713
- export type WorkflowDebuggerOverlayFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2714
- /**
2715
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
2716
- */
2717
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
2718
- /**
2719
- * Omit specific fields from the WorkflowDebuggerOverlay
2720
- */
2721
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
2722
- /**
2723
- * Filter, which WorkflowDebuggerOverlay to fetch.
2724
- */
2725
- where: WorkflowDebuggerOverlayWhereUniqueInput
2726
- }
2727
-
2728
- /**
2729
- * WorkflowDebuggerOverlay findUniqueOrThrow
2730
- */
2731
- export type WorkflowDebuggerOverlayFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2732
- /**
2733
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
2734
- */
2735
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
2736
- /**
2737
- * Omit specific fields from the WorkflowDebuggerOverlay
2738
- */
2739
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
2740
- /**
2741
- * Filter, which WorkflowDebuggerOverlay to fetch.
2742
- */
2743
- where: WorkflowDebuggerOverlayWhereUniqueInput
2744
- }
2745
-
2746
- /**
2747
- * WorkflowDebuggerOverlay findFirst
2748
- */
2749
- export type WorkflowDebuggerOverlayFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2750
- /**
2751
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
2752
- */
2753
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
2754
- /**
2755
- * Omit specific fields from the WorkflowDebuggerOverlay
2756
- */
2757
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
2758
- /**
2759
- * Filter, which WorkflowDebuggerOverlay to fetch.
2760
- */
2761
- where?: WorkflowDebuggerOverlayWhereInput
2762
- /**
2763
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2764
- *
2765
- * Determine the order of WorkflowDebuggerOverlays to fetch.
2766
- */
2767
- orderBy?: WorkflowDebuggerOverlayOrderByWithRelationInput | WorkflowDebuggerOverlayOrderByWithRelationInput[]
2768
- /**
2769
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2770
- *
2771
- * Sets the position for searching for WorkflowDebuggerOverlays.
2772
- */
2773
- cursor?: WorkflowDebuggerOverlayWhereUniqueInput
2774
- /**
2775
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2776
- *
2777
- * Take `±n` WorkflowDebuggerOverlays from the position of the cursor.
2778
- */
2779
- take?: number
2780
- /**
2781
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2782
- *
2783
- * Skip the first `n` WorkflowDebuggerOverlays.
2784
- */
2785
- skip?: number
2786
- /**
2787
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2788
- *
2789
- * Filter by unique combinations of WorkflowDebuggerOverlays.
2790
- */
2791
- distinct?: WorkflowDebuggerOverlayScalarFieldEnum | WorkflowDebuggerOverlayScalarFieldEnum[]
2792
- }
2793
-
2794
- /**
2795
- * WorkflowDebuggerOverlay findFirstOrThrow
2796
- */
2797
- export type WorkflowDebuggerOverlayFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2798
- /**
2799
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
2800
- */
2801
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
2802
- /**
2803
- * Omit specific fields from the WorkflowDebuggerOverlay
2804
- */
2805
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
2806
- /**
2807
- * Filter, which WorkflowDebuggerOverlay to fetch.
2808
- */
2809
- where?: WorkflowDebuggerOverlayWhereInput
2810
- /**
2811
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2812
- *
2813
- * Determine the order of WorkflowDebuggerOverlays to fetch.
2814
- */
2815
- orderBy?: WorkflowDebuggerOverlayOrderByWithRelationInput | WorkflowDebuggerOverlayOrderByWithRelationInput[]
2816
- /**
2817
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2818
- *
2819
- * Sets the position for searching for WorkflowDebuggerOverlays.
2820
- */
2821
- cursor?: WorkflowDebuggerOverlayWhereUniqueInput
2822
- /**
2823
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2824
- *
2825
- * Take `±n` WorkflowDebuggerOverlays from the position of the cursor.
2826
- */
2827
- take?: number
2828
- /**
2829
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2830
- *
2831
- * Skip the first `n` WorkflowDebuggerOverlays.
2832
- */
2833
- skip?: number
2834
- /**
2835
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2836
- *
2837
- * Filter by unique combinations of WorkflowDebuggerOverlays.
2838
- */
2839
- distinct?: WorkflowDebuggerOverlayScalarFieldEnum | WorkflowDebuggerOverlayScalarFieldEnum[]
2840
- }
2841
-
2842
- /**
2843
- * WorkflowDebuggerOverlay findMany
2844
- */
2845
- export type WorkflowDebuggerOverlayFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2846
- /**
2847
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
2848
- */
2849
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
2850
- /**
2851
- * Omit specific fields from the WorkflowDebuggerOverlay
2852
- */
2853
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
2854
- /**
2855
- * Filter, which WorkflowDebuggerOverlays to fetch.
2856
- */
2857
- where?: WorkflowDebuggerOverlayWhereInput
2858
- /**
2859
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2860
- *
2861
- * Determine the order of WorkflowDebuggerOverlays to fetch.
2862
- */
2863
- orderBy?: WorkflowDebuggerOverlayOrderByWithRelationInput | WorkflowDebuggerOverlayOrderByWithRelationInput[]
2864
- /**
2865
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2866
- *
2867
- * Sets the position for listing WorkflowDebuggerOverlays.
2868
- */
2869
- cursor?: WorkflowDebuggerOverlayWhereUniqueInput
2870
- /**
2871
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2872
- *
2873
- * Take `±n` WorkflowDebuggerOverlays from the position of the cursor.
2874
- */
2875
- take?: number
2876
- /**
2877
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2878
- *
2879
- * Skip the first `n` WorkflowDebuggerOverlays.
2880
- */
2881
- skip?: number
2882
- /**
2883
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2884
- *
2885
- * Filter by unique combinations of WorkflowDebuggerOverlays.
2886
- */
2887
- distinct?: WorkflowDebuggerOverlayScalarFieldEnum | WorkflowDebuggerOverlayScalarFieldEnum[]
2888
- }
2889
-
2890
- /**
2891
- * WorkflowDebuggerOverlay create
2892
- */
2893
- export type WorkflowDebuggerOverlayCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2894
- /**
2895
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
2896
- */
2897
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
2898
- /**
2899
- * Omit specific fields from the WorkflowDebuggerOverlay
2900
- */
2901
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
2902
- /**
2903
- * The data needed to create a WorkflowDebuggerOverlay.
2904
- */
2905
- data: XOR<WorkflowDebuggerOverlayCreateInput, WorkflowDebuggerOverlayUncheckedCreateInput>
2906
- }
2907
-
2908
- /**
2909
- * WorkflowDebuggerOverlay createMany
2910
- */
2911
- export type WorkflowDebuggerOverlayCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2912
- /**
2913
- * The data used to create many WorkflowDebuggerOverlays.
2914
- */
2915
- data: WorkflowDebuggerOverlayCreateManyInput | WorkflowDebuggerOverlayCreateManyInput[]
2916
- skipDuplicates?: boolean
2917
- }
2918
-
2919
- /**
2920
- * WorkflowDebuggerOverlay createManyAndReturn
2921
- */
2922
- export type WorkflowDebuggerOverlayCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2923
- /**
2924
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
2925
- */
2926
- select?: WorkflowDebuggerOverlaySelectCreateManyAndReturn<ExtArgs> | null
2927
- /**
2928
- * Omit specific fields from the WorkflowDebuggerOverlay
2929
- */
2930
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
2931
- /**
2932
- * The data used to create many WorkflowDebuggerOverlays.
2933
- */
2934
- data: WorkflowDebuggerOverlayCreateManyInput | WorkflowDebuggerOverlayCreateManyInput[]
2935
- skipDuplicates?: boolean
2936
- }
2937
-
2938
- /**
2939
- * WorkflowDebuggerOverlay update
2940
- */
2941
- export type WorkflowDebuggerOverlayUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2942
- /**
2943
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
2944
- */
2945
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
2946
- /**
2947
- * Omit specific fields from the WorkflowDebuggerOverlay
2948
- */
2949
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
2950
- /**
2951
- * The data needed to update a WorkflowDebuggerOverlay.
2952
- */
2953
- data: XOR<WorkflowDebuggerOverlayUpdateInput, WorkflowDebuggerOverlayUncheckedUpdateInput>
2954
- /**
2955
- * Choose, which WorkflowDebuggerOverlay to update.
2956
- */
2957
- where: WorkflowDebuggerOverlayWhereUniqueInput
2958
- }
2959
-
2960
- /**
2961
- * WorkflowDebuggerOverlay updateMany
2962
- */
2963
- export type WorkflowDebuggerOverlayUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2964
- /**
2965
- * The data used to update WorkflowDebuggerOverlays.
2966
- */
2967
- data: XOR<WorkflowDebuggerOverlayUpdateManyMutationInput, WorkflowDebuggerOverlayUncheckedUpdateManyInput>
2968
- /**
2969
- * Filter which WorkflowDebuggerOverlays to update
2970
- */
2971
- where?: WorkflowDebuggerOverlayWhereInput
2972
- /**
2973
- * Limit how many WorkflowDebuggerOverlays to update.
2974
- */
2975
- limit?: number
2976
- }
2977
-
2978
- /**
2979
- * WorkflowDebuggerOverlay updateManyAndReturn
2980
- */
2981
- export type WorkflowDebuggerOverlayUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2982
- /**
2983
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
2984
- */
2985
- select?: WorkflowDebuggerOverlaySelectUpdateManyAndReturn<ExtArgs> | null
2986
- /**
2987
- * Omit specific fields from the WorkflowDebuggerOverlay
2988
- */
2989
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
2990
- /**
2991
- * The data used to update WorkflowDebuggerOverlays.
2992
- */
2993
- data: XOR<WorkflowDebuggerOverlayUpdateManyMutationInput, WorkflowDebuggerOverlayUncheckedUpdateManyInput>
2994
- /**
2995
- * Filter which WorkflowDebuggerOverlays to update
2996
- */
2997
- where?: WorkflowDebuggerOverlayWhereInput
2998
- /**
2999
- * Limit how many WorkflowDebuggerOverlays to update.
3000
- */
3001
- limit?: number
3002
- }
3003
-
3004
- /**
3005
- * WorkflowDebuggerOverlay upsert
3006
- */
3007
- export type WorkflowDebuggerOverlayUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3008
- /**
3009
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
3010
- */
3011
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
3012
- /**
3013
- * Omit specific fields from the WorkflowDebuggerOverlay
3014
- */
3015
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
3016
- /**
3017
- * The filter to search for the WorkflowDebuggerOverlay to update in case it exists.
3018
- */
3019
- where: WorkflowDebuggerOverlayWhereUniqueInput
3020
- /**
3021
- * In case the WorkflowDebuggerOverlay found by the `where` argument doesn't exist, create a new WorkflowDebuggerOverlay with this data.
3022
- */
3023
- create: XOR<WorkflowDebuggerOverlayCreateInput, WorkflowDebuggerOverlayUncheckedCreateInput>
3024
- /**
3025
- * In case the WorkflowDebuggerOverlay was found with the provided `where` argument, update it with this data.
3026
- */
3027
- update: XOR<WorkflowDebuggerOverlayUpdateInput, WorkflowDebuggerOverlayUncheckedUpdateInput>
3028
- }
3029
-
3030
- /**
3031
- * WorkflowDebuggerOverlay delete
3032
- */
3033
- export type WorkflowDebuggerOverlayDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3034
- /**
3035
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
3036
- */
3037
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
3038
- /**
3039
- * Omit specific fields from the WorkflowDebuggerOverlay
3040
- */
3041
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
3042
- /**
3043
- * Filter which WorkflowDebuggerOverlay to delete.
3044
- */
3045
- where: WorkflowDebuggerOverlayWhereUniqueInput
3046
- }
3047
-
3048
- /**
3049
- * WorkflowDebuggerOverlay deleteMany
3050
- */
3051
- export type WorkflowDebuggerOverlayDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3052
- /**
3053
- * Filter which WorkflowDebuggerOverlays to delete
3054
- */
3055
- where?: WorkflowDebuggerOverlayWhereInput
3056
- /**
3057
- * Limit how many WorkflowDebuggerOverlays to delete.
3058
- */
3059
- limit?: number
3060
- }
3061
-
3062
- /**
3063
- * WorkflowDebuggerOverlay without action
3064
- */
3065
- export type WorkflowDebuggerOverlayDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3066
- /**
3067
- * Select specific fields to fetch from the WorkflowDebuggerOverlay
3068
- */
3069
- select?: WorkflowDebuggerOverlaySelect<ExtArgs> | null
3070
- /**
3071
- * Omit specific fields from the WorkflowDebuggerOverlay
3072
- */
3073
- omit?: WorkflowDebuggerOverlayOmit<ExtArgs> | null
3074
- }
3075
-
3076
-
3077
- /**
3078
- * Model TriggerSetupState
3079
- */
3080
-
3081
- export type AggregateTriggerSetupState = {
3082
- _count: TriggerSetupStateCountAggregateOutputType | null
3083
- _min: TriggerSetupStateMinAggregateOutputType | null
3084
- _max: TriggerSetupStateMaxAggregateOutputType | null
3085
- }
3086
-
3087
- export type TriggerSetupStateMinAggregateOutputType = {
3088
- workflowId: string | null
3089
- nodeId: string | null
3090
- updatedAt: string | null
3091
- stateJson: string | null
3092
- }
3093
-
3094
- export type TriggerSetupStateMaxAggregateOutputType = {
3095
- workflowId: string | null
3096
- nodeId: string | null
3097
- updatedAt: string | null
3098
- stateJson: string | null
3099
- }
3100
-
3101
- export type TriggerSetupStateCountAggregateOutputType = {
3102
- workflowId: number
3103
- nodeId: number
3104
- updatedAt: number
3105
- stateJson: number
3106
- _all: number
3107
- }
3108
-
3109
-
3110
- export type TriggerSetupStateMinAggregateInputType = {
3111
- workflowId?: true
3112
- nodeId?: true
3113
- updatedAt?: true
3114
- stateJson?: true
3115
- }
3116
-
3117
- export type TriggerSetupStateMaxAggregateInputType = {
3118
- workflowId?: true
3119
- nodeId?: true
3120
- updatedAt?: true
3121
- stateJson?: true
3122
- }
3123
-
3124
- export type TriggerSetupStateCountAggregateInputType = {
3125
- workflowId?: true
3126
- nodeId?: true
3127
- updatedAt?: true
3128
- stateJson?: true
3129
- _all?: true
3130
- }
3131
-
3132
- export type TriggerSetupStateAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3133
- /**
3134
- * Filter which TriggerSetupState to aggregate.
3135
- */
3136
- where?: TriggerSetupStateWhereInput
3137
- /**
3138
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3139
- *
3140
- * Determine the order of TriggerSetupStates to fetch.
3141
- */
3142
- orderBy?: TriggerSetupStateOrderByWithRelationInput | TriggerSetupStateOrderByWithRelationInput[]
3143
- /**
3144
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3145
- *
3146
- * Sets the start position
3147
- */
3148
- cursor?: TriggerSetupStateWhereUniqueInput
3149
- /**
3150
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3151
- *
3152
- * Take `±n` TriggerSetupStates from the position of the cursor.
3153
- */
3154
- take?: number
3155
- /**
3156
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3157
- *
3158
- * Skip the first `n` TriggerSetupStates.
3159
- */
3160
- skip?: number
3161
- /**
3162
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
3163
- *
3164
- * Count returned TriggerSetupStates
3165
- **/
3166
- _count?: true | TriggerSetupStateCountAggregateInputType
3167
- /**
3168
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
3169
- *
3170
- * Select which fields to find the minimum value
3171
- **/
3172
- _min?: TriggerSetupStateMinAggregateInputType
3173
- /**
3174
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
3175
- *
3176
- * Select which fields to find the maximum value
3177
- **/
3178
- _max?: TriggerSetupStateMaxAggregateInputType
3179
- }
3180
-
3181
- export type GetTriggerSetupStateAggregateType<T extends TriggerSetupStateAggregateArgs> = {
3182
- [P in keyof T & keyof AggregateTriggerSetupState]: P extends '_count' | 'count'
3183
- ? T[P] extends true
3184
- ? number
3185
- : GetScalarType<T[P], AggregateTriggerSetupState[P]>
3186
- : GetScalarType<T[P], AggregateTriggerSetupState[P]>
3187
- }
3188
-
3189
-
3190
-
3191
-
3192
- export type TriggerSetupStateGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3193
- where?: TriggerSetupStateWhereInput
3194
- orderBy?: TriggerSetupStateOrderByWithAggregationInput | TriggerSetupStateOrderByWithAggregationInput[]
3195
- by: TriggerSetupStateScalarFieldEnum[] | TriggerSetupStateScalarFieldEnum
3196
- having?: TriggerSetupStateScalarWhereWithAggregatesInput
3197
- take?: number
3198
- skip?: number
3199
- _count?: TriggerSetupStateCountAggregateInputType | true
3200
- _min?: TriggerSetupStateMinAggregateInputType
3201
- _max?: TriggerSetupStateMaxAggregateInputType
3202
- }
3203
-
3204
- export type TriggerSetupStateGroupByOutputType = {
3205
- workflowId: string
3206
- nodeId: string
3207
- updatedAt: string
3208
- stateJson: string
3209
- _count: TriggerSetupStateCountAggregateOutputType | null
3210
- _min: TriggerSetupStateMinAggregateOutputType | null
3211
- _max: TriggerSetupStateMaxAggregateOutputType | null
3212
- }
3213
-
3214
- type GetTriggerSetupStateGroupByPayload<T extends TriggerSetupStateGroupByArgs> = Prisma.PrismaPromise<
3215
- Array<
3216
- PickEnumerable<TriggerSetupStateGroupByOutputType, T['by']> &
3217
- {
3218
- [P in ((keyof T) & (keyof TriggerSetupStateGroupByOutputType))]: P extends '_count'
3219
- ? T[P] extends boolean
3220
- ? number
3221
- : GetScalarType<T[P], TriggerSetupStateGroupByOutputType[P]>
3222
- : GetScalarType<T[P], TriggerSetupStateGroupByOutputType[P]>
3223
- }
3224
- >
3225
- >
3226
-
3227
-
3228
- export type TriggerSetupStateSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
3229
- workflowId?: boolean
3230
- nodeId?: boolean
3231
- updatedAt?: boolean
3232
- stateJson?: boolean
3233
- }, ExtArgs["result"]["triggerSetupState"]>
3234
-
3235
- export type TriggerSetupStateSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
3236
- workflowId?: boolean
3237
- nodeId?: boolean
3238
- updatedAt?: boolean
3239
- stateJson?: boolean
3240
- }, ExtArgs["result"]["triggerSetupState"]>
3241
-
3242
- export type TriggerSetupStateSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
3243
- workflowId?: boolean
3244
- nodeId?: boolean
3245
- updatedAt?: boolean
3246
- stateJson?: boolean
3247
- }, ExtArgs["result"]["triggerSetupState"]>
3248
-
3249
- export type TriggerSetupStateSelectScalar = {
3250
- workflowId?: boolean
3251
- nodeId?: boolean
3252
- updatedAt?: boolean
3253
- stateJson?: boolean
3254
- }
3255
-
3256
- export type TriggerSetupStateOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"workflowId" | "nodeId" | "updatedAt" | "stateJson", ExtArgs["result"]["triggerSetupState"]>
3257
-
3258
- export type $TriggerSetupStatePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3259
- name: "TriggerSetupState"
3260
- objects: {}
3261
- scalars: $Extensions.GetPayloadResult<{
3262
- workflowId: string
3263
- nodeId: string
3264
- updatedAt: string
3265
- stateJson: string
3266
- }, ExtArgs["result"]["triggerSetupState"]>
3267
- composites: {}
3268
- }
3269
-
3270
- type TriggerSetupStateGetPayload<S extends boolean | null | undefined | TriggerSetupStateDefaultArgs> = $Result.GetResult<Prisma.$TriggerSetupStatePayload, S>
3271
-
3272
- type TriggerSetupStateCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
3273
- Omit<TriggerSetupStateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
3274
- select?: TriggerSetupStateCountAggregateInputType | true
3275
- }
3276
-
3277
- export interface TriggerSetupStateDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
3278
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TriggerSetupState'], meta: { name: 'TriggerSetupState' } }
3279
- /**
3280
- * Find zero or one TriggerSetupState that matches the filter.
3281
- * @param {TriggerSetupStateFindUniqueArgs} args - Arguments to find a TriggerSetupState
3282
- * @example
3283
- * // Get one TriggerSetupState
3284
- * const triggerSetupState = await prisma.triggerSetupState.findUnique({
3285
- * where: {
3286
- * // ... provide filter here
3287
- * }
3288
- * })
3289
- */
3290
- findUnique<T extends TriggerSetupStateFindUniqueArgs>(args: SelectSubset<T, TriggerSetupStateFindUniqueArgs<ExtArgs>>): Prisma__TriggerSetupStateClient<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3291
-
3292
- /**
3293
- * Find one TriggerSetupState that matches the filter or throw an error with `error.code='P2025'`
3294
- * if no matches were found.
3295
- * @param {TriggerSetupStateFindUniqueOrThrowArgs} args - Arguments to find a TriggerSetupState
3296
- * @example
3297
- * // Get one TriggerSetupState
3298
- * const triggerSetupState = await prisma.triggerSetupState.findUniqueOrThrow({
3299
- * where: {
3300
- * // ... provide filter here
3301
- * }
3302
- * })
3303
- */
3304
- findUniqueOrThrow<T extends TriggerSetupStateFindUniqueOrThrowArgs>(args: SelectSubset<T, TriggerSetupStateFindUniqueOrThrowArgs<ExtArgs>>): Prisma__TriggerSetupStateClient<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3305
-
3306
- /**
3307
- * Find the first TriggerSetupState that matches the filter.
3308
- * Note, that providing `undefined` is treated as the value not being there.
3309
- * Read more here: https://pris.ly/d/null-undefined
3310
- * @param {TriggerSetupStateFindFirstArgs} args - Arguments to find a TriggerSetupState
3311
- * @example
3312
- * // Get one TriggerSetupState
3313
- * const triggerSetupState = await prisma.triggerSetupState.findFirst({
3314
- * where: {
3315
- * // ... provide filter here
3316
- * }
3317
- * })
3318
- */
3319
- findFirst<T extends TriggerSetupStateFindFirstArgs>(args?: SelectSubset<T, TriggerSetupStateFindFirstArgs<ExtArgs>>): Prisma__TriggerSetupStateClient<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3320
-
3321
- /**
3322
- * Find the first TriggerSetupState that matches the filter or
3323
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
3324
- * Note, that providing `undefined` is treated as the value not being there.
3325
- * Read more here: https://pris.ly/d/null-undefined
3326
- * @param {TriggerSetupStateFindFirstOrThrowArgs} args - Arguments to find a TriggerSetupState
3327
- * @example
3328
- * // Get one TriggerSetupState
3329
- * const triggerSetupState = await prisma.triggerSetupState.findFirstOrThrow({
3330
- * where: {
3331
- * // ... provide filter here
3332
- * }
3333
- * })
3334
- */
3335
- findFirstOrThrow<T extends TriggerSetupStateFindFirstOrThrowArgs>(args?: SelectSubset<T, TriggerSetupStateFindFirstOrThrowArgs<ExtArgs>>): Prisma__TriggerSetupStateClient<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3336
-
3337
- /**
3338
- * Find zero or more TriggerSetupStates that matches the filter.
3339
- * Note, that providing `undefined` is treated as the value not being there.
3340
- * Read more here: https://pris.ly/d/null-undefined
3341
- * @param {TriggerSetupStateFindManyArgs} args - Arguments to filter and select certain fields only.
3342
- * @example
3343
- * // Get all TriggerSetupStates
3344
- * const triggerSetupStates = await prisma.triggerSetupState.findMany()
3345
- *
3346
- * // Get first 10 TriggerSetupStates
3347
- * const triggerSetupStates = await prisma.triggerSetupState.findMany({ take: 10 })
3348
- *
3349
- * // Only select the `workflowId`
3350
- * const triggerSetupStateWithWorkflowIdOnly = await prisma.triggerSetupState.findMany({ select: { workflowId: true } })
3351
- *
3352
- */
3353
- findMany<T extends TriggerSetupStateFindManyArgs>(args?: SelectSubset<T, TriggerSetupStateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
3354
-
3355
- /**
3356
- * Create a TriggerSetupState.
3357
- * @param {TriggerSetupStateCreateArgs} args - Arguments to create a TriggerSetupState.
3358
- * @example
3359
- * // Create one TriggerSetupState
3360
- * const TriggerSetupState = await prisma.triggerSetupState.create({
3361
- * data: {
3362
- * // ... data to create a TriggerSetupState
3363
- * }
3364
- * })
3365
- *
3366
- */
3367
- create<T extends TriggerSetupStateCreateArgs>(args: SelectSubset<T, TriggerSetupStateCreateArgs<ExtArgs>>): Prisma__TriggerSetupStateClient<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3368
-
3369
- /**
3370
- * Create many TriggerSetupStates.
3371
- * @param {TriggerSetupStateCreateManyArgs} args - Arguments to create many TriggerSetupStates.
3372
- * @example
3373
- * // Create many TriggerSetupStates
3374
- * const triggerSetupState = await prisma.triggerSetupState.createMany({
3375
- * data: [
3376
- * // ... provide data here
3377
- * ]
3378
- * })
3379
- *
3380
- */
3381
- createMany<T extends TriggerSetupStateCreateManyArgs>(args?: SelectSubset<T, TriggerSetupStateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
3382
-
3383
- /**
3384
- * Create many TriggerSetupStates and returns the data saved in the database.
3385
- * @param {TriggerSetupStateCreateManyAndReturnArgs} args - Arguments to create many TriggerSetupStates.
3386
- * @example
3387
- * // Create many TriggerSetupStates
3388
- * const triggerSetupState = await prisma.triggerSetupState.createManyAndReturn({
3389
- * data: [
3390
- * // ... provide data here
3391
- * ]
3392
- * })
3393
- *
3394
- * // Create many TriggerSetupStates and only return the `workflowId`
3395
- * const triggerSetupStateWithWorkflowIdOnly = await prisma.triggerSetupState.createManyAndReturn({
3396
- * select: { workflowId: true },
3397
- * data: [
3398
- * // ... provide data here
3399
- * ]
3400
- * })
3401
- * Note, that providing `undefined` is treated as the value not being there.
3402
- * Read more here: https://pris.ly/d/null-undefined
3403
- *
3404
- */
3405
- createManyAndReturn<T extends TriggerSetupStateCreateManyAndReturnArgs>(args?: SelectSubset<T, TriggerSetupStateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
3406
-
3407
- /**
3408
- * Delete a TriggerSetupState.
3409
- * @param {TriggerSetupStateDeleteArgs} args - Arguments to delete one TriggerSetupState.
3410
- * @example
3411
- * // Delete one TriggerSetupState
3412
- * const TriggerSetupState = await prisma.triggerSetupState.delete({
3413
- * where: {
3414
- * // ... filter to delete one TriggerSetupState
3415
- * }
3416
- * })
3417
- *
3418
- */
3419
- delete<T extends TriggerSetupStateDeleteArgs>(args: SelectSubset<T, TriggerSetupStateDeleteArgs<ExtArgs>>): Prisma__TriggerSetupStateClient<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3420
-
3421
- /**
3422
- * Update one TriggerSetupState.
3423
- * @param {TriggerSetupStateUpdateArgs} args - Arguments to update one TriggerSetupState.
3424
- * @example
3425
- * // Update one TriggerSetupState
3426
- * const triggerSetupState = await prisma.triggerSetupState.update({
3427
- * where: {
3428
- * // ... provide filter here
3429
- * },
3430
- * data: {
3431
- * // ... provide data here
3432
- * }
3433
- * })
3434
- *
3435
- */
3436
- update<T extends TriggerSetupStateUpdateArgs>(args: SelectSubset<T, TriggerSetupStateUpdateArgs<ExtArgs>>): Prisma__TriggerSetupStateClient<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3437
-
3438
- /**
3439
- * Delete zero or more TriggerSetupStates.
3440
- * @param {TriggerSetupStateDeleteManyArgs} args - Arguments to filter TriggerSetupStates to delete.
3441
- * @example
3442
- * // Delete a few TriggerSetupStates
3443
- * const { count } = await prisma.triggerSetupState.deleteMany({
3444
- * where: {
3445
- * // ... provide filter here
3446
- * }
3447
- * })
3448
- *
3449
- */
3450
- deleteMany<T extends TriggerSetupStateDeleteManyArgs>(args?: SelectSubset<T, TriggerSetupStateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
3451
-
3452
- /**
3453
- * Update zero or more TriggerSetupStates.
3454
- * Note, that providing `undefined` is treated as the value not being there.
3455
- * Read more here: https://pris.ly/d/null-undefined
3456
- * @param {TriggerSetupStateUpdateManyArgs} args - Arguments to update one or more rows.
3457
- * @example
3458
- * // Update many TriggerSetupStates
3459
- * const triggerSetupState = await prisma.triggerSetupState.updateMany({
3460
- * where: {
3461
- * // ... provide filter here
3462
- * },
3463
- * data: {
3464
- * // ... provide data here
3465
- * }
3466
- * })
3467
- *
3468
- */
3469
- updateMany<T extends TriggerSetupStateUpdateManyArgs>(args: SelectSubset<T, TriggerSetupStateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
3470
-
3471
- /**
3472
- * Update zero or more TriggerSetupStates and returns the data updated in the database.
3473
- * @param {TriggerSetupStateUpdateManyAndReturnArgs} args - Arguments to update many TriggerSetupStates.
3474
- * @example
3475
- * // Update many TriggerSetupStates
3476
- * const triggerSetupState = await prisma.triggerSetupState.updateManyAndReturn({
3477
- * where: {
3478
- * // ... provide filter here
3479
- * },
3480
- * data: [
3481
- * // ... provide data here
3482
- * ]
3483
- * })
3484
- *
3485
- * // Update zero or more TriggerSetupStates and only return the `workflowId`
3486
- * const triggerSetupStateWithWorkflowIdOnly = await prisma.triggerSetupState.updateManyAndReturn({
3487
- * select: { workflowId: true },
3488
- * where: {
3489
- * // ... provide filter here
3490
- * },
3491
- * data: [
3492
- * // ... provide data here
3493
- * ]
3494
- * })
3495
- * Note, that providing `undefined` is treated as the value not being there.
3496
- * Read more here: https://pris.ly/d/null-undefined
3497
- *
3498
- */
3499
- updateManyAndReturn<T extends TriggerSetupStateUpdateManyAndReturnArgs>(args: SelectSubset<T, TriggerSetupStateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
3500
-
3501
- /**
3502
- * Create or update one TriggerSetupState.
3503
- * @param {TriggerSetupStateUpsertArgs} args - Arguments to update or create a TriggerSetupState.
3504
- * @example
3505
- * // Update or create a TriggerSetupState
3506
- * const triggerSetupState = await prisma.triggerSetupState.upsert({
3507
- * create: {
3508
- * // ... data to create a TriggerSetupState
3509
- * },
3510
- * update: {
3511
- * // ... in case it already exists, update
3512
- * },
3513
- * where: {
3514
- * // ... the filter for the TriggerSetupState we want to update
3515
- * }
3516
- * })
3517
- */
3518
- upsert<T extends TriggerSetupStateUpsertArgs>(args: SelectSubset<T, TriggerSetupStateUpsertArgs<ExtArgs>>): Prisma__TriggerSetupStateClient<$Result.GetResult<Prisma.$TriggerSetupStatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3519
-
3520
-
3521
- /**
3522
- * Count the number of TriggerSetupStates.
3523
- * Note, that providing `undefined` is treated as the value not being there.
3524
- * Read more here: https://pris.ly/d/null-undefined
3525
- * @param {TriggerSetupStateCountArgs} args - Arguments to filter TriggerSetupStates to count.
3526
- * @example
3527
- * // Count the number of TriggerSetupStates
3528
- * const count = await prisma.triggerSetupState.count({
3529
- * where: {
3530
- * // ... the filter for the TriggerSetupStates we want to count
3531
- * }
3532
- * })
3533
- **/
3534
- count<T extends TriggerSetupStateCountArgs>(
3535
- args?: Subset<T, TriggerSetupStateCountArgs>,
3536
- ): Prisma.PrismaPromise<
3537
- T extends $Utils.Record<'select', any>
3538
- ? T['select'] extends true
3539
- ? number
3540
- : GetScalarType<T['select'], TriggerSetupStateCountAggregateOutputType>
3541
- : number
3542
- >
3543
-
3544
- /**
3545
- * Allows you to perform aggregations operations on a TriggerSetupState.
3546
- * Note, that providing `undefined` is treated as the value not being there.
3547
- * Read more here: https://pris.ly/d/null-undefined
3548
- * @param {TriggerSetupStateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
3549
- * @example
3550
- * // Ordered by age ascending
3551
- * // Where email contains prisma.io
3552
- * // Limited to the 10 users
3553
- * const aggregations = await prisma.user.aggregate({
3554
- * _avg: {
3555
- * age: true,
3556
- * },
3557
- * where: {
3558
- * email: {
3559
- * contains: "prisma.io",
3560
- * },
3561
- * },
3562
- * orderBy: {
3563
- * age: "asc",
3564
- * },
3565
- * take: 10,
3566
- * })
3567
- **/
3568
- aggregate<T extends TriggerSetupStateAggregateArgs>(args: Subset<T, TriggerSetupStateAggregateArgs>): Prisma.PrismaPromise<GetTriggerSetupStateAggregateType<T>>
3569
-
3570
- /**
3571
- * Group by TriggerSetupState.
3572
- * Note, that providing `undefined` is treated as the value not being there.
3573
- * Read more here: https://pris.ly/d/null-undefined
3574
- * @param {TriggerSetupStateGroupByArgs} args - Group by arguments.
3575
- * @example
3576
- * // Group by city, order by createdAt, get count
3577
- * const result = await prisma.user.groupBy({
3578
- * by: ['city', 'createdAt'],
3579
- * orderBy: {
3580
- * createdAt: true
3581
- * },
3582
- * _count: {
3583
- * _all: true
3584
- * },
3585
- * })
3586
- *
3587
- **/
3588
- groupBy<
3589
- T extends TriggerSetupStateGroupByArgs,
3590
- HasSelectOrTake extends Or<
3591
- Extends<'skip', Keys<T>>,
3592
- Extends<'take', Keys<T>>
3593
- >,
3594
- OrderByArg extends True extends HasSelectOrTake
3595
- ? { orderBy: TriggerSetupStateGroupByArgs['orderBy'] }
3596
- : { orderBy?: TriggerSetupStateGroupByArgs['orderBy'] },
3597
- OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
3598
- ByFields extends MaybeTupleToUnion<T['by']>,
3599
- ByValid extends Has<ByFields, OrderFields>,
3600
- HavingFields extends GetHavingFields<T['having']>,
3601
- HavingValid extends Has<ByFields, HavingFields>,
3602
- ByEmpty extends T['by'] extends never[] ? True : False,
3603
- InputErrors extends ByEmpty extends True
3604
- ? `Error: "by" must not be empty.`
3605
- : HavingValid extends False
3606
- ? {
3607
- [P in HavingFields]: P extends ByFields
3608
- ? never
3609
- : P extends string
3610
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
3611
- : [
3612
- Error,
3613
- 'Field ',
3614
- P,
3615
- ` in "having" needs to be provided in "by"`,
3616
- ]
3617
- }[HavingFields]
3618
- : 'take' extends Keys<T>
3619
- ? 'orderBy' extends Keys<T>
3620
- ? ByValid extends True
3621
- ? {}
3622
- : {
3623
- [P in OrderFields]: P extends ByFields
3624
- ? never
3625
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
3626
- }[OrderFields]
3627
- : 'Error: If you provide "take", you also need to provide "orderBy"'
3628
- : 'skip' extends Keys<T>
3629
- ? 'orderBy' extends Keys<T>
3630
- ? ByValid extends True
3631
- ? {}
3632
- : {
3633
- [P in OrderFields]: P extends ByFields
3634
- ? never
3635
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
3636
- }[OrderFields]
3637
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
3638
- : ByValid extends True
3639
- ? {}
3640
- : {
3641
- [P in OrderFields]: P extends ByFields
3642
- ? never
3643
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
3644
- }[OrderFields]
3645
- >(args: SubsetIntersection<T, TriggerSetupStateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTriggerSetupStateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
3646
- /**
3647
- * Fields of the TriggerSetupState model
3648
- */
3649
- readonly fields: TriggerSetupStateFieldRefs;
3650
- }
3651
-
3652
- /**
3653
- * The delegate class that acts as a "Promise-like" for TriggerSetupState.
3654
- * Why is this prefixed with `Prisma__`?
3655
- * Because we want to prevent naming conflicts as mentioned in
3656
- * https://github.com/prisma/prisma-client-js/issues/707
3657
- */
3658
- export interface Prisma__TriggerSetupStateClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
3659
- readonly [Symbol.toStringTag]: "PrismaPromise"
3660
- /**
3661
- * Attaches callbacks for the resolution and/or rejection of the Promise.
3662
- * @param onfulfilled The callback to execute when the Promise is resolved.
3663
- * @param onrejected The callback to execute when the Promise is rejected.
3664
- * @returns A Promise for the completion of which ever callback is executed.
3665
- */
3666
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
3667
- /**
3668
- * Attaches a callback for only the rejection of the Promise.
3669
- * @param onrejected The callback to execute when the Promise is rejected.
3670
- * @returns A Promise for the completion of the callback.
3671
- */
3672
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
3673
- /**
3674
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
3675
- * resolved value cannot be modified from the callback.
3676
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
3677
- * @returns A Promise for the completion of the callback.
3678
- */
3679
- finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
3680
- }
3681
-
3682
-
3683
-
3684
-
3685
- /**
3686
- * Fields of the TriggerSetupState model
3687
- */
3688
- interface TriggerSetupStateFieldRefs {
3689
- readonly workflowId: FieldRef<"TriggerSetupState", 'String'>
3690
- readonly nodeId: FieldRef<"TriggerSetupState", 'String'>
3691
- readonly updatedAt: FieldRef<"TriggerSetupState", 'String'>
3692
- readonly stateJson: FieldRef<"TriggerSetupState", 'String'>
3693
- }
3694
-
3695
-
3696
- // Custom InputTypes
3697
- /**
3698
- * TriggerSetupState findUnique
3699
- */
3700
- export type TriggerSetupStateFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3701
- /**
3702
- * Select specific fields to fetch from the TriggerSetupState
3703
- */
3704
- select?: TriggerSetupStateSelect<ExtArgs> | null
3705
- /**
3706
- * Omit specific fields from the TriggerSetupState
3707
- */
3708
- omit?: TriggerSetupStateOmit<ExtArgs> | null
3709
- /**
3710
- * Filter, which TriggerSetupState to fetch.
3711
- */
3712
- where: TriggerSetupStateWhereUniqueInput
3713
- }
3714
-
3715
- /**
3716
- * TriggerSetupState findUniqueOrThrow
3717
- */
3718
- export type TriggerSetupStateFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3719
- /**
3720
- * Select specific fields to fetch from the TriggerSetupState
3721
- */
3722
- select?: TriggerSetupStateSelect<ExtArgs> | null
3723
- /**
3724
- * Omit specific fields from the TriggerSetupState
3725
- */
3726
- omit?: TriggerSetupStateOmit<ExtArgs> | null
3727
- /**
3728
- * Filter, which TriggerSetupState to fetch.
3729
- */
3730
- where: TriggerSetupStateWhereUniqueInput
3731
- }
3732
-
3733
- /**
3734
- * TriggerSetupState findFirst
3735
- */
3736
- export type TriggerSetupStateFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3737
- /**
3738
- * Select specific fields to fetch from the TriggerSetupState
3739
- */
3740
- select?: TriggerSetupStateSelect<ExtArgs> | null
3741
- /**
3742
- * Omit specific fields from the TriggerSetupState
3743
- */
3744
- omit?: TriggerSetupStateOmit<ExtArgs> | null
3745
- /**
3746
- * Filter, which TriggerSetupState to fetch.
3747
- */
3748
- where?: TriggerSetupStateWhereInput
3749
- /**
3750
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3751
- *
3752
- * Determine the order of TriggerSetupStates to fetch.
3753
- */
3754
- orderBy?: TriggerSetupStateOrderByWithRelationInput | TriggerSetupStateOrderByWithRelationInput[]
3755
- /**
3756
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3757
- *
3758
- * Sets the position for searching for TriggerSetupStates.
3759
- */
3760
- cursor?: TriggerSetupStateWhereUniqueInput
3761
- /**
3762
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3763
- *
3764
- * Take `±n` TriggerSetupStates from the position of the cursor.
3765
- */
3766
- take?: number
3767
- /**
3768
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3769
- *
3770
- * Skip the first `n` TriggerSetupStates.
3771
- */
3772
- skip?: number
3773
- /**
3774
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3775
- *
3776
- * Filter by unique combinations of TriggerSetupStates.
3777
- */
3778
- distinct?: TriggerSetupStateScalarFieldEnum | TriggerSetupStateScalarFieldEnum[]
3779
- }
3780
-
3781
- /**
3782
- * TriggerSetupState findFirstOrThrow
3783
- */
3784
- export type TriggerSetupStateFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3785
- /**
3786
- * Select specific fields to fetch from the TriggerSetupState
3787
- */
3788
- select?: TriggerSetupStateSelect<ExtArgs> | null
3789
- /**
3790
- * Omit specific fields from the TriggerSetupState
3791
- */
3792
- omit?: TriggerSetupStateOmit<ExtArgs> | null
3793
- /**
3794
- * Filter, which TriggerSetupState to fetch.
3795
- */
3796
- where?: TriggerSetupStateWhereInput
3797
- /**
3798
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3799
- *
3800
- * Determine the order of TriggerSetupStates to fetch.
3801
- */
3802
- orderBy?: TriggerSetupStateOrderByWithRelationInput | TriggerSetupStateOrderByWithRelationInput[]
3803
- /**
3804
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3805
- *
3806
- * Sets the position for searching for TriggerSetupStates.
3807
- */
3808
- cursor?: TriggerSetupStateWhereUniqueInput
3809
- /**
3810
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3811
- *
3812
- * Take `±n` TriggerSetupStates from the position of the cursor.
3813
- */
3814
- take?: number
3815
- /**
3816
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3817
- *
3818
- * Skip the first `n` TriggerSetupStates.
3819
- */
3820
- skip?: number
3821
- /**
3822
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3823
- *
3824
- * Filter by unique combinations of TriggerSetupStates.
3825
- */
3826
- distinct?: TriggerSetupStateScalarFieldEnum | TriggerSetupStateScalarFieldEnum[]
3827
- }
3828
-
3829
- /**
3830
- * TriggerSetupState findMany
3831
- */
3832
- export type TriggerSetupStateFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3833
- /**
3834
- * Select specific fields to fetch from the TriggerSetupState
3835
- */
3836
- select?: TriggerSetupStateSelect<ExtArgs> | null
3837
- /**
3838
- * Omit specific fields from the TriggerSetupState
3839
- */
3840
- omit?: TriggerSetupStateOmit<ExtArgs> | null
3841
- /**
3842
- * Filter, which TriggerSetupStates to fetch.
3843
- */
3844
- where?: TriggerSetupStateWhereInput
3845
- /**
3846
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3847
- *
3848
- * Determine the order of TriggerSetupStates to fetch.
3849
- */
3850
- orderBy?: TriggerSetupStateOrderByWithRelationInput | TriggerSetupStateOrderByWithRelationInput[]
3851
- /**
3852
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3853
- *
3854
- * Sets the position for listing TriggerSetupStates.
3855
- */
3856
- cursor?: TriggerSetupStateWhereUniqueInput
3857
- /**
3858
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3859
- *
3860
- * Take `±n` TriggerSetupStates from the position of the cursor.
3861
- */
3862
- take?: number
3863
- /**
3864
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3865
- *
3866
- * Skip the first `n` TriggerSetupStates.
3867
- */
3868
- skip?: number
3869
- /**
3870
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3871
- *
3872
- * Filter by unique combinations of TriggerSetupStates.
3873
- */
3874
- distinct?: TriggerSetupStateScalarFieldEnum | TriggerSetupStateScalarFieldEnum[]
3875
- }
3876
-
3877
- /**
3878
- * TriggerSetupState create
3879
- */
3880
- export type TriggerSetupStateCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3881
- /**
3882
- * Select specific fields to fetch from the TriggerSetupState
3883
- */
3884
- select?: TriggerSetupStateSelect<ExtArgs> | null
3885
- /**
3886
- * Omit specific fields from the TriggerSetupState
3887
- */
3888
- omit?: TriggerSetupStateOmit<ExtArgs> | null
3889
- /**
3890
- * The data needed to create a TriggerSetupState.
3891
- */
3892
- data: XOR<TriggerSetupStateCreateInput, TriggerSetupStateUncheckedCreateInput>
3893
- }
3894
-
3895
- /**
3896
- * TriggerSetupState createMany
3897
- */
3898
- export type TriggerSetupStateCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3899
- /**
3900
- * The data used to create many TriggerSetupStates.
3901
- */
3902
- data: TriggerSetupStateCreateManyInput | TriggerSetupStateCreateManyInput[]
3903
- skipDuplicates?: boolean
3904
- }
3905
-
3906
- /**
3907
- * TriggerSetupState createManyAndReturn
3908
- */
3909
- export type TriggerSetupStateCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3910
- /**
3911
- * Select specific fields to fetch from the TriggerSetupState
3912
- */
3913
- select?: TriggerSetupStateSelectCreateManyAndReturn<ExtArgs> | null
3914
- /**
3915
- * Omit specific fields from the TriggerSetupState
3916
- */
3917
- omit?: TriggerSetupStateOmit<ExtArgs> | null
3918
- /**
3919
- * The data used to create many TriggerSetupStates.
3920
- */
3921
- data: TriggerSetupStateCreateManyInput | TriggerSetupStateCreateManyInput[]
3922
- skipDuplicates?: boolean
3923
- }
3924
-
3925
- /**
3926
- * TriggerSetupState update
3927
- */
3928
- export type TriggerSetupStateUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3929
- /**
3930
- * Select specific fields to fetch from the TriggerSetupState
3931
- */
3932
- select?: TriggerSetupStateSelect<ExtArgs> | null
3933
- /**
3934
- * Omit specific fields from the TriggerSetupState
3935
- */
3936
- omit?: TriggerSetupStateOmit<ExtArgs> | null
3937
- /**
3938
- * The data needed to update a TriggerSetupState.
3939
- */
3940
- data: XOR<TriggerSetupStateUpdateInput, TriggerSetupStateUncheckedUpdateInput>
3941
- /**
3942
- * Choose, which TriggerSetupState to update.
3943
- */
3944
- where: TriggerSetupStateWhereUniqueInput
3945
- }
3946
-
3947
- /**
3948
- * TriggerSetupState updateMany
3949
- */
3950
- export type TriggerSetupStateUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3951
- /**
3952
- * The data used to update TriggerSetupStates.
3953
- */
3954
- data: XOR<TriggerSetupStateUpdateManyMutationInput, TriggerSetupStateUncheckedUpdateManyInput>
3955
- /**
3956
- * Filter which TriggerSetupStates to update
3957
- */
3958
- where?: TriggerSetupStateWhereInput
3959
- /**
3960
- * Limit how many TriggerSetupStates to update.
3961
- */
3962
- limit?: number
3963
- }
3964
-
3965
- /**
3966
- * TriggerSetupState updateManyAndReturn
3967
- */
3968
- export type TriggerSetupStateUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3969
- /**
3970
- * Select specific fields to fetch from the TriggerSetupState
3971
- */
3972
- select?: TriggerSetupStateSelectUpdateManyAndReturn<ExtArgs> | null
3973
- /**
3974
- * Omit specific fields from the TriggerSetupState
3975
- */
3976
- omit?: TriggerSetupStateOmit<ExtArgs> | null
3977
- /**
3978
- * The data used to update TriggerSetupStates.
3979
- */
3980
- data: XOR<TriggerSetupStateUpdateManyMutationInput, TriggerSetupStateUncheckedUpdateManyInput>
3981
- /**
3982
- * Filter which TriggerSetupStates to update
3983
- */
3984
- where?: TriggerSetupStateWhereInput
3985
- /**
3986
- * Limit how many TriggerSetupStates to update.
3987
- */
3988
- limit?: number
3989
- }
3990
-
3991
- /**
3992
- * TriggerSetupState upsert
3993
- */
3994
- export type TriggerSetupStateUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3995
- /**
3996
- * Select specific fields to fetch from the TriggerSetupState
3997
- */
3998
- select?: TriggerSetupStateSelect<ExtArgs> | null
3999
- /**
4000
- * Omit specific fields from the TriggerSetupState
4001
- */
4002
- omit?: TriggerSetupStateOmit<ExtArgs> | null
4003
- /**
4004
- * The filter to search for the TriggerSetupState to update in case it exists.
4005
- */
4006
- where: TriggerSetupStateWhereUniqueInput
4007
- /**
4008
- * In case the TriggerSetupState found by the `where` argument doesn't exist, create a new TriggerSetupState with this data.
4009
- */
4010
- create: XOR<TriggerSetupStateCreateInput, TriggerSetupStateUncheckedCreateInput>
4011
- /**
4012
- * In case the TriggerSetupState was found with the provided `where` argument, update it with this data.
4013
- */
4014
- update: XOR<TriggerSetupStateUpdateInput, TriggerSetupStateUncheckedUpdateInput>
4015
- }
4016
-
4017
- /**
4018
- * TriggerSetupState delete
4019
- */
4020
- export type TriggerSetupStateDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4021
- /**
4022
- * Select specific fields to fetch from the TriggerSetupState
4023
- */
4024
- select?: TriggerSetupStateSelect<ExtArgs> | null
4025
- /**
4026
- * Omit specific fields from the TriggerSetupState
4027
- */
4028
- omit?: TriggerSetupStateOmit<ExtArgs> | null
4029
- /**
4030
- * Filter which TriggerSetupState to delete.
4031
- */
4032
- where: TriggerSetupStateWhereUniqueInput
4033
- }
4034
-
4035
- /**
4036
- * TriggerSetupState deleteMany
4037
- */
4038
- export type TriggerSetupStateDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4039
- /**
4040
- * Filter which TriggerSetupStates to delete
4041
- */
4042
- where?: TriggerSetupStateWhereInput
4043
- /**
4044
- * Limit how many TriggerSetupStates to delete.
4045
- */
4046
- limit?: number
4047
- }
4048
-
4049
- /**
4050
- * TriggerSetupState without action
4051
- */
4052
- export type TriggerSetupStateDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
4053
- /**
4054
- * Select specific fields to fetch from the TriggerSetupState
4055
- */
4056
- select?: TriggerSetupStateSelect<ExtArgs> | null
4057
- /**
4058
- * Omit specific fields from the TriggerSetupState
4059
- */
4060
- omit?: TriggerSetupStateOmit<ExtArgs> | null
4061
- }
4062
-
4063
-
4064
- /**
4065
- * Enums
4066
- */
4067
-
4068
- export const TransactionIsolationLevel: {
4069
- ReadUncommitted: 'ReadUncommitted',
4070
- ReadCommitted: 'ReadCommitted',
4071
- RepeatableRead: 'RepeatableRead',
4072
- Serializable: 'Serializable'
4073
- };
4074
-
4075
- export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
4076
-
4077
-
4078
- export const RunScalarFieldEnum: {
4079
- runId: 'runId',
4080
- workflowId: 'workflowId',
4081
- startedAt: 'startedAt',
4082
- status: 'status',
4083
- parentJson: 'parentJson',
4084
- executionOptionsJson: 'executionOptionsJson',
4085
- updatedAt: 'updatedAt',
4086
- stateJson: 'stateJson'
4087
- };
4088
-
4089
- export type RunScalarFieldEnum = (typeof RunScalarFieldEnum)[keyof typeof RunScalarFieldEnum]
4090
-
4091
-
4092
- export const WorkflowDebuggerOverlayScalarFieldEnum: {
4093
- workflowId: 'workflowId',
4094
- updatedAt: 'updatedAt',
4095
- copiedFromRunId: 'copiedFromRunId',
4096
- stateJson: 'stateJson'
4097
- };
4098
-
4099
- export type WorkflowDebuggerOverlayScalarFieldEnum = (typeof WorkflowDebuggerOverlayScalarFieldEnum)[keyof typeof WorkflowDebuggerOverlayScalarFieldEnum]
4100
-
4101
-
4102
- export const TriggerSetupStateScalarFieldEnum: {
4103
- workflowId: 'workflowId',
4104
- nodeId: 'nodeId',
4105
- updatedAt: 'updatedAt',
4106
- stateJson: 'stateJson'
4107
- };
4108
-
4109
- export type TriggerSetupStateScalarFieldEnum = (typeof TriggerSetupStateScalarFieldEnum)[keyof typeof TriggerSetupStateScalarFieldEnum]
4110
-
4111
-
4112
- export const SortOrder: {
4113
- asc: 'asc',
4114
- desc: 'desc'
4115
- };
4116
-
4117
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
4118
-
4119
-
4120
- export const QueryMode: {
4121
- default: 'default',
4122
- insensitive: 'insensitive'
4123
- };
4124
-
4125
- export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
4126
-
4127
-
4128
- export const NullsOrder: {
4129
- first: 'first',
4130
- last: 'last'
4131
- };
4132
-
4133
- export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
4134
-
4135
-
4136
- /**
4137
- * Field references
4138
- */
4139
-
4140
-
4141
- /**
4142
- * Reference to a field of type 'String'
4143
- */
4144
- export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>
4145
-
4146
-
4147
-
4148
- /**
4149
- * Reference to a field of type 'String[]'
4150
- */
4151
- export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>
4152
-
4153
-
4154
-
4155
- /**
4156
- * Reference to a field of type 'Int'
4157
- */
4158
- export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
4159
-
4160
-
4161
-
4162
- /**
4163
- * Reference to a field of type 'Int[]'
4164
- */
4165
- export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
4166
-
4167
- /**
4168
- * Deep Input Types
4169
- */
4170
-
4171
-
4172
- export type RunWhereInput = {
4173
- AND?: RunWhereInput | RunWhereInput[]
4174
- OR?: RunWhereInput[]
4175
- NOT?: RunWhereInput | RunWhereInput[]
4176
- runId?: StringFilter<"Run"> | string
4177
- workflowId?: StringFilter<"Run"> | string
4178
- startedAt?: StringFilter<"Run"> | string
4179
- status?: StringFilter<"Run"> | string
4180
- parentJson?: StringNullableFilter<"Run"> | string | null
4181
- executionOptionsJson?: StringNullableFilter<"Run"> | string | null
4182
- updatedAt?: StringFilter<"Run"> | string
4183
- stateJson?: StringFilter<"Run"> | string
4184
- }
4185
-
4186
- export type RunOrderByWithRelationInput = {
4187
- runId?: SortOrder
4188
- workflowId?: SortOrder
4189
- startedAt?: SortOrder
4190
- status?: SortOrder
4191
- parentJson?: SortOrderInput | SortOrder
4192
- executionOptionsJson?: SortOrderInput | SortOrder
4193
- updatedAt?: SortOrder
4194
- stateJson?: SortOrder
4195
- }
4196
-
4197
- export type RunWhereUniqueInput = Prisma.AtLeast<{
4198
- runId?: string
4199
- AND?: RunWhereInput | RunWhereInput[]
4200
- OR?: RunWhereInput[]
4201
- NOT?: RunWhereInput | RunWhereInput[]
4202
- workflowId?: StringFilter<"Run"> | string
4203
- startedAt?: StringFilter<"Run"> | string
4204
- status?: StringFilter<"Run"> | string
4205
- parentJson?: StringNullableFilter<"Run"> | string | null
4206
- executionOptionsJson?: StringNullableFilter<"Run"> | string | null
4207
- updatedAt?: StringFilter<"Run"> | string
4208
- stateJson?: StringFilter<"Run"> | string
4209
- }, "runId">
4210
-
4211
- export type RunOrderByWithAggregationInput = {
4212
- runId?: SortOrder
4213
- workflowId?: SortOrder
4214
- startedAt?: SortOrder
4215
- status?: SortOrder
4216
- parentJson?: SortOrderInput | SortOrder
4217
- executionOptionsJson?: SortOrderInput | SortOrder
4218
- updatedAt?: SortOrder
4219
- stateJson?: SortOrder
4220
- _count?: RunCountOrderByAggregateInput
4221
- _max?: RunMaxOrderByAggregateInput
4222
- _min?: RunMinOrderByAggregateInput
4223
- }
4224
-
4225
- export type RunScalarWhereWithAggregatesInput = {
4226
- AND?: RunScalarWhereWithAggregatesInput | RunScalarWhereWithAggregatesInput[]
4227
- OR?: RunScalarWhereWithAggregatesInput[]
4228
- NOT?: RunScalarWhereWithAggregatesInput | RunScalarWhereWithAggregatesInput[]
4229
- runId?: StringWithAggregatesFilter<"Run"> | string
4230
- workflowId?: StringWithAggregatesFilter<"Run"> | string
4231
- startedAt?: StringWithAggregatesFilter<"Run"> | string
4232
- status?: StringWithAggregatesFilter<"Run"> | string
4233
- parentJson?: StringNullableWithAggregatesFilter<"Run"> | string | null
4234
- executionOptionsJson?: StringNullableWithAggregatesFilter<"Run"> | string | null
4235
- updatedAt?: StringWithAggregatesFilter<"Run"> | string
4236
- stateJson?: StringWithAggregatesFilter<"Run"> | string
4237
- }
4238
-
4239
- export type WorkflowDebuggerOverlayWhereInput = {
4240
- AND?: WorkflowDebuggerOverlayWhereInput | WorkflowDebuggerOverlayWhereInput[]
4241
- OR?: WorkflowDebuggerOverlayWhereInput[]
4242
- NOT?: WorkflowDebuggerOverlayWhereInput | WorkflowDebuggerOverlayWhereInput[]
4243
- workflowId?: StringFilter<"WorkflowDebuggerOverlay"> | string
4244
- updatedAt?: StringFilter<"WorkflowDebuggerOverlay"> | string
4245
- copiedFromRunId?: StringNullableFilter<"WorkflowDebuggerOverlay"> | string | null
4246
- stateJson?: StringFilter<"WorkflowDebuggerOverlay"> | string
4247
- }
4248
-
4249
- export type WorkflowDebuggerOverlayOrderByWithRelationInput = {
4250
- workflowId?: SortOrder
4251
- updatedAt?: SortOrder
4252
- copiedFromRunId?: SortOrderInput | SortOrder
4253
- stateJson?: SortOrder
4254
- }
4255
-
4256
- export type WorkflowDebuggerOverlayWhereUniqueInput = Prisma.AtLeast<{
4257
- workflowId?: string
4258
- AND?: WorkflowDebuggerOverlayWhereInput | WorkflowDebuggerOverlayWhereInput[]
4259
- OR?: WorkflowDebuggerOverlayWhereInput[]
4260
- NOT?: WorkflowDebuggerOverlayWhereInput | WorkflowDebuggerOverlayWhereInput[]
4261
- updatedAt?: StringFilter<"WorkflowDebuggerOverlay"> | string
4262
- copiedFromRunId?: StringNullableFilter<"WorkflowDebuggerOverlay"> | string | null
4263
- stateJson?: StringFilter<"WorkflowDebuggerOverlay"> | string
4264
- }, "workflowId">
4265
-
4266
- export type WorkflowDebuggerOverlayOrderByWithAggregationInput = {
4267
- workflowId?: SortOrder
4268
- updatedAt?: SortOrder
4269
- copiedFromRunId?: SortOrderInput | SortOrder
4270
- stateJson?: SortOrder
4271
- _count?: WorkflowDebuggerOverlayCountOrderByAggregateInput
4272
- _max?: WorkflowDebuggerOverlayMaxOrderByAggregateInput
4273
- _min?: WorkflowDebuggerOverlayMinOrderByAggregateInput
4274
- }
4275
-
4276
- export type WorkflowDebuggerOverlayScalarWhereWithAggregatesInput = {
4277
- AND?: WorkflowDebuggerOverlayScalarWhereWithAggregatesInput | WorkflowDebuggerOverlayScalarWhereWithAggregatesInput[]
4278
- OR?: WorkflowDebuggerOverlayScalarWhereWithAggregatesInput[]
4279
- NOT?: WorkflowDebuggerOverlayScalarWhereWithAggregatesInput | WorkflowDebuggerOverlayScalarWhereWithAggregatesInput[]
4280
- workflowId?: StringWithAggregatesFilter<"WorkflowDebuggerOverlay"> | string
4281
- updatedAt?: StringWithAggregatesFilter<"WorkflowDebuggerOverlay"> | string
4282
- copiedFromRunId?: StringNullableWithAggregatesFilter<"WorkflowDebuggerOverlay"> | string | null
4283
- stateJson?: StringWithAggregatesFilter<"WorkflowDebuggerOverlay"> | string
4284
- }
4285
-
4286
- export type TriggerSetupStateWhereInput = {
4287
- AND?: TriggerSetupStateWhereInput | TriggerSetupStateWhereInput[]
4288
- OR?: TriggerSetupStateWhereInput[]
4289
- NOT?: TriggerSetupStateWhereInput | TriggerSetupStateWhereInput[]
4290
- workflowId?: StringFilter<"TriggerSetupState"> | string
4291
- nodeId?: StringFilter<"TriggerSetupState"> | string
4292
- updatedAt?: StringFilter<"TriggerSetupState"> | string
4293
- stateJson?: StringFilter<"TriggerSetupState"> | string
4294
- }
4295
-
4296
- export type TriggerSetupStateOrderByWithRelationInput = {
4297
- workflowId?: SortOrder
4298
- nodeId?: SortOrder
4299
- updatedAt?: SortOrder
4300
- stateJson?: SortOrder
4301
- }
4302
-
4303
- export type TriggerSetupStateWhereUniqueInput = Prisma.AtLeast<{
4304
- workflowId_nodeId?: TriggerSetupStateWorkflowIdNodeIdCompoundUniqueInput
4305
- AND?: TriggerSetupStateWhereInput | TriggerSetupStateWhereInput[]
4306
- OR?: TriggerSetupStateWhereInput[]
4307
- NOT?: TriggerSetupStateWhereInput | TriggerSetupStateWhereInput[]
4308
- workflowId?: StringFilter<"TriggerSetupState"> | string
4309
- nodeId?: StringFilter<"TriggerSetupState"> | string
4310
- updatedAt?: StringFilter<"TriggerSetupState"> | string
4311
- stateJson?: StringFilter<"TriggerSetupState"> | string
4312
- }, "workflowId_nodeId">
4313
-
4314
- export type TriggerSetupStateOrderByWithAggregationInput = {
4315
- workflowId?: SortOrder
4316
- nodeId?: SortOrder
4317
- updatedAt?: SortOrder
4318
- stateJson?: SortOrder
4319
- _count?: TriggerSetupStateCountOrderByAggregateInput
4320
- _max?: TriggerSetupStateMaxOrderByAggregateInput
4321
- _min?: TriggerSetupStateMinOrderByAggregateInput
4322
- }
4323
-
4324
- export type TriggerSetupStateScalarWhereWithAggregatesInput = {
4325
- AND?: TriggerSetupStateScalarWhereWithAggregatesInput | TriggerSetupStateScalarWhereWithAggregatesInput[]
4326
- OR?: TriggerSetupStateScalarWhereWithAggregatesInput[]
4327
- NOT?: TriggerSetupStateScalarWhereWithAggregatesInput | TriggerSetupStateScalarWhereWithAggregatesInput[]
4328
- workflowId?: StringWithAggregatesFilter<"TriggerSetupState"> | string
4329
- nodeId?: StringWithAggregatesFilter<"TriggerSetupState"> | string
4330
- updatedAt?: StringWithAggregatesFilter<"TriggerSetupState"> | string
4331
- stateJson?: StringWithAggregatesFilter<"TriggerSetupState"> | string
4332
- }
4333
-
4334
- export type RunCreateInput = {
4335
- runId: string
4336
- workflowId: string
4337
- startedAt: string
4338
- status: string
4339
- parentJson?: string | null
4340
- executionOptionsJson?: string | null
4341
- updatedAt: string
4342
- stateJson: string
4343
- }
4344
-
4345
- export type RunUncheckedCreateInput = {
4346
- runId: string
4347
- workflowId: string
4348
- startedAt: string
4349
- status: string
4350
- parentJson?: string | null
4351
- executionOptionsJson?: string | null
4352
- updatedAt: string
4353
- stateJson: string
4354
- }
4355
-
4356
- export type RunUpdateInput = {
4357
- runId?: StringFieldUpdateOperationsInput | string
4358
- workflowId?: StringFieldUpdateOperationsInput | string
4359
- startedAt?: StringFieldUpdateOperationsInput | string
4360
- status?: StringFieldUpdateOperationsInput | string
4361
- parentJson?: NullableStringFieldUpdateOperationsInput | string | null
4362
- executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null
4363
- updatedAt?: StringFieldUpdateOperationsInput | string
4364
- stateJson?: StringFieldUpdateOperationsInput | string
4365
- }
4366
-
4367
- export type RunUncheckedUpdateInput = {
4368
- runId?: StringFieldUpdateOperationsInput | string
4369
- workflowId?: StringFieldUpdateOperationsInput | string
4370
- startedAt?: StringFieldUpdateOperationsInput | string
4371
- status?: StringFieldUpdateOperationsInput | string
4372
- parentJson?: NullableStringFieldUpdateOperationsInput | string | null
4373
- executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null
4374
- updatedAt?: StringFieldUpdateOperationsInput | string
4375
- stateJson?: StringFieldUpdateOperationsInput | string
4376
- }
4377
-
4378
- export type RunCreateManyInput = {
4379
- runId: string
4380
- workflowId: string
4381
- startedAt: string
4382
- status: string
4383
- parentJson?: string | null
4384
- executionOptionsJson?: string | null
4385
- updatedAt: string
4386
- stateJson: string
4387
- }
4388
-
4389
- export type RunUpdateManyMutationInput = {
4390
- runId?: StringFieldUpdateOperationsInput | string
4391
- workflowId?: StringFieldUpdateOperationsInput | string
4392
- startedAt?: StringFieldUpdateOperationsInput | string
4393
- status?: StringFieldUpdateOperationsInput | string
4394
- parentJson?: NullableStringFieldUpdateOperationsInput | string | null
4395
- executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null
4396
- updatedAt?: StringFieldUpdateOperationsInput | string
4397
- stateJson?: StringFieldUpdateOperationsInput | string
4398
- }
4399
-
4400
- export type RunUncheckedUpdateManyInput = {
4401
- runId?: StringFieldUpdateOperationsInput | string
4402
- workflowId?: StringFieldUpdateOperationsInput | string
4403
- startedAt?: StringFieldUpdateOperationsInput | string
4404
- status?: StringFieldUpdateOperationsInput | string
4405
- parentJson?: NullableStringFieldUpdateOperationsInput | string | null
4406
- executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null
4407
- updatedAt?: StringFieldUpdateOperationsInput | string
4408
- stateJson?: StringFieldUpdateOperationsInput | string
4409
- }
4410
-
4411
- export type WorkflowDebuggerOverlayCreateInput = {
4412
- workflowId: string
4413
- updatedAt: string
4414
- copiedFromRunId?: string | null
4415
- stateJson: string
4416
- }
4417
-
4418
- export type WorkflowDebuggerOverlayUncheckedCreateInput = {
4419
- workflowId: string
4420
- updatedAt: string
4421
- copiedFromRunId?: string | null
4422
- stateJson: string
4423
- }
4424
-
4425
- export type WorkflowDebuggerOverlayUpdateInput = {
4426
- workflowId?: StringFieldUpdateOperationsInput | string
4427
- updatedAt?: StringFieldUpdateOperationsInput | string
4428
- copiedFromRunId?: NullableStringFieldUpdateOperationsInput | string | null
4429
- stateJson?: StringFieldUpdateOperationsInput | string
4430
- }
4431
-
4432
- export type WorkflowDebuggerOverlayUncheckedUpdateInput = {
4433
- workflowId?: StringFieldUpdateOperationsInput | string
4434
- updatedAt?: StringFieldUpdateOperationsInput | string
4435
- copiedFromRunId?: NullableStringFieldUpdateOperationsInput | string | null
4436
- stateJson?: StringFieldUpdateOperationsInput | string
4437
- }
4438
-
4439
- export type WorkflowDebuggerOverlayCreateManyInput = {
4440
- workflowId: string
4441
- updatedAt: string
4442
- copiedFromRunId?: string | null
4443
- stateJson: string
4444
- }
4445
-
4446
- export type WorkflowDebuggerOverlayUpdateManyMutationInput = {
4447
- workflowId?: StringFieldUpdateOperationsInput | string
4448
- updatedAt?: StringFieldUpdateOperationsInput | string
4449
- copiedFromRunId?: NullableStringFieldUpdateOperationsInput | string | null
4450
- stateJson?: StringFieldUpdateOperationsInput | string
4451
- }
4452
-
4453
- export type WorkflowDebuggerOverlayUncheckedUpdateManyInput = {
4454
- workflowId?: StringFieldUpdateOperationsInput | string
4455
- updatedAt?: StringFieldUpdateOperationsInput | string
4456
- copiedFromRunId?: NullableStringFieldUpdateOperationsInput | string | null
4457
- stateJson?: StringFieldUpdateOperationsInput | string
4458
- }
4459
-
4460
- export type TriggerSetupStateCreateInput = {
4461
- workflowId: string
4462
- nodeId: string
4463
- updatedAt: string
4464
- stateJson: string
4465
- }
4466
-
4467
- export type TriggerSetupStateUncheckedCreateInput = {
4468
- workflowId: string
4469
- nodeId: string
4470
- updatedAt: string
4471
- stateJson: string
4472
- }
4473
-
4474
- export type TriggerSetupStateUpdateInput = {
4475
- workflowId?: StringFieldUpdateOperationsInput | string
4476
- nodeId?: StringFieldUpdateOperationsInput | string
4477
- updatedAt?: StringFieldUpdateOperationsInput | string
4478
- stateJson?: StringFieldUpdateOperationsInput | string
4479
- }
4480
-
4481
- export type TriggerSetupStateUncheckedUpdateInput = {
4482
- workflowId?: StringFieldUpdateOperationsInput | string
4483
- nodeId?: StringFieldUpdateOperationsInput | string
4484
- updatedAt?: StringFieldUpdateOperationsInput | string
4485
- stateJson?: StringFieldUpdateOperationsInput | string
4486
- }
4487
-
4488
- export type TriggerSetupStateCreateManyInput = {
4489
- workflowId: string
4490
- nodeId: string
4491
- updatedAt: string
4492
- stateJson: string
4493
- }
4494
-
4495
- export type TriggerSetupStateUpdateManyMutationInput = {
4496
- workflowId?: StringFieldUpdateOperationsInput | string
4497
- nodeId?: StringFieldUpdateOperationsInput | string
4498
- updatedAt?: StringFieldUpdateOperationsInput | string
4499
- stateJson?: StringFieldUpdateOperationsInput | string
4500
- }
4501
-
4502
- export type TriggerSetupStateUncheckedUpdateManyInput = {
4503
- workflowId?: StringFieldUpdateOperationsInput | string
4504
- nodeId?: StringFieldUpdateOperationsInput | string
4505
- updatedAt?: StringFieldUpdateOperationsInput | string
4506
- stateJson?: StringFieldUpdateOperationsInput | string
4507
- }
4508
-
4509
- export type StringFilter<$PrismaModel = never> = {
4510
- equals?: string | StringFieldRefInput<$PrismaModel>
4511
- in?: string[] | ListStringFieldRefInput<$PrismaModel>
4512
- notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
4513
- lt?: string | StringFieldRefInput<$PrismaModel>
4514
- lte?: string | StringFieldRefInput<$PrismaModel>
4515
- gt?: string | StringFieldRefInput<$PrismaModel>
4516
- gte?: string | StringFieldRefInput<$PrismaModel>
4517
- contains?: string | StringFieldRefInput<$PrismaModel>
4518
- startsWith?: string | StringFieldRefInput<$PrismaModel>
4519
- endsWith?: string | StringFieldRefInput<$PrismaModel>
4520
- mode?: QueryMode
4521
- not?: NestedStringFilter<$PrismaModel> | string
4522
- }
4523
-
4524
- export type StringNullableFilter<$PrismaModel = never> = {
4525
- equals?: string | StringFieldRefInput<$PrismaModel> | null
4526
- in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
4527
- notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
4528
- lt?: string | StringFieldRefInput<$PrismaModel>
4529
- lte?: string | StringFieldRefInput<$PrismaModel>
4530
- gt?: string | StringFieldRefInput<$PrismaModel>
4531
- gte?: string | StringFieldRefInput<$PrismaModel>
4532
- contains?: string | StringFieldRefInput<$PrismaModel>
4533
- startsWith?: string | StringFieldRefInput<$PrismaModel>
4534
- endsWith?: string | StringFieldRefInput<$PrismaModel>
4535
- mode?: QueryMode
4536
- not?: NestedStringNullableFilter<$PrismaModel> | string | null
4537
- }
4538
-
4539
- export type SortOrderInput = {
4540
- sort: SortOrder
4541
- nulls?: NullsOrder
4542
- }
4543
-
4544
- export type RunCountOrderByAggregateInput = {
4545
- runId?: SortOrder
4546
- workflowId?: SortOrder
4547
- startedAt?: SortOrder
4548
- status?: SortOrder
4549
- parentJson?: SortOrder
4550
- executionOptionsJson?: SortOrder
4551
- updatedAt?: SortOrder
4552
- stateJson?: SortOrder
4553
- }
4554
-
4555
- export type RunMaxOrderByAggregateInput = {
4556
- runId?: SortOrder
4557
- workflowId?: SortOrder
4558
- startedAt?: SortOrder
4559
- status?: SortOrder
4560
- parentJson?: SortOrder
4561
- executionOptionsJson?: SortOrder
4562
- updatedAt?: SortOrder
4563
- stateJson?: SortOrder
4564
- }
4565
-
4566
- export type RunMinOrderByAggregateInput = {
4567
- runId?: SortOrder
4568
- workflowId?: SortOrder
4569
- startedAt?: SortOrder
4570
- status?: SortOrder
4571
- parentJson?: SortOrder
4572
- executionOptionsJson?: SortOrder
4573
- updatedAt?: SortOrder
4574
- stateJson?: SortOrder
4575
- }
4576
-
4577
- export type StringWithAggregatesFilter<$PrismaModel = never> = {
4578
- equals?: string | StringFieldRefInput<$PrismaModel>
4579
- in?: string[] | ListStringFieldRefInput<$PrismaModel>
4580
- notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
4581
- lt?: string | StringFieldRefInput<$PrismaModel>
4582
- lte?: string | StringFieldRefInput<$PrismaModel>
4583
- gt?: string | StringFieldRefInput<$PrismaModel>
4584
- gte?: string | StringFieldRefInput<$PrismaModel>
4585
- contains?: string | StringFieldRefInput<$PrismaModel>
4586
- startsWith?: string | StringFieldRefInput<$PrismaModel>
4587
- endsWith?: string | StringFieldRefInput<$PrismaModel>
4588
- mode?: QueryMode
4589
- not?: NestedStringWithAggregatesFilter<$PrismaModel> | string
4590
- _count?: NestedIntFilter<$PrismaModel>
4591
- _min?: NestedStringFilter<$PrismaModel>
4592
- _max?: NestedStringFilter<$PrismaModel>
4593
- }
4594
-
4595
- export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
4596
- equals?: string | StringFieldRefInput<$PrismaModel> | null
4597
- in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
4598
- notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
4599
- lt?: string | StringFieldRefInput<$PrismaModel>
4600
- lte?: string | StringFieldRefInput<$PrismaModel>
4601
- gt?: string | StringFieldRefInput<$PrismaModel>
4602
- gte?: string | StringFieldRefInput<$PrismaModel>
4603
- contains?: string | StringFieldRefInput<$PrismaModel>
4604
- startsWith?: string | StringFieldRefInput<$PrismaModel>
4605
- endsWith?: string | StringFieldRefInput<$PrismaModel>
4606
- mode?: QueryMode
4607
- not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
4608
- _count?: NestedIntNullableFilter<$PrismaModel>
4609
- _min?: NestedStringNullableFilter<$PrismaModel>
4610
- _max?: NestedStringNullableFilter<$PrismaModel>
4611
- }
4612
-
4613
- export type WorkflowDebuggerOverlayCountOrderByAggregateInput = {
4614
- workflowId?: SortOrder
4615
- updatedAt?: SortOrder
4616
- copiedFromRunId?: SortOrder
4617
- stateJson?: SortOrder
4618
- }
4619
-
4620
- export type WorkflowDebuggerOverlayMaxOrderByAggregateInput = {
4621
- workflowId?: SortOrder
4622
- updatedAt?: SortOrder
4623
- copiedFromRunId?: SortOrder
4624
- stateJson?: SortOrder
4625
- }
4626
-
4627
- export type WorkflowDebuggerOverlayMinOrderByAggregateInput = {
4628
- workflowId?: SortOrder
4629
- updatedAt?: SortOrder
4630
- copiedFromRunId?: SortOrder
4631
- stateJson?: SortOrder
4632
- }
4633
-
4634
- export type TriggerSetupStateWorkflowIdNodeIdCompoundUniqueInput = {
4635
- workflowId: string
4636
- nodeId: string
4637
- }
4638
-
4639
- export type TriggerSetupStateCountOrderByAggregateInput = {
4640
- workflowId?: SortOrder
4641
- nodeId?: SortOrder
4642
- updatedAt?: SortOrder
4643
- stateJson?: SortOrder
4644
- }
4645
-
4646
- export type TriggerSetupStateMaxOrderByAggregateInput = {
4647
- workflowId?: SortOrder
4648
- nodeId?: SortOrder
4649
- updatedAt?: SortOrder
4650
- stateJson?: SortOrder
4651
- }
4652
-
4653
- export type TriggerSetupStateMinOrderByAggregateInput = {
4654
- workflowId?: SortOrder
4655
- nodeId?: SortOrder
4656
- updatedAt?: SortOrder
4657
- stateJson?: SortOrder
4658
- }
4659
-
4660
- export type StringFieldUpdateOperationsInput = {
4661
- set?: string
4662
- }
4663
-
4664
- export type NullableStringFieldUpdateOperationsInput = {
4665
- set?: string | null
4666
- }
4667
-
4668
- export type NestedStringFilter<$PrismaModel = never> = {
4669
- equals?: string | StringFieldRefInput<$PrismaModel>
4670
- in?: string[] | ListStringFieldRefInput<$PrismaModel>
4671
- notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
4672
- lt?: string | StringFieldRefInput<$PrismaModel>
4673
- lte?: string | StringFieldRefInput<$PrismaModel>
4674
- gt?: string | StringFieldRefInput<$PrismaModel>
4675
- gte?: string | StringFieldRefInput<$PrismaModel>
4676
- contains?: string | StringFieldRefInput<$PrismaModel>
4677
- startsWith?: string | StringFieldRefInput<$PrismaModel>
4678
- endsWith?: string | StringFieldRefInput<$PrismaModel>
4679
- not?: NestedStringFilter<$PrismaModel> | string
4680
- }
4681
-
4682
- export type NestedStringNullableFilter<$PrismaModel = never> = {
4683
- equals?: string | StringFieldRefInput<$PrismaModel> | null
4684
- in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
4685
- notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
4686
- lt?: string | StringFieldRefInput<$PrismaModel>
4687
- lte?: string | StringFieldRefInput<$PrismaModel>
4688
- gt?: string | StringFieldRefInput<$PrismaModel>
4689
- gte?: string | StringFieldRefInput<$PrismaModel>
4690
- contains?: string | StringFieldRefInput<$PrismaModel>
4691
- startsWith?: string | StringFieldRefInput<$PrismaModel>
4692
- endsWith?: string | StringFieldRefInput<$PrismaModel>
4693
- not?: NestedStringNullableFilter<$PrismaModel> | string | null
4694
- }
4695
-
4696
- export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
4697
- equals?: string | StringFieldRefInput<$PrismaModel>
4698
- in?: string[] | ListStringFieldRefInput<$PrismaModel>
4699
- notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
4700
- lt?: string | StringFieldRefInput<$PrismaModel>
4701
- lte?: string | StringFieldRefInput<$PrismaModel>
4702
- gt?: string | StringFieldRefInput<$PrismaModel>
4703
- gte?: string | StringFieldRefInput<$PrismaModel>
4704
- contains?: string | StringFieldRefInput<$PrismaModel>
4705
- startsWith?: string | StringFieldRefInput<$PrismaModel>
4706
- endsWith?: string | StringFieldRefInput<$PrismaModel>
4707
- not?: NestedStringWithAggregatesFilter<$PrismaModel> | string
4708
- _count?: NestedIntFilter<$PrismaModel>
4709
- _min?: NestedStringFilter<$PrismaModel>
4710
- _max?: NestedStringFilter<$PrismaModel>
4711
- }
4712
-
4713
- export type NestedIntFilter<$PrismaModel = never> = {
4714
- equals?: number | IntFieldRefInput<$PrismaModel>
4715
- in?: number[] | ListIntFieldRefInput<$PrismaModel>
4716
- notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
4717
- lt?: number | IntFieldRefInput<$PrismaModel>
4718
- lte?: number | IntFieldRefInput<$PrismaModel>
4719
- gt?: number | IntFieldRefInput<$PrismaModel>
4720
- gte?: number | IntFieldRefInput<$PrismaModel>
4721
- not?: NestedIntFilter<$PrismaModel> | number
4722
- }
4723
-
4724
- export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
4725
- equals?: string | StringFieldRefInput<$PrismaModel> | null
4726
- in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
4727
- notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
4728
- lt?: string | StringFieldRefInput<$PrismaModel>
4729
- lte?: string | StringFieldRefInput<$PrismaModel>
4730
- gt?: string | StringFieldRefInput<$PrismaModel>
4731
- gte?: string | StringFieldRefInput<$PrismaModel>
4732
- contains?: string | StringFieldRefInput<$PrismaModel>
4733
- startsWith?: string | StringFieldRefInput<$PrismaModel>
4734
- endsWith?: string | StringFieldRefInput<$PrismaModel>
4735
- not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
4736
- _count?: NestedIntNullableFilter<$PrismaModel>
4737
- _min?: NestedStringNullableFilter<$PrismaModel>
4738
- _max?: NestedStringNullableFilter<$PrismaModel>
4739
- }
4740
-
4741
- export type NestedIntNullableFilter<$PrismaModel = never> = {
4742
- equals?: number | IntFieldRefInput<$PrismaModel> | null
4743
- in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
4744
- notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
4745
- lt?: number | IntFieldRefInput<$PrismaModel>
4746
- lte?: number | IntFieldRefInput<$PrismaModel>
4747
- gt?: number | IntFieldRefInput<$PrismaModel>
4748
- gte?: number | IntFieldRefInput<$PrismaModel>
4749
- not?: NestedIntNullableFilter<$PrismaModel> | number | null
4750
- }
4751
-
4752
-
4753
-
4754
- /**
4755
- * Batch Payload for updateMany & deleteMany & createMany
4756
- */
4757
-
4758
- export type BatchPayload = {
4759
- count: number
4760
- }
4761
-
4762
- /**
4763
- * DMMF
4764
- */
4765
- export const dmmf: runtime.BaseDMMF
4766
- }