@betterinternship/db 1.0.13 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/prisma/browser.ts +29 -0
  2. package/dist/prisma/client.d.ts +1 -0
  3. package/dist/prisma/client.js +5 -0
  4. package/dist/prisma/client.ts +51 -0
  5. package/dist/prisma/commonInputTypes.ts +349 -0
  6. package/dist/prisma/default.d.ts +1 -0
  7. package/dist/prisma/default.js +5 -0
  8. package/dist/prisma/edge.d.ts +1 -0
  9. package/dist/prisma/edge.js +175 -0
  10. package/dist/prisma/enums.ts +15 -0
  11. package/dist/prisma/index-browser.js +205 -0
  12. package/dist/prisma/index.d.ts +4237 -0
  13. package/dist/prisma/index.js +175 -0
  14. package/dist/prisma/internal/class.ts +202 -0
  15. package/dist/prisma/internal/prismaNamespace.ts +883 -0
  16. package/dist/prisma/internal/prismaNamespaceBrowser.ts +140 -0
  17. package/dist/prisma/models/processes.ts +1318 -0
  18. package/dist/prisma/models/tasks.ts +1507 -0
  19. package/dist/prisma/models.ts +13 -0
  20. package/dist/prisma/package.json +144 -0
  21. package/dist/prisma/query_compiler_fast_bg.js +2 -0
  22. package/dist/prisma/query_compiler_fast_bg.wasm +0 -0
  23. package/dist/prisma/query_compiler_fast_bg.wasm-base64.js +2 -0
  24. package/dist/prisma/runtime/client.d.ts +3304 -0
  25. package/dist/prisma/runtime/client.js +86 -0
  26. package/dist/prisma/runtime/index-browser.d.ts +87 -0
  27. package/dist/prisma/runtime/index-browser.js +6 -0
  28. package/dist/prisma/runtime/wasm-compiler-edge.js +76 -0
  29. package/dist/prisma/schema.prisma +34 -0
  30. package/dist/prisma/wasm-edge-light-loader.mjs +5 -0
  31. package/dist/prisma/wasm-worker-loader.mjs +5 -0
  32. package/dist/src/db/index.d.ts +9 -6
  33. package/dist/src/db/index.js +1 -1
  34. package/dist/src/db/index.js.map +1 -1
  35. package/dist/tsconfig.tsbuildinfo +1 -1
  36. package/package.json +3 -2
  37. package/dist/src/prisma/browser.d.ts +0 -6
  38. package/dist/src/prisma/browser.js +0 -44
  39. package/dist/src/prisma/browser.js.map +0 -1
  40. package/dist/src/prisma/client.d.ts +0 -10
  41. package/dist/src/prisma/client.js +0 -49
  42. package/dist/src/prisma/client.js.map +0 -1
  43. package/dist/src/prisma/commonInputTypes.d.ts +0 -294
  44. package/dist/src/prisma/commonInputTypes.js +0 -3
  45. package/dist/src/prisma/commonInputTypes.js.map +0 -1
  46. package/dist/src/prisma/enums.d.ts +0 -1
  47. package/dist/src/prisma/enums.js +0 -3
  48. package/dist/src/prisma/enums.js.map +0 -1
  49. package/dist/src/prisma/internal/class.d.ts +0 -38
  50. package/dist/src/prisma/internal/class.js +0 -67
  51. package/dist/src/prisma/internal/class.js.map +0 -1
  52. package/dist/src/prisma/internal/prismaNamespace.d.ts +0 -460
  53. package/dist/src/prisma/internal/prismaNamespace.js +0 -113
  54. package/dist/src/prisma/internal/prismaNamespace.js.map +0 -1
  55. package/dist/src/prisma/internal/prismaNamespaceBrowser.d.ts +0 -71
  56. package/dist/src/prisma/internal/prismaNamespaceBrowser.js +0 -97
  57. package/dist/src/prisma/internal/prismaNamespaceBrowser.js.map +0 -1
  58. package/dist/src/prisma/models/processes.d.ts +0 -503
  59. package/dist/src/prisma/models/processes.js +0 -3
  60. package/dist/src/prisma/models/processes.js.map +0 -1
  61. package/dist/src/prisma/models/tasks.d.ts +0 -709
  62. package/dist/src/prisma/models/tasks.js +0 -3
  63. package/dist/src/prisma/models/tasks.js.map +0 -1
  64. package/dist/src/prisma/models.d.ts +0 -3
  65. package/dist/src/prisma/models.js +0 -3
  66. package/dist/src/prisma/models.js.map +0 -1
@@ -0,0 +1,175 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+
8
+ const {
9
+ PrismaClientKnownRequestError,
10
+ PrismaClientUnknownRequestError,
11
+ PrismaClientRustPanicError,
12
+ PrismaClientInitializationError,
13
+ PrismaClientValidationError,
14
+ getPrismaClient,
15
+ sqltag,
16
+ empty,
17
+ join,
18
+ raw,
19
+ skip,
20
+ Decimal,
21
+ Debug,
22
+ DbNull,
23
+ JsonNull,
24
+ AnyNull,
25
+ NullTypes,
26
+ makeStrictEnum,
27
+ Extensions,
28
+ warnOnce,
29
+ defineDmmfProperty,
30
+ Public,
31
+ getRuntime,
32
+ createParam,
33
+ } = require('./runtime/client.js')
34
+
35
+
36
+ const Prisma = {}
37
+
38
+ exports.Prisma = Prisma
39
+ exports.$Enums = {}
40
+
41
+ /**
42
+ * Prisma Client JS version: 7.3.0
43
+ * Query Engine version: 9d6ad21cbbceab97458517b147a6a09ff43aa735
44
+ */
45
+ Prisma.prismaVersion = {
46
+ client: "7.3.0",
47
+ engine: "9d6ad21cbbceab97458517b147a6a09ff43aa735"
48
+ }
49
+
50
+ Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
51
+ Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError
52
+ Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError
53
+ Prisma.PrismaClientInitializationError = PrismaClientInitializationError
54
+ Prisma.PrismaClientValidationError = PrismaClientValidationError
55
+ Prisma.Decimal = Decimal
56
+
57
+ /**
58
+ * Re-export of sql-template-tag
59
+ */
60
+ Prisma.sql = sqltag
61
+ Prisma.empty = empty
62
+ Prisma.join = join
63
+ Prisma.raw = raw
64
+ Prisma.validator = Public.validator
65
+
66
+ /**
67
+ * Extensions
68
+ */
69
+ Prisma.getExtensionContext = Extensions.getExtensionContext
70
+ Prisma.defineExtension = Extensions.defineExtension
71
+
72
+ /**
73
+ * Shorthand utilities for JSON filtering
74
+ */
75
+ Prisma.DbNull = DbNull
76
+ Prisma.JsonNull = JsonNull
77
+ Prisma.AnyNull = AnyNull
78
+
79
+ Prisma.NullTypes = NullTypes
80
+
81
+
82
+
83
+
84
+ const path = require('path')
85
+
86
+ /**
87
+ * Enums
88
+ */
89
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
90
+ ReadUncommitted: 'ReadUncommitted',
91
+ ReadCommitted: 'ReadCommitted',
92
+ RepeatableRead: 'RepeatableRead',
93
+ Serializable: 'Serializable'
94
+ });
95
+
96
+ exports.Prisma.ProcessesScalarFieldEnum = {
97
+ id: 'id',
98
+ result: 'result',
99
+ status: 'status',
100
+ error: 'error',
101
+ timestamp: 'timestamp'
102
+ };
103
+
104
+ exports.Prisma.TasksScalarFieldEnum = {
105
+ id: 'id',
106
+ internal_id: 'internal_id',
107
+ handler_id: 'handler_id',
108
+ parent_id: 'parent_id',
109
+ process_id: 'process_id',
110
+ inputs: 'inputs',
111
+ result: 'result',
112
+ status: 'status',
113
+ error: 'error',
114
+ timestamp: 'timestamp'
115
+ };
116
+
117
+ exports.Prisma.SortOrder = {
118
+ asc: 'asc',
119
+ desc: 'desc'
120
+ };
121
+
122
+ exports.Prisma.NullableJsonNullValueInput = {
123
+ DbNull: Prisma.DbNull,
124
+ JsonNull: Prisma.JsonNull
125
+ };
126
+
127
+ exports.Prisma.QueryMode = {
128
+ default: 'default',
129
+ insensitive: 'insensitive'
130
+ };
131
+
132
+ exports.Prisma.JsonNullValueFilter = {
133
+ DbNull: Prisma.DbNull,
134
+ JsonNull: Prisma.JsonNull,
135
+ AnyNull: Prisma.AnyNull
136
+ };
137
+
138
+ exports.Prisma.NullsOrder = {
139
+ first: 'first',
140
+ last: 'last'
141
+ };
142
+
143
+
144
+ exports.Prisma.ModelName = {
145
+ processes: 'processes',
146
+ tasks: 'tasks'
147
+ };
148
+ /**
149
+ * Create the Client
150
+ */
151
+ const config = {
152
+ "previewFeatures": [],
153
+ "clientVersion": "7.3.0",
154
+ "engineVersion": "9d6ad21cbbceab97458517b147a6a09ff43aa735",
155
+ "activeProvider": "postgresql",
156
+ "inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"../src/prisma\"\n engineType = \"library\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\n/// This table contains check constraints and requires additional setup for migrations. Visit https://pris.ly/d/check-constraints for more info.\nmodel processes {\n id String @id @default(dbgenerated(\"gen_random_uuid()\")) @db.Uuid\n result Json?\n status String @default(\"pending\")\n error Json?\n timestamp DateTime @default(now()) @db.Timestamptz(6)\n tasks tasks[]\n}\n\n/// This table contains check constraints and requires additional setup for migrations. Visit https://pris.ly/d/check-constraints for more info.\nmodel tasks {\n id String @id @default(dbgenerated(\"gen_random_uuid()\")) @db.Uuid\n internal_id String\n handler_id String\n parent_id String?\n process_id String @db.Uuid\n inputs Json?\n result Json?\n status String @default(\"pending\")\n error String?\n timestamp DateTime @default(now()) @db.Timestamptz(6)\n processes processes @relation(fields: [process_id], references: [id], onDelete: Cascade, map: \"fk_processes\")\n}\n"
157
+ }
158
+
159
+ config.runtimeDataModel = JSON.parse("{\"models\":{\"processes\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"result\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"error\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"timestamp\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"tasks\",\"kind\":\"object\",\"type\":\"tasks\",\"relationName\":\"processesTotasks\"}],\"dbName\":null},\"tasks\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"internal_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"handler_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"parent_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"process_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"inputs\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"result\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"error\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"timestamp\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"processes\",\"kind\":\"object\",\"type\":\"processes\",\"relationName\":\"processesTotasks\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}")
160
+ defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
161
+ config.compilerWasm = {
162
+ getRuntime: async () => require('./query_compiler_fast_bg.js'),
163
+ getQueryCompilerWasmModule: async () => {
164
+ const { Buffer } = require('node:buffer')
165
+ const { wasm } = require('./query_compiler_fast_bg.wasm-base64.js')
166
+ const queryCompilerWasmFileBytes = Buffer.from(wasm, 'base64')
167
+
168
+ return new WebAssembly.Module(queryCompilerWasmFileBytes)
169
+ },
170
+ importName: './query_compiler_fast_bg.js',
171
+ }
172
+
173
+ const PrismaClient = getPrismaClient(config)
174
+ exports.PrismaClient = PrismaClient
175
+ Object.assign(exports, Prisma)
@@ -0,0 +1,202 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * WARNING: This is an internal file that is subject to change!
8
+ *
9
+ * 🛑 Under no circumstances should you import this file directly! 🛑
10
+ *
11
+ * Please import the `PrismaClient` class from the `client.ts` file instead.
12
+ */
13
+
14
+ import * as runtime from "@prisma/client/runtime/client"
15
+ import type * as Prisma from "./prismaNamespace.js"
16
+
17
+
18
+ const config: runtime.GetPrismaClientConfig = {
19
+ "previewFeatures": [],
20
+ "clientVersion": "7.3.0",
21
+ "engineVersion": "9d6ad21cbbceab97458517b147a6a09ff43aa735",
22
+ "activeProvider": "postgresql",
23
+ "inlineSchema": "generator client {\n provider = \"prisma-client\"\n output = \"../src/prisma\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n}\n\n/// This table contains check constraints and requires additional setup for migrations. Visit https://pris.ly/d/check-constraints for more info.\nmodel processes {\n id String @id @default(dbgenerated(\"gen_random_uuid()\")) @db.Uuid\n result Json?\n status String @default(\"pending\")\n error Json?\n timestamp DateTime @default(now()) @db.Timestamptz(6)\n tasks tasks[]\n}\n\n/// This table contains check constraints and requires additional setup for migrations. Visit https://pris.ly/d/check-constraints for more info.\nmodel tasks {\n id String @id @default(dbgenerated(\"gen_random_uuid()\")) @db.Uuid\n internal_id String\n handler_id String\n parent_id String?\n process_id String @db.Uuid\n inputs Json?\n result Json?\n status String @default(\"pending\")\n error String?\n timestamp DateTime @default(now()) @db.Timestamptz(6)\n processes processes @relation(fields: [process_id], references: [id], onDelete: Cascade, map: \"fk_processes\")\n}\n",
24
+ "runtimeDataModel": {
25
+ "models": {},
26
+ "enums": {},
27
+ "types": {}
28
+ }
29
+ }
30
+
31
+ config.runtimeDataModel = JSON.parse("{\"models\":{\"processes\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"result\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"error\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"timestamp\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"tasks\",\"kind\":\"object\",\"type\":\"tasks\",\"relationName\":\"processesTotasks\"}],\"dbName\":null},\"tasks\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"internal_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"handler_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"parent_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"process_id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"inputs\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"result\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"status\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"error\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"timestamp\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"processes\",\"kind\":\"object\",\"type\":\"processes\",\"relationName\":\"processesTotasks\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}")
32
+
33
+ async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
34
+ const { Buffer } = await import('node:buffer')
35
+ const wasmArray = Buffer.from(wasmBase64, 'base64')
36
+ return new WebAssembly.Module(wasmArray)
37
+ }
38
+
39
+ config.compilerWasm = {
40
+ getRuntime: async () => await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs"),
41
+
42
+ getQueryCompilerWasmModule: async () => {
43
+ const { wasm } = await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs")
44
+ return await decodeBase64AsWasm(wasm)
45
+ },
46
+
47
+ importName: "./query_compiler_fast_bg.js"
48
+ }
49
+
50
+
51
+
52
+ export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> =
53
+ 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never
54
+
55
+ export interface PrismaClientConstructor {
56
+ /**
57
+ * ## Prisma Client
58
+ *
59
+ * Type-safe database client for TypeScript
60
+ * @example
61
+ * ```
62
+ * const prisma = new PrismaClient()
63
+ * // Fetch zero or more Processes
64
+ * const processes = await prisma.processes.findMany()
65
+ * ```
66
+ *
67
+ * Read more in our [docs](https://pris.ly/d/client).
68
+ */
69
+
70
+ new <
71
+ Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions,
72
+ LogOpts extends LogOptions<Options> = LogOptions<Options>,
73
+ OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } ? U : Prisma.PrismaClientOptions['omit'],
74
+ ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs
75
+ >(options: Prisma.Subset<Options, Prisma.PrismaClientOptions> ): PrismaClient<LogOpts, OmitOpts, ExtArgs>
76
+ }
77
+
78
+ /**
79
+ * ## Prisma Client
80
+ *
81
+ * Type-safe database client for TypeScript
82
+ * @example
83
+ * ```
84
+ * const prisma = new PrismaClient()
85
+ * // Fetch zero or more Processes
86
+ * const processes = await prisma.processes.findMany()
87
+ * ```
88
+ *
89
+ * Read more in our [docs](https://pris.ly/d/client).
90
+ */
91
+
92
+ export interface PrismaClient<
93
+ in LogOpts extends Prisma.LogLevel = never,
94
+ in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined,
95
+ in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs
96
+ > {
97
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
98
+
99
+ $on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
100
+
101
+ /**
102
+ * Connect with the database
103
+ */
104
+ $connect(): runtime.Types.Utils.JsPromise<void>;
105
+
106
+ /**
107
+ * Disconnect from the database
108
+ */
109
+ $disconnect(): runtime.Types.Utils.JsPromise<void>;
110
+
111
+ /**
112
+ * Executes a prepared raw query and returns the number of affected rows.
113
+ * @example
114
+ * ```
115
+ * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
116
+ * ```
117
+ *
118
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
119
+ */
120
+ $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
121
+
122
+ /**
123
+ * Executes a raw query and returns the number of affected rows.
124
+ * Susceptible to SQL injections, see documentation.
125
+ * @example
126
+ * ```
127
+ * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
128
+ * ```
129
+ *
130
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
131
+ */
132
+ $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
133
+
134
+ /**
135
+ * Performs a prepared raw query and returns the `SELECT` data.
136
+ * @example
137
+ * ```
138
+ * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
139
+ * ```
140
+ *
141
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
142
+ */
143
+ $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
144
+
145
+ /**
146
+ * Performs a raw query and returns the `SELECT` data.
147
+ * Susceptible to SQL injections, see documentation.
148
+ * @example
149
+ * ```
150
+ * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
151
+ * ```
152
+ *
153
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
154
+ */
155
+ $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
156
+
157
+
158
+ /**
159
+ * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
160
+ * @example
161
+ * ```
162
+ * const [george, bob, alice] = await prisma.$transaction([
163
+ * prisma.user.create({ data: { name: 'George' } }),
164
+ * prisma.user.create({ data: { name: 'Bob' } }),
165
+ * prisma.user.create({ data: { name: 'Alice' } }),
166
+ * ])
167
+ * ```
168
+ *
169
+ * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
170
+ */
171
+ $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
172
+
173
+ $transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise<R>
174
+
175
+ $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
176
+ extArgs: ExtArgs
177
+ }>>
178
+
179
+ /**
180
+ * `prisma.processes`: Exposes CRUD operations for the **processes** model.
181
+ * Example usage:
182
+ * ```ts
183
+ * // Fetch zero or more Processes
184
+ * const processes = await prisma.processes.findMany()
185
+ * ```
186
+ */
187
+ get processes(): Prisma.processesDelegate<ExtArgs, { omit: OmitOpts }>;
188
+
189
+ /**
190
+ * `prisma.tasks`: Exposes CRUD operations for the **tasks** model.
191
+ * Example usage:
192
+ * ```ts
193
+ * // Fetch zero or more Tasks
194
+ * const tasks = await prisma.tasks.findMany()
195
+ * ```
196
+ */
197
+ get tasks(): Prisma.tasksDelegate<ExtArgs, { omit: OmitOpts }>;
198
+ }
199
+
200
+ export function getPrismaClientClass(): PrismaClientConstructor {
201
+ return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor
202
+ }