@fonoster/identity 0.9.8 → 0.9.12
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.js +2 -2
- package/dist/generated/@prisma/client/edge.js +6 -6
- package/dist/generated/@prisma/client/index-browser.js +4 -4
- package/dist/generated/@prisma/client/index.d.ts +431 -5
- package/dist/generated/@prisma/client/index.js +6 -6
- package/dist/generated/@prisma/client/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/dist/generated/@prisma/client/package.json +7 -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 +2 -0
- package/dist/generated/@prisma/client/runtime/index-browser.js +3 -3
- package/dist/generated/@prisma/client/runtime/library.d.ts +32 -24
- 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 +18 -18
- package/dist/generated/@prisma/client/wasm.js +4 -4
- package/package.json +6 -6
|
@@ -324,8 +324,8 @@ export namespace Prisma {
|
|
|
324
324
|
export import Exact = $Public.Exact
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
|
-
* Prisma Client JS version: 6.
|
|
328
|
-
* Query Engine version:
|
|
327
|
+
* Prisma Client JS version: 6.4.1
|
|
328
|
+
* Query Engine version: a9055b89e58b4b5bfb59600785423b1db3d0e75d
|
|
329
329
|
*/
|
|
330
330
|
export type PrismaVersion = {
|
|
331
331
|
client: string
|
|
@@ -782,6 +782,10 @@ export namespace Prisma {
|
|
|
782
782
|
args: Prisma.UserUpdateManyArgs<ExtArgs>
|
|
783
783
|
result: BatchPayload
|
|
784
784
|
}
|
|
785
|
+
updateManyAndReturn: {
|
|
786
|
+
args: Prisma.UserUpdateManyAndReturnArgs<ExtArgs>
|
|
787
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload>[]
|
|
788
|
+
}
|
|
785
789
|
upsert: {
|
|
786
790
|
args: Prisma.UserUpsertArgs<ExtArgs>
|
|
787
791
|
result: $Utils.PayloadToResult<Prisma.$UserPayload>
|
|
@@ -852,6 +856,10 @@ export namespace Prisma {
|
|
|
852
856
|
args: Prisma.WorkspaceUpdateManyArgs<ExtArgs>
|
|
853
857
|
result: BatchPayload
|
|
854
858
|
}
|
|
859
|
+
updateManyAndReturn: {
|
|
860
|
+
args: Prisma.WorkspaceUpdateManyAndReturnArgs<ExtArgs>
|
|
861
|
+
result: $Utils.PayloadToResult<Prisma.$WorkspacePayload>[]
|
|
862
|
+
}
|
|
855
863
|
upsert: {
|
|
856
864
|
args: Prisma.WorkspaceUpsertArgs<ExtArgs>
|
|
857
865
|
result: $Utils.PayloadToResult<Prisma.$WorkspacePayload>
|
|
@@ -922,6 +930,10 @@ export namespace Prisma {
|
|
|
922
930
|
args: Prisma.WorkspaceMemberUpdateManyArgs<ExtArgs>
|
|
923
931
|
result: BatchPayload
|
|
924
932
|
}
|
|
933
|
+
updateManyAndReturn: {
|
|
934
|
+
args: Prisma.WorkspaceMemberUpdateManyAndReturnArgs<ExtArgs>
|
|
935
|
+
result: $Utils.PayloadToResult<Prisma.$WorkspaceMemberPayload>[]
|
|
936
|
+
}
|
|
925
937
|
upsert: {
|
|
926
938
|
args: Prisma.WorkspaceMemberUpsertArgs<ExtArgs>
|
|
927
939
|
result: $Utils.PayloadToResult<Prisma.$WorkspaceMemberPayload>
|
|
@@ -992,6 +1004,10 @@ export namespace Prisma {
|
|
|
992
1004
|
args: Prisma.ApiKeyUpdateManyArgs<ExtArgs>
|
|
993
1005
|
result: BatchPayload
|
|
994
1006
|
}
|
|
1007
|
+
updateManyAndReturn: {
|
|
1008
|
+
args: Prisma.ApiKeyUpdateManyAndReturnArgs<ExtArgs>
|
|
1009
|
+
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>[]
|
|
1010
|
+
}
|
|
995
1011
|
upsert: {
|
|
996
1012
|
args: Prisma.ApiKeyUpsertArgs<ExtArgs>
|
|
997
1013
|
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>
|
|
@@ -1062,6 +1078,10 @@ export namespace Prisma {
|
|
|
1062
1078
|
args: Prisma.VerificationCodeUpdateManyArgs<ExtArgs>
|
|
1063
1079
|
result: BatchPayload
|
|
1064
1080
|
}
|
|
1081
|
+
updateManyAndReturn: {
|
|
1082
|
+
args: Prisma.VerificationCodeUpdateManyAndReturnArgs<ExtArgs>
|
|
1083
|
+
result: $Utils.PayloadToResult<Prisma.$VerificationCodePayload>[]
|
|
1084
|
+
}
|
|
1065
1085
|
upsert: {
|
|
1066
1086
|
args: Prisma.VerificationCodeUpsertArgs<ExtArgs>
|
|
1067
1087
|
result: $Utils.PayloadToResult<Prisma.$VerificationCodePayload>
|
|
@@ -1578,6 +1598,20 @@ export namespace Prisma {
|
|
|
1578
1598
|
extended?: boolean
|
|
1579
1599
|
}, ExtArgs["result"]["user"]>
|
|
1580
1600
|
|
|
1601
|
+
export type UserSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
1602
|
+
ref?: boolean
|
|
1603
|
+
accessKeyId?: boolean
|
|
1604
|
+
name?: boolean
|
|
1605
|
+
email?: boolean
|
|
1606
|
+
emailVerified?: boolean
|
|
1607
|
+
password?: boolean
|
|
1608
|
+
phoneNumber?: boolean
|
|
1609
|
+
phoneNumberVerified?: boolean
|
|
1610
|
+
avatar?: boolean
|
|
1611
|
+
createdAt?: boolean
|
|
1612
|
+
updatedAt?: boolean
|
|
1613
|
+
extended?: boolean
|
|
1614
|
+
}, ExtArgs["result"]["user"]>
|
|
1581
1615
|
|
|
1582
1616
|
export type UserSelectScalar = {
|
|
1583
1617
|
ref?: boolean
|
|
@@ -1601,6 +1635,7 @@ export namespace Prisma {
|
|
|
1601
1635
|
_count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
|
|
1602
1636
|
}
|
|
1603
1637
|
export type UserIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
|
|
1638
|
+
export type UserIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
|
|
1604
1639
|
|
|
1605
1640
|
export type $UserPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1606
1641
|
name: "User"
|
|
@@ -1829,6 +1864,36 @@ export namespace Prisma {
|
|
|
1829
1864
|
*/
|
|
1830
1865
|
updateMany<T extends UserUpdateManyArgs>(args: SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
1831
1866
|
|
|
1867
|
+
/**
|
|
1868
|
+
* Update zero or more Users and returns the data updated in the database.
|
|
1869
|
+
* @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users.
|
|
1870
|
+
* @example
|
|
1871
|
+
* // Update many Users
|
|
1872
|
+
* const user = await prisma.user.updateManyAndReturn({
|
|
1873
|
+
* where: {
|
|
1874
|
+
* // ... provide filter here
|
|
1875
|
+
* },
|
|
1876
|
+
* data: [
|
|
1877
|
+
* // ... provide data here
|
|
1878
|
+
* ]
|
|
1879
|
+
* })
|
|
1880
|
+
*
|
|
1881
|
+
* // Update zero or more Users and only return the `ref`
|
|
1882
|
+
* const userWithRefOnly = await prisma.user.updateManyAndReturn({
|
|
1883
|
+
* select: { ref: true },
|
|
1884
|
+
* where: {
|
|
1885
|
+
* // ... provide filter here
|
|
1886
|
+
* },
|
|
1887
|
+
* data: [
|
|
1888
|
+
* // ... provide data here
|
|
1889
|
+
* ]
|
|
1890
|
+
* })
|
|
1891
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1892
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1893
|
+
*
|
|
1894
|
+
*/
|
|
1895
|
+
updateManyAndReturn<T extends UserUpdateManyAndReturnArgs>(args: SelectSubset<T, UserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
|
|
1896
|
+
|
|
1832
1897
|
/**
|
|
1833
1898
|
* Create or update one User.
|
|
1834
1899
|
* @param {UserUpsertArgs} args - Arguments to update or create a User.
|
|
@@ -2320,6 +2385,36 @@ export namespace Prisma {
|
|
|
2320
2385
|
* Filter which Users to update
|
|
2321
2386
|
*/
|
|
2322
2387
|
where?: UserWhereInput
|
|
2388
|
+
/**
|
|
2389
|
+
* Limit how many Users to update.
|
|
2390
|
+
*/
|
|
2391
|
+
limit?: number
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* User updateManyAndReturn
|
|
2396
|
+
*/
|
|
2397
|
+
export type UserUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2398
|
+
/**
|
|
2399
|
+
* Select specific fields to fetch from the User
|
|
2400
|
+
*/
|
|
2401
|
+
select?: UserSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2402
|
+
/**
|
|
2403
|
+
* Omit specific fields from the User
|
|
2404
|
+
*/
|
|
2405
|
+
omit?: UserOmit<ExtArgs> | null
|
|
2406
|
+
/**
|
|
2407
|
+
* The data used to update Users.
|
|
2408
|
+
*/
|
|
2409
|
+
data: XOR<UserUpdateManyMutationInput, UserUncheckedUpdateManyInput>
|
|
2410
|
+
/**
|
|
2411
|
+
* Filter which Users to update
|
|
2412
|
+
*/
|
|
2413
|
+
where?: UserWhereInput
|
|
2414
|
+
/**
|
|
2415
|
+
* Limit how many Users to update.
|
|
2416
|
+
*/
|
|
2417
|
+
limit?: number
|
|
2323
2418
|
}
|
|
2324
2419
|
|
|
2325
2420
|
/**
|
|
@@ -2382,6 +2477,10 @@ export namespace Prisma {
|
|
|
2382
2477
|
* Filter which Users to delete
|
|
2383
2478
|
*/
|
|
2384
2479
|
where?: UserWhereInput
|
|
2480
|
+
/**
|
|
2481
|
+
* Limit how many Users to delete.
|
|
2482
|
+
*/
|
|
2483
|
+
limit?: number
|
|
2385
2484
|
}
|
|
2386
2485
|
|
|
2387
2486
|
/**
|
|
@@ -2639,6 +2738,15 @@ export namespace Prisma {
|
|
|
2639
2738
|
owner?: boolean | UserDefaultArgs<ExtArgs>
|
|
2640
2739
|
}, ExtArgs["result"]["workspace"]>
|
|
2641
2740
|
|
|
2741
|
+
export type WorkspaceSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
2742
|
+
ref?: boolean
|
|
2743
|
+
accessKeyId?: boolean
|
|
2744
|
+
name?: boolean
|
|
2745
|
+
createdAt?: boolean
|
|
2746
|
+
updatedAt?: boolean
|
|
2747
|
+
ownerRef?: boolean
|
|
2748
|
+
owner?: boolean | UserDefaultArgs<ExtArgs>
|
|
2749
|
+
}, ExtArgs["result"]["workspace"]>
|
|
2642
2750
|
|
|
2643
2751
|
export type WorkspaceSelectScalar = {
|
|
2644
2752
|
ref?: boolean
|
|
@@ -2659,6 +2767,9 @@ export namespace Prisma {
|
|
|
2659
2767
|
export type WorkspaceIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2660
2768
|
owner?: boolean | UserDefaultArgs<ExtArgs>
|
|
2661
2769
|
}
|
|
2770
|
+
export type WorkspaceIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2771
|
+
owner?: boolean | UserDefaultArgs<ExtArgs>
|
|
2772
|
+
}
|
|
2662
2773
|
|
|
2663
2774
|
export type $WorkspacePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2664
2775
|
name: "Workspace"
|
|
@@ -2879,6 +2990,36 @@ export namespace Prisma {
|
|
|
2879
2990
|
*/
|
|
2880
2991
|
updateMany<T extends WorkspaceUpdateManyArgs>(args: SelectSubset<T, WorkspaceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
2881
2992
|
|
|
2993
|
+
/**
|
|
2994
|
+
* Update zero or more Workspaces and returns the data updated in the database.
|
|
2995
|
+
* @param {WorkspaceUpdateManyAndReturnArgs} args - Arguments to update many Workspaces.
|
|
2996
|
+
* @example
|
|
2997
|
+
* // Update many Workspaces
|
|
2998
|
+
* const workspace = await prisma.workspace.updateManyAndReturn({
|
|
2999
|
+
* where: {
|
|
3000
|
+
* // ... provide filter here
|
|
3001
|
+
* },
|
|
3002
|
+
* data: [
|
|
3003
|
+
* // ... provide data here
|
|
3004
|
+
* ]
|
|
3005
|
+
* })
|
|
3006
|
+
*
|
|
3007
|
+
* // Update zero or more Workspaces and only return the `ref`
|
|
3008
|
+
* const workspaceWithRefOnly = await prisma.workspace.updateManyAndReturn({
|
|
3009
|
+
* select: { ref: true },
|
|
3010
|
+
* where: {
|
|
3011
|
+
* // ... provide filter here
|
|
3012
|
+
* },
|
|
3013
|
+
* data: [
|
|
3014
|
+
* // ... provide data here
|
|
3015
|
+
* ]
|
|
3016
|
+
* })
|
|
3017
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
3018
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
3019
|
+
*
|
|
3020
|
+
*/
|
|
3021
|
+
updateManyAndReturn<T extends WorkspaceUpdateManyAndReturnArgs>(args: SelectSubset<T, WorkspaceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
|
|
3022
|
+
|
|
2882
3023
|
/**
|
|
2883
3024
|
* Create or update one Workspace.
|
|
2884
3025
|
* @param {WorkspaceUpsertArgs} args - Arguments to update or create a Workspace.
|
|
@@ -3369,6 +3510,40 @@ export namespace Prisma {
|
|
|
3369
3510
|
* Filter which Workspaces to update
|
|
3370
3511
|
*/
|
|
3371
3512
|
where?: WorkspaceWhereInput
|
|
3513
|
+
/**
|
|
3514
|
+
* Limit how many Workspaces to update.
|
|
3515
|
+
*/
|
|
3516
|
+
limit?: number
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* Workspace updateManyAndReturn
|
|
3521
|
+
*/
|
|
3522
|
+
export type WorkspaceUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3523
|
+
/**
|
|
3524
|
+
* Select specific fields to fetch from the Workspace
|
|
3525
|
+
*/
|
|
3526
|
+
select?: WorkspaceSelectUpdateManyAndReturn<ExtArgs> | null
|
|
3527
|
+
/**
|
|
3528
|
+
* Omit specific fields from the Workspace
|
|
3529
|
+
*/
|
|
3530
|
+
omit?: WorkspaceOmit<ExtArgs> | null
|
|
3531
|
+
/**
|
|
3532
|
+
* The data used to update Workspaces.
|
|
3533
|
+
*/
|
|
3534
|
+
data: XOR<WorkspaceUpdateManyMutationInput, WorkspaceUncheckedUpdateManyInput>
|
|
3535
|
+
/**
|
|
3536
|
+
* Filter which Workspaces to update
|
|
3537
|
+
*/
|
|
3538
|
+
where?: WorkspaceWhereInput
|
|
3539
|
+
/**
|
|
3540
|
+
* Limit how many Workspaces to update.
|
|
3541
|
+
*/
|
|
3542
|
+
limit?: number
|
|
3543
|
+
/**
|
|
3544
|
+
* Choose, which related nodes to fetch as well
|
|
3545
|
+
*/
|
|
3546
|
+
include?: WorkspaceIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
3372
3547
|
}
|
|
3373
3548
|
|
|
3374
3549
|
/**
|
|
@@ -3431,6 +3606,10 @@ export namespace Prisma {
|
|
|
3431
3606
|
* Filter which Workspaces to delete
|
|
3432
3607
|
*/
|
|
3433
3608
|
where?: WorkspaceWhereInput
|
|
3609
|
+
/**
|
|
3610
|
+
* Limit how many Workspaces to delete.
|
|
3611
|
+
*/
|
|
3612
|
+
limit?: number
|
|
3434
3613
|
}
|
|
3435
3614
|
|
|
3436
3615
|
/**
|
|
@@ -3696,6 +3875,17 @@ export namespace Prisma {
|
|
|
3696
3875
|
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
3697
3876
|
}, ExtArgs["result"]["workspaceMember"]>
|
|
3698
3877
|
|
|
3878
|
+
export type WorkspaceMemberSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
3879
|
+
ref?: boolean
|
|
3880
|
+
status?: boolean
|
|
3881
|
+
role?: boolean
|
|
3882
|
+
createdAt?: boolean
|
|
3883
|
+
updatedAt?: boolean
|
|
3884
|
+
userRef?: boolean
|
|
3885
|
+
workspaceRef?: boolean
|
|
3886
|
+
user?: boolean | UserDefaultArgs<ExtArgs>
|
|
3887
|
+
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
3888
|
+
}, ExtArgs["result"]["workspaceMember"]>
|
|
3699
3889
|
|
|
3700
3890
|
export type WorkspaceMemberSelectScalar = {
|
|
3701
3891
|
ref?: boolean
|
|
@@ -3716,6 +3906,10 @@ export namespace Prisma {
|
|
|
3716
3906
|
user?: boolean | UserDefaultArgs<ExtArgs>
|
|
3717
3907
|
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
3718
3908
|
}
|
|
3909
|
+
export type WorkspaceMemberIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3910
|
+
user?: boolean | UserDefaultArgs<ExtArgs>
|
|
3911
|
+
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
3912
|
+
}
|
|
3719
3913
|
|
|
3720
3914
|
export type $WorkspaceMemberPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3721
3915
|
name: "WorkspaceMember"
|
|
@@ -3936,6 +4130,36 @@ export namespace Prisma {
|
|
|
3936
4130
|
*/
|
|
3937
4131
|
updateMany<T extends WorkspaceMemberUpdateManyArgs>(args: SelectSubset<T, WorkspaceMemberUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
3938
4132
|
|
|
4133
|
+
/**
|
|
4134
|
+
* Update zero or more WorkspaceMembers and returns the data updated in the database.
|
|
4135
|
+
* @param {WorkspaceMemberUpdateManyAndReturnArgs} args - Arguments to update many WorkspaceMembers.
|
|
4136
|
+
* @example
|
|
4137
|
+
* // Update many WorkspaceMembers
|
|
4138
|
+
* const workspaceMember = await prisma.workspaceMember.updateManyAndReturn({
|
|
4139
|
+
* where: {
|
|
4140
|
+
* // ... provide filter here
|
|
4141
|
+
* },
|
|
4142
|
+
* data: [
|
|
4143
|
+
* // ... provide data here
|
|
4144
|
+
* ]
|
|
4145
|
+
* })
|
|
4146
|
+
*
|
|
4147
|
+
* // Update zero or more WorkspaceMembers and only return the `ref`
|
|
4148
|
+
* const workspaceMemberWithRefOnly = await prisma.workspaceMember.updateManyAndReturn({
|
|
4149
|
+
* select: { ref: true },
|
|
4150
|
+
* where: {
|
|
4151
|
+
* // ... provide filter here
|
|
4152
|
+
* },
|
|
4153
|
+
* data: [
|
|
4154
|
+
* // ... provide data here
|
|
4155
|
+
* ]
|
|
4156
|
+
* })
|
|
4157
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
4158
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
4159
|
+
*
|
|
4160
|
+
*/
|
|
4161
|
+
updateManyAndReturn<T extends WorkspaceMemberUpdateManyAndReturnArgs>(args: SelectSubset<T, WorkspaceMemberUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
|
|
4162
|
+
|
|
3939
4163
|
/**
|
|
3940
4164
|
* Create or update one WorkspaceMember.
|
|
3941
4165
|
* @param {WorkspaceMemberUpsertArgs} args - Arguments to update or create a WorkspaceMember.
|
|
@@ -4426,6 +4650,40 @@ export namespace Prisma {
|
|
|
4426
4650
|
* Filter which WorkspaceMembers to update
|
|
4427
4651
|
*/
|
|
4428
4652
|
where?: WorkspaceMemberWhereInput
|
|
4653
|
+
/**
|
|
4654
|
+
* Limit how many WorkspaceMembers to update.
|
|
4655
|
+
*/
|
|
4656
|
+
limit?: number
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
/**
|
|
4660
|
+
* WorkspaceMember updateManyAndReturn
|
|
4661
|
+
*/
|
|
4662
|
+
export type WorkspaceMemberUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
4663
|
+
/**
|
|
4664
|
+
* Select specific fields to fetch from the WorkspaceMember
|
|
4665
|
+
*/
|
|
4666
|
+
select?: WorkspaceMemberSelectUpdateManyAndReturn<ExtArgs> | null
|
|
4667
|
+
/**
|
|
4668
|
+
* Omit specific fields from the WorkspaceMember
|
|
4669
|
+
*/
|
|
4670
|
+
omit?: WorkspaceMemberOmit<ExtArgs> | null
|
|
4671
|
+
/**
|
|
4672
|
+
* The data used to update WorkspaceMembers.
|
|
4673
|
+
*/
|
|
4674
|
+
data: XOR<WorkspaceMemberUpdateManyMutationInput, WorkspaceMemberUncheckedUpdateManyInput>
|
|
4675
|
+
/**
|
|
4676
|
+
* Filter which WorkspaceMembers to update
|
|
4677
|
+
*/
|
|
4678
|
+
where?: WorkspaceMemberWhereInput
|
|
4679
|
+
/**
|
|
4680
|
+
* Limit how many WorkspaceMembers to update.
|
|
4681
|
+
*/
|
|
4682
|
+
limit?: number
|
|
4683
|
+
/**
|
|
4684
|
+
* Choose, which related nodes to fetch as well
|
|
4685
|
+
*/
|
|
4686
|
+
include?: WorkspaceMemberIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
4429
4687
|
}
|
|
4430
4688
|
|
|
4431
4689
|
/**
|
|
@@ -4488,6 +4746,10 @@ export namespace Prisma {
|
|
|
4488
4746
|
* Filter which WorkspaceMembers to delete
|
|
4489
4747
|
*/
|
|
4490
4748
|
where?: WorkspaceMemberWhereInput
|
|
4749
|
+
/**
|
|
4750
|
+
* Limit how many WorkspaceMembers to delete.
|
|
4751
|
+
*/
|
|
4752
|
+
limit?: number
|
|
4491
4753
|
}
|
|
4492
4754
|
|
|
4493
4755
|
/**
|
|
@@ -4712,6 +4974,17 @@ export namespace Prisma {
|
|
|
4712
4974
|
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
4713
4975
|
}, ExtArgs["result"]["apiKey"]>
|
|
4714
4976
|
|
|
4977
|
+
export type ApiKeySelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
4978
|
+
ref?: boolean
|
|
4979
|
+
accessKeyId?: boolean
|
|
4980
|
+
accessKeySecret?: boolean
|
|
4981
|
+
role?: boolean
|
|
4982
|
+
createdAt?: boolean
|
|
4983
|
+
updatedAt?: boolean
|
|
4984
|
+
expiresAt?: boolean
|
|
4985
|
+
workspaceRef?: boolean
|
|
4986
|
+
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
4987
|
+
}, ExtArgs["result"]["apiKey"]>
|
|
4715
4988
|
|
|
4716
4989
|
export type ApiKeySelectScalar = {
|
|
4717
4990
|
ref?: boolean
|
|
@@ -4731,6 +5004,9 @@ export namespace Prisma {
|
|
|
4731
5004
|
export type ApiKeyIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
4732
5005
|
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
4733
5006
|
}
|
|
5007
|
+
export type ApiKeyIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
5008
|
+
workspace?: boolean | WorkspaceDefaultArgs<ExtArgs>
|
|
5009
|
+
}
|
|
4734
5010
|
|
|
4735
5011
|
export type $ApiKeyPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
4736
5012
|
name: "ApiKey"
|
|
@@ -4954,6 +5230,36 @@ export namespace Prisma {
|
|
|
4954
5230
|
*/
|
|
4955
5231
|
updateMany<T extends ApiKeyUpdateManyArgs>(args: SelectSubset<T, ApiKeyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
4956
5232
|
|
|
5233
|
+
/**
|
|
5234
|
+
* Update zero or more ApiKeys and returns the data updated in the database.
|
|
5235
|
+
* @param {ApiKeyUpdateManyAndReturnArgs} args - Arguments to update many ApiKeys.
|
|
5236
|
+
* @example
|
|
5237
|
+
* // Update many ApiKeys
|
|
5238
|
+
* const apiKey = await prisma.apiKey.updateManyAndReturn({
|
|
5239
|
+
* where: {
|
|
5240
|
+
* // ... provide filter here
|
|
5241
|
+
* },
|
|
5242
|
+
* data: [
|
|
5243
|
+
* // ... provide data here
|
|
5244
|
+
* ]
|
|
5245
|
+
* })
|
|
5246
|
+
*
|
|
5247
|
+
* // Update zero or more ApiKeys and only return the `ref`
|
|
5248
|
+
* const apiKeyWithRefOnly = await prisma.apiKey.updateManyAndReturn({
|
|
5249
|
+
* select: { ref: true },
|
|
5250
|
+
* where: {
|
|
5251
|
+
* // ... provide filter here
|
|
5252
|
+
* },
|
|
5253
|
+
* data: [
|
|
5254
|
+
* // ... provide data here
|
|
5255
|
+
* ]
|
|
5256
|
+
* })
|
|
5257
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
5258
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
5259
|
+
*
|
|
5260
|
+
*/
|
|
5261
|
+
updateManyAndReturn<T extends ApiKeyUpdateManyAndReturnArgs>(args: SelectSubset<T, ApiKeyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
|
|
5262
|
+
|
|
4957
5263
|
/**
|
|
4958
5264
|
* Create or update one ApiKey.
|
|
4959
5265
|
* @param {ApiKeyUpsertArgs} args - Arguments to update or create a ApiKey.
|
|
@@ -5444,6 +5750,40 @@ export namespace Prisma {
|
|
|
5444
5750
|
* Filter which ApiKeys to update
|
|
5445
5751
|
*/
|
|
5446
5752
|
where?: ApiKeyWhereInput
|
|
5753
|
+
/**
|
|
5754
|
+
* Limit how many ApiKeys to update.
|
|
5755
|
+
*/
|
|
5756
|
+
limit?: number
|
|
5757
|
+
}
|
|
5758
|
+
|
|
5759
|
+
/**
|
|
5760
|
+
* ApiKey updateManyAndReturn
|
|
5761
|
+
*/
|
|
5762
|
+
export type ApiKeyUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
5763
|
+
/**
|
|
5764
|
+
* Select specific fields to fetch from the ApiKey
|
|
5765
|
+
*/
|
|
5766
|
+
select?: ApiKeySelectUpdateManyAndReturn<ExtArgs> | null
|
|
5767
|
+
/**
|
|
5768
|
+
* Omit specific fields from the ApiKey
|
|
5769
|
+
*/
|
|
5770
|
+
omit?: ApiKeyOmit<ExtArgs> | null
|
|
5771
|
+
/**
|
|
5772
|
+
* The data used to update ApiKeys.
|
|
5773
|
+
*/
|
|
5774
|
+
data: XOR<ApiKeyUpdateManyMutationInput, ApiKeyUncheckedUpdateManyInput>
|
|
5775
|
+
/**
|
|
5776
|
+
* Filter which ApiKeys to update
|
|
5777
|
+
*/
|
|
5778
|
+
where?: ApiKeyWhereInput
|
|
5779
|
+
/**
|
|
5780
|
+
* Limit how many ApiKeys to update.
|
|
5781
|
+
*/
|
|
5782
|
+
limit?: number
|
|
5783
|
+
/**
|
|
5784
|
+
* Choose, which related nodes to fetch as well
|
|
5785
|
+
*/
|
|
5786
|
+
include?: ApiKeyIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
5447
5787
|
}
|
|
5448
5788
|
|
|
5449
5789
|
/**
|
|
@@ -5506,6 +5846,10 @@ export namespace Prisma {
|
|
|
5506
5846
|
* Filter which ApiKeys to delete
|
|
5507
5847
|
*/
|
|
5508
5848
|
where?: ApiKeyWhereInput
|
|
5849
|
+
/**
|
|
5850
|
+
* Limit how many ApiKeys to delete.
|
|
5851
|
+
*/
|
|
5852
|
+
limit?: number
|
|
5509
5853
|
}
|
|
5510
5854
|
|
|
5511
5855
|
/**
|
|
@@ -5710,6 +6054,14 @@ export namespace Prisma {
|
|
|
5710
6054
|
createdAt?: boolean
|
|
5711
6055
|
}, ExtArgs["result"]["verificationCode"]>
|
|
5712
6056
|
|
|
6057
|
+
export type VerificationCodeSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
6058
|
+
ref?: boolean
|
|
6059
|
+
type?: boolean
|
|
6060
|
+
code?: boolean
|
|
6061
|
+
value?: boolean
|
|
6062
|
+
expiresAt?: boolean
|
|
6063
|
+
createdAt?: boolean
|
|
6064
|
+
}, ExtArgs["result"]["verificationCode"]>
|
|
5713
6065
|
|
|
5714
6066
|
export type VerificationCodeSelectScalar = {
|
|
5715
6067
|
ref?: boolean
|
|
@@ -5937,6 +6289,36 @@ export namespace Prisma {
|
|
|
5937
6289
|
*/
|
|
5938
6290
|
updateMany<T extends VerificationCodeUpdateManyArgs>(args: SelectSubset<T, VerificationCodeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
5939
6291
|
|
|
6292
|
+
/**
|
|
6293
|
+
* Update zero or more VerificationCodes and returns the data updated in the database.
|
|
6294
|
+
* @param {VerificationCodeUpdateManyAndReturnArgs} args - Arguments to update many VerificationCodes.
|
|
6295
|
+
* @example
|
|
6296
|
+
* // Update many VerificationCodes
|
|
6297
|
+
* const verificationCode = await prisma.verificationCode.updateManyAndReturn({
|
|
6298
|
+
* where: {
|
|
6299
|
+
* // ... provide filter here
|
|
6300
|
+
* },
|
|
6301
|
+
* data: [
|
|
6302
|
+
* // ... provide data here
|
|
6303
|
+
* ]
|
|
6304
|
+
* })
|
|
6305
|
+
*
|
|
6306
|
+
* // Update zero or more VerificationCodes and only return the `ref`
|
|
6307
|
+
* const verificationCodeWithRefOnly = await prisma.verificationCode.updateManyAndReturn({
|
|
6308
|
+
* select: { ref: true },
|
|
6309
|
+
* where: {
|
|
6310
|
+
* // ... provide filter here
|
|
6311
|
+
* },
|
|
6312
|
+
* data: [
|
|
6313
|
+
* // ... provide data here
|
|
6314
|
+
* ]
|
|
6315
|
+
* })
|
|
6316
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
6317
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
6318
|
+
*
|
|
6319
|
+
*/
|
|
6320
|
+
updateManyAndReturn<T extends VerificationCodeUpdateManyAndReturnArgs>(args: SelectSubset<T, VerificationCodeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$VerificationCodePayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
|
|
6321
|
+
|
|
5940
6322
|
/**
|
|
5941
6323
|
* Create or update one VerificationCode.
|
|
5942
6324
|
* @param {VerificationCodeUpsertArgs} args - Arguments to update or create a VerificationCode.
|
|
@@ -6392,6 +6774,36 @@ export namespace Prisma {
|
|
|
6392
6774
|
* Filter which VerificationCodes to update
|
|
6393
6775
|
*/
|
|
6394
6776
|
where?: VerificationCodeWhereInput
|
|
6777
|
+
/**
|
|
6778
|
+
* Limit how many VerificationCodes to update.
|
|
6779
|
+
*/
|
|
6780
|
+
limit?: number
|
|
6781
|
+
}
|
|
6782
|
+
|
|
6783
|
+
/**
|
|
6784
|
+
* VerificationCode updateManyAndReturn
|
|
6785
|
+
*/
|
|
6786
|
+
export type VerificationCodeUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6787
|
+
/**
|
|
6788
|
+
* Select specific fields to fetch from the VerificationCode
|
|
6789
|
+
*/
|
|
6790
|
+
select?: VerificationCodeSelectUpdateManyAndReturn<ExtArgs> | null
|
|
6791
|
+
/**
|
|
6792
|
+
* Omit specific fields from the VerificationCode
|
|
6793
|
+
*/
|
|
6794
|
+
omit?: VerificationCodeOmit<ExtArgs> | null
|
|
6795
|
+
/**
|
|
6796
|
+
* The data used to update VerificationCodes.
|
|
6797
|
+
*/
|
|
6798
|
+
data: XOR<VerificationCodeUpdateManyMutationInput, VerificationCodeUncheckedUpdateManyInput>
|
|
6799
|
+
/**
|
|
6800
|
+
* Filter which VerificationCodes to update
|
|
6801
|
+
*/
|
|
6802
|
+
where?: VerificationCodeWhereInput
|
|
6803
|
+
/**
|
|
6804
|
+
* Limit how many VerificationCodes to update.
|
|
6805
|
+
*/
|
|
6806
|
+
limit?: number
|
|
6395
6807
|
}
|
|
6396
6808
|
|
|
6397
6809
|
/**
|
|
@@ -6446,6 +6858,10 @@ export namespace Prisma {
|
|
|
6446
6858
|
* Filter which VerificationCodes to delete
|
|
6447
6859
|
*/
|
|
6448
6860
|
where?: VerificationCodeWhereInput
|
|
6861
|
+
/**
|
|
6862
|
+
* Limit how many VerificationCodes to delete.
|
|
6863
|
+
*/
|
|
6864
|
+
limit?: number
|
|
6449
6865
|
}
|
|
6450
6866
|
|
|
6451
6867
|
/**
|
|
@@ -6634,6 +7050,13 @@ export namespace Prisma {
|
|
|
6634
7050
|
|
|
6635
7051
|
|
|
6636
7052
|
|
|
7053
|
+
/**
|
|
7054
|
+
* Reference to a field of type 'QueryMode'
|
|
7055
|
+
*/
|
|
7056
|
+
export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'>
|
|
7057
|
+
|
|
7058
|
+
|
|
7059
|
+
|
|
6637
7060
|
/**
|
|
6638
7061
|
* Reference to a field of type 'WorkspaceMemberStatus'
|
|
6639
7062
|
*/
|
|
@@ -7507,12 +7930,13 @@ export namespace Prisma {
|
|
|
7507
7930
|
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
|
7508
7931
|
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
7509
7932
|
path?: string[]
|
|
7933
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
7510
7934
|
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
7511
7935
|
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
7512
7936
|
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
7513
|
-
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
7514
7937
|
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
7515
7938
|
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
7939
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
7516
7940
|
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
7517
7941
|
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
7518
7942
|
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
@@ -7655,12 +8079,13 @@ export namespace Prisma {
|
|
|
7655
8079
|
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
7656
8080
|
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
7657
8081
|
path?: string[]
|
|
8082
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
7658
8083
|
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
7659
8084
|
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
7660
8085
|
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
7661
|
-
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
7662
8086
|
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
7663
8087
|
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
8088
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
7664
8089
|
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
7665
8090
|
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
7666
8091
|
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
@@ -8297,12 +8722,13 @@ export namespace Prisma {
|
|
|
8297
8722
|
export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
|
8298
8723
|
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
8299
8724
|
path?: string[]
|
|
8725
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
8300
8726
|
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
8301
8727
|
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
8302
8728
|
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
8303
|
-
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
8304
8729
|
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
8305
8730
|
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
8731
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
8306
8732
|
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
8307
8733
|
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
8308
8734
|
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
@@ -32,12 +32,12 @@ exports.Prisma = Prisma
|
|
|
32
32
|
exports.$Enums = {}
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Prisma Client JS version: 6.
|
|
36
|
-
* Query Engine version:
|
|
35
|
+
* Prisma Client JS version: 6.4.1
|
|
36
|
+
* Query Engine version: a9055b89e58b4b5bfb59600785423b1db3d0e75d
|
|
37
37
|
*/
|
|
38
38
|
Prisma.prismaVersion = {
|
|
39
|
-
client: "6.
|
|
40
|
-
engine: "
|
|
39
|
+
client: "6.4.1",
|
|
40
|
+
engine: "a9055b89e58b4b5bfb59600785423b1db3d0e75d"
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
|
|
@@ -229,8 +229,8 @@ const config = {
|
|
|
229
229
|
"schemaEnvPath": "../../../../../../.env"
|
|
230
230
|
},
|
|
231
231
|
"relativePath": "../../../..",
|
|
232
|
-
"clientVersion": "6.
|
|
233
|
-
"engineVersion": "
|
|
232
|
+
"clientVersion": "6.4.1",
|
|
233
|
+
"engineVersion": "a9055b89e58b4b5bfb59600785423b1db3d0e75d",
|
|
234
234
|
"datasourceNames": [
|
|
235
235
|
"db"
|
|
236
236
|
],
|