@highstate/backend 0.17.0 → 0.19.1
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-JT4KWE3B.js → chunk-V2NILDHS.js} +3 -2
- package/dist/chunk-V2NILDHS.js.map +1 -0
- package/dist/highstate.manifest.json +3 -4
- package/dist/index.js +190 -280
- package/dist/index.js.map +1 -1
- package/dist/shared/index.js +1 -1
- package/package.json +9 -10
- package/prisma/backend/postgresql/main.prisma +0 -2
- package/prisma/backend/sqlite/main.prisma +0 -2
- package/prisma/project/main.prisma +0 -1
- package/src/business/project.ts +1 -2
- package/src/database/_generated/backend/postgresql/browser.ts +54 -0
- package/src/database/_generated/backend/postgresql/client.ts +7 -8
- package/src/database/_generated/backend/postgresql/commonInputTypes.ts +3 -2
- package/src/database/_generated/backend/postgresql/enums.ts +3 -1
- package/src/database/_generated/backend/postgresql/internal/class.ts +24 -71
- package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +41 -43
- package/src/database/_generated/backend/postgresql/internal/prismaNamespaceBrowser.ts +191 -0
- package/src/database/_generated/backend/postgresql/models/BackendUnlockMethod.ts +12 -11
- package/src/database/_generated/backend/postgresql/models/Library.ts +29 -28
- package/src/database/_generated/backend/postgresql/models/Project.ts +69 -68
- package/src/database/_generated/backend/postgresql/models/ProjectModelStorage.ts +29 -28
- package/src/database/_generated/backend/postgresql/models/ProjectSpace.ts +26 -25
- package/src/database/_generated/backend/postgresql/models/PulumiBackend.ts +29 -28
- package/src/database/_generated/backend/postgresql/models/UserWorkspaceLayout.ts +12 -11
- package/src/database/_generated/backend/postgresql/models.ts +2 -1
- package/src/database/_generated/backend/postgresql/pjtg.ts +1 -0
- package/src/database/_generated/backend/sqlite/browser.ts +54 -0
- package/src/database/_generated/backend/sqlite/client.ts +7 -8
- package/src/database/_generated/backend/sqlite/commonInputTypes.ts +3 -2
- package/src/database/_generated/backend/sqlite/enums.ts +3 -1
- package/src/database/_generated/backend/sqlite/internal/class.ts +24 -71
- package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +41 -43
- package/src/database/_generated/backend/sqlite/internal/prismaNamespaceBrowser.ts +188 -0
- package/src/database/_generated/backend/sqlite/models/BackendUnlockMethod.ts +12 -11
- package/src/database/_generated/backend/sqlite/models/Library.ts +29 -28
- package/src/database/_generated/backend/sqlite/models/Project.ts +69 -68
- package/src/database/_generated/backend/sqlite/models/ProjectModelStorage.ts +29 -28
- package/src/database/_generated/backend/sqlite/models/ProjectSpace.ts +26 -25
- package/src/database/_generated/backend/sqlite/models/PulumiBackend.ts +29 -28
- package/src/database/_generated/backend/sqlite/models/UserWorkspaceLayout.ts +12 -11
- package/src/database/_generated/backend/sqlite/models.ts +2 -1
- package/src/database/_generated/backend/sqlite/pjtg.ts +1 -0
- package/src/database/_generated/project/browser.ts +1 -0
- package/src/database/_generated/project/client.ts +4 -5
- package/src/database/_generated/project/commonInputTypes.ts +1 -0
- package/src/database/_generated/project/enums.ts +1 -0
- package/src/database/_generated/project/internal/class.ts +20 -62
- package/src/database/_generated/project/internal/prismaNamespace.ts +40 -36
- package/src/database/_generated/project/internal/prismaNamespaceBrowser.ts +9 -6
- package/src/database/_generated/project/models/ApiKey.ts +1 -0
- package/src/database/_generated/project/models/Artifact.ts +1 -0
- package/src/database/_generated/project/models/HubModel.ts +1 -0
- package/src/database/_generated/project/models/InstanceCustomStatus.ts +1 -0
- package/src/database/_generated/project/models/InstanceEvaluationState.ts +1 -0
- package/src/database/_generated/project/models/InstanceLock.ts +1 -0
- package/src/database/_generated/project/models/InstanceModel.ts +1 -0
- package/src/database/_generated/project/models/InstanceOperationState.ts +1 -0
- package/src/database/_generated/project/models/InstanceState.ts +1 -0
- package/src/database/_generated/project/models/Operation.ts +1 -0
- package/src/database/_generated/project/models/OperationLog.ts +1 -0
- package/src/database/_generated/project/models/Page.ts +1 -0
- package/src/database/_generated/project/models/Secret.ts +1 -0
- package/src/database/_generated/project/models/ServiceAccount.ts +1 -0
- package/src/database/_generated/project/models/Terminal.ts +1 -0
- package/src/database/_generated/project/models/TerminalSession.ts +1 -0
- package/src/database/_generated/project/models/TerminalSessionLog.ts +1 -0
- package/src/database/_generated/project/models/Trigger.ts +1 -0
- package/src/database/_generated/project/models/UnlockMethod.ts +1 -0
- package/src/database/_generated/project/models/UserCompositeViewport.ts +1 -0
- package/src/database/_generated/project/models/UserProjectViewport.ts +1 -0
- package/src/database/_generated/project/models/Worker.ts +1 -0
- package/src/database/_generated/project/models/WorkerUnitRegistration.ts +1 -0
- package/src/database/_generated/project/models/WorkerVersion.ts +1 -0
- package/src/database/_generated/project/models/WorkerVersionLog.ts +1 -0
- package/src/database/_generated/project/models.ts +1 -0
- package/src/database/abstractions.ts +1 -7
- package/src/database/index.ts +1 -0
- package/src/database/local/backend.ts +19 -30
- package/src/database/local/project.ts +4 -9
- package/src/database/manager.ts +28 -34
- package/src/database/migration.ts +126 -0
- package/src/shared/resolvers/input.ts +2 -0
- package/src/test-utils/database.ts +28 -14
- package/dist/chunk-JT4KWE3B.js.map +0 -1
- package/dist/database/local/prisma.config.js +0 -26
- package/dist/database/local/prisma.config.js.map +0 -1
- package/src/database/local/prisma.config.ts +0 -25
- package/src/database/migrate.ts +0 -35
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
4
5
|
// @ts-nocheck
|
|
5
|
-
|
|
6
|
+
/*
|
|
6
7
|
* This file exports the `ProjectSpace` model and its related types.
|
|
7
8
|
*
|
|
8
9
|
* 🟢 You can import this file directly.
|
|
9
10
|
*/
|
|
10
11
|
|
|
11
12
|
import type * as PJTG from '../pjtg.ts';
|
|
12
|
-
import * as runtime from "@prisma/client/runtime/client"
|
|
13
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
13
14
|
import type * as $Enums from "../enums.ts"
|
|
14
15
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
15
16
|
|
|
@@ -142,7 +143,7 @@ export type ProjectSpaceGroupByOutputType = {
|
|
|
142
143
|
id: string
|
|
143
144
|
name: string | null
|
|
144
145
|
parentId: string | null
|
|
145
|
-
meta:
|
|
146
|
+
meta:PrismaJson.CommonObjectMeta
|
|
146
147
|
_count: ProjectSpaceCountAggregateOutputType | null
|
|
147
148
|
_min: ProjectSpaceMinAggregateOutputType | null
|
|
148
149
|
_max: ProjectSpaceMaxAggregateOutputType | null
|
|
@@ -223,7 +224,7 @@ export type ProjectSpaceScalarWhereWithAggregatesInput = {
|
|
|
223
224
|
export type ProjectSpaceCreateInput = {
|
|
224
225
|
id?: string
|
|
225
226
|
name?: string | null
|
|
226
|
-
meta:
|
|
227
|
+
meta:PrismaJson.CommonObjectMeta
|
|
227
228
|
projects?: Prisma.ProjectCreateNestedManyWithoutSpaceInput
|
|
228
229
|
parent?: Prisma.ProjectSpaceCreateNestedOneWithoutChildrenInput
|
|
229
230
|
children?: Prisma.ProjectSpaceCreateNestedManyWithoutParentInput
|
|
@@ -233,7 +234,7 @@ export type ProjectSpaceUncheckedCreateInput = {
|
|
|
233
234
|
id?: string
|
|
234
235
|
name?: string | null
|
|
235
236
|
parentId?: string | null
|
|
236
|
-
meta:
|
|
237
|
+
meta:PrismaJson.CommonObjectMeta
|
|
237
238
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutSpaceInput
|
|
238
239
|
children?: Prisma.ProjectSpaceUncheckedCreateNestedManyWithoutParentInput
|
|
239
240
|
}
|
|
@@ -241,7 +242,7 @@ export type ProjectSpaceUncheckedCreateInput = {
|
|
|
241
242
|
export type ProjectSpaceUpdateInput = {
|
|
242
243
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
243
244
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
244
|
-
meta?:
|
|
245
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
245
246
|
projects?: Prisma.ProjectUpdateManyWithoutSpaceNestedInput
|
|
246
247
|
parent?: Prisma.ProjectSpaceUpdateOneWithoutChildrenNestedInput
|
|
247
248
|
children?: Prisma.ProjectSpaceUpdateManyWithoutParentNestedInput
|
|
@@ -251,7 +252,7 @@ export type ProjectSpaceUncheckedUpdateInput = {
|
|
|
251
252
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
252
253
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
253
254
|
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
254
|
-
meta?:
|
|
255
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
255
256
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutSpaceNestedInput
|
|
256
257
|
children?: Prisma.ProjectSpaceUncheckedUpdateManyWithoutParentNestedInput
|
|
257
258
|
}
|
|
@@ -260,20 +261,20 @@ export type ProjectSpaceCreateManyInput = {
|
|
|
260
261
|
id?: string
|
|
261
262
|
name?: string | null
|
|
262
263
|
parentId?: string | null
|
|
263
|
-
meta:
|
|
264
|
+
meta:PrismaJson.CommonObjectMeta
|
|
264
265
|
}
|
|
265
266
|
|
|
266
267
|
export type ProjectSpaceUpdateManyMutationInput = {
|
|
267
268
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
268
269
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
269
|
-
meta?:
|
|
270
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
270
271
|
}
|
|
271
272
|
|
|
272
273
|
export type ProjectSpaceUncheckedUpdateManyInput = {
|
|
273
274
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
274
275
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
275
276
|
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
276
|
-
meta?:
|
|
277
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
277
278
|
}
|
|
278
279
|
|
|
279
280
|
export type ProjectSpaceScalarRelationFilter = {
|
|
@@ -399,7 +400,7 @@ export type ProjectSpaceUncheckedUpdateManyWithoutParentNestedInput = {
|
|
|
399
400
|
export type ProjectSpaceCreateWithoutProjectsInput = {
|
|
400
401
|
id?: string
|
|
401
402
|
name?: string | null
|
|
402
|
-
meta:
|
|
403
|
+
meta:PrismaJson.CommonObjectMeta
|
|
403
404
|
parent?: Prisma.ProjectSpaceCreateNestedOneWithoutChildrenInput
|
|
404
405
|
children?: Prisma.ProjectSpaceCreateNestedManyWithoutParentInput
|
|
405
406
|
}
|
|
@@ -408,7 +409,7 @@ export type ProjectSpaceUncheckedCreateWithoutProjectsInput = {
|
|
|
408
409
|
id?: string
|
|
409
410
|
name?: string | null
|
|
410
411
|
parentId?: string | null
|
|
411
|
-
meta:
|
|
412
|
+
meta:PrismaJson.CommonObjectMeta
|
|
412
413
|
children?: Prisma.ProjectSpaceUncheckedCreateNestedManyWithoutParentInput
|
|
413
414
|
}
|
|
414
415
|
|
|
@@ -431,7 +432,7 @@ export type ProjectSpaceUpdateToOneWithWhereWithoutProjectsInput = {
|
|
|
431
432
|
export type ProjectSpaceUpdateWithoutProjectsInput = {
|
|
432
433
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
433
434
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
434
|
-
meta?:
|
|
435
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
435
436
|
parent?: Prisma.ProjectSpaceUpdateOneWithoutChildrenNestedInput
|
|
436
437
|
children?: Prisma.ProjectSpaceUpdateManyWithoutParentNestedInput
|
|
437
438
|
}
|
|
@@ -440,14 +441,14 @@ export type ProjectSpaceUncheckedUpdateWithoutProjectsInput = {
|
|
|
440
441
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
441
442
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
442
443
|
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
443
|
-
meta?:
|
|
444
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
444
445
|
children?: Prisma.ProjectSpaceUncheckedUpdateManyWithoutParentNestedInput
|
|
445
446
|
}
|
|
446
447
|
|
|
447
448
|
export type ProjectSpaceCreateWithoutChildrenInput = {
|
|
448
449
|
id?: string
|
|
449
450
|
name?: string | null
|
|
450
|
-
meta:
|
|
451
|
+
meta:PrismaJson.CommonObjectMeta
|
|
451
452
|
projects?: Prisma.ProjectCreateNestedManyWithoutSpaceInput
|
|
452
453
|
parent?: Prisma.ProjectSpaceCreateNestedOneWithoutChildrenInput
|
|
453
454
|
}
|
|
@@ -456,7 +457,7 @@ export type ProjectSpaceUncheckedCreateWithoutChildrenInput = {
|
|
|
456
457
|
id?: string
|
|
457
458
|
name?: string | null
|
|
458
459
|
parentId?: string | null
|
|
459
|
-
meta:
|
|
460
|
+
meta:PrismaJson.CommonObjectMeta
|
|
460
461
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutSpaceInput
|
|
461
462
|
}
|
|
462
463
|
|
|
@@ -468,7 +469,7 @@ export type ProjectSpaceCreateOrConnectWithoutChildrenInput = {
|
|
|
468
469
|
export type ProjectSpaceCreateWithoutParentInput = {
|
|
469
470
|
id?: string
|
|
470
471
|
name?: string | null
|
|
471
|
-
meta:
|
|
472
|
+
meta:PrismaJson.CommonObjectMeta
|
|
472
473
|
projects?: Prisma.ProjectCreateNestedManyWithoutSpaceInput
|
|
473
474
|
children?: Prisma.ProjectSpaceCreateNestedManyWithoutParentInput
|
|
474
475
|
}
|
|
@@ -476,7 +477,7 @@ export type ProjectSpaceCreateWithoutParentInput = {
|
|
|
476
477
|
export type ProjectSpaceUncheckedCreateWithoutParentInput = {
|
|
477
478
|
id?: string
|
|
478
479
|
name?: string | null
|
|
479
|
-
meta:
|
|
480
|
+
meta:PrismaJson.CommonObjectMeta
|
|
480
481
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutSpaceInput
|
|
481
482
|
children?: Prisma.ProjectSpaceUncheckedCreateNestedManyWithoutParentInput
|
|
482
483
|
}
|
|
@@ -504,7 +505,7 @@ export type ProjectSpaceUpdateToOneWithWhereWithoutChildrenInput = {
|
|
|
504
505
|
export type ProjectSpaceUpdateWithoutChildrenInput = {
|
|
505
506
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
506
507
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
507
|
-
meta?:
|
|
508
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
508
509
|
projects?: Prisma.ProjectUpdateManyWithoutSpaceNestedInput
|
|
509
510
|
parent?: Prisma.ProjectSpaceUpdateOneWithoutChildrenNestedInput
|
|
510
511
|
}
|
|
@@ -513,7 +514,7 @@ export type ProjectSpaceUncheckedUpdateWithoutChildrenInput = {
|
|
|
513
514
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
514
515
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
515
516
|
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
516
|
-
meta?:
|
|
517
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
517
518
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutSpaceNestedInput
|
|
518
519
|
}
|
|
519
520
|
|
|
@@ -546,13 +547,13 @@ export type ProjectSpaceScalarWhereInput = {
|
|
|
546
547
|
export type ProjectSpaceCreateManyParentInput = {
|
|
547
548
|
id?: string
|
|
548
549
|
name?: string | null
|
|
549
|
-
meta:
|
|
550
|
+
meta:PrismaJson.CommonObjectMeta
|
|
550
551
|
}
|
|
551
552
|
|
|
552
553
|
export type ProjectSpaceUpdateWithoutParentInput = {
|
|
553
554
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
554
555
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
555
|
-
meta?:
|
|
556
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
556
557
|
projects?: Prisma.ProjectUpdateManyWithoutSpaceNestedInput
|
|
557
558
|
children?: Prisma.ProjectSpaceUpdateManyWithoutParentNestedInput
|
|
558
559
|
}
|
|
@@ -560,7 +561,7 @@ export type ProjectSpaceUpdateWithoutParentInput = {
|
|
|
560
561
|
export type ProjectSpaceUncheckedUpdateWithoutParentInput = {
|
|
561
562
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
562
563
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
563
|
-
meta?:
|
|
564
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
564
565
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutSpaceNestedInput
|
|
565
566
|
children?: Prisma.ProjectSpaceUncheckedUpdateManyWithoutParentNestedInput
|
|
566
567
|
}
|
|
@@ -568,7 +569,7 @@ export type ProjectSpaceUncheckedUpdateWithoutParentInput = {
|
|
|
568
569
|
export type ProjectSpaceUncheckedUpdateManyWithoutParentInput = {
|
|
569
570
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
570
571
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
571
|
-
meta?:
|
|
572
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
572
573
|
}
|
|
573
574
|
|
|
574
575
|
|
|
@@ -695,7 +696,7 @@ export type $ProjectSpacePayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
695
696
|
*
|
|
696
697
|
* [CommonObjectMeta]
|
|
697
698
|
*/
|
|
698
|
-
meta:
|
|
699
|
+
meta:PrismaJson.CommonObjectMeta
|
|
699
700
|
}, ExtArgs["result"]["projectSpace"]>
|
|
700
701
|
composites: {}
|
|
701
702
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
4
5
|
// @ts-nocheck
|
|
5
|
-
|
|
6
|
+
/*
|
|
6
7
|
* This file exports the `PulumiBackend` model and its related types.
|
|
7
8
|
*
|
|
8
9
|
* 🟢 You can import this file directly.
|
|
9
10
|
*/
|
|
10
11
|
|
|
11
12
|
import type * as PJTG from '../pjtg.ts';
|
|
12
|
-
import * as runtime from "@prisma/client/runtime/client"
|
|
13
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
13
14
|
import type * as $Enums from "../enums.ts"
|
|
14
15
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
15
16
|
|
|
@@ -130,8 +131,8 @@ export type PulumiBackendGroupByArgs<ExtArgs extends runtime.Types.Extensions.In
|
|
|
130
131
|
|
|
131
132
|
export type PulumiBackendGroupByOutputType = {
|
|
132
133
|
id: string
|
|
133
|
-
meta:
|
|
134
|
-
spec:
|
|
134
|
+
meta:PrismaJson.CommonObjectMeta
|
|
135
|
+
spec:PrismaJson.PulumiBackendSpec
|
|
135
136
|
_count: PulumiBackendCountAggregateOutputType | null
|
|
136
137
|
_min: PulumiBackendMinAggregateOutputType | null
|
|
137
138
|
_max: PulumiBackendMaxAggregateOutputType | null
|
|
@@ -199,48 +200,48 @@ export type PulumiBackendScalarWhereWithAggregatesInput = {
|
|
|
199
200
|
|
|
200
201
|
export type PulumiBackendCreateInput = {
|
|
201
202
|
id?: string
|
|
202
|
-
meta:
|
|
203
|
-
spec:
|
|
203
|
+
meta:PrismaJson.CommonObjectMeta
|
|
204
|
+
spec:PrismaJson.PulumiBackendSpec
|
|
204
205
|
projects?: Prisma.ProjectCreateNestedManyWithoutPulumiBackendInput
|
|
205
206
|
}
|
|
206
207
|
|
|
207
208
|
export type PulumiBackendUncheckedCreateInput = {
|
|
208
209
|
id?: string
|
|
209
|
-
meta:
|
|
210
|
-
spec:
|
|
210
|
+
meta:PrismaJson.CommonObjectMeta
|
|
211
|
+
spec:PrismaJson.PulumiBackendSpec
|
|
211
212
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutPulumiBackendInput
|
|
212
213
|
}
|
|
213
214
|
|
|
214
215
|
export type PulumiBackendUpdateInput = {
|
|
215
216
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
216
|
-
meta?:
|
|
217
|
-
spec?:
|
|
217
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
218
|
+
spec?:PrismaJson.PulumiBackendSpec
|
|
218
219
|
projects?: Prisma.ProjectUpdateManyWithoutPulumiBackendNestedInput
|
|
219
220
|
}
|
|
220
221
|
|
|
221
222
|
export type PulumiBackendUncheckedUpdateInput = {
|
|
222
223
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
223
|
-
meta?:
|
|
224
|
-
spec?:
|
|
224
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
225
|
+
spec?:PrismaJson.PulumiBackendSpec
|
|
225
226
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutPulumiBackendNestedInput
|
|
226
227
|
}
|
|
227
228
|
|
|
228
229
|
export type PulumiBackendCreateManyInput = {
|
|
229
230
|
id?: string
|
|
230
|
-
meta:
|
|
231
|
-
spec:
|
|
231
|
+
meta:PrismaJson.CommonObjectMeta
|
|
232
|
+
spec:PrismaJson.PulumiBackendSpec
|
|
232
233
|
}
|
|
233
234
|
|
|
234
235
|
export type PulumiBackendUpdateManyMutationInput = {
|
|
235
236
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
236
|
-
meta?:
|
|
237
|
-
spec?:
|
|
237
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
238
|
+
spec?:PrismaJson.PulumiBackendSpec
|
|
238
239
|
}
|
|
239
240
|
|
|
240
241
|
export type PulumiBackendUncheckedUpdateManyInput = {
|
|
241
242
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
242
|
-
meta?:
|
|
243
|
-
spec?:
|
|
243
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
244
|
+
spec?:PrismaJson.PulumiBackendSpec
|
|
244
245
|
}
|
|
245
246
|
|
|
246
247
|
export type PulumiBackendScalarRelationFilter = {
|
|
@@ -278,14 +279,14 @@ export type PulumiBackendUpdateOneRequiredWithoutProjectsNestedInput = {
|
|
|
278
279
|
|
|
279
280
|
export type PulumiBackendCreateWithoutProjectsInput = {
|
|
280
281
|
id?: string
|
|
281
|
-
meta:
|
|
282
|
-
spec:
|
|
282
|
+
meta:PrismaJson.CommonObjectMeta
|
|
283
|
+
spec:PrismaJson.PulumiBackendSpec
|
|
283
284
|
}
|
|
284
285
|
|
|
285
286
|
export type PulumiBackendUncheckedCreateWithoutProjectsInput = {
|
|
286
287
|
id?: string
|
|
287
|
-
meta:
|
|
288
|
-
spec:
|
|
288
|
+
meta:PrismaJson.CommonObjectMeta
|
|
289
|
+
spec:PrismaJson.PulumiBackendSpec
|
|
289
290
|
}
|
|
290
291
|
|
|
291
292
|
export type PulumiBackendCreateOrConnectWithoutProjectsInput = {
|
|
@@ -306,14 +307,14 @@ export type PulumiBackendUpdateToOneWithWhereWithoutProjectsInput = {
|
|
|
306
307
|
|
|
307
308
|
export type PulumiBackendUpdateWithoutProjectsInput = {
|
|
308
309
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
309
|
-
meta?:
|
|
310
|
-
spec?:
|
|
310
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
311
|
+
spec?:PrismaJson.PulumiBackendSpec
|
|
311
312
|
}
|
|
312
313
|
|
|
313
314
|
export type PulumiBackendUncheckedUpdateWithoutProjectsInput = {
|
|
314
315
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
-
meta?:
|
|
316
|
-
spec?:
|
|
316
|
+
meta?:PrismaJson.CommonObjectMeta
|
|
317
|
+
spec?:PrismaJson.PulumiBackendSpec
|
|
317
318
|
}
|
|
318
319
|
|
|
319
320
|
|
|
@@ -399,13 +400,13 @@ export type $PulumiBackendPayload<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
399
400
|
*
|
|
400
401
|
* [CommonObjectMeta]
|
|
401
402
|
*/
|
|
402
|
-
meta:
|
|
403
|
+
meta:PrismaJson.CommonObjectMeta
|
|
403
404
|
/**
|
|
404
405
|
* The spec of the Pulumi backend.
|
|
405
406
|
*
|
|
406
407
|
* [PulumiBackendSpec]
|
|
407
408
|
*/
|
|
408
|
-
spec:
|
|
409
|
+
spec:PrismaJson.PulumiBackendSpec
|
|
409
410
|
}, ExtArgs["result"]["pulumiBackend"]>
|
|
410
411
|
composites: {}
|
|
411
412
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
4
5
|
// @ts-nocheck
|
|
5
|
-
|
|
6
|
+
/*
|
|
6
7
|
* This file exports the `UserWorkspaceLayout` model and its related types.
|
|
7
8
|
*
|
|
8
9
|
* 🟢 You can import this file directly.
|
|
9
10
|
*/
|
|
10
11
|
|
|
11
12
|
import type * as PJTG from '../pjtg.ts';
|
|
12
|
-
import * as runtime from "@prisma/client/runtime/client"
|
|
13
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
13
14
|
import type * as $Enums from "../enums.ts"
|
|
14
15
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
15
16
|
|
|
@@ -128,7 +129,7 @@ export type UserWorkspaceLayoutGroupByArgs<ExtArgs extends runtime.Types.Extensi
|
|
|
128
129
|
|
|
129
130
|
export type UserWorkspaceLayoutGroupByOutputType = {
|
|
130
131
|
userId: string
|
|
131
|
-
layout:
|
|
132
|
+
layout:(unknown)
|
|
132
133
|
_count: UserWorkspaceLayoutCountAggregateOutputType | null
|
|
133
134
|
_min: UserWorkspaceLayoutMinAggregateOutputType | null
|
|
134
135
|
_max: UserWorkspaceLayoutMaxAggregateOutputType | null
|
|
@@ -188,37 +189,37 @@ export type UserWorkspaceLayoutScalarWhereWithAggregatesInput = {
|
|
|
188
189
|
|
|
189
190
|
export type UserWorkspaceLayoutCreateInput = {
|
|
190
191
|
userId: string
|
|
191
|
-
layout:
|
|
192
|
+
layout:(unknown)
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
export type UserWorkspaceLayoutUncheckedCreateInput = {
|
|
195
196
|
userId: string
|
|
196
|
-
layout:
|
|
197
|
+
layout:(unknown)
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
export type UserWorkspaceLayoutUpdateInput = {
|
|
200
201
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
201
|
-
layout?:
|
|
202
|
+
layout?:(unknown)
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
export type UserWorkspaceLayoutUncheckedUpdateInput = {
|
|
205
206
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
206
|
-
layout?:
|
|
207
|
+
layout?:(unknown)
|
|
207
208
|
}
|
|
208
209
|
|
|
209
210
|
export type UserWorkspaceLayoutCreateManyInput = {
|
|
210
211
|
userId: string
|
|
211
|
-
layout:
|
|
212
|
+
layout:(unknown)
|
|
212
213
|
}
|
|
213
214
|
|
|
214
215
|
export type UserWorkspaceLayoutUpdateManyMutationInput = {
|
|
215
216
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
216
|
-
layout?:
|
|
217
|
+
layout?:(unknown)
|
|
217
218
|
}
|
|
218
219
|
|
|
219
220
|
export type UserWorkspaceLayoutUncheckedUpdateManyInput = {
|
|
220
221
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
221
|
-
layout?:
|
|
222
|
+
layout?:(unknown)
|
|
222
223
|
}
|
|
223
224
|
|
|
224
225
|
export type UserWorkspaceLayoutCountOrderByAggregateInput = {
|
|
@@ -275,7 +276,7 @@ export type $UserWorkspaceLayoutPayload<ExtArgs extends runtime.Types.Extensions
|
|
|
275
276
|
*
|
|
276
277
|
* ![unknown]
|
|
277
278
|
*/
|
|
278
|
-
layout:
|
|
279
|
+
layout:(unknown)
|
|
279
280
|
}, ExtArgs["result"]["userWorkspaceLayout"]>
|
|
280
281
|
composites: {}
|
|
281
282
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
4
5
|
// @ts-nocheck
|
|
5
|
-
|
|
6
|
+
/*
|
|
6
7
|
* This is a barrel export file for all models and their related types.
|
|
7
8
|
*
|
|
8
9
|
* 🟢 You can import this file directly.
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
4
5
|
// @ts-nocheck
|
|
5
6
|
/*
|
|
6
7
|
* This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
|
|
7
8
|
* If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
|
|
8
|
-
*
|
|
9
|
+
*
|
|
9
10
|
* 🟢 You can import this file directly.
|
|
10
11
|
*/
|
|
11
12
|
|
|
@@ -32,14 +33,12 @@ export * from "./enums.ts"
|
|
|
32
33
|
* const apiKeys = await prisma.apiKey.findMany()
|
|
33
34
|
* ```
|
|
34
35
|
*
|
|
35
|
-
* Read more in our [docs](https://
|
|
36
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
36
37
|
*/
|
|
37
|
-
export const PrismaClient = $Class.getPrismaClientClass(
|
|
38
|
+
export const PrismaClient = $Class.getPrismaClientClass()
|
|
38
39
|
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
|
|
39
40
|
export { Prisma }
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
42
|
/**
|
|
44
43
|
* Model ApiKey
|
|
45
44
|
* The API key provides authentication tokens for accessing the platform API.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
4
5
|
// @ts-nocheck
|
|
5
6
|
/*
|
|
6
7
|
* This file exports various common sort, input & filter types that are not directly linked to a particular model.
|