@highstate/backend 0.9.26 → 0.9.28
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/{chunk-GJTMJQUW.js → chunk-QSHSXLO2.js} +18 -9
- package/dist/chunk-QSHSXLO2.js.map +1 -0
- package/dist/index.js +292 -132
- package/dist/index.js.map +1 -1
- package/dist/shared/index.js +1 -1
- package/package.json +3 -3
- package/prisma/backend/_schema/layout.prisma +3 -1
- package/prisma/backend/_schema/project.prisma +4 -2
- package/prisma/backend/_schema/unlock-method.prisma +19 -0
- package/prisma/backend/sqlite/migrations/{20250818082732_add_models → 20250928124105_initial_migration}/migration.sql +48 -16
- package/prisma/project/api-key.prisma +3 -1
- package/prisma/project/artifact.prisma +2 -2
- package/prisma/project/custom-status.prisma +1 -1
- package/prisma/project/layout.prisma +4 -0
- package/prisma/project/migrations/{20250816081310_initial → 20250928130725_initial_migration}/migration.sql +132 -46
- package/prisma/project/terminal.prisma +2 -2
- package/prisma/project/unlock-method.prisma +1 -1
- package/prisma/project/worker.prisma +1 -1
- package/src/business/backend-unlock.test.ts +133 -0
- package/src/business/backend-unlock.ts +76 -0
- package/src/business/index.ts +1 -0
- package/src/business/settings.test.ts +3 -2
- package/src/database/_generated/backend/postgresql/client.ts +9 -4
- package/src/database/_generated/backend/postgresql/internal/class.ts +147 -168
- package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +127 -40
- package/src/database/_generated/backend/postgresql/models/BackendUnlockMethod.ts +1156 -0
- package/src/database/_generated/backend/postgresql/models/Project.ts +2 -2
- package/src/database/_generated/backend/postgresql/models/ProjectSpace.ts +7 -1
- package/src/database/_generated/backend/postgresql/models/UserWorkspaceLayout.ts +1067 -0
- package/src/database/_generated/backend/postgresql/models.ts +2 -1
- package/src/database/_generated/backend/sqlite/client.ts +9 -4
- package/src/database/_generated/backend/sqlite/internal/class.ts +146 -165
- package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +127 -40
- package/src/database/_generated/backend/sqlite/models/BackendUnlockMethod.ts +1154 -0
- package/src/database/_generated/backend/sqlite/models/Project.ts +2 -2
- package/src/database/_generated/backend/sqlite/models/ProjectSpace.ts +7 -1
- package/src/database/_generated/backend/sqlite/models/UserWorkspaceLayout.ts +1065 -0
- package/src/database/_generated/backend/sqlite/models.ts +2 -1
- package/src/database/_generated/project/commonInputTypes.ts +26 -26
- package/src/database/_generated/project/internal/class.ts +7 -8
- package/src/database/_generated/project/internal/prismaNamespace.ts +8 -7
- package/src/database/_generated/project/models/ApiKey.ts +2 -0
- package/src/database/_generated/project/models/Artifact.ts +2 -2
- package/src/database/_generated/project/models/InstanceCustomStatus.ts +1 -1
- package/src/database/_generated/project/models/OperationLog.ts +49 -1
- package/src/database/_generated/project/models/UnlockMethod.ts +2 -2
- package/src/database/_generated/project/models/UserCompositeViewport.ts +16 -14
- package/src/database/_generated/project/models/UserProjectViewport.ts +11 -9
- package/src/database/_generated/project/models/WorkerVersion.ts +1 -5
- package/src/database/abstractions.ts +25 -3
- package/src/database/factory.ts +5 -6
- package/src/database/local/backend.ts +148 -18
- package/src/database/manager.ts +30 -2
- package/src/database/prisma.ts +1 -0
- package/src/orchestrator/operation-plan.ts +0 -19
- package/src/orchestrator/operation.ts +21 -4
- package/src/services.ts +12 -3
- package/src/shared/models/backend/unlock-method.ts +7 -13
- package/src/shared/models/errors.ts +14 -0
- package/src/shared/models/prisma.ts +10 -2
- package/src/test-utils/database.ts +34 -6
- package/dist/chunk-GJTMJQUW.js.map +0 -1
- package/prisma/backend/sqlite/migrations/20250817070609_initiial/migration.sql +0 -34
- package/prisma/backend/sqlite/migrations/20250817104948_add_fields/migration.sql +0 -59
- package/prisma/backend/sqlite/migrations/20250818083106_a/migration.sql +0 -19
- package/prisma/backend/sqlite/migrations/20250818101945_hi/migration.sql +0 -1
- package/prisma/backend/sqlite/migrations/20250819082315_a/migration.sql +0 -5
- package/prisma/project/migrations/20250816082523_test/migration.sql +0 -72
- package/prisma/project/migrations/20250818065643_update/migration.sql +0 -42
- package/prisma/project/migrations/20250818070758_a/migration.sql +0 -8
- package/prisma/project/migrations/20250818070913_a/migration.sql +0 -8
- package/prisma/project/migrations/20250818082720_add_motels/migration.sql +0 -11
- package/prisma/project/migrations/20250818112523_hello/migration.sql +0 -35
- package/prisma/project/migrations/20250819082305_a/migration.sql +0 -14
- package/prisma/project/migrations/20250819165004_add_missing_fields/migration.sql +0 -216
- package/prisma/project/migrations/20250819171309_a/migration.sql +0 -22
- package/prisma/project/migrations/20250820113949_a/migration.sql +0 -66
- package/prisma/project/migrations/20250820144256_b/migration.sql +0 -31
- package/prisma/project/migrations/20250820145547_a/migration.sql +0 -24
- package/prisma/project/migrations/20250820182517_b/migration.sql +0 -2
- package/prisma/project/migrations/20250821172324_a/migration.sql +0 -2
- package/prisma/project/migrations/20250822081339_a/migration.sql +0 -219
- package/prisma/project/migrations/20250822083742_b/migration.sql +0 -1
- package/prisma/project/migrations/20250822105134_boom/migration.sql +0 -1
- package/prisma/project/migrations/20250822141028_b/migration.sql +0 -1
- package/prisma/project/migrations/20250822142342_b/migration.sql +0 -16
- package/prisma/project/migrations/20250824072720_a/migration.sql +0 -1
- package/prisma/project/migrations/20250824093656_b/migration.sql +0 -21
- package/prisma/project/migrations/20250825082518_a/migration.sql +0 -1
- package/prisma/project/migrations/20250825085343_b/migration.sql +0 -1
- package/prisma/project/migrations/20250825091312_a/migration.sql +0 -1
- package/prisma/project/migrations/20250903095431_hi/migration.sql +0 -44
- package/prisma/project/migrations/20250903174255_a/migration.sql +0 -24
- package/prisma/project/migrations/20250908095205_hi/migration.sql +0 -18
- package/prisma/project/migrations/20250909155857_hi/migration.sql +0 -15
- package/prisma/project/migrations/20250921092621_b/migration.sql +0 -33
- package/prisma/project/migrations/20250921093911_b/migration.sql +0 -1
- package/src/database/_generated/backend/postgresql/models/UserWorkspaseLayout.ts +0 -1065
- package/src/database/_generated/backend/sqlite/models/UserWorkspaseLayout.ts +0 -1063
|
@@ -1,1063 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
/**
|
|
6
|
-
* This file exports the `UserWorkspaseLayout` model and its related types.
|
|
7
|
-
*
|
|
8
|
-
* 🟢 You can import this file directly.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import type * as PJTG from '../pjtg.ts';
|
|
12
|
-
import * as runtime from "@prisma/client/runtime/client"
|
|
13
|
-
import type * as $Enums from "../enums.ts"
|
|
14
|
-
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Model UserWorkspaseLayout
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export type UserWorkspaseLayoutModel = runtime.Types.Result.DefaultSelection<Prisma.$UserWorkspaseLayoutPayload>
|
|
21
|
-
|
|
22
|
-
export type AggregateUserWorkspaseLayout = {
|
|
23
|
-
_count: UserWorkspaseLayoutCountAggregateOutputType | null
|
|
24
|
-
_min: UserWorkspaseLayoutMinAggregateOutputType | null
|
|
25
|
-
_max: UserWorkspaseLayoutMaxAggregateOutputType | null
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export type UserWorkspaseLayoutMinAggregateOutputType = {
|
|
29
|
-
userId: string | null
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type UserWorkspaseLayoutMaxAggregateOutputType = {
|
|
33
|
-
userId: string | null
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type UserWorkspaseLayoutCountAggregateOutputType = {
|
|
37
|
-
userId: number
|
|
38
|
-
layout: number
|
|
39
|
-
_all: number
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
export type UserWorkspaseLayoutMinAggregateInputType = {
|
|
44
|
-
userId?: true
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export type UserWorkspaseLayoutMaxAggregateInputType = {
|
|
48
|
-
userId?: true
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type UserWorkspaseLayoutCountAggregateInputType = {
|
|
52
|
-
userId?: true
|
|
53
|
-
layout?: true
|
|
54
|
-
_all?: true
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export type UserWorkspaseLayoutAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
58
|
-
/**
|
|
59
|
-
* Filter which UserWorkspaseLayout to aggregate.
|
|
60
|
-
*/
|
|
61
|
-
where?: Prisma.UserWorkspaseLayoutWhereInput
|
|
62
|
-
/**
|
|
63
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
64
|
-
*
|
|
65
|
-
* Determine the order of UserWorkspaseLayouts to fetch.
|
|
66
|
-
*/
|
|
67
|
-
orderBy?: Prisma.UserWorkspaseLayoutOrderByWithRelationInput | Prisma.UserWorkspaseLayoutOrderByWithRelationInput[]
|
|
68
|
-
/**
|
|
69
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
70
|
-
*
|
|
71
|
-
* Sets the start position
|
|
72
|
-
*/
|
|
73
|
-
cursor?: Prisma.UserWorkspaseLayoutWhereUniqueInput
|
|
74
|
-
/**
|
|
75
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
76
|
-
*
|
|
77
|
-
* Take `±n` UserWorkspaseLayouts from the position of the cursor.
|
|
78
|
-
*/
|
|
79
|
-
take?: number
|
|
80
|
-
/**
|
|
81
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
82
|
-
*
|
|
83
|
-
* Skip the first `n` UserWorkspaseLayouts.
|
|
84
|
-
*/
|
|
85
|
-
skip?: number
|
|
86
|
-
/**
|
|
87
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
88
|
-
*
|
|
89
|
-
* Count returned UserWorkspaseLayouts
|
|
90
|
-
**/
|
|
91
|
-
_count?: true | UserWorkspaseLayoutCountAggregateInputType
|
|
92
|
-
/**
|
|
93
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
94
|
-
*
|
|
95
|
-
* Select which fields to find the minimum value
|
|
96
|
-
**/
|
|
97
|
-
_min?: UserWorkspaseLayoutMinAggregateInputType
|
|
98
|
-
/**
|
|
99
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
100
|
-
*
|
|
101
|
-
* Select which fields to find the maximum value
|
|
102
|
-
**/
|
|
103
|
-
_max?: UserWorkspaseLayoutMaxAggregateInputType
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export type GetUserWorkspaseLayoutAggregateType<T extends UserWorkspaseLayoutAggregateArgs> = {
|
|
107
|
-
[P in keyof T & keyof AggregateUserWorkspaseLayout]: P extends '_count' | 'count'
|
|
108
|
-
? T[P] extends true
|
|
109
|
-
? number
|
|
110
|
-
: Prisma.GetScalarType<T[P], AggregateUserWorkspaseLayout[P]>
|
|
111
|
-
: Prisma.GetScalarType<T[P], AggregateUserWorkspaseLayout[P]>
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
export type UserWorkspaseLayoutGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
118
|
-
where?: Prisma.UserWorkspaseLayoutWhereInput
|
|
119
|
-
orderBy?: Prisma.UserWorkspaseLayoutOrderByWithAggregationInput | Prisma.UserWorkspaseLayoutOrderByWithAggregationInput[]
|
|
120
|
-
by: Prisma.UserWorkspaseLayoutScalarFieldEnum[] | Prisma.UserWorkspaseLayoutScalarFieldEnum
|
|
121
|
-
having?: Prisma.UserWorkspaseLayoutScalarWhereWithAggregatesInput
|
|
122
|
-
take?: number
|
|
123
|
-
skip?: number
|
|
124
|
-
_count?: UserWorkspaseLayoutCountAggregateInputType | true
|
|
125
|
-
_min?: UserWorkspaseLayoutMinAggregateInputType
|
|
126
|
-
_max?: UserWorkspaseLayoutMaxAggregateInputType
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export type UserWorkspaseLayoutGroupByOutputType = {
|
|
130
|
-
userId: string
|
|
131
|
-
layout: unknown
|
|
132
|
-
_count: UserWorkspaseLayoutCountAggregateOutputType | null
|
|
133
|
-
_min: UserWorkspaseLayoutMinAggregateOutputType | null
|
|
134
|
-
_max: UserWorkspaseLayoutMaxAggregateOutputType | null
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
type GetUserWorkspaseLayoutGroupByPayload<T extends UserWorkspaseLayoutGroupByArgs> = Prisma.PrismaPromise<
|
|
138
|
-
Array<
|
|
139
|
-
Prisma.PickEnumerable<UserWorkspaseLayoutGroupByOutputType, T['by']> &
|
|
140
|
-
{
|
|
141
|
-
[P in ((keyof T) & (keyof UserWorkspaseLayoutGroupByOutputType))]: P extends '_count'
|
|
142
|
-
? T[P] extends boolean
|
|
143
|
-
? number
|
|
144
|
-
: Prisma.GetScalarType<T[P], UserWorkspaseLayoutGroupByOutputType[P]>
|
|
145
|
-
: Prisma.GetScalarType<T[P], UserWorkspaseLayoutGroupByOutputType[P]>
|
|
146
|
-
}
|
|
147
|
-
>
|
|
148
|
-
>
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
export type UserWorkspaseLayoutWhereInput = {
|
|
153
|
-
AND?: Prisma.UserWorkspaseLayoutWhereInput | Prisma.UserWorkspaseLayoutWhereInput[]
|
|
154
|
-
OR?: Prisma.UserWorkspaseLayoutWhereInput[]
|
|
155
|
-
NOT?: Prisma.UserWorkspaseLayoutWhereInput | Prisma.UserWorkspaseLayoutWhereInput[]
|
|
156
|
-
userId?: Prisma.StringFilter<"UserWorkspaseLayout"> | string
|
|
157
|
-
layout?: Prisma.JsonFilter<"UserWorkspaseLayout">
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export type UserWorkspaseLayoutOrderByWithRelationInput = {
|
|
161
|
-
userId?: Prisma.SortOrder
|
|
162
|
-
layout?: Prisma.SortOrder
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export type UserWorkspaseLayoutWhereUniqueInput = Prisma.AtLeast<{
|
|
166
|
-
userId?: string
|
|
167
|
-
AND?: Prisma.UserWorkspaseLayoutWhereInput | Prisma.UserWorkspaseLayoutWhereInput[]
|
|
168
|
-
OR?: Prisma.UserWorkspaseLayoutWhereInput[]
|
|
169
|
-
NOT?: Prisma.UserWorkspaseLayoutWhereInput | Prisma.UserWorkspaseLayoutWhereInput[]
|
|
170
|
-
layout?: Prisma.JsonFilter<"UserWorkspaseLayout">
|
|
171
|
-
}, "userId">
|
|
172
|
-
|
|
173
|
-
export type UserWorkspaseLayoutOrderByWithAggregationInput = {
|
|
174
|
-
userId?: Prisma.SortOrder
|
|
175
|
-
layout?: Prisma.SortOrder
|
|
176
|
-
_count?: Prisma.UserWorkspaseLayoutCountOrderByAggregateInput
|
|
177
|
-
_max?: Prisma.UserWorkspaseLayoutMaxOrderByAggregateInput
|
|
178
|
-
_min?: Prisma.UserWorkspaseLayoutMinOrderByAggregateInput
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export type UserWorkspaseLayoutScalarWhereWithAggregatesInput = {
|
|
182
|
-
AND?: Prisma.UserWorkspaseLayoutScalarWhereWithAggregatesInput | Prisma.UserWorkspaseLayoutScalarWhereWithAggregatesInput[]
|
|
183
|
-
OR?: Prisma.UserWorkspaseLayoutScalarWhereWithAggregatesInput[]
|
|
184
|
-
NOT?: Prisma.UserWorkspaseLayoutScalarWhereWithAggregatesInput | Prisma.UserWorkspaseLayoutScalarWhereWithAggregatesInput[]
|
|
185
|
-
userId?: Prisma.StringWithAggregatesFilter<"UserWorkspaseLayout"> | string
|
|
186
|
-
layout?: Prisma.JsonWithAggregatesFilter<"UserWorkspaseLayout">
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
export type UserWorkspaseLayoutCreateInput = {
|
|
190
|
-
userId: string
|
|
191
|
-
layout: unknown
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
export type UserWorkspaseLayoutUncheckedCreateInput = {
|
|
195
|
-
userId: string
|
|
196
|
-
layout: unknown
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
export type UserWorkspaseLayoutUpdateInput = {
|
|
200
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
201
|
-
layout?: unknown
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export type UserWorkspaseLayoutUncheckedUpdateInput = {
|
|
205
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
206
|
-
layout?: unknown
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
export type UserWorkspaseLayoutCreateManyInput = {
|
|
210
|
-
userId: string
|
|
211
|
-
layout: unknown
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export type UserWorkspaseLayoutUpdateManyMutationInput = {
|
|
215
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
216
|
-
layout?: unknown
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
export type UserWorkspaseLayoutUncheckedUpdateManyInput = {
|
|
220
|
-
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
221
|
-
layout?: unknown
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
export type UserWorkspaseLayoutCountOrderByAggregateInput = {
|
|
225
|
-
userId?: Prisma.SortOrder
|
|
226
|
-
layout?: Prisma.SortOrder
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
export type UserWorkspaseLayoutMaxOrderByAggregateInput = {
|
|
230
|
-
userId?: Prisma.SortOrder
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
export type UserWorkspaseLayoutMinOrderByAggregateInput = {
|
|
234
|
-
userId?: Prisma.SortOrder
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
export type StringFieldUpdateOperationsInput = {
|
|
238
|
-
set?: string
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
export type UserWorkspaseLayoutSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
244
|
-
userId?: boolean
|
|
245
|
-
layout?: boolean
|
|
246
|
-
}, ExtArgs["result"]["userWorkspaseLayout"]>
|
|
247
|
-
|
|
248
|
-
export type UserWorkspaseLayoutSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
249
|
-
userId?: boolean
|
|
250
|
-
layout?: boolean
|
|
251
|
-
}, ExtArgs["result"]["userWorkspaseLayout"]>
|
|
252
|
-
|
|
253
|
-
export type UserWorkspaseLayoutSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
254
|
-
userId?: boolean
|
|
255
|
-
layout?: boolean
|
|
256
|
-
}, ExtArgs["result"]["userWorkspaseLayout"]>
|
|
257
|
-
|
|
258
|
-
export type UserWorkspaseLayoutSelectScalar = {
|
|
259
|
-
userId?: boolean
|
|
260
|
-
layout?: boolean
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export type UserWorkspaseLayoutOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"userId" | "layout", ExtArgs["result"]["userWorkspaseLayout"]>
|
|
264
|
-
|
|
265
|
-
export type $UserWorkspaseLayoutPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
266
|
-
name: "UserWorkspaseLayout"
|
|
267
|
-
objects: {}
|
|
268
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
269
|
-
/**
|
|
270
|
-
* The opaque ID of the user to which this layout belongs.
|
|
271
|
-
*/
|
|
272
|
-
userId: string
|
|
273
|
-
/**
|
|
274
|
-
* The layout of the user workspace managed by the frontend.
|
|
275
|
-
*/
|
|
276
|
-
layout: unknown
|
|
277
|
-
}, ExtArgs["result"]["userWorkspaseLayout"]>
|
|
278
|
-
composites: {}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
export type UserWorkspaseLayoutGetPayload<S extends boolean | null | undefined | UserWorkspaseLayoutDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload, S>
|
|
282
|
-
|
|
283
|
-
export type UserWorkspaseLayoutCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
284
|
-
Omit<UserWorkspaseLayoutFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
285
|
-
select?: UserWorkspaseLayoutCountAggregateInputType | true
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
export interface UserWorkspaseLayoutDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
289
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserWorkspaseLayout'], meta: { name: 'UserWorkspaseLayout' } }
|
|
290
|
-
/**
|
|
291
|
-
* Find zero or one UserWorkspaseLayout that matches the filter.
|
|
292
|
-
* @param {UserWorkspaseLayoutFindUniqueArgs} args - Arguments to find a UserWorkspaseLayout
|
|
293
|
-
* @example
|
|
294
|
-
* // Get one UserWorkspaseLayout
|
|
295
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.findUnique({
|
|
296
|
-
* where: {
|
|
297
|
-
* // ... provide filter here
|
|
298
|
-
* }
|
|
299
|
-
* })
|
|
300
|
-
*/
|
|
301
|
-
findUnique<T extends UserWorkspaseLayoutFindUniqueArgs>(args: Prisma.SelectSubset<T, UserWorkspaseLayoutFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UserWorkspaseLayoutClient<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* Find one UserWorkspaseLayout that matches the filter or throw an error with `error.code='P2025'`
|
|
305
|
-
* if no matches were found.
|
|
306
|
-
* @param {UserWorkspaseLayoutFindUniqueOrThrowArgs} args - Arguments to find a UserWorkspaseLayout
|
|
307
|
-
* @example
|
|
308
|
-
* // Get one UserWorkspaseLayout
|
|
309
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.findUniqueOrThrow({
|
|
310
|
-
* where: {
|
|
311
|
-
* // ... provide filter here
|
|
312
|
-
* }
|
|
313
|
-
* })
|
|
314
|
-
*/
|
|
315
|
-
findUniqueOrThrow<T extends UserWorkspaseLayoutFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UserWorkspaseLayoutFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserWorkspaseLayoutClient<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* Find the first UserWorkspaseLayout that matches the filter.
|
|
319
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
320
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
321
|
-
* @param {UserWorkspaseLayoutFindFirstArgs} args - Arguments to find a UserWorkspaseLayout
|
|
322
|
-
* @example
|
|
323
|
-
* // Get one UserWorkspaseLayout
|
|
324
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.findFirst({
|
|
325
|
-
* where: {
|
|
326
|
-
* // ... provide filter here
|
|
327
|
-
* }
|
|
328
|
-
* })
|
|
329
|
-
*/
|
|
330
|
-
findFirst<T extends UserWorkspaseLayoutFindFirstArgs>(args?: Prisma.SelectSubset<T, UserWorkspaseLayoutFindFirstArgs<ExtArgs>>): Prisma.Prisma__UserWorkspaseLayoutClient<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Find the first UserWorkspaseLayout that matches the filter or
|
|
334
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
335
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
336
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
337
|
-
* @param {UserWorkspaseLayoutFindFirstOrThrowArgs} args - Arguments to find a UserWorkspaseLayout
|
|
338
|
-
* @example
|
|
339
|
-
* // Get one UserWorkspaseLayout
|
|
340
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.findFirstOrThrow({
|
|
341
|
-
* where: {
|
|
342
|
-
* // ... provide filter here
|
|
343
|
-
* }
|
|
344
|
-
* })
|
|
345
|
-
*/
|
|
346
|
-
findFirstOrThrow<T extends UserWorkspaseLayoutFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UserWorkspaseLayoutFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserWorkspaseLayoutClient<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Find zero or more UserWorkspaseLayouts that matches the filter.
|
|
350
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
351
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
352
|
-
* @param {UserWorkspaseLayoutFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
353
|
-
* @example
|
|
354
|
-
* // Get all UserWorkspaseLayouts
|
|
355
|
-
* const userWorkspaseLayouts = await prisma.userWorkspaseLayout.findMany()
|
|
356
|
-
*
|
|
357
|
-
* // Get first 10 UserWorkspaseLayouts
|
|
358
|
-
* const userWorkspaseLayouts = await prisma.userWorkspaseLayout.findMany({ take: 10 })
|
|
359
|
-
*
|
|
360
|
-
* // Only select the `userId`
|
|
361
|
-
* const userWorkspaseLayoutWithUserIdOnly = await prisma.userWorkspaseLayout.findMany({ select: { userId: true } })
|
|
362
|
-
*
|
|
363
|
-
*/
|
|
364
|
-
findMany<T extends UserWorkspaseLayoutFindManyArgs>(args?: Prisma.SelectSubset<T, UserWorkspaseLayoutFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* Create a UserWorkspaseLayout.
|
|
368
|
-
* @param {UserWorkspaseLayoutCreateArgs} args - Arguments to create a UserWorkspaseLayout.
|
|
369
|
-
* @example
|
|
370
|
-
* // Create one UserWorkspaseLayout
|
|
371
|
-
* const UserWorkspaseLayout = await prisma.userWorkspaseLayout.create({
|
|
372
|
-
* data: {
|
|
373
|
-
* // ... data to create a UserWorkspaseLayout
|
|
374
|
-
* }
|
|
375
|
-
* })
|
|
376
|
-
*
|
|
377
|
-
*/
|
|
378
|
-
create<T extends UserWorkspaseLayoutCreateArgs>(args: Prisma.SelectSubset<T, UserWorkspaseLayoutCreateArgs<ExtArgs>>): Prisma.Prisma__UserWorkspaseLayoutClient<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Create many UserWorkspaseLayouts.
|
|
382
|
-
* @param {UserWorkspaseLayoutCreateManyArgs} args - Arguments to create many UserWorkspaseLayouts.
|
|
383
|
-
* @example
|
|
384
|
-
* // Create many UserWorkspaseLayouts
|
|
385
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.createMany({
|
|
386
|
-
* data: [
|
|
387
|
-
* // ... provide data here
|
|
388
|
-
* ]
|
|
389
|
-
* })
|
|
390
|
-
*
|
|
391
|
-
*/
|
|
392
|
-
createMany<T extends UserWorkspaseLayoutCreateManyArgs>(args?: Prisma.SelectSubset<T, UserWorkspaseLayoutCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Create many UserWorkspaseLayouts and returns the data saved in the database.
|
|
396
|
-
* @param {UserWorkspaseLayoutCreateManyAndReturnArgs} args - Arguments to create many UserWorkspaseLayouts.
|
|
397
|
-
* @example
|
|
398
|
-
* // Create many UserWorkspaseLayouts
|
|
399
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.createManyAndReturn({
|
|
400
|
-
* data: [
|
|
401
|
-
* // ... provide data here
|
|
402
|
-
* ]
|
|
403
|
-
* })
|
|
404
|
-
*
|
|
405
|
-
* // Create many UserWorkspaseLayouts and only return the `userId`
|
|
406
|
-
* const userWorkspaseLayoutWithUserIdOnly = await prisma.userWorkspaseLayout.createManyAndReturn({
|
|
407
|
-
* select: { userId: true },
|
|
408
|
-
* data: [
|
|
409
|
-
* // ... provide data here
|
|
410
|
-
* ]
|
|
411
|
-
* })
|
|
412
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
413
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
414
|
-
*
|
|
415
|
-
*/
|
|
416
|
-
createManyAndReturn<T extends UserWorkspaseLayoutCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserWorkspaseLayoutCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* Delete a UserWorkspaseLayout.
|
|
420
|
-
* @param {UserWorkspaseLayoutDeleteArgs} args - Arguments to delete one UserWorkspaseLayout.
|
|
421
|
-
* @example
|
|
422
|
-
* // Delete one UserWorkspaseLayout
|
|
423
|
-
* const UserWorkspaseLayout = await prisma.userWorkspaseLayout.delete({
|
|
424
|
-
* where: {
|
|
425
|
-
* // ... filter to delete one UserWorkspaseLayout
|
|
426
|
-
* }
|
|
427
|
-
* })
|
|
428
|
-
*
|
|
429
|
-
*/
|
|
430
|
-
delete<T extends UserWorkspaseLayoutDeleteArgs>(args: Prisma.SelectSubset<T, UserWorkspaseLayoutDeleteArgs<ExtArgs>>): Prisma.Prisma__UserWorkspaseLayoutClient<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
431
|
-
|
|
432
|
-
/**
|
|
433
|
-
* Update one UserWorkspaseLayout.
|
|
434
|
-
* @param {UserWorkspaseLayoutUpdateArgs} args - Arguments to update one UserWorkspaseLayout.
|
|
435
|
-
* @example
|
|
436
|
-
* // Update one UserWorkspaseLayout
|
|
437
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.update({
|
|
438
|
-
* where: {
|
|
439
|
-
* // ... provide filter here
|
|
440
|
-
* },
|
|
441
|
-
* data: {
|
|
442
|
-
* // ... provide data here
|
|
443
|
-
* }
|
|
444
|
-
* })
|
|
445
|
-
*
|
|
446
|
-
*/
|
|
447
|
-
update<T extends UserWorkspaseLayoutUpdateArgs>(args: Prisma.SelectSubset<T, UserWorkspaseLayoutUpdateArgs<ExtArgs>>): Prisma.Prisma__UserWorkspaseLayoutClient<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
448
|
-
|
|
449
|
-
/**
|
|
450
|
-
* Delete zero or more UserWorkspaseLayouts.
|
|
451
|
-
* @param {UserWorkspaseLayoutDeleteManyArgs} args - Arguments to filter UserWorkspaseLayouts to delete.
|
|
452
|
-
* @example
|
|
453
|
-
* // Delete a few UserWorkspaseLayouts
|
|
454
|
-
* const { count } = await prisma.userWorkspaseLayout.deleteMany({
|
|
455
|
-
* where: {
|
|
456
|
-
* // ... provide filter here
|
|
457
|
-
* }
|
|
458
|
-
* })
|
|
459
|
-
*
|
|
460
|
-
*/
|
|
461
|
-
deleteMany<T extends UserWorkspaseLayoutDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserWorkspaseLayoutDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* Update zero or more UserWorkspaseLayouts.
|
|
465
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
466
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
467
|
-
* @param {UserWorkspaseLayoutUpdateManyArgs} args - Arguments to update one or more rows.
|
|
468
|
-
* @example
|
|
469
|
-
* // Update many UserWorkspaseLayouts
|
|
470
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.updateMany({
|
|
471
|
-
* where: {
|
|
472
|
-
* // ... provide filter here
|
|
473
|
-
* },
|
|
474
|
-
* data: {
|
|
475
|
-
* // ... provide data here
|
|
476
|
-
* }
|
|
477
|
-
* })
|
|
478
|
-
*
|
|
479
|
-
*/
|
|
480
|
-
updateMany<T extends UserWorkspaseLayoutUpdateManyArgs>(args: Prisma.SelectSubset<T, UserWorkspaseLayoutUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* Update zero or more UserWorkspaseLayouts and returns the data updated in the database.
|
|
484
|
-
* @param {UserWorkspaseLayoutUpdateManyAndReturnArgs} args - Arguments to update many UserWorkspaseLayouts.
|
|
485
|
-
* @example
|
|
486
|
-
* // Update many UserWorkspaseLayouts
|
|
487
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.updateManyAndReturn({
|
|
488
|
-
* where: {
|
|
489
|
-
* // ... provide filter here
|
|
490
|
-
* },
|
|
491
|
-
* data: [
|
|
492
|
-
* // ... provide data here
|
|
493
|
-
* ]
|
|
494
|
-
* })
|
|
495
|
-
*
|
|
496
|
-
* // Update zero or more UserWorkspaseLayouts and only return the `userId`
|
|
497
|
-
* const userWorkspaseLayoutWithUserIdOnly = await prisma.userWorkspaseLayout.updateManyAndReturn({
|
|
498
|
-
* select: { userId: true },
|
|
499
|
-
* where: {
|
|
500
|
-
* // ... provide filter here
|
|
501
|
-
* },
|
|
502
|
-
* data: [
|
|
503
|
-
* // ... provide data here
|
|
504
|
-
* ]
|
|
505
|
-
* })
|
|
506
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
507
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
508
|
-
*
|
|
509
|
-
*/
|
|
510
|
-
updateManyAndReturn<T extends UserWorkspaseLayoutUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserWorkspaseLayoutUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Create or update one UserWorkspaseLayout.
|
|
514
|
-
* @param {UserWorkspaseLayoutUpsertArgs} args - Arguments to update or create a UserWorkspaseLayout.
|
|
515
|
-
* @example
|
|
516
|
-
* // Update or create a UserWorkspaseLayout
|
|
517
|
-
* const userWorkspaseLayout = await prisma.userWorkspaseLayout.upsert({
|
|
518
|
-
* create: {
|
|
519
|
-
* // ... data to create a UserWorkspaseLayout
|
|
520
|
-
* },
|
|
521
|
-
* update: {
|
|
522
|
-
* // ... in case it already exists, update
|
|
523
|
-
* },
|
|
524
|
-
* where: {
|
|
525
|
-
* // ... the filter for the UserWorkspaseLayout we want to update
|
|
526
|
-
* }
|
|
527
|
-
* })
|
|
528
|
-
*/
|
|
529
|
-
upsert<T extends UserWorkspaseLayoutUpsertArgs>(args: Prisma.SelectSubset<T, UserWorkspaseLayoutUpsertArgs<ExtArgs>>): Prisma.Prisma__UserWorkspaseLayoutClient<runtime.Types.Result.GetResult<Prisma.$UserWorkspaseLayoutPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* Count the number of UserWorkspaseLayouts.
|
|
534
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
535
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
536
|
-
* @param {UserWorkspaseLayoutCountArgs} args - Arguments to filter UserWorkspaseLayouts to count.
|
|
537
|
-
* @example
|
|
538
|
-
* // Count the number of UserWorkspaseLayouts
|
|
539
|
-
* const count = await prisma.userWorkspaseLayout.count({
|
|
540
|
-
* where: {
|
|
541
|
-
* // ... the filter for the UserWorkspaseLayouts we want to count
|
|
542
|
-
* }
|
|
543
|
-
* })
|
|
544
|
-
**/
|
|
545
|
-
count<T extends UserWorkspaseLayoutCountArgs>(
|
|
546
|
-
args?: Prisma.Subset<T, UserWorkspaseLayoutCountArgs>,
|
|
547
|
-
): Prisma.PrismaPromise<
|
|
548
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
549
|
-
? T['select'] extends true
|
|
550
|
-
? number
|
|
551
|
-
: Prisma.GetScalarType<T['select'], UserWorkspaseLayoutCountAggregateOutputType>
|
|
552
|
-
: number
|
|
553
|
-
>
|
|
554
|
-
|
|
555
|
-
/**
|
|
556
|
-
* Allows you to perform aggregations operations on a UserWorkspaseLayout.
|
|
557
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
558
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
559
|
-
* @param {UserWorkspaseLayoutAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
560
|
-
* @example
|
|
561
|
-
* // Ordered by age ascending
|
|
562
|
-
* // Where email contains prisma.io
|
|
563
|
-
* // Limited to the 10 users
|
|
564
|
-
* const aggregations = await prisma.user.aggregate({
|
|
565
|
-
* _avg: {
|
|
566
|
-
* age: true,
|
|
567
|
-
* },
|
|
568
|
-
* where: {
|
|
569
|
-
* email: {
|
|
570
|
-
* contains: "prisma.io",
|
|
571
|
-
* },
|
|
572
|
-
* },
|
|
573
|
-
* orderBy: {
|
|
574
|
-
* age: "asc",
|
|
575
|
-
* },
|
|
576
|
-
* take: 10,
|
|
577
|
-
* })
|
|
578
|
-
**/
|
|
579
|
-
aggregate<T extends UserWorkspaseLayoutAggregateArgs>(args: Prisma.Subset<T, UserWorkspaseLayoutAggregateArgs>): Prisma.PrismaPromise<GetUserWorkspaseLayoutAggregateType<T>>
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* Group by UserWorkspaseLayout.
|
|
583
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
584
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
585
|
-
* @param {UserWorkspaseLayoutGroupByArgs} args - Group by arguments.
|
|
586
|
-
* @example
|
|
587
|
-
* // Group by city, order by createdAt, get count
|
|
588
|
-
* const result = await prisma.user.groupBy({
|
|
589
|
-
* by: ['city', 'createdAt'],
|
|
590
|
-
* orderBy: {
|
|
591
|
-
* createdAt: true
|
|
592
|
-
* },
|
|
593
|
-
* _count: {
|
|
594
|
-
* _all: true
|
|
595
|
-
* },
|
|
596
|
-
* })
|
|
597
|
-
*
|
|
598
|
-
**/
|
|
599
|
-
groupBy<
|
|
600
|
-
T extends UserWorkspaseLayoutGroupByArgs,
|
|
601
|
-
HasSelectOrTake extends Prisma.Or<
|
|
602
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
603
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
604
|
-
>,
|
|
605
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
606
|
-
? { orderBy: UserWorkspaseLayoutGroupByArgs['orderBy'] }
|
|
607
|
-
: { orderBy?: UserWorkspaseLayoutGroupByArgs['orderBy'] },
|
|
608
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
609
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
610
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
611
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
612
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
613
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
614
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
615
|
-
? `Error: "by" must not be empty.`
|
|
616
|
-
: HavingValid extends Prisma.False
|
|
617
|
-
? {
|
|
618
|
-
[P in HavingFields]: P extends ByFields
|
|
619
|
-
? never
|
|
620
|
-
: P extends string
|
|
621
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
622
|
-
: [
|
|
623
|
-
Error,
|
|
624
|
-
'Field ',
|
|
625
|
-
P,
|
|
626
|
-
` in "having" needs to be provided in "by"`,
|
|
627
|
-
]
|
|
628
|
-
}[HavingFields]
|
|
629
|
-
: 'take' extends Prisma.Keys<T>
|
|
630
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
631
|
-
? ByValid extends Prisma.True
|
|
632
|
-
? {}
|
|
633
|
-
: {
|
|
634
|
-
[P in OrderFields]: P extends ByFields
|
|
635
|
-
? never
|
|
636
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
637
|
-
}[OrderFields]
|
|
638
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
639
|
-
: 'skip' extends Prisma.Keys<T>
|
|
640
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
641
|
-
? ByValid extends Prisma.True
|
|
642
|
-
? {}
|
|
643
|
-
: {
|
|
644
|
-
[P in OrderFields]: P extends ByFields
|
|
645
|
-
? never
|
|
646
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
647
|
-
}[OrderFields]
|
|
648
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
649
|
-
: ByValid extends Prisma.True
|
|
650
|
-
? {}
|
|
651
|
-
: {
|
|
652
|
-
[P in OrderFields]: P extends ByFields
|
|
653
|
-
? never
|
|
654
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
655
|
-
}[OrderFields]
|
|
656
|
-
>(args: Prisma.SubsetIntersection<T, UserWorkspaseLayoutGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserWorkspaseLayoutGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
657
|
-
/**
|
|
658
|
-
* Fields of the UserWorkspaseLayout model
|
|
659
|
-
*/
|
|
660
|
-
readonly fields: UserWorkspaseLayoutFieldRefs;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* The delegate class that acts as a "Promise-like" for UserWorkspaseLayout.
|
|
665
|
-
* Why is this prefixed with `Prisma__`?
|
|
666
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
667
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
668
|
-
*/
|
|
669
|
-
export interface Prisma__UserWorkspaseLayoutClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
670
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
671
|
-
/**
|
|
672
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
673
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
674
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
675
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
676
|
-
*/
|
|
677
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
678
|
-
/**
|
|
679
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
680
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
681
|
-
* @returns A Promise for the completion of the callback.
|
|
682
|
-
*/
|
|
683
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
684
|
-
/**
|
|
685
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
686
|
-
* resolved value cannot be modified from the callback.
|
|
687
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
688
|
-
* @returns A Promise for the completion of the callback.
|
|
689
|
-
*/
|
|
690
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* Fields of the UserWorkspaseLayout model
|
|
698
|
-
*/
|
|
699
|
-
export interface UserWorkspaseLayoutFieldRefs {
|
|
700
|
-
readonly userId: Prisma.FieldRef<"UserWorkspaseLayout", 'String'>
|
|
701
|
-
readonly layout: Prisma.FieldRef<"UserWorkspaseLayout", 'Json'>
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
// Custom InputTypes
|
|
706
|
-
/**
|
|
707
|
-
* UserWorkspaseLayout findUnique
|
|
708
|
-
*/
|
|
709
|
-
export type UserWorkspaseLayoutFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
710
|
-
/**
|
|
711
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
712
|
-
*/
|
|
713
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
714
|
-
/**
|
|
715
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
716
|
-
*/
|
|
717
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
718
|
-
/**
|
|
719
|
-
* Filter, which UserWorkspaseLayout to fetch.
|
|
720
|
-
*/
|
|
721
|
-
where: Prisma.UserWorkspaseLayoutWhereUniqueInput
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* UserWorkspaseLayout findUniqueOrThrow
|
|
726
|
-
*/
|
|
727
|
-
export type UserWorkspaseLayoutFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
728
|
-
/**
|
|
729
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
730
|
-
*/
|
|
731
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
732
|
-
/**
|
|
733
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
734
|
-
*/
|
|
735
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
736
|
-
/**
|
|
737
|
-
* Filter, which UserWorkspaseLayout to fetch.
|
|
738
|
-
*/
|
|
739
|
-
where: Prisma.UserWorkspaseLayoutWhereUniqueInput
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
* UserWorkspaseLayout findFirst
|
|
744
|
-
*/
|
|
745
|
-
export type UserWorkspaseLayoutFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
746
|
-
/**
|
|
747
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
748
|
-
*/
|
|
749
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
750
|
-
/**
|
|
751
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
752
|
-
*/
|
|
753
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
754
|
-
/**
|
|
755
|
-
* Filter, which UserWorkspaseLayout to fetch.
|
|
756
|
-
*/
|
|
757
|
-
where?: Prisma.UserWorkspaseLayoutWhereInput
|
|
758
|
-
/**
|
|
759
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
760
|
-
*
|
|
761
|
-
* Determine the order of UserWorkspaseLayouts to fetch.
|
|
762
|
-
*/
|
|
763
|
-
orderBy?: Prisma.UserWorkspaseLayoutOrderByWithRelationInput | Prisma.UserWorkspaseLayoutOrderByWithRelationInput[]
|
|
764
|
-
/**
|
|
765
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
766
|
-
*
|
|
767
|
-
* Sets the position for searching for UserWorkspaseLayouts.
|
|
768
|
-
*/
|
|
769
|
-
cursor?: Prisma.UserWorkspaseLayoutWhereUniqueInput
|
|
770
|
-
/**
|
|
771
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
772
|
-
*
|
|
773
|
-
* Take `±n` UserWorkspaseLayouts from the position of the cursor.
|
|
774
|
-
*/
|
|
775
|
-
take?: number
|
|
776
|
-
/**
|
|
777
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
778
|
-
*
|
|
779
|
-
* Skip the first `n` UserWorkspaseLayouts.
|
|
780
|
-
*/
|
|
781
|
-
skip?: number
|
|
782
|
-
/**
|
|
783
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
784
|
-
*
|
|
785
|
-
* Filter by unique combinations of UserWorkspaseLayouts.
|
|
786
|
-
*/
|
|
787
|
-
distinct?: Prisma.UserWorkspaseLayoutScalarFieldEnum | Prisma.UserWorkspaseLayoutScalarFieldEnum[]
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
/**
|
|
791
|
-
* UserWorkspaseLayout findFirstOrThrow
|
|
792
|
-
*/
|
|
793
|
-
export type UserWorkspaseLayoutFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
794
|
-
/**
|
|
795
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
796
|
-
*/
|
|
797
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
798
|
-
/**
|
|
799
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
800
|
-
*/
|
|
801
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
802
|
-
/**
|
|
803
|
-
* Filter, which UserWorkspaseLayout to fetch.
|
|
804
|
-
*/
|
|
805
|
-
where?: Prisma.UserWorkspaseLayoutWhereInput
|
|
806
|
-
/**
|
|
807
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
808
|
-
*
|
|
809
|
-
* Determine the order of UserWorkspaseLayouts to fetch.
|
|
810
|
-
*/
|
|
811
|
-
orderBy?: Prisma.UserWorkspaseLayoutOrderByWithRelationInput | Prisma.UserWorkspaseLayoutOrderByWithRelationInput[]
|
|
812
|
-
/**
|
|
813
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
814
|
-
*
|
|
815
|
-
* Sets the position for searching for UserWorkspaseLayouts.
|
|
816
|
-
*/
|
|
817
|
-
cursor?: Prisma.UserWorkspaseLayoutWhereUniqueInput
|
|
818
|
-
/**
|
|
819
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
820
|
-
*
|
|
821
|
-
* Take `±n` UserWorkspaseLayouts from the position of the cursor.
|
|
822
|
-
*/
|
|
823
|
-
take?: number
|
|
824
|
-
/**
|
|
825
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
826
|
-
*
|
|
827
|
-
* Skip the first `n` UserWorkspaseLayouts.
|
|
828
|
-
*/
|
|
829
|
-
skip?: number
|
|
830
|
-
/**
|
|
831
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
832
|
-
*
|
|
833
|
-
* Filter by unique combinations of UserWorkspaseLayouts.
|
|
834
|
-
*/
|
|
835
|
-
distinct?: Prisma.UserWorkspaseLayoutScalarFieldEnum | Prisma.UserWorkspaseLayoutScalarFieldEnum[]
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* UserWorkspaseLayout findMany
|
|
840
|
-
*/
|
|
841
|
-
export type UserWorkspaseLayoutFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
842
|
-
/**
|
|
843
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
844
|
-
*/
|
|
845
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
846
|
-
/**
|
|
847
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
848
|
-
*/
|
|
849
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
850
|
-
/**
|
|
851
|
-
* Filter, which UserWorkspaseLayouts to fetch.
|
|
852
|
-
*/
|
|
853
|
-
where?: Prisma.UserWorkspaseLayoutWhereInput
|
|
854
|
-
/**
|
|
855
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
856
|
-
*
|
|
857
|
-
* Determine the order of UserWorkspaseLayouts to fetch.
|
|
858
|
-
*/
|
|
859
|
-
orderBy?: Prisma.UserWorkspaseLayoutOrderByWithRelationInput | Prisma.UserWorkspaseLayoutOrderByWithRelationInput[]
|
|
860
|
-
/**
|
|
861
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
862
|
-
*
|
|
863
|
-
* Sets the position for listing UserWorkspaseLayouts.
|
|
864
|
-
*/
|
|
865
|
-
cursor?: Prisma.UserWorkspaseLayoutWhereUniqueInput
|
|
866
|
-
/**
|
|
867
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
868
|
-
*
|
|
869
|
-
* Take `±n` UserWorkspaseLayouts from the position of the cursor.
|
|
870
|
-
*/
|
|
871
|
-
take?: number
|
|
872
|
-
/**
|
|
873
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
874
|
-
*
|
|
875
|
-
* Skip the first `n` UserWorkspaseLayouts.
|
|
876
|
-
*/
|
|
877
|
-
skip?: number
|
|
878
|
-
distinct?: Prisma.UserWorkspaseLayoutScalarFieldEnum | Prisma.UserWorkspaseLayoutScalarFieldEnum[]
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
/**
|
|
882
|
-
* UserWorkspaseLayout create
|
|
883
|
-
*/
|
|
884
|
-
export type UserWorkspaseLayoutCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
885
|
-
/**
|
|
886
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
887
|
-
*/
|
|
888
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
889
|
-
/**
|
|
890
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
891
|
-
*/
|
|
892
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
893
|
-
/**
|
|
894
|
-
* The data needed to create a UserWorkspaseLayout.
|
|
895
|
-
*/
|
|
896
|
-
data: Prisma.XOR<Prisma.UserWorkspaseLayoutCreateInput, Prisma.UserWorkspaseLayoutUncheckedCreateInput>
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* UserWorkspaseLayout createMany
|
|
901
|
-
*/
|
|
902
|
-
export type UserWorkspaseLayoutCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
903
|
-
/**
|
|
904
|
-
* The data used to create many UserWorkspaseLayouts.
|
|
905
|
-
*/
|
|
906
|
-
data: Prisma.UserWorkspaseLayoutCreateManyInput | Prisma.UserWorkspaseLayoutCreateManyInput[]
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
/**
|
|
910
|
-
* UserWorkspaseLayout createManyAndReturn
|
|
911
|
-
*/
|
|
912
|
-
export type UserWorkspaseLayoutCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
913
|
-
/**
|
|
914
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
915
|
-
*/
|
|
916
|
-
select?: Prisma.UserWorkspaseLayoutSelectCreateManyAndReturn<ExtArgs> | null
|
|
917
|
-
/**
|
|
918
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
919
|
-
*/
|
|
920
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
921
|
-
/**
|
|
922
|
-
* The data used to create many UserWorkspaseLayouts.
|
|
923
|
-
*/
|
|
924
|
-
data: Prisma.UserWorkspaseLayoutCreateManyInput | Prisma.UserWorkspaseLayoutCreateManyInput[]
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* UserWorkspaseLayout update
|
|
929
|
-
*/
|
|
930
|
-
export type UserWorkspaseLayoutUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
931
|
-
/**
|
|
932
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
933
|
-
*/
|
|
934
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
935
|
-
/**
|
|
936
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
937
|
-
*/
|
|
938
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
939
|
-
/**
|
|
940
|
-
* The data needed to update a UserWorkspaseLayout.
|
|
941
|
-
*/
|
|
942
|
-
data: Prisma.XOR<Prisma.UserWorkspaseLayoutUpdateInput, Prisma.UserWorkspaseLayoutUncheckedUpdateInput>
|
|
943
|
-
/**
|
|
944
|
-
* Choose, which UserWorkspaseLayout to update.
|
|
945
|
-
*/
|
|
946
|
-
where: Prisma.UserWorkspaseLayoutWhereUniqueInput
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* UserWorkspaseLayout updateMany
|
|
951
|
-
*/
|
|
952
|
-
export type UserWorkspaseLayoutUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
953
|
-
/**
|
|
954
|
-
* The data used to update UserWorkspaseLayouts.
|
|
955
|
-
*/
|
|
956
|
-
data: Prisma.XOR<Prisma.UserWorkspaseLayoutUpdateManyMutationInput, Prisma.UserWorkspaseLayoutUncheckedUpdateManyInput>
|
|
957
|
-
/**
|
|
958
|
-
* Filter which UserWorkspaseLayouts to update
|
|
959
|
-
*/
|
|
960
|
-
where?: Prisma.UserWorkspaseLayoutWhereInput
|
|
961
|
-
/**
|
|
962
|
-
* Limit how many UserWorkspaseLayouts to update.
|
|
963
|
-
*/
|
|
964
|
-
limit?: number
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* UserWorkspaseLayout updateManyAndReturn
|
|
969
|
-
*/
|
|
970
|
-
export type UserWorkspaseLayoutUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
971
|
-
/**
|
|
972
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
973
|
-
*/
|
|
974
|
-
select?: Prisma.UserWorkspaseLayoutSelectUpdateManyAndReturn<ExtArgs> | null
|
|
975
|
-
/**
|
|
976
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
977
|
-
*/
|
|
978
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
979
|
-
/**
|
|
980
|
-
* The data used to update UserWorkspaseLayouts.
|
|
981
|
-
*/
|
|
982
|
-
data: Prisma.XOR<Prisma.UserWorkspaseLayoutUpdateManyMutationInput, Prisma.UserWorkspaseLayoutUncheckedUpdateManyInput>
|
|
983
|
-
/**
|
|
984
|
-
* Filter which UserWorkspaseLayouts to update
|
|
985
|
-
*/
|
|
986
|
-
where?: Prisma.UserWorkspaseLayoutWhereInput
|
|
987
|
-
/**
|
|
988
|
-
* Limit how many UserWorkspaseLayouts to update.
|
|
989
|
-
*/
|
|
990
|
-
limit?: number
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
/**
|
|
994
|
-
* UserWorkspaseLayout upsert
|
|
995
|
-
*/
|
|
996
|
-
export type UserWorkspaseLayoutUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
997
|
-
/**
|
|
998
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
999
|
-
*/
|
|
1000
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
1001
|
-
/**
|
|
1002
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
1003
|
-
*/
|
|
1004
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
1005
|
-
/**
|
|
1006
|
-
* The filter to search for the UserWorkspaseLayout to update in case it exists.
|
|
1007
|
-
*/
|
|
1008
|
-
where: Prisma.UserWorkspaseLayoutWhereUniqueInput
|
|
1009
|
-
/**
|
|
1010
|
-
* In case the UserWorkspaseLayout found by the `where` argument doesn't exist, create a new UserWorkspaseLayout with this data.
|
|
1011
|
-
*/
|
|
1012
|
-
create: Prisma.XOR<Prisma.UserWorkspaseLayoutCreateInput, Prisma.UserWorkspaseLayoutUncheckedCreateInput>
|
|
1013
|
-
/**
|
|
1014
|
-
* In case the UserWorkspaseLayout was found with the provided `where` argument, update it with this data.
|
|
1015
|
-
*/
|
|
1016
|
-
update: Prisma.XOR<Prisma.UserWorkspaseLayoutUpdateInput, Prisma.UserWorkspaseLayoutUncheckedUpdateInput>
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* UserWorkspaseLayout delete
|
|
1021
|
-
*/
|
|
1022
|
-
export type UserWorkspaseLayoutDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1023
|
-
/**
|
|
1024
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
1025
|
-
*/
|
|
1026
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
1027
|
-
/**
|
|
1028
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
1029
|
-
*/
|
|
1030
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
1031
|
-
/**
|
|
1032
|
-
* Filter which UserWorkspaseLayout to delete.
|
|
1033
|
-
*/
|
|
1034
|
-
where: Prisma.UserWorkspaseLayoutWhereUniqueInput
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* UserWorkspaseLayout deleteMany
|
|
1039
|
-
*/
|
|
1040
|
-
export type UserWorkspaseLayoutDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1041
|
-
/**
|
|
1042
|
-
* Filter which UserWorkspaseLayouts to delete
|
|
1043
|
-
*/
|
|
1044
|
-
where?: Prisma.UserWorkspaseLayoutWhereInput
|
|
1045
|
-
/**
|
|
1046
|
-
* Limit how many UserWorkspaseLayouts to delete.
|
|
1047
|
-
*/
|
|
1048
|
-
limit?: number
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
/**
|
|
1052
|
-
* UserWorkspaseLayout without action
|
|
1053
|
-
*/
|
|
1054
|
-
export type UserWorkspaseLayoutDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1055
|
-
/**
|
|
1056
|
-
* Select specific fields to fetch from the UserWorkspaseLayout
|
|
1057
|
-
*/
|
|
1058
|
-
select?: Prisma.UserWorkspaseLayoutSelect<ExtArgs> | null
|
|
1059
|
-
/**
|
|
1060
|
-
* Omit specific fields from the UserWorkspaseLayout
|
|
1061
|
-
*/
|
|
1062
|
-
omit?: Prisma.UserWorkspaseLayoutOmit<ExtArgs> | null
|
|
1063
|
-
}
|