@fonoster/identity 0.9.4 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/db.d.ts +1 -1
- package/dist/generated/@prisma/client/edge.js +6 -4
- package/dist/generated/@prisma/client/index-browser.js +2 -2
- package/dist/generated/@prisma/client/index.d.ts +386 -116
- package/dist/generated/@prisma/client/index.js +6 -4
- package/dist/generated/@prisma/client/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/dist/generated/@prisma/client/package.json +1 -1
- package/dist/generated/@prisma/client/runtime/edge-esm.js +18 -18
- package/dist/generated/@prisma/client/runtime/edge.js +18 -18
- package/dist/generated/@prisma/client/runtime/index-browser.d.ts +1 -1
- package/dist/generated/@prisma/client/runtime/library.d.ts +107 -38
- package/dist/generated/@prisma/client/runtime/library.js +53 -53
- package/dist/generated/@prisma/client/runtime/react-native.js +26 -26
- package/dist/generated/@prisma/client/runtime/wasm.js +19 -19
- package/dist/generated/@prisma/client/wasm.js +2 -2
- package/dist/utils/createGetUserByAccessKeyId.d.ts +1 -1
- package/package.json +6 -6
|
@@ -94,7 +94,7 @@ export const ApiKeyRole: typeof $Enums.ApiKeyRole
|
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* ## Prisma Client ʲˢ
|
|
97
|
-
*
|
|
97
|
+
*
|
|
98
98
|
* Type-safe database client for TypeScript & Node.js
|
|
99
99
|
* @example
|
|
100
100
|
* ```
|
|
@@ -103,7 +103,7 @@ export const ApiKeyRole: typeof $Enums.ApiKeyRole
|
|
|
103
103
|
* const users = await prisma.user.findMany()
|
|
104
104
|
* ```
|
|
105
105
|
*
|
|
106
|
-
*
|
|
106
|
+
*
|
|
107
107
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
|
|
108
108
|
*/
|
|
109
109
|
export class PrismaClient<
|
|
@@ -115,7 +115,7 @@ export class PrismaClient<
|
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* ## Prisma Client ʲˢ
|
|
118
|
-
*
|
|
118
|
+
*
|
|
119
119
|
* Type-safe database client for TypeScript & Node.js
|
|
120
120
|
* @example
|
|
121
121
|
* ```
|
|
@@ -124,7 +124,7 @@ export class PrismaClient<
|
|
|
124
124
|
* const users = await prisma.user.findMany()
|
|
125
125
|
* ```
|
|
126
126
|
*
|
|
127
|
-
*
|
|
127
|
+
*
|
|
128
128
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
|
|
129
129
|
*/
|
|
130
130
|
|
|
@@ -154,7 +154,7 @@ export class PrismaClient<
|
|
|
154
154
|
* ```
|
|
155
155
|
* const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
|
|
156
156
|
* ```
|
|
157
|
-
*
|
|
157
|
+
*
|
|
158
158
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
159
159
|
*/
|
|
160
160
|
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
@@ -166,7 +166,7 @@ export class PrismaClient<
|
|
|
166
166
|
* ```
|
|
167
167
|
* const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
|
|
168
168
|
* ```
|
|
169
|
-
*
|
|
169
|
+
*
|
|
170
170
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
171
171
|
*/
|
|
172
172
|
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
@@ -177,7 +177,7 @@ export class PrismaClient<
|
|
|
177
177
|
* ```
|
|
178
178
|
* const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
|
|
179
179
|
* ```
|
|
180
|
-
*
|
|
180
|
+
*
|
|
181
181
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
182
182
|
*/
|
|
183
183
|
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
@@ -189,7 +189,7 @@ export class PrismaClient<
|
|
|
189
189
|
* ```
|
|
190
190
|
* const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
|
|
191
191
|
* ```
|
|
192
|
-
*
|
|
192
|
+
*
|
|
193
193
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
194
194
|
*/
|
|
195
195
|
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
@@ -213,7 +213,9 @@ export class PrismaClient<
|
|
|
213
213
|
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R>
|
|
214
214
|
|
|
215
215
|
|
|
216
|
-
$extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs
|
|
216
|
+
$extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call<Prisma.TypeMapCb, {
|
|
217
|
+
extArgs: ExtArgs
|
|
218
|
+
}>, ClientOptions>
|
|
217
219
|
|
|
218
220
|
/**
|
|
219
221
|
* `prisma.user`: Exposes CRUD operations for the **User** model.
|
|
@@ -223,7 +225,7 @@ export class PrismaClient<
|
|
|
223
225
|
* const users = await prisma.user.findMany()
|
|
224
226
|
* ```
|
|
225
227
|
*/
|
|
226
|
-
get user(): Prisma.UserDelegate<ExtArgs>;
|
|
228
|
+
get user(): Prisma.UserDelegate<ExtArgs, ClientOptions>;
|
|
227
229
|
|
|
228
230
|
/**
|
|
229
231
|
* `prisma.workspace`: Exposes CRUD operations for the **Workspace** model.
|
|
@@ -233,7 +235,7 @@ export class PrismaClient<
|
|
|
233
235
|
* const workspaces = await prisma.workspace.findMany()
|
|
234
236
|
* ```
|
|
235
237
|
*/
|
|
236
|
-
get workspace(): Prisma.WorkspaceDelegate<ExtArgs>;
|
|
238
|
+
get workspace(): Prisma.WorkspaceDelegate<ExtArgs, ClientOptions>;
|
|
237
239
|
|
|
238
240
|
/**
|
|
239
241
|
* `prisma.workspaceMember`: Exposes CRUD operations for the **WorkspaceMember** model.
|
|
@@ -243,7 +245,7 @@ export class PrismaClient<
|
|
|
243
245
|
* const workspaceMembers = await prisma.workspaceMember.findMany()
|
|
244
246
|
* ```
|
|
245
247
|
*/
|
|
246
|
-
get workspaceMember(): Prisma.WorkspaceMemberDelegate<ExtArgs>;
|
|
248
|
+
get workspaceMember(): Prisma.WorkspaceMemberDelegate<ExtArgs, ClientOptions>;
|
|
247
249
|
|
|
248
250
|
/**
|
|
249
251
|
* `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model.
|
|
@@ -253,7 +255,7 @@ export class PrismaClient<
|
|
|
253
255
|
* const apiKeys = await prisma.apiKey.findMany()
|
|
254
256
|
* ```
|
|
255
257
|
*/
|
|
256
|
-
get apiKey(): Prisma.ApiKeyDelegate<ExtArgs>;
|
|
258
|
+
get apiKey(): Prisma.ApiKeyDelegate<ExtArgs, ClientOptions>;
|
|
257
259
|
|
|
258
260
|
/**
|
|
259
261
|
* `prisma.verificationCode`: Exposes CRUD operations for the **VerificationCode** model.
|
|
@@ -263,7 +265,7 @@ export class PrismaClient<
|
|
|
263
265
|
* const verificationCodes = await prisma.verificationCode.findMany()
|
|
264
266
|
* ```
|
|
265
267
|
*/
|
|
266
|
-
get verificationCode(): Prisma.VerificationCodeDelegate<ExtArgs>;
|
|
268
|
+
get verificationCode(): Prisma.VerificationCodeDelegate<ExtArgs, ClientOptions>;
|
|
267
269
|
}
|
|
268
270
|
|
|
269
271
|
export namespace Prisma {
|
|
@@ -304,7 +306,7 @@ export namespace Prisma {
|
|
|
304
306
|
export type DecimalJsLike = runtime.DecimalJsLike
|
|
305
307
|
|
|
306
308
|
/**
|
|
307
|
-
* Metrics
|
|
309
|
+
* Metrics
|
|
308
310
|
*/
|
|
309
311
|
export type Metrics = runtime.Metrics
|
|
310
312
|
export type Metric<T> = runtime.Metric<T>
|
|
@@ -322,14 +324,14 @@ export namespace Prisma {
|
|
|
322
324
|
export import Exact = $Public.Exact
|
|
323
325
|
|
|
324
326
|
/**
|
|
325
|
-
* Prisma Client JS version: 6.1
|
|
327
|
+
* Prisma Client JS version: 6.3.1
|
|
326
328
|
* Query Engine version: 11f085a2012c0f4778414c8db2651556ee0ef959
|
|
327
329
|
*/
|
|
328
330
|
export type PrismaVersion = {
|
|
329
331
|
client: string
|
|
330
332
|
}
|
|
331
333
|
|
|
332
|
-
export const prismaVersion: PrismaVersion
|
|
334
|
+
export const prismaVersion: PrismaVersion
|
|
333
335
|
|
|
334
336
|
/**
|
|
335
337
|
* Utility Types
|
|
@@ -345,15 +347,15 @@ export namespace Prisma {
|
|
|
345
347
|
|
|
346
348
|
/**
|
|
347
349
|
* Types of the values used to represent different kinds of `null` values when working with JSON fields.
|
|
348
|
-
*
|
|
350
|
+
*
|
|
349
351
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
350
352
|
*/
|
|
351
353
|
namespace NullTypes {
|
|
352
354
|
/**
|
|
353
355
|
* Type of `Prisma.DbNull`.
|
|
354
|
-
*
|
|
356
|
+
*
|
|
355
357
|
* You cannot use other instances of this class. Please use the `Prisma.DbNull` value.
|
|
356
|
-
*
|
|
358
|
+
*
|
|
357
359
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
358
360
|
*/
|
|
359
361
|
class DbNull {
|
|
@@ -363,9 +365,9 @@ export namespace Prisma {
|
|
|
363
365
|
|
|
364
366
|
/**
|
|
365
367
|
* Type of `Prisma.JsonNull`.
|
|
366
|
-
*
|
|
368
|
+
*
|
|
367
369
|
* You cannot use other instances of this class. Please use the `Prisma.JsonNull` value.
|
|
368
|
-
*
|
|
370
|
+
*
|
|
369
371
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
370
372
|
*/
|
|
371
373
|
class JsonNull {
|
|
@@ -375,9 +377,9 @@ export namespace Prisma {
|
|
|
375
377
|
|
|
376
378
|
/**
|
|
377
379
|
* Type of `Prisma.AnyNull`.
|
|
378
|
-
*
|
|
380
|
+
*
|
|
379
381
|
* You cannot use other instances of this class. Please use the `Prisma.AnyNull` value.
|
|
380
|
-
*
|
|
382
|
+
*
|
|
381
383
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
382
384
|
*/
|
|
383
385
|
class AnyNull {
|
|
@@ -388,21 +390,21 @@ export namespace Prisma {
|
|
|
388
390
|
|
|
389
391
|
/**
|
|
390
392
|
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
391
|
-
*
|
|
393
|
+
*
|
|
392
394
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
393
395
|
*/
|
|
394
396
|
export const DbNull: NullTypes.DbNull
|
|
395
397
|
|
|
396
398
|
/**
|
|
397
399
|
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
398
|
-
*
|
|
400
|
+
*
|
|
399
401
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
400
402
|
*/
|
|
401
403
|
export const JsonNull: NullTypes.JsonNull
|
|
402
404
|
|
|
403
405
|
/**
|
|
404
406
|
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
405
|
-
*
|
|
407
|
+
*
|
|
406
408
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
407
409
|
*/
|
|
408
410
|
export const AnyNull: NullTypes.AnyNull
|
|
@@ -1145,8 +1147,29 @@ export namespace Prisma {
|
|
|
1145
1147
|
timeout?: number
|
|
1146
1148
|
isolationLevel?: Prisma.TransactionIsolationLevel
|
|
1147
1149
|
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Global configuration for omitting model fields by default.
|
|
1152
|
+
*
|
|
1153
|
+
* @example
|
|
1154
|
+
* ```
|
|
1155
|
+
* const prisma = new PrismaClient({
|
|
1156
|
+
* omit: {
|
|
1157
|
+
* user: {
|
|
1158
|
+
* password: true
|
|
1159
|
+
* }
|
|
1160
|
+
* }
|
|
1161
|
+
* })
|
|
1162
|
+
* ```
|
|
1163
|
+
*/
|
|
1164
|
+
omit?: Prisma.GlobalOmitConfig
|
|
1165
|
+
}
|
|
1166
|
+
export type GlobalOmitConfig = {
|
|
1167
|
+
user?: UserOmit
|
|
1168
|
+
workspace?: WorkspaceOmit
|
|
1169
|
+
workspaceMember?: WorkspaceMemberOmit
|
|
1170
|
+
apiKey?: ApiKeyOmit
|
|
1171
|
+
verificationCode?: VerificationCodeOmit
|
|
1148
1172
|
}
|
|
1149
|
-
|
|
1150
1173
|
|
|
1151
1174
|
/* Types for Logging */
|
|
1152
1175
|
export type LogLevel = 'info' | 'query' | 'warn' | 'error'
|
|
@@ -1187,6 +1210,7 @@ export namespace Prisma {
|
|
|
1187
1210
|
| 'createManyAndReturn'
|
|
1188
1211
|
| 'update'
|
|
1189
1212
|
| 'updateMany'
|
|
1213
|
+
| 'updateManyAndReturn'
|
|
1190
1214
|
| 'upsert'
|
|
1191
1215
|
| 'delete'
|
|
1192
1216
|
| 'deleteMany'
|
|
@@ -1554,6 +1578,7 @@ export namespace Prisma {
|
|
|
1554
1578
|
extended?: boolean
|
|
1555
1579
|
}, ExtArgs["result"]["user"]>
|
|
1556
1580
|
|
|
1581
|
+
|
|
1557
1582
|
export type UserSelectScalar = {
|
|
1558
1583
|
ref?: boolean
|
|
1559
1584
|
accessKeyId?: boolean
|
|
@@ -1569,6 +1594,7 @@ export namespace Prisma {
|
|
|
1569
1594
|
extended?: boolean
|
|
1570
1595
|
}
|
|
1571
1596
|
|
|
1597
|
+
export type UserOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"ref" | "accessKeyId" | "name" | "email" | "emailVerified" | "password" | "phoneNumber" | "phoneNumberVerified" | "avatar" | "createdAt" | "updatedAt" | "extended", ExtArgs["result"]["user"]>
|
|
1572
1598
|
export type UserInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1573
1599
|
ownedWorkspaces?: boolean | User$ownedWorkspacesArgs<ExtArgs>
|
|
1574
1600
|
memberships?: boolean | User$membershipsArgs<ExtArgs>
|
|
@@ -1604,12 +1630,12 @@ export namespace Prisma {
|
|
|
1604
1630
|
|
|
1605
1631
|
type UserGetPayload<S extends boolean | null | undefined | UserDefaultArgs> = $Result.GetResult<Prisma.$UserPayload, S>
|
|
1606
1632
|
|
|
1607
|
-
type UserCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
1608
|
-
Omit<UserFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
1633
|
+
type UserCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
1634
|
+
Omit<UserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1609
1635
|
select?: UserCountAggregateInputType | true
|
|
1610
1636
|
}
|
|
1611
1637
|
|
|
1612
|
-
export interface UserDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
1638
|
+
export interface UserDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
|
|
1613
1639
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['User'], meta: { name: 'User' } }
|
|
1614
1640
|
/**
|
|
1615
1641
|
* Find zero or one User that matches the filter.
|
|
@@ -1622,10 +1648,10 @@ export namespace Prisma {
|
|
|
1622
1648
|
* }
|
|
1623
1649
|
* })
|
|
1624
1650
|
*/
|
|
1625
|
-
findUnique<T extends UserFindUniqueArgs>(args: SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
|
1651
|
+
findUnique<T extends UserFindUniqueArgs>(args: SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
1626
1652
|
|
|
1627
1653
|
/**
|
|
1628
|
-
* Find one User that matches the filter or throw an error with `error.code='P2025'`
|
|
1654
|
+
* Find one User that matches the filter or throw an error with `error.code='P2025'`
|
|
1629
1655
|
* if no matches were found.
|
|
1630
1656
|
* @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User
|
|
1631
1657
|
* @example
|
|
@@ -1636,7 +1662,7 @@ export namespace Prisma {
|
|
|
1636
1662
|
* }
|
|
1637
1663
|
* })
|
|
1638
1664
|
*/
|
|
1639
|
-
findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>(args: SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
|
1665
|
+
findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>(args: SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
1640
1666
|
|
|
1641
1667
|
/**
|
|
1642
1668
|
* Find the first User that matches the filter.
|
|
@@ -1651,7 +1677,7 @@ export namespace Prisma {
|
|
|
1651
1677
|
* }
|
|
1652
1678
|
* })
|
|
1653
1679
|
*/
|
|
1654
|
-
findFirst<T extends UserFindFirstArgs>(args?: SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
|
1680
|
+
findFirst<T extends UserFindFirstArgs>(args?: SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
1655
1681
|
|
|
1656
1682
|
/**
|
|
1657
1683
|
* Find the first User that matches the filter or
|
|
@@ -1667,7 +1693,7 @@ export namespace Prisma {
|
|
|
1667
1693
|
* }
|
|
1668
1694
|
* })
|
|
1669
1695
|
*/
|
|
1670
|
-
findFirstOrThrow<T extends UserFindFirstOrThrowArgs>(args?: SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
|
1696
|
+
findFirstOrThrow<T extends UserFindFirstOrThrowArgs>(args?: SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
1671
1697
|
|
|
1672
1698
|
/**
|
|
1673
1699
|
* Find zero or more Users that matches the filter.
|
|
@@ -1685,7 +1711,7 @@ export namespace Prisma {
|
|
|
1685
1711
|
* const userWithRefOnly = await prisma.user.findMany({ select: { ref: true } })
|
|
1686
1712
|
*
|
|
1687
1713
|
*/
|
|
1688
|
-
findMany<T extends UserFindManyArgs>(args?: SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany">>
|
|
1714
|
+
findMany<T extends UserFindManyArgs>(args?: SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", ClientOptions>>
|
|
1689
1715
|
|
|
1690
1716
|
/**
|
|
1691
1717
|
* Create a User.
|
|
@@ -1699,7 +1725,7 @@ export namespace Prisma {
|
|
|
1699
1725
|
* })
|
|
1700
1726
|
*
|
|
1701
1727
|
*/
|
|
1702
|
-
create<T extends UserCreateArgs>(args: SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "create">, never, ExtArgs>
|
|
1728
|
+
create<T extends UserCreateArgs>(args: SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
1703
1729
|
|
|
1704
1730
|
/**
|
|
1705
1731
|
* Create many Users.
|
|
@@ -1727,7 +1753,7 @@ export namespace Prisma {
|
|
|
1727
1753
|
* })
|
|
1728
1754
|
*
|
|
1729
1755
|
* // Create many Users and only return the `ref`
|
|
1730
|
-
* const userWithRefOnly = await prisma.user.createManyAndReturn({
|
|
1756
|
+
* const userWithRefOnly = await prisma.user.createManyAndReturn({
|
|
1731
1757
|
* select: { ref: true },
|
|
1732
1758
|
* data: [
|
|
1733
1759
|
* // ... provide data here
|
|
@@ -1737,7 +1763,7 @@ export namespace Prisma {
|
|
|
1737
1763
|
* Read more here: https://pris.ly/d/null-undefined
|
|
1738
1764
|
*
|
|
1739
1765
|
*/
|
|
1740
|
-
createManyAndReturn<T extends UserCreateManyAndReturnArgs>(args?: SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "createManyAndReturn">>
|
|
1766
|
+
createManyAndReturn<T extends UserCreateManyAndReturnArgs>(args?: SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
|
|
1741
1767
|
|
|
1742
1768
|
/**
|
|
1743
1769
|
* Delete a User.
|
|
@@ -1751,7 +1777,7 @@ export namespace Prisma {
|
|
|
1751
1777
|
* })
|
|
1752
1778
|
*
|
|
1753
1779
|
*/
|
|
1754
|
-
delete<T extends UserDeleteArgs>(args: SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
|
1780
|
+
delete<T extends UserDeleteArgs>(args: SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
1755
1781
|
|
|
1756
1782
|
/**
|
|
1757
1783
|
* Update one User.
|
|
@@ -1768,7 +1794,7 @@ export namespace Prisma {
|
|
|
1768
1794
|
* })
|
|
1769
1795
|
*
|
|
1770
1796
|
*/
|
|
1771
|
-
update<T extends UserUpdateArgs>(args: SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "update">, never, ExtArgs>
|
|
1797
|
+
update<T extends UserUpdateArgs>(args: SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
1772
1798
|
|
|
1773
1799
|
/**
|
|
1774
1800
|
* Delete zero or more Users.
|
|
@@ -1820,7 +1846,7 @@ export namespace Prisma {
|
|
|
1820
1846
|
* }
|
|
1821
1847
|
* })
|
|
1822
1848
|
*/
|
|
1823
|
-
upsert<T extends UserUpsertArgs>(args: SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
|
1849
|
+
upsert<T extends UserUpsertArgs>(args: SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
1824
1850
|
|
|
1825
1851
|
|
|
1826
1852
|
/**
|
|
@@ -1960,10 +1986,10 @@ export namespace Prisma {
|
|
|
1960
1986
|
* Because we want to prevent naming conflicts as mentioned in
|
|
1961
1987
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1962
1988
|
*/
|
|
1963
|
-
export interface Prisma__UserClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
1989
|
+
export interface Prisma__UserClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1964
1990
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1965
|
-
ownedWorkspaces<T extends User$ownedWorkspacesArgs<ExtArgs> = {}>(args?: Subset<T, User$ownedWorkspacesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findMany"> | Null>
|
|
1966
|
-
memberships<T extends User$membershipsArgs<ExtArgs> = {}>(args?: Subset<T, User$membershipsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findMany"> | Null>
|
|
1991
|
+
ownedWorkspaces<T extends User$ownedWorkspacesArgs<ExtArgs> = {}>(args?: Subset<T, User$ownedWorkspacesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
|
1992
|
+
memberships<T extends User$membershipsArgs<ExtArgs> = {}>(args?: Subset<T, User$membershipsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
|
1967
1993
|
/**
|
|
1968
1994
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1969
1995
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -2017,6 +2043,10 @@ export namespace Prisma {
|
|
|
2017
2043
|
* Select specific fields to fetch from the User
|
|
2018
2044
|
*/
|
|
2019
2045
|
select?: UserSelect<ExtArgs> | null
|
|
2046
|
+
/**
|
|
2047
|
+
* Omit specific fields from the User
|
|
2048
|
+
*/
|
|
2049
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2020
2050
|
/**
|
|
2021
2051
|
* Choose, which related nodes to fetch as well
|
|
2022
2052
|
*/
|
|
@@ -2035,6 +2065,10 @@ export namespace Prisma {
|
|
|
2035
2065
|
* Select specific fields to fetch from the User
|
|
2036
2066
|
*/
|
|
2037
2067
|
select?: UserSelect<ExtArgs> | null
|
|
2068
|
+
/**
|
|
2069
|
+
* Omit specific fields from the User
|
|
2070
|
+
*/
|
|
2071
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2038
2072
|
/**
|
|
2039
2073
|
* Choose, which related nodes to fetch as well
|
|
2040
2074
|
*/
|
|
@@ -2053,6 +2087,10 @@ export namespace Prisma {
|
|
|
2053
2087
|
* Select specific fields to fetch from the User
|
|
2054
2088
|
*/
|
|
2055
2089
|
select?: UserSelect<ExtArgs> | null
|
|
2090
|
+
/**
|
|
2091
|
+
* Omit specific fields from the User
|
|
2092
|
+
*/
|
|
2093
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2056
2094
|
/**
|
|
2057
2095
|
* Choose, which related nodes to fetch as well
|
|
2058
2096
|
*/
|
|
@@ -2101,6 +2139,10 @@ export namespace Prisma {
|
|
|
2101
2139
|
* Select specific fields to fetch from the User
|
|
2102
2140
|
*/
|
|
2103
2141
|
select?: UserSelect<ExtArgs> | null
|
|
2142
|
+
/**
|
|
2143
|
+
* Omit specific fields from the User
|
|
2144
|
+
*/
|
|
2145
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2104
2146
|
/**
|
|
2105
2147
|
* Choose, which related nodes to fetch as well
|
|
2106
2148
|
*/
|
|
@@ -2149,6 +2191,10 @@ export namespace Prisma {
|
|
|
2149
2191
|
* Select specific fields to fetch from the User
|
|
2150
2192
|
*/
|
|
2151
2193
|
select?: UserSelect<ExtArgs> | null
|
|
2194
|
+
/**
|
|
2195
|
+
* Omit specific fields from the User
|
|
2196
|
+
*/
|
|
2197
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2152
2198
|
/**
|
|
2153
2199
|
* Choose, which related nodes to fetch as well
|
|
2154
2200
|
*/
|
|
@@ -2192,6 +2238,10 @@ export namespace Prisma {
|
|
|
2192
2238
|
* Select specific fields to fetch from the User
|
|
2193
2239
|
*/
|
|
2194
2240
|
select?: UserSelect<ExtArgs> | null
|
|
2241
|
+
/**
|
|
2242
|
+
* Omit specific fields from the User
|
|
2243
|
+
*/
|
|
2244
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2195
2245
|
/**
|
|
2196
2246
|
* Choose, which related nodes to fetch as well
|
|
2197
2247
|
*/
|
|
@@ -2221,6 +2271,10 @@ export namespace Prisma {
|
|
|
2221
2271
|
* Select specific fields to fetch from the User
|
|
2222
2272
|
*/
|
|
2223
2273
|
select?: UserSelectCreateManyAndReturn<ExtArgs> | null
|
|
2274
|
+
/**
|
|
2275
|
+
* Omit specific fields from the User
|
|
2276
|
+
*/
|
|
2277
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2224
2278
|
/**
|
|
2225
2279
|
* The data used to create many Users.
|
|
2226
2280
|
*/
|
|
@@ -2236,6 +2290,10 @@ export namespace Prisma {
|
|
|
2236
2290
|
* Select specific fields to fetch from the User
|
|
2237
2291
|
*/
|
|
2238
2292
|
select?: UserSelect<ExtArgs> | null
|
|
2293
|
+
/**
|
|
2294
|
+
* Omit specific fields from the User
|
|
2295
|
+
*/
|
|
2296
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2239
2297
|
/**
|
|
2240
2298
|
* Choose, which related nodes to fetch as well
|
|
2241
2299
|
*/
|
|
@@ -2272,6 +2330,10 @@ export namespace Prisma {
|
|
|
2272
2330
|
* Select specific fields to fetch from the User
|
|
2273
2331
|
*/
|
|
2274
2332
|
select?: UserSelect<ExtArgs> | null
|
|
2333
|
+
/**
|
|
2334
|
+
* Omit specific fields from the User
|
|
2335
|
+
*/
|
|
2336
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2275
2337
|
/**
|
|
2276
2338
|
* Choose, which related nodes to fetch as well
|
|
2277
2339
|
*/
|
|
@@ -2298,6 +2360,10 @@ export namespace Prisma {
|
|
|
2298
2360
|
* Select specific fields to fetch from the User
|
|
2299
2361
|
*/
|
|
2300
2362
|
select?: UserSelect<ExtArgs> | null
|
|
2363
|
+
/**
|
|
2364
|
+
* Omit specific fields from the User
|
|
2365
|
+
*/
|
|
2366
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2301
2367
|
/**
|
|
2302
2368
|
* Choose, which related nodes to fetch as well
|
|
2303
2369
|
*/
|
|
@@ -2326,6 +2392,10 @@ export namespace Prisma {
|
|
|
2326
2392
|
* Select specific fields to fetch from the Workspace
|
|
2327
2393
|
*/
|
|
2328
2394
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
2395
|
+
/**
|
|
2396
|
+
* Omit specific fields from the Workspace
|
|
2397
|
+
*/
|
|
2398
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
2329
2399
|
/**
|
|
2330
2400
|
* Choose, which related nodes to fetch as well
|
|
2331
2401
|
*/
|
|
@@ -2346,6 +2416,10 @@ export namespace Prisma {
|
|
|
2346
2416
|
* Select specific fields to fetch from the WorkspaceMember
|
|
2347
2417
|
*/
|
|
2348
2418
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
2419
|
+
/**
|
|
2420
|
+
* Omit specific fields from the WorkspaceMember
|
|
2421
|
+
*/
|
|
2422
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
2349
2423
|
/**
|
|
2350
2424
|
* Choose, which related nodes to fetch as well
|
|
2351
2425
|
*/
|
|
@@ -2366,6 +2440,10 @@ export namespace Prisma {
|
|
|
2366
2440
|
* Select specific fields to fetch from the User
|
|
2367
2441
|
*/
|
|
2368
2442
|
select?: UserSelect<ExtArgs> | null
|
|
2443
|
+
/**
|
|
2444
|
+
* Omit specific fields from the User
|
|
2445
|
+
*/
|
|
2446
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2369
2447
|
/**
|
|
2370
2448
|
* Choose, which related nodes to fetch as well
|
|
2371
2449
|
*/
|
|
@@ -2561,6 +2639,7 @@ export namespace Prisma {
|
|
|
2561
2639
|
owner?: boolean | UserDefaultArgs<ExtArgs>
|
|
2562
2640
|
}, ExtArgs["result"]["workspace"]>
|
|
2563
2641
|
|
|
2642
|
+
|
|
2564
2643
|
export type WorkspaceSelectScalar = {
|
|
2565
2644
|
ref?: boolean
|
|
2566
2645
|
accessKeyId?: boolean
|
|
@@ -2570,6 +2649,7 @@ export namespace Prisma {
|
|
|
2570
2649
|
ownerRef?: boolean
|
|
2571
2650
|
}
|
|
2572
2651
|
|
|
2652
|
+
export type WorkspaceOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"ref" | "accessKeyId" | "name" | "createdAt" | "updatedAt" | "ownerRef", ExtArgs["result"]["workspace"]>
|
|
2573
2653
|
export type WorkspaceInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2574
2654
|
owner?: boolean | UserDefaultArgs<ExtArgs>
|
|
2575
2655
|
members?: boolean | Workspace$membersArgs<ExtArgs>
|
|
@@ -2600,12 +2680,12 @@ export namespace Prisma {
|
|
|
2600
2680
|
|
|
2601
2681
|
type WorkspaceGetPayload<S extends boolean | null | undefined | WorkspaceDefaultArgs> = $Result.GetResult<Prisma.$WorkspacePayload, S>
|
|
2602
2682
|
|
|
2603
|
-
type WorkspaceCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
2604
|
-
Omit<WorkspaceFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
2683
|
+
type WorkspaceCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
2684
|
+
Omit<WorkspaceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2605
2685
|
select?: WorkspaceCountAggregateInputType | true
|
|
2606
2686
|
}
|
|
2607
2687
|
|
|
2608
|
-
export interface WorkspaceDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
2688
|
+
export interface WorkspaceDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
|
|
2609
2689
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Workspace'], meta: { name: 'Workspace' } }
|
|
2610
2690
|
/**
|
|
2611
2691
|
* Find zero or one Workspace that matches the filter.
|
|
@@ -2618,10 +2698,10 @@ export namespace Prisma {
|
|
|
2618
2698
|
* }
|
|
2619
2699
|
* })
|
|
2620
2700
|
*/
|
|
2621
|
-
findUnique<T extends WorkspaceFindUniqueArgs>(args: SelectSubset<T, WorkspaceFindUniqueArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
|
2701
|
+
findUnique<T extends WorkspaceFindUniqueArgs>(args: SelectSubset<T, WorkspaceFindUniqueArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
2622
2702
|
|
|
2623
2703
|
/**
|
|
2624
|
-
* Find one Workspace that matches the filter or throw an error with `error.code='P2025'`
|
|
2704
|
+
* Find one Workspace that matches the filter or throw an error with `error.code='P2025'`
|
|
2625
2705
|
* if no matches were found.
|
|
2626
2706
|
* @param {WorkspaceFindUniqueOrThrowArgs} args - Arguments to find a Workspace
|
|
2627
2707
|
* @example
|
|
@@ -2632,7 +2712,7 @@ export namespace Prisma {
|
|
|
2632
2712
|
* }
|
|
2633
2713
|
* })
|
|
2634
2714
|
*/
|
|
2635
|
-
findUniqueOrThrow<T extends WorkspaceFindUniqueOrThrowArgs>(args: SelectSubset<T, WorkspaceFindUniqueOrThrowArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
|
2715
|
+
findUniqueOrThrow<T extends WorkspaceFindUniqueOrThrowArgs>(args: SelectSubset<T, WorkspaceFindUniqueOrThrowArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
2636
2716
|
|
|
2637
2717
|
/**
|
|
2638
2718
|
* Find the first Workspace that matches the filter.
|
|
@@ -2647,7 +2727,7 @@ export namespace Prisma {
|
|
|
2647
2727
|
* }
|
|
2648
2728
|
* })
|
|
2649
2729
|
*/
|
|
2650
|
-
findFirst<T extends WorkspaceFindFirstArgs>(args?: SelectSubset<T, WorkspaceFindFirstArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
|
2730
|
+
findFirst<T extends WorkspaceFindFirstArgs>(args?: SelectSubset<T, WorkspaceFindFirstArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
2651
2731
|
|
|
2652
2732
|
/**
|
|
2653
2733
|
* Find the first Workspace that matches the filter or
|
|
@@ -2663,7 +2743,7 @@ export namespace Prisma {
|
|
|
2663
2743
|
* }
|
|
2664
2744
|
* })
|
|
2665
2745
|
*/
|
|
2666
|
-
findFirstOrThrow<T extends WorkspaceFindFirstOrThrowArgs>(args?: SelectSubset<T, WorkspaceFindFirstOrThrowArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
|
2746
|
+
findFirstOrThrow<T extends WorkspaceFindFirstOrThrowArgs>(args?: SelectSubset<T, WorkspaceFindFirstOrThrowArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
2667
2747
|
|
|
2668
2748
|
/**
|
|
2669
2749
|
* Find zero or more Workspaces that matches the filter.
|
|
@@ -2681,7 +2761,7 @@ export namespace Prisma {
|
|
|
2681
2761
|
* const workspaceWithRefOnly = await prisma.workspace.findMany({ select: { ref: true } })
|
|
2682
2762
|
*
|
|
2683
2763
|
*/
|
|
2684
|
-
findMany<T extends WorkspaceFindManyArgs>(args?: SelectSubset<T, WorkspaceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findMany">>
|
|
2764
|
+
findMany<T extends WorkspaceFindManyArgs>(args?: SelectSubset<T, WorkspaceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findMany", ClientOptions>>
|
|
2685
2765
|
|
|
2686
2766
|
/**
|
|
2687
2767
|
* Create a Workspace.
|
|
@@ -2695,7 +2775,7 @@ export namespace Prisma {
|
|
|
2695
2775
|
* })
|
|
2696
2776
|
*
|
|
2697
2777
|
*/
|
|
2698
|
-
create<T extends WorkspaceCreateArgs>(args: SelectSubset<T, WorkspaceCreateArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "create">, never, ExtArgs>
|
|
2778
|
+
create<T extends WorkspaceCreateArgs>(args: SelectSubset<T, WorkspaceCreateArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
2699
2779
|
|
|
2700
2780
|
/**
|
|
2701
2781
|
* Create many Workspaces.
|
|
@@ -2723,7 +2803,7 @@ export namespace Prisma {
|
|
|
2723
2803
|
* })
|
|
2724
2804
|
*
|
|
2725
2805
|
* // Create many Workspaces and only return the `ref`
|
|
2726
|
-
* const workspaceWithRefOnly = await prisma.workspace.createManyAndReturn({
|
|
2806
|
+
* const workspaceWithRefOnly = await prisma.workspace.createManyAndReturn({
|
|
2727
2807
|
* select: { ref: true },
|
|
2728
2808
|
* data: [
|
|
2729
2809
|
* // ... provide data here
|
|
@@ -2733,7 +2813,7 @@ export namespace Prisma {
|
|
|
2733
2813
|
* Read more here: https://pris.ly/d/null-undefined
|
|
2734
2814
|
*
|
|
2735
2815
|
*/
|
|
2736
|
-
createManyAndReturn<T extends WorkspaceCreateManyAndReturnArgs>(args?: SelectSubset<T, WorkspaceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "createManyAndReturn">>
|
|
2816
|
+
createManyAndReturn<T extends WorkspaceCreateManyAndReturnArgs>(args?: SelectSubset<T, WorkspaceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
|
|
2737
2817
|
|
|
2738
2818
|
/**
|
|
2739
2819
|
* Delete a Workspace.
|
|
@@ -2747,7 +2827,7 @@ export namespace Prisma {
|
|
|
2747
2827
|
* })
|
|
2748
2828
|
*
|
|
2749
2829
|
*/
|
|
2750
|
-
delete<T extends WorkspaceDeleteArgs>(args: SelectSubset<T, WorkspaceDeleteArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
|
2830
|
+
delete<T extends WorkspaceDeleteArgs>(args: SelectSubset<T, WorkspaceDeleteArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
2751
2831
|
|
|
2752
2832
|
/**
|
|
2753
2833
|
* Update one Workspace.
|
|
@@ -2764,7 +2844,7 @@ export namespace Prisma {
|
|
|
2764
2844
|
* })
|
|
2765
2845
|
*
|
|
2766
2846
|
*/
|
|
2767
|
-
update<T extends WorkspaceUpdateArgs>(args: SelectSubset<T, WorkspaceUpdateArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "update">, never, ExtArgs>
|
|
2847
|
+
update<T extends WorkspaceUpdateArgs>(args: SelectSubset<T, WorkspaceUpdateArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
2768
2848
|
|
|
2769
2849
|
/**
|
|
2770
2850
|
* Delete zero or more Workspaces.
|
|
@@ -2816,7 +2896,7 @@ export namespace Prisma {
|
|
|
2816
2896
|
* }
|
|
2817
2897
|
* })
|
|
2818
2898
|
*/
|
|
2819
|
-
upsert<T extends WorkspaceUpsertArgs>(args: SelectSubset<T, WorkspaceUpsertArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
|
2899
|
+
upsert<T extends WorkspaceUpsertArgs>(args: SelectSubset<T, WorkspaceUpsertArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
2820
2900
|
|
|
2821
2901
|
|
|
2822
2902
|
/**
|
|
@@ -2956,11 +3036,11 @@ export namespace Prisma {
|
|
|
2956
3036
|
* Because we want to prevent naming conflicts as mentioned in
|
|
2957
3037
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2958
3038
|
*/
|
|
2959
|
-
export interface Prisma__WorkspaceClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
3039
|
+
export interface Prisma__WorkspaceClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2960
3040
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2961
|
-
owner<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
|
|
2962
|
-
members<T extends Workspace$membersArgs<ExtArgs> = {}>(args?: Subset<T, Workspace$membersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findMany"> | Null>
|
|
2963
|
-
apiKeys<T extends Workspace$apiKeysArgs<ExtArgs> = {}>(args?: Subset<T, Workspace$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany"> | Null>
|
|
3041
|
+
owner<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
|
|
3042
|
+
members<T extends Workspace$membersArgs<ExtArgs> = {}>(args?: Subset<T, Workspace$membersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
|
3043
|
+
apiKeys<T extends Workspace$apiKeysArgs<ExtArgs> = {}>(args?: Subset<T, Workspace$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
|
|
2964
3044
|
/**
|
|
2965
3045
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2966
3046
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -3008,6 +3088,10 @@ export namespace Prisma {
|
|
|
3008
3088
|
* Select specific fields to fetch from the Workspace
|
|
3009
3089
|
*/
|
|
3010
3090
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3091
|
+
/**
|
|
3092
|
+
* Omit specific fields from the Workspace
|
|
3093
|
+
*/
|
|
3094
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3011
3095
|
/**
|
|
3012
3096
|
* Choose, which related nodes to fetch as well
|
|
3013
3097
|
*/
|
|
@@ -3026,6 +3110,10 @@ export namespace Prisma {
|
|
|
3026
3110
|
* Select specific fields to fetch from the Workspace
|
|
3027
3111
|
*/
|
|
3028
3112
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3113
|
+
/**
|
|
3114
|
+
* Omit specific fields from the Workspace
|
|
3115
|
+
*/
|
|
3116
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3029
3117
|
/**
|
|
3030
3118
|
* Choose, which related nodes to fetch as well
|
|
3031
3119
|
*/
|
|
@@ -3044,6 +3132,10 @@ export namespace Prisma {
|
|
|
3044
3132
|
* Select specific fields to fetch from the Workspace
|
|
3045
3133
|
*/
|
|
3046
3134
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3135
|
+
/**
|
|
3136
|
+
* Omit specific fields from the Workspace
|
|
3137
|
+
*/
|
|
3138
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3047
3139
|
/**
|
|
3048
3140
|
* Choose, which related nodes to fetch as well
|
|
3049
3141
|
*/
|
|
@@ -3092,6 +3184,10 @@ export namespace Prisma {
|
|
|
3092
3184
|
* Select specific fields to fetch from the Workspace
|
|
3093
3185
|
*/
|
|
3094
3186
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3187
|
+
/**
|
|
3188
|
+
* Omit specific fields from the Workspace
|
|
3189
|
+
*/
|
|
3190
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3095
3191
|
/**
|
|
3096
3192
|
* Choose, which related nodes to fetch as well
|
|
3097
3193
|
*/
|
|
@@ -3140,6 +3236,10 @@ export namespace Prisma {
|
|
|
3140
3236
|
* Select specific fields to fetch from the Workspace
|
|
3141
3237
|
*/
|
|
3142
3238
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3239
|
+
/**
|
|
3240
|
+
* Omit specific fields from the Workspace
|
|
3241
|
+
*/
|
|
3242
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3143
3243
|
/**
|
|
3144
3244
|
* Choose, which related nodes to fetch as well
|
|
3145
3245
|
*/
|
|
@@ -3183,6 +3283,10 @@ export namespace Prisma {
|
|
|
3183
3283
|
* Select specific fields to fetch from the Workspace
|
|
3184
3284
|
*/
|
|
3185
3285
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3286
|
+
/**
|
|
3287
|
+
* Omit specific fields from the Workspace
|
|
3288
|
+
*/
|
|
3289
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3186
3290
|
/**
|
|
3187
3291
|
* Choose, which related nodes to fetch as well
|
|
3188
3292
|
*/
|
|
@@ -3212,6 +3316,10 @@ export namespace Prisma {
|
|
|
3212
3316
|
* Select specific fields to fetch from the Workspace
|
|
3213
3317
|
*/
|
|
3214
3318
|
select?: WorkspaceSelectCreateManyAndReturn<ExtArgs> | null
|
|
3319
|
+
/**
|
|
3320
|
+
* Omit specific fields from the Workspace
|
|
3321
|
+
*/
|
|
3322
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3215
3323
|
/**
|
|
3216
3324
|
* The data used to create many Workspaces.
|
|
3217
3325
|
*/
|
|
@@ -3231,6 +3339,10 @@ export namespace Prisma {
|
|
|
3231
3339
|
* Select specific fields to fetch from the Workspace
|
|
3232
3340
|
*/
|
|
3233
3341
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3342
|
+
/**
|
|
3343
|
+
* Omit specific fields from the Workspace
|
|
3344
|
+
*/
|
|
3345
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3234
3346
|
/**
|
|
3235
3347
|
* Choose, which related nodes to fetch as well
|
|
3236
3348
|
*/
|
|
@@ -3267,6 +3379,10 @@ export namespace Prisma {
|
|
|
3267
3379
|
* Select specific fields to fetch from the Workspace
|
|
3268
3380
|
*/
|
|
3269
3381
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3382
|
+
/**
|
|
3383
|
+
* Omit specific fields from the Workspace
|
|
3384
|
+
*/
|
|
3385
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3270
3386
|
/**
|
|
3271
3387
|
* Choose, which related nodes to fetch as well
|
|
3272
3388
|
*/
|
|
@@ -3293,6 +3409,10 @@ export namespace Prisma {
|
|
|
3293
3409
|
* Select specific fields to fetch from the Workspace
|
|
3294
3410
|
*/
|
|
3295
3411
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3412
|
+
/**
|
|
3413
|
+
* Omit specific fields from the Workspace
|
|
3414
|
+
*/
|
|
3415
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3296
3416
|
/**
|
|
3297
3417
|
* Choose, which related nodes to fetch as well
|
|
3298
3418
|
*/
|
|
@@ -3321,6 +3441,10 @@ export namespace Prisma {
|
|
|
3321
3441
|
* Select specific fields to fetch from the WorkspaceMember
|
|
3322
3442
|
*/
|
|
3323
3443
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
3444
|
+
/**
|
|
3445
|
+
* Omit specific fields from the WorkspaceMember
|
|
3446
|
+
*/
|
|
3447
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
3324
3448
|
/**
|
|
3325
3449
|
* Choose, which related nodes to fetch as well
|
|
3326
3450
|
*/
|
|
@@ -3341,6 +3465,10 @@ export namespace Prisma {
|
|
|
3341
3465
|
* Select specific fields to fetch from the ApiKey
|
|
3342
3466
|
*/
|
|
3343
3467
|
select?: ApiKeySelect<ExtArgs> | null
|
|
3468
|
+
/**
|
|
3469
|
+
* Omit specific fields from the ApiKey
|
|
3470
|
+
*/
|
|
3471
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
3344
3472
|
/**
|
|
3345
3473
|
* Choose, which related nodes to fetch as well
|
|
3346
3474
|
*/
|
|
@@ -3361,6 +3489,10 @@ export namespace Prisma {
|
|
|
3361
3489
|
* Select specific fields to fetch from the Workspace
|
|
3362
3490
|
*/
|
|
3363
3491
|
select?: WorkspaceSelect<ExtArgs> | null
|
|
3492
|
+
/**
|
|
3493
|
+
* Omit specific fields from the Workspace
|
|
3494
|
+
*/
|
|
3495
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3364
3496
|
/**
|
|
3365
3497
|
* Choose, which related nodes to fetch as well
|
|
3366
3498
|
*/
|
|
@@ -3564,6 +3696,7 @@ export namespace Prisma {
|
|
|
3564
3696
|
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
3565
3697
|
}, ExtArgs["result"]["workspaceMember"]>
|
|
3566
3698
|
|
|
3699
|
+
|
|
3567
3700
|
export type WorkspaceMemberSelectScalar = {
|
|
3568
3701
|
ref?: boolean
|
|
3569
3702
|
status?: boolean
|
|
@@ -3574,6 +3707,7 @@ export namespace Prisma {
|
|
|
3574
3707
|
workspaceRef?: boolean
|
|
3575
3708
|
}
|
|
3576
3709
|
|
|
3710
|
+
export type WorkspaceMemberOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"ref" | "status" | "role" | "createdAt" | "updatedAt" | "userRef" | "workspaceRef", ExtArgs["result"]["workspaceMember"]>
|
|
3577
3711
|
export type WorkspaceMemberInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3578
3712
|
user?: boolean | UserDefaultArgs<ExtArgs>
|
|
3579
3713
|
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
@@ -3603,12 +3737,12 @@ export namespace Prisma {
|
|
|
3603
3737
|
|
|
3604
3738
|
type WorkspaceMemberGetPayload<S extends boolean | null | undefined | WorkspaceMemberDefaultArgs> = $Result.GetResult<Prisma.$WorkspaceMemberPayload, S>
|
|
3605
3739
|
|
|
3606
|
-
type WorkspaceMemberCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
3607
|
-
Omit<WorkspaceMemberFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
3740
|
+
type WorkspaceMemberCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
3741
|
+
Omit<WorkspaceMemberFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
3608
3742
|
select?: WorkspaceMemberCountAggregateInputType | true
|
|
3609
3743
|
}
|
|
3610
3744
|
|
|
3611
|
-
export interface WorkspaceMemberDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
3745
|
+
export interface WorkspaceMemberDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
|
|
3612
3746
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkspaceMember'], meta: { name: 'WorkspaceMember' } }
|
|
3613
3747
|
/**
|
|
3614
3748
|
* Find zero or one WorkspaceMember that matches the filter.
|
|
@@ -3621,10 +3755,10 @@ export namespace Prisma {
|
|
|
3621
3755
|
* }
|
|
3622
3756
|
* })
|
|
3623
3757
|
*/
|
|
3624
|
-
findUnique<T extends WorkspaceMemberFindUniqueArgs>(args: SelectSubset<T, WorkspaceMemberFindUniqueArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
|
3758
|
+
findUnique<T extends WorkspaceMemberFindUniqueArgs>(args: SelectSubset<T, WorkspaceMemberFindUniqueArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
3625
3759
|
|
|
3626
3760
|
/**
|
|
3627
|
-
* Find one WorkspaceMember that matches the filter or throw an error with `error.code='P2025'`
|
|
3761
|
+
* Find one WorkspaceMember that matches the filter or throw an error with `error.code='P2025'`
|
|
3628
3762
|
* if no matches were found.
|
|
3629
3763
|
* @param {WorkspaceMemberFindUniqueOrThrowArgs} args - Arguments to find a WorkspaceMember
|
|
3630
3764
|
* @example
|
|
@@ -3635,7 +3769,7 @@ export namespace Prisma {
|
|
|
3635
3769
|
* }
|
|
3636
3770
|
* })
|
|
3637
3771
|
*/
|
|
3638
|
-
findUniqueOrThrow<T extends WorkspaceMemberFindUniqueOrThrowArgs>(args: SelectSubset<T, WorkspaceMemberFindUniqueOrThrowArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
|
3772
|
+
findUniqueOrThrow<T extends WorkspaceMemberFindUniqueOrThrowArgs>(args: SelectSubset<T, WorkspaceMemberFindUniqueOrThrowArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
3639
3773
|
|
|
3640
3774
|
/**
|
|
3641
3775
|
* Find the first WorkspaceMember that matches the filter.
|
|
@@ -3650,7 +3784,7 @@ export namespace Prisma {
|
|
|
3650
3784
|
* }
|
|
3651
3785
|
* })
|
|
3652
3786
|
*/
|
|
3653
|
-
findFirst<T extends WorkspaceMemberFindFirstArgs>(args?: SelectSubset<T, WorkspaceMemberFindFirstArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
|
3787
|
+
findFirst<T extends WorkspaceMemberFindFirstArgs>(args?: SelectSubset<T, WorkspaceMemberFindFirstArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
3654
3788
|
|
|
3655
3789
|
/**
|
|
3656
3790
|
* Find the first WorkspaceMember that matches the filter or
|
|
@@ -3666,7 +3800,7 @@ export namespace Prisma {
|
|
|
3666
3800
|
* }
|
|
3667
3801
|
* })
|
|
3668
3802
|
*/
|
|
3669
|
-
findFirstOrThrow<T extends WorkspaceMemberFindFirstOrThrowArgs>(args?: SelectSubset<T, WorkspaceMemberFindFirstOrThrowArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
|
3803
|
+
findFirstOrThrow<T extends WorkspaceMemberFindFirstOrThrowArgs>(args?: SelectSubset<T, WorkspaceMemberFindFirstOrThrowArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
3670
3804
|
|
|
3671
3805
|
/**
|
|
3672
3806
|
* Find zero or more WorkspaceMembers that matches the filter.
|
|
@@ -3684,7 +3818,7 @@ export namespace Prisma {
|
|
|
3684
3818
|
* const workspaceMemberWithRefOnly = await prisma.workspaceMember.findMany({ select: { ref: true } })
|
|
3685
3819
|
*
|
|
3686
3820
|
*/
|
|
3687
|
-
findMany<T extends WorkspaceMemberFindManyArgs>(args?: SelectSubset<T, WorkspaceMemberFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findMany">>
|
|
3821
|
+
findMany<T extends WorkspaceMemberFindManyArgs>(args?: SelectSubset<T, WorkspaceMemberFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findMany", ClientOptions>>
|
|
3688
3822
|
|
|
3689
3823
|
/**
|
|
3690
3824
|
* Create a WorkspaceMember.
|
|
@@ -3698,7 +3832,7 @@ export namespace Prisma {
|
|
|
3698
3832
|
* })
|
|
3699
3833
|
*
|
|
3700
3834
|
*/
|
|
3701
|
-
create<T extends WorkspaceMemberCreateArgs>(args: SelectSubset<T, WorkspaceMemberCreateArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "create">, never, ExtArgs>
|
|
3835
|
+
create<T extends WorkspaceMemberCreateArgs>(args: SelectSubset<T, WorkspaceMemberCreateArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
3702
3836
|
|
|
3703
3837
|
/**
|
|
3704
3838
|
* Create many WorkspaceMembers.
|
|
@@ -3726,7 +3860,7 @@ export namespace Prisma {
|
|
|
3726
3860
|
* })
|
|
3727
3861
|
*
|
|
3728
3862
|
* // Create many WorkspaceMembers and only return the `ref`
|
|
3729
|
-
* const workspaceMemberWithRefOnly = await prisma.workspaceMember.createManyAndReturn({
|
|
3863
|
+
* const workspaceMemberWithRefOnly = await prisma.workspaceMember.createManyAndReturn({
|
|
3730
3864
|
* select: { ref: true },
|
|
3731
3865
|
* data: [
|
|
3732
3866
|
* // ... provide data here
|
|
@@ -3736,7 +3870,7 @@ export namespace Prisma {
|
|
|
3736
3870
|
* Read more here: https://pris.ly/d/null-undefined
|
|
3737
3871
|
*
|
|
3738
3872
|
*/
|
|
3739
|
-
createManyAndReturn<T extends WorkspaceMemberCreateManyAndReturnArgs>(args?: SelectSubset<T, WorkspaceMemberCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "createManyAndReturn">>
|
|
3873
|
+
createManyAndReturn<T extends WorkspaceMemberCreateManyAndReturnArgs>(args?: SelectSubset<T, WorkspaceMemberCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
|
|
3740
3874
|
|
|
3741
3875
|
/**
|
|
3742
3876
|
* Delete a WorkspaceMember.
|
|
@@ -3750,7 +3884,7 @@ export namespace Prisma {
|
|
|
3750
3884
|
* })
|
|
3751
3885
|
*
|
|
3752
3886
|
*/
|
|
3753
|
-
delete<T extends WorkspaceMemberDeleteArgs>(args: SelectSubset<T, WorkspaceMemberDeleteArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
|
3887
|
+
delete<T extends WorkspaceMemberDeleteArgs>(args: SelectSubset<T, WorkspaceMemberDeleteArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
3754
3888
|
|
|
3755
3889
|
/**
|
|
3756
3890
|
* Update one WorkspaceMember.
|
|
@@ -3767,7 +3901,7 @@ export namespace Prisma {
|
|
|
3767
3901
|
* })
|
|
3768
3902
|
*
|
|
3769
3903
|
*/
|
|
3770
|
-
update<T extends WorkspaceMemberUpdateArgs>(args: SelectSubset<T, WorkspaceMemberUpdateArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "update">, never, ExtArgs>
|
|
3904
|
+
update<T extends WorkspaceMemberUpdateArgs>(args: SelectSubset<T, WorkspaceMemberUpdateArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
3771
3905
|
|
|
3772
3906
|
/**
|
|
3773
3907
|
* Delete zero or more WorkspaceMembers.
|
|
@@ -3819,7 +3953,7 @@ export namespace Prisma {
|
|
|
3819
3953
|
* }
|
|
3820
3954
|
* })
|
|
3821
3955
|
*/
|
|
3822
|
-
upsert<T extends WorkspaceMemberUpsertArgs>(args: SelectSubset<T, WorkspaceMemberUpsertArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
|
3956
|
+
upsert<T extends WorkspaceMemberUpsertArgs>(args: SelectSubset<T, WorkspaceMemberUpsertArgs<ExtArgs>>): Prisma__WorkspaceMemberClient<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
3823
3957
|
|
|
3824
3958
|
|
|
3825
3959
|
/**
|
|
@@ -3959,10 +4093,10 @@ export namespace Prisma {
|
|
|
3959
4093
|
* Because we want to prevent naming conflicts as mentioned in
|
|
3960
4094
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
3961
4095
|
*/
|
|
3962
|
-
export interface Prisma__WorkspaceMemberClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
4096
|
+
export interface Prisma__WorkspaceMemberClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
3963
4097
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
3964
|
-
user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
|
|
3965
|
-
workspace<T extends WorkspaceDefaultArgs<ExtArgs> = {}>(args?: Subset<T, WorkspaceDefaultArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
|
|
4098
|
+
user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
|
|
4099
|
+
workspace<T extends WorkspaceDefaultArgs<ExtArgs> = {}>(args?: Subset<T, WorkspaceDefaultArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
|
|
3966
4100
|
/**
|
|
3967
4101
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
3968
4102
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -4011,6 +4145,10 @@ export namespace Prisma {
|
|
|
4011
4145
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4012
4146
|
*/
|
|
4013
4147
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4148
|
+
/**
|
|
4149
|
+
* Omit specific fields from the WorkspaceMember
|
|
4150
|
+
*/
|
|
4151
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4014
4152
|
/**
|
|
4015
4153
|
* Choose, which related nodes to fetch as well
|
|
4016
4154
|
*/
|
|
@@ -4029,6 +4167,10 @@ export namespace Prisma {
|
|
|
4029
4167
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4030
4168
|
*/
|
|
4031
4169
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4170
|
+
/**
|
|
4171
|
+
* Omit specific fields from the WorkspaceMember
|
|
4172
|
+
*/
|
|
4173
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4032
4174
|
/**
|
|
4033
4175
|
* Choose, which related nodes to fetch as well
|
|
4034
4176
|
*/
|
|
@@ -4047,6 +4189,10 @@ export namespace Prisma {
|
|
|
4047
4189
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4048
4190
|
*/
|
|
4049
4191
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4192
|
+
/**
|
|
4193
|
+
* Omit specific fields from the WorkspaceMember
|
|
4194
|
+
*/
|
|
4195
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4050
4196
|
/**
|
|
4051
4197
|
* Choose, which related nodes to fetch as well
|
|
4052
4198
|
*/
|
|
@@ -4095,6 +4241,10 @@ export namespace Prisma {
|
|
|
4095
4241
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4096
4242
|
*/
|
|
4097
4243
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4244
|
+
/**
|
|
4245
|
+
* Omit specific fields from the WorkspaceMember
|
|
4246
|
+
*/
|
|
4247
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4098
4248
|
/**
|
|
4099
4249
|
* Choose, which related nodes to fetch as well
|
|
4100
4250
|
*/
|
|
@@ -4143,6 +4293,10 @@ export namespace Prisma {
|
|
|
4143
4293
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4144
4294
|
*/
|
|
4145
4295
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4296
|
+
/**
|
|
4297
|
+
* Omit specific fields from the WorkspaceMember
|
|
4298
|
+
*/
|
|
4299
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4146
4300
|
/**
|
|
4147
4301
|
* Choose, which related nodes to fetch as well
|
|
4148
4302
|
*/
|
|
@@ -4186,6 +4340,10 @@ export namespace Prisma {
|
|
|
4186
4340
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4187
4341
|
*/
|
|
4188
4342
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4343
|
+
/**
|
|
4344
|
+
* Omit specific fields from the WorkspaceMember
|
|
4345
|
+
*/
|
|
4346
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4189
4347
|
/**
|
|
4190
4348
|
* Choose, which related nodes to fetch as well
|
|
4191
4349
|
*/
|
|
@@ -4215,6 +4373,10 @@ export namespace Prisma {
|
|
|
4215
4373
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4216
4374
|
*/
|
|
4217
4375
|
select?: WorkspaceMemberSelectCreateManyAndReturn<ExtArgs> | null
|
|
4376
|
+
/**
|
|
4377
|
+
* Omit specific fields from the WorkspaceMember
|
|
4378
|
+
*/
|
|
4379
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4218
4380
|
/**
|
|
4219
4381
|
* The data used to create many WorkspaceMembers.
|
|
4220
4382
|
*/
|
|
@@ -4234,6 +4396,10 @@ export namespace Prisma {
|
|
|
4234
4396
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4235
4397
|
*/
|
|
4236
4398
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4399
|
+
/**
|
|
4400
|
+
* Omit specific fields from the WorkspaceMember
|
|
4401
|
+
*/
|
|
4402
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4237
4403
|
/**
|
|
4238
4404
|
* Choose, which related nodes to fetch as well
|
|
4239
4405
|
*/
|
|
@@ -4270,6 +4436,10 @@ export namespace Prisma {
|
|
|
4270
4436
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4271
4437
|
*/
|
|
4272
4438
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4439
|
+
/**
|
|
4440
|
+
* Omit specific fields from the WorkspaceMember
|
|
4441
|
+
*/
|
|
4442
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4273
4443
|
/**
|
|
4274
4444
|
* Choose, which related nodes to fetch as well
|
|
4275
4445
|
*/
|
|
@@ -4296,6 +4466,10 @@ export namespace Prisma {
|
|
|
4296
4466
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4297
4467
|
*/
|
|
4298
4468
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4469
|
+
/**
|
|
4470
|
+
* Omit specific fields from the WorkspaceMember
|
|
4471
|
+
*/
|
|
4472
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4299
4473
|
/**
|
|
4300
4474
|
* Choose, which related nodes to fetch as well
|
|
4301
4475
|
*/
|
|
@@ -4324,6 +4498,10 @@ export namespace Prisma {
|
|
|
4324
4498
|
* Select specific fields to fetch from the WorkspaceMember
|
|
4325
4499
|
*/
|
|
4326
4500
|
select?: WorkspaceMemberSelect<ExtArgs> | null
|
|
4501
|
+
/**
|
|
4502
|
+
* Omit specific fields from the WorkspaceMember
|
|
4503
|
+
*/
|
|
4504
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4327
4505
|
/**
|
|
4328
4506
|
* Choose, which related nodes to fetch as well
|
|
4329
4507
|
*/
|
|
@@ -4534,6 +4712,7 @@ export namespace Prisma {
|
|
|
4534
4712
|
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
4535
4713
|
}, ExtArgs["result"]["apiKey"]>
|
|
4536
4714
|
|
|
4715
|
+
|
|
4537
4716
|
export type ApiKeySelectScalar = {
|
|
4538
4717
|
ref?: boolean
|
|
4539
4718
|
accessKeyId?: boolean
|
|
@@ -4545,6 +4724,7 @@ export namespace Prisma {
|
|
|
4545
4724
|
workspaceRef?: boolean
|
|
4546
4725
|
}
|
|
4547
4726
|
|
|
4727
|
+
export type ApiKeyOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"ref" | "accessKeyId" | "accessKeySecret" | "role" | "createdAt" | "updatedAt" | "expiresAt" | "workspaceRef", ExtArgs["result"]["apiKey"]>
|
|
4548
4728
|
export type ApiKeyInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
4549
4729
|
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
4550
4730
|
}
|
|
@@ -4575,12 +4755,12 @@ export namespace Prisma {
|
|
|
4575
4755
|
|
|
4576
4756
|
type ApiKeyGetPayload<S extends boolean | null | undefined | ApiKeyDefaultArgs> = $Result.GetResult<Prisma.$ApiKeyPayload, S>
|
|
4577
4757
|
|
|
4578
|
-
type ApiKeyCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
4579
|
-
Omit<ApiKeyFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
4758
|
+
type ApiKeyCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
4759
|
+
Omit<ApiKeyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
4580
4760
|
select?: ApiKeyCountAggregateInputType | true
|
|
4581
4761
|
}
|
|
4582
4762
|
|
|
4583
|
-
export interface ApiKeyDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
4763
|
+
export interface ApiKeyDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
|
|
4584
4764
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApiKey'], meta: { name: 'ApiKey' } }
|
|
4585
4765
|
/**
|
|
4586
4766
|
* Find zero or one ApiKey that matches the filter.
|
|
@@ -4593,10 +4773,10 @@ export namespace Prisma {
|
|
|
4593
4773
|
* }
|
|
4594
4774
|
* })
|
|
4595
4775
|
*/
|
|
4596
|
-
findUnique<T extends ApiKeyFindUniqueArgs>(args: SelectSubset<T, ApiKeyFindUniqueArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
|
4776
|
+
findUnique<T extends ApiKeyFindUniqueArgs>(args: SelectSubset<T, ApiKeyFindUniqueArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
4597
4777
|
|
|
4598
4778
|
/**
|
|
4599
|
-
* Find one ApiKey that matches the filter or throw an error with `error.code='P2025'`
|
|
4779
|
+
* Find one ApiKey that matches the filter or throw an error with `error.code='P2025'`
|
|
4600
4780
|
* if no matches were found.
|
|
4601
4781
|
* @param {ApiKeyFindUniqueOrThrowArgs} args - Arguments to find a ApiKey
|
|
4602
4782
|
* @example
|
|
@@ -4607,7 +4787,7 @@ export namespace Prisma {
|
|
|
4607
4787
|
* }
|
|
4608
4788
|
* })
|
|
4609
4789
|
*/
|
|
4610
|
-
findUniqueOrThrow<T extends ApiKeyFindUniqueOrThrowArgs>(args: SelectSubset<T, ApiKeyFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
|
4790
|
+
findUniqueOrThrow<T extends ApiKeyFindUniqueOrThrowArgs>(args: SelectSubset<T, ApiKeyFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
4611
4791
|
|
|
4612
4792
|
/**
|
|
4613
4793
|
* Find the first ApiKey that matches the filter.
|
|
@@ -4622,7 +4802,7 @@ export namespace Prisma {
|
|
|
4622
4802
|
* }
|
|
4623
4803
|
* })
|
|
4624
4804
|
*/
|
|
4625
|
-
findFirst<T extends ApiKeyFindFirstArgs>(args?: SelectSubset<T, ApiKeyFindFirstArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
|
4805
|
+
findFirst<T extends ApiKeyFindFirstArgs>(args?: SelectSubset<T, ApiKeyFindFirstArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
4626
4806
|
|
|
4627
4807
|
/**
|
|
4628
4808
|
* Find the first ApiKey that matches the filter or
|
|
@@ -4638,7 +4818,7 @@ export namespace Prisma {
|
|
|
4638
4818
|
* }
|
|
4639
4819
|
* })
|
|
4640
4820
|
*/
|
|
4641
|
-
findFirstOrThrow<T extends ApiKeyFindFirstOrThrowArgs>(args?: SelectSubset<T, ApiKeyFindFirstOrThrowArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
|
4821
|
+
findFirstOrThrow<T extends ApiKeyFindFirstOrThrowArgs>(args?: SelectSubset<T, ApiKeyFindFirstOrThrowArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
4642
4822
|
|
|
4643
4823
|
/**
|
|
4644
4824
|
* Find zero or more ApiKeys that matches the filter.
|
|
@@ -4656,7 +4836,7 @@ export namespace Prisma {
|
|
|
4656
4836
|
* const apiKeyWithRefOnly = await prisma.apiKey.findMany({ select: { ref: true } })
|
|
4657
4837
|
*
|
|
4658
4838
|
*/
|
|
4659
|
-
findMany<T extends ApiKeyFindManyArgs>(args?: SelectSubset<T, ApiKeyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany">>
|
|
4839
|
+
findMany<T extends ApiKeyFindManyArgs>(args?: SelectSubset<T, ApiKeyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany", ClientOptions>>
|
|
4660
4840
|
|
|
4661
4841
|
/**
|
|
4662
4842
|
* Create a ApiKey.
|
|
@@ -4670,7 +4850,7 @@ export namespace Prisma {
|
|
|
4670
4850
|
* })
|
|
4671
4851
|
*
|
|
4672
4852
|
*/
|
|
4673
|
-
create<T extends ApiKeyCreateArgs>(args: SelectSubset<T, ApiKeyCreateArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "create">, never, ExtArgs>
|
|
4853
|
+
create<T extends ApiKeyCreateArgs>(args: SelectSubset<T, ApiKeyCreateArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
4674
4854
|
|
|
4675
4855
|
/**
|
|
4676
4856
|
* Create many ApiKeys.
|
|
@@ -4698,7 +4878,7 @@ export namespace Prisma {
|
|
|
4698
4878
|
* })
|
|
4699
4879
|
*
|
|
4700
4880
|
* // Create many ApiKeys and only return the `ref`
|
|
4701
|
-
* const apiKeyWithRefOnly = await prisma.apiKey.createManyAndReturn({
|
|
4881
|
+
* const apiKeyWithRefOnly = await prisma.apiKey.createManyAndReturn({
|
|
4702
4882
|
* select: { ref: true },
|
|
4703
4883
|
* data: [
|
|
4704
4884
|
* // ... provide data here
|
|
@@ -4708,7 +4888,7 @@ export namespace Prisma {
|
|
|
4708
4888
|
* Read more here: https://pris.ly/d/null-undefined
|
|
4709
4889
|
*
|
|
4710
4890
|
*/
|
|
4711
|
-
createManyAndReturn<T extends ApiKeyCreateManyAndReturnArgs>(args?: SelectSubset<T, ApiKeyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "createManyAndReturn">>
|
|
4891
|
+
createManyAndReturn<T extends ApiKeyCreateManyAndReturnArgs>(args?: SelectSubset<T, ApiKeyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
|
|
4712
4892
|
|
|
4713
4893
|
/**
|
|
4714
4894
|
* Delete a ApiKey.
|
|
@@ -4722,7 +4902,7 @@ export namespace Prisma {
|
|
|
4722
4902
|
* })
|
|
4723
4903
|
*
|
|
4724
4904
|
*/
|
|
4725
|
-
delete<T extends ApiKeyDeleteArgs>(args: SelectSubset<T, ApiKeyDeleteArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
|
4905
|
+
delete<T extends ApiKeyDeleteArgs>(args: SelectSubset<T, ApiKeyDeleteArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
4726
4906
|
|
|
4727
4907
|
/**
|
|
4728
4908
|
* Update one ApiKey.
|
|
@@ -4739,7 +4919,7 @@ export namespace Prisma {
|
|
|
4739
4919
|
* })
|
|
4740
4920
|
*
|
|
4741
4921
|
*/
|
|
4742
|
-
update<T extends ApiKeyUpdateArgs>(args: SelectSubset<T, ApiKeyUpdateArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "update">, never, ExtArgs>
|
|
4922
|
+
update<T extends ApiKeyUpdateArgs>(args: SelectSubset<T, ApiKeyUpdateArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
4743
4923
|
|
|
4744
4924
|
/**
|
|
4745
4925
|
* Delete zero or more ApiKeys.
|
|
@@ -4791,7 +4971,7 @@ export namespace Prisma {
|
|
|
4791
4971
|
* }
|
|
4792
4972
|
* })
|
|
4793
4973
|
*/
|
|
4794
|
-
upsert<T extends ApiKeyUpsertArgs>(args: SelectSubset<T, ApiKeyUpsertArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
|
4974
|
+
upsert<T extends ApiKeyUpsertArgs>(args: SelectSubset<T, ApiKeyUpsertArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
4795
4975
|
|
|
4796
4976
|
|
|
4797
4977
|
/**
|
|
@@ -4931,9 +5111,9 @@ export namespace Prisma {
|
|
|
4931
5111
|
* Because we want to prevent naming conflicts as mentioned in
|
|
4932
5112
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
4933
5113
|
*/
|
|
4934
|
-
export interface Prisma__ApiKeyClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
5114
|
+
export interface Prisma__ApiKeyClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
4935
5115
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
4936
|
-
workspace<T extends WorkspaceDefaultArgs<ExtArgs> = {}>(args?: Subset<T, WorkspaceDefaultArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
|
|
5116
|
+
workspace<T extends WorkspaceDefaultArgs<ExtArgs> = {}>(args?: Subset<T, WorkspaceDefaultArgs<ExtArgs>>): Prisma__WorkspaceClient<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
|
|
4937
5117
|
/**
|
|
4938
5118
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
4939
5119
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -4983,6 +5163,10 @@ export namespace Prisma {
|
|
|
4983
5163
|
* Select specific fields to fetch from the ApiKey
|
|
4984
5164
|
*/
|
|
4985
5165
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5166
|
+
/**
|
|
5167
|
+
* Omit specific fields from the ApiKey
|
|
5168
|
+
*/
|
|
5169
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
4986
5170
|
/**
|
|
4987
5171
|
* Choose, which related nodes to fetch as well
|
|
4988
5172
|
*/
|
|
@@ -5001,6 +5185,10 @@ export namespace Prisma {
|
|
|
5001
5185
|
* Select specific fields to fetch from the ApiKey
|
|
5002
5186
|
*/
|
|
5003
5187
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5188
|
+
/**
|
|
5189
|
+
* Omit specific fields from the ApiKey
|
|
5190
|
+
*/
|
|
5191
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5004
5192
|
/**
|
|
5005
5193
|
* Choose, which related nodes to fetch as well
|
|
5006
5194
|
*/
|
|
@@ -5019,6 +5207,10 @@ export namespace Prisma {
|
|
|
5019
5207
|
* Select specific fields to fetch from the ApiKey
|
|
5020
5208
|
*/
|
|
5021
5209
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5210
|
+
/**
|
|
5211
|
+
* Omit specific fields from the ApiKey
|
|
5212
|
+
*/
|
|
5213
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5022
5214
|
/**
|
|
5023
5215
|
* Choose, which related nodes to fetch as well
|
|
5024
5216
|
*/
|
|
@@ -5067,6 +5259,10 @@ export namespace Prisma {
|
|
|
5067
5259
|
* Select specific fields to fetch from the ApiKey
|
|
5068
5260
|
*/
|
|
5069
5261
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5262
|
+
/**
|
|
5263
|
+
* Omit specific fields from the ApiKey
|
|
5264
|
+
*/
|
|
5265
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5070
5266
|
/**
|
|
5071
5267
|
* Choose, which related nodes to fetch as well
|
|
5072
5268
|
*/
|
|
@@ -5115,6 +5311,10 @@ export namespace Prisma {
|
|
|
5115
5311
|
* Select specific fields to fetch from the ApiKey
|
|
5116
5312
|
*/
|
|
5117
5313
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5314
|
+
/**
|
|
5315
|
+
* Omit specific fields from the ApiKey
|
|
5316
|
+
*/
|
|
5317
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5118
5318
|
/**
|
|
5119
5319
|
* Choose, which related nodes to fetch as well
|
|
5120
5320
|
*/
|
|
@@ -5158,6 +5358,10 @@ export namespace Prisma {
|
|
|
5158
5358
|
* Select specific fields to fetch from the ApiKey
|
|
5159
5359
|
*/
|
|
5160
5360
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5361
|
+
/**
|
|
5362
|
+
* Omit specific fields from the ApiKey
|
|
5363
|
+
*/
|
|
5364
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5161
5365
|
/**
|
|
5162
5366
|
* Choose, which related nodes to fetch as well
|
|
5163
5367
|
*/
|
|
@@ -5187,6 +5391,10 @@ export namespace Prisma {
|
|
|
5187
5391
|
* Select specific fields to fetch from the ApiKey
|
|
5188
5392
|
*/
|
|
5189
5393
|
select?: ApiKeySelectCreateManyAndReturn<ExtArgs> | null
|
|
5394
|
+
/**
|
|
5395
|
+
* Omit specific fields from the ApiKey
|
|
5396
|
+
*/
|
|
5397
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5190
5398
|
/**
|
|
5191
5399
|
* The data used to create many ApiKeys.
|
|
5192
5400
|
*/
|
|
@@ -5206,6 +5414,10 @@ export namespace Prisma {
|
|
|
5206
5414
|
* Select specific fields to fetch from the ApiKey
|
|
5207
5415
|
*/
|
|
5208
5416
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5417
|
+
/**
|
|
5418
|
+
* Omit specific fields from the ApiKey
|
|
5419
|
+
*/
|
|
5420
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5209
5421
|
/**
|
|
5210
5422
|
* Choose, which related nodes to fetch as well
|
|
5211
5423
|
*/
|
|
@@ -5242,6 +5454,10 @@ export namespace Prisma {
|
|
|
5242
5454
|
* Select specific fields to fetch from the ApiKey
|
|
5243
5455
|
*/
|
|
5244
5456
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5457
|
+
/**
|
|
5458
|
+
* Omit specific fields from the ApiKey
|
|
5459
|
+
*/
|
|
5460
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5245
5461
|
/**
|
|
5246
5462
|
* Choose, which related nodes to fetch as well
|
|
5247
5463
|
*/
|
|
@@ -5268,6 +5484,10 @@ export namespace Prisma {
|
|
|
5268
5484
|
* Select specific fields to fetch from the ApiKey
|
|
5269
5485
|
*/
|
|
5270
5486
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5487
|
+
/**
|
|
5488
|
+
* Omit specific fields from the ApiKey
|
|
5489
|
+
*/
|
|
5490
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5271
5491
|
/**
|
|
5272
5492
|
* Choose, which related nodes to fetch as well
|
|
5273
5493
|
*/
|
|
@@ -5296,6 +5516,10 @@ export namespace Prisma {
|
|
|
5296
5516
|
* Select specific fields to fetch from the ApiKey
|
|
5297
5517
|
*/
|
|
5298
5518
|
select?: ApiKeySelect<ExtArgs> | null
|
|
5519
|
+
/**
|
|
5520
|
+
* Omit specific fields from the ApiKey
|
|
5521
|
+
*/
|
|
5522
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5299
5523
|
/**
|
|
5300
5524
|
* Choose, which related nodes to fetch as well
|
|
5301
5525
|
*/
|
|
@@ -5486,6 +5710,7 @@ export namespace Prisma {
|
|
|
5486
5710
|
createdAt?: boolean
|
|
5487
5711
|
}, ExtArgs["result"]["verificationCode"]>
|
|
5488
5712
|
|
|
5713
|
+
|
|
5489
5714
|
export type VerificationCodeSelectScalar = {
|
|
5490
5715
|
ref?: boolean
|
|
5491
5716
|
type?: boolean
|
|
@@ -5495,6 +5720,7 @@ export namespace Prisma {
|
|
|
5495
5720
|
createdAt?: boolean
|
|
5496
5721
|
}
|
|
5497
5722
|
|
|
5723
|
+
export type VerificationCodeOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"ref" | "type" | "code" | "value" | "expiresAt" | "createdAt", ExtArgs["result"]["verificationCode"]>
|
|
5498
5724
|
|
|
5499
5725
|
export type $VerificationCodePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
5500
5726
|
name: "VerificationCode"
|
|
@@ -5512,12 +5738,12 @@ export namespace Prisma {
|
|
|
5512
5738
|
|
|
5513
5739
|
type VerificationCodeGetPayload<S extends boolean | null | undefined | VerificationCodeDefaultArgs> = $Result.GetResult<Prisma.$VerificationCodePayload, S>
|
|
5514
5740
|
|
|
5515
|
-
type VerificationCodeCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
5516
|
-
Omit<VerificationCodeFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
5741
|
+
type VerificationCodeCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
5742
|
+
Omit<VerificationCodeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
5517
5743
|
select?: VerificationCodeCountAggregateInputType | true
|
|
5518
5744
|
}
|
|
5519
5745
|
|
|
5520
|
-
export interface VerificationCodeDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
5746
|
+
export interface VerificationCodeDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
|
|
5521
5747
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['VerificationCode'], meta: { name: 'VerificationCode' } }
|
|
5522
5748
|
/**
|
|
5523
5749
|
* Find zero or one VerificationCode that matches the filter.
|
|
@@ -5530,10 +5756,10 @@ export namespace Prisma {
|
|
|
5530
5756
|
* }
|
|
5531
5757
|
* })
|
|
5532
5758
|
*/
|
|
5533
|
-
findUnique<T extends VerificationCodeFindUniqueArgs>(args: SelectSubset<T, VerificationCodeFindUniqueArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
|
5759
|
+
findUnique<T extends VerificationCodeFindUniqueArgs>(args: SelectSubset<T, VerificationCodeFindUniqueArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
5534
5760
|
|
|
5535
5761
|
/**
|
|
5536
|
-
* Find one VerificationCode that matches the filter or throw an error with `error.code='P2025'`
|
|
5762
|
+
* Find one VerificationCode that matches the filter or throw an error with `error.code='P2025'`
|
|
5537
5763
|
* if no matches were found.
|
|
5538
5764
|
* @param {VerificationCodeFindUniqueOrThrowArgs} args - Arguments to find a VerificationCode
|
|
5539
5765
|
* @example
|
|
@@ -5544,7 +5770,7 @@ export namespace Prisma {
|
|
|
5544
5770
|
* }
|
|
5545
5771
|
* })
|
|
5546
5772
|
*/
|
|
5547
|
-
findUniqueOrThrow<T extends VerificationCodeFindUniqueOrThrowArgs>(args: SelectSubset<T, VerificationCodeFindUniqueOrThrowArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
|
5773
|
+
findUniqueOrThrow<T extends VerificationCodeFindUniqueOrThrowArgs>(args: SelectSubset<T, VerificationCodeFindUniqueOrThrowArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
5548
5774
|
|
|
5549
5775
|
/**
|
|
5550
5776
|
* Find the first VerificationCode that matches the filter.
|
|
@@ -5559,7 +5785,7 @@ export namespace Prisma {
|
|
|
5559
5785
|
* }
|
|
5560
5786
|
* })
|
|
5561
5787
|
*/
|
|
5562
|
-
findFirst<T extends VerificationCodeFindFirstArgs>(args?: SelectSubset<T, VerificationCodeFindFirstArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
|
5788
|
+
findFirst<T extends VerificationCodeFindFirstArgs>(args?: SelectSubset<T, VerificationCodeFindFirstArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
|
|
5563
5789
|
|
|
5564
5790
|
/**
|
|
5565
5791
|
* Find the first VerificationCode that matches the filter or
|
|
@@ -5575,7 +5801,7 @@ export namespace Prisma {
|
|
|
5575
5801
|
* }
|
|
5576
5802
|
* })
|
|
5577
5803
|
*/
|
|
5578
|
-
findFirstOrThrow<T extends VerificationCodeFindFirstOrThrowArgs>(args?: SelectSubset<T, VerificationCodeFindFirstOrThrowArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
|
5804
|
+
findFirstOrThrow<T extends VerificationCodeFindFirstOrThrowArgs>(args?: SelectSubset<T, VerificationCodeFindFirstOrThrowArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
5579
5805
|
|
|
5580
5806
|
/**
|
|
5581
5807
|
* Find zero or more VerificationCodes that matches the filter.
|
|
@@ -5593,7 +5819,7 @@ export namespace Prisma {
|
|
|
5593
5819
|
* const verificationCodeWithRefOnly = await prisma.verificationCode.findMany({ select: { ref: true } })
|
|
5594
5820
|
*
|
|
5595
5821
|
*/
|
|
5596
|
-
findMany<T extends VerificationCodeFindManyArgs>(args?: SelectSubset<T, VerificationCodeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findMany">>
|
|
5822
|
+
findMany<T extends VerificationCodeFindManyArgs>(args?: SelectSubset<T, VerificationCodeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "findMany", ClientOptions>>
|
|
5597
5823
|
|
|
5598
5824
|
/**
|
|
5599
5825
|
* Create a VerificationCode.
|
|
@@ -5607,7 +5833,7 @@ export namespace Prisma {
|
|
|
5607
5833
|
* })
|
|
5608
5834
|
*
|
|
5609
5835
|
*/
|
|
5610
|
-
create<T extends VerificationCodeCreateArgs>(args: SelectSubset<T, VerificationCodeCreateArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "create">, never, ExtArgs>
|
|
5836
|
+
create<T extends VerificationCodeCreateArgs>(args: SelectSubset<T, VerificationCodeCreateArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
5611
5837
|
|
|
5612
5838
|
/**
|
|
5613
5839
|
* Create many VerificationCodes.
|
|
@@ -5635,7 +5861,7 @@ export namespace Prisma {
|
|
|
5635
5861
|
* })
|
|
5636
5862
|
*
|
|
5637
5863
|
* // Create many VerificationCodes and only return the `ref`
|
|
5638
|
-
* const verificationCodeWithRefOnly = await prisma.verificationCode.createManyAndReturn({
|
|
5864
|
+
* const verificationCodeWithRefOnly = await prisma.verificationCode.createManyAndReturn({
|
|
5639
5865
|
* select: { ref: true },
|
|
5640
5866
|
* data: [
|
|
5641
5867
|
* // ... provide data here
|
|
@@ -5645,7 +5871,7 @@ export namespace Prisma {
|
|
|
5645
5871
|
* Read more here: https://pris.ly/d/null-undefined
|
|
5646
5872
|
*
|
|
5647
5873
|
*/
|
|
5648
|
-
createManyAndReturn<T extends VerificationCodeCreateManyAndReturnArgs>(args?: SelectSubset<T, VerificationCodeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "createManyAndReturn">>
|
|
5874
|
+
createManyAndReturn<T extends VerificationCodeCreateManyAndReturnArgs>(args?: SelectSubset<T, VerificationCodeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
|
|
5649
5875
|
|
|
5650
5876
|
/**
|
|
5651
5877
|
* Delete a VerificationCode.
|
|
@@ -5659,7 +5885,7 @@ export namespace Prisma {
|
|
|
5659
5885
|
* })
|
|
5660
5886
|
*
|
|
5661
5887
|
*/
|
|
5662
|
-
delete<T extends VerificationCodeDeleteArgs>(args: SelectSubset<T, VerificationCodeDeleteArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
|
5888
|
+
delete<T extends VerificationCodeDeleteArgs>(args: SelectSubset<T, VerificationCodeDeleteArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
5663
5889
|
|
|
5664
5890
|
/**
|
|
5665
5891
|
* Update one VerificationCode.
|
|
@@ -5676,7 +5902,7 @@ export namespace Prisma {
|
|
|
5676
5902
|
* })
|
|
5677
5903
|
*
|
|
5678
5904
|
*/
|
|
5679
|
-
update<T extends VerificationCodeUpdateArgs>(args: SelectSubset<T, VerificationCodeUpdateArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "update">, never, ExtArgs>
|
|
5905
|
+
update<T extends VerificationCodeUpdateArgs>(args: SelectSubset<T, VerificationCodeUpdateArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
5680
5906
|
|
|
5681
5907
|
/**
|
|
5682
5908
|
* Delete zero or more VerificationCodes.
|
|
@@ -5728,7 +5954,7 @@ export namespace Prisma {
|
|
|
5728
5954
|
* }
|
|
5729
5955
|
* })
|
|
5730
5956
|
*/
|
|
5731
|
-
upsert<T extends VerificationCodeUpsertArgs>(args: SelectSubset<T, VerificationCodeUpsertArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
|
5957
|
+
upsert<T extends VerificationCodeUpsertArgs>(args: SelectSubset<T, VerificationCodeUpsertArgs<ExtArgs>>): Prisma__VerificationCodeClient<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
|
|
5732
5958
|
|
|
5733
5959
|
|
|
5734
5960
|
/**
|
|
@@ -5868,7 +6094,7 @@ export namespace Prisma {
|
|
|
5868
6094
|
* Because we want to prevent naming conflicts as mentioned in
|
|
5869
6095
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
5870
6096
|
*/
|
|
5871
|
-
export interface Prisma__VerificationCodeClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
6097
|
+
export interface Prisma__VerificationCodeClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
5872
6098
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
5873
6099
|
/**
|
|
5874
6100
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -5917,6 +6143,10 @@ export namespace Prisma {
|
|
|
5917
6143
|
* Select specific fields to fetch from the VerificationCode
|
|
5918
6144
|
*/
|
|
5919
6145
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6146
|
+
/**
|
|
6147
|
+
* Omit specific fields from the VerificationCode
|
|
6148
|
+
*/
|
|
6149
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
5920
6150
|
/**
|
|
5921
6151
|
* Filter, which VerificationCode to fetch.
|
|
5922
6152
|
*/
|
|
@@ -5931,6 +6161,10 @@ export namespace Prisma {
|
|
|
5931
6161
|
* Select specific fields to fetch from the VerificationCode
|
|
5932
6162
|
*/
|
|
5933
6163
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6164
|
+
/**
|
|
6165
|
+
* Omit specific fields from the VerificationCode
|
|
6166
|
+
*/
|
|
6167
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
5934
6168
|
/**
|
|
5935
6169
|
* Filter, which VerificationCode to fetch.
|
|
5936
6170
|
*/
|
|
@@ -5945,6 +6179,10 @@ export namespace Prisma {
|
|
|
5945
6179
|
* Select specific fields to fetch from the VerificationCode
|
|
5946
6180
|
*/
|
|
5947
6181
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6182
|
+
/**
|
|
6183
|
+
* Omit specific fields from the VerificationCode
|
|
6184
|
+
*/
|
|
6185
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
5948
6186
|
/**
|
|
5949
6187
|
* Filter, which VerificationCode to fetch.
|
|
5950
6188
|
*/
|
|
@@ -5989,6 +6227,10 @@ export namespace Prisma {
|
|
|
5989
6227
|
* Select specific fields to fetch from the VerificationCode
|
|
5990
6228
|
*/
|
|
5991
6229
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6230
|
+
/**
|
|
6231
|
+
* Omit specific fields from the VerificationCode
|
|
6232
|
+
*/
|
|
6233
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
5992
6234
|
/**
|
|
5993
6235
|
* Filter, which VerificationCode to fetch.
|
|
5994
6236
|
*/
|
|
@@ -6033,6 +6275,10 @@ export namespace Prisma {
|
|
|
6033
6275
|
* Select specific fields to fetch from the VerificationCode
|
|
6034
6276
|
*/
|
|
6035
6277
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6278
|
+
/**
|
|
6279
|
+
* Omit specific fields from the VerificationCode
|
|
6280
|
+
*/
|
|
6281
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
6036
6282
|
/**
|
|
6037
6283
|
* Filter, which VerificationCodes to fetch.
|
|
6038
6284
|
*/
|
|
@@ -6072,6 +6318,10 @@ export namespace Prisma {
|
|
|
6072
6318
|
* Select specific fields to fetch from the VerificationCode
|
|
6073
6319
|
*/
|
|
6074
6320
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6321
|
+
/**
|
|
6322
|
+
* Omit specific fields from the VerificationCode
|
|
6323
|
+
*/
|
|
6324
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
6075
6325
|
/**
|
|
6076
6326
|
* The data needed to create a VerificationCode.
|
|
6077
6327
|
*/
|
|
@@ -6097,6 +6347,10 @@ export namespace Prisma {
|
|
|
6097
6347
|
* Select specific fields to fetch from the VerificationCode
|
|
6098
6348
|
*/
|
|
6099
6349
|
select?: VerificationCodeSelectCreateManyAndReturn<ExtArgs> | null
|
|
6350
|
+
/**
|
|
6351
|
+
* Omit specific fields from the VerificationCode
|
|
6352
|
+
*/
|
|
6353
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
6100
6354
|
/**
|
|
6101
6355
|
* The data used to create many VerificationCodes.
|
|
6102
6356
|
*/
|
|
@@ -6112,6 +6366,10 @@ export namespace Prisma {
|
|
|
6112
6366
|
* Select specific fields to fetch from the VerificationCode
|
|
6113
6367
|
*/
|
|
6114
6368
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6369
|
+
/**
|
|
6370
|
+
* Omit specific fields from the VerificationCode
|
|
6371
|
+
*/
|
|
6372
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
6115
6373
|
/**
|
|
6116
6374
|
* The data needed to update a VerificationCode.
|
|
6117
6375
|
*/
|
|
@@ -6144,6 +6402,10 @@ export namespace Prisma {
|
|
|
6144
6402
|
* Select specific fields to fetch from the VerificationCode
|
|
6145
6403
|
*/
|
|
6146
6404
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6405
|
+
/**
|
|
6406
|
+
* Omit specific fields from the VerificationCode
|
|
6407
|
+
*/
|
|
6408
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
6147
6409
|
/**
|
|
6148
6410
|
* The filter to search for the VerificationCode to update in case it exists.
|
|
6149
6411
|
*/
|
|
@@ -6166,6 +6428,10 @@ export namespace Prisma {
|
|
|
6166
6428
|
* Select specific fields to fetch from the VerificationCode
|
|
6167
6429
|
*/
|
|
6168
6430
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6431
|
+
/**
|
|
6432
|
+
* Omit specific fields from the VerificationCode
|
|
6433
|
+
*/
|
|
6434
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
6169
6435
|
/**
|
|
6170
6436
|
* Filter which VerificationCode to delete.
|
|
6171
6437
|
*/
|
|
@@ -6190,6 +6456,10 @@ export namespace Prisma {
|
|
|
6190
6456
|
* Select specific fields to fetch from the VerificationCode
|
|
6191
6457
|
*/
|
|
6192
6458
|
select?: VerificationCodeSelect<ExtArgs> | null
|
|
6459
|
+
/**
|
|
6460
|
+
* Omit specific fields from the VerificationCode
|
|
6461
|
+
*/
|
|
6462
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
6193
6463
|
}
|
|
6194
6464
|
|
|
6195
6465
|
|