@highstate/backend 0.9.18 → 0.9.19
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-5WVU2AK4.js +1535 -0
- package/dist/chunk-5WVU2AK4.js.map +1 -0
- package/dist/{chunk-OU5OQBLB.js → chunk-I7BWSAN6.js} +3 -28
- package/dist/{chunk-OU5OQBLB.js.map → chunk-I7BWSAN6.js.map} +1 -1
- package/dist/chunk-VB4YL327.js +139 -0
- package/dist/chunk-VB4YL327.js.map +1 -0
- package/dist/database/local/prisma.config.js +26 -0
- package/dist/database/local/prisma.config.js.map +1 -0
- package/dist/highstate.manifest.json +2 -1
- package/dist/index.js +7587 -7291
- package/dist/index.js.map +1 -1
- package/dist/library/package-resolution-worker.js +1 -1
- package/dist/library/package-resolution-worker.js.map +1 -1
- package/dist/library/worker/main.js +35 -29
- package/dist/library/worker/main.js.map +1 -1
- package/dist/shared/index.js +2 -2
- package/package.json +18 -9
- package/prisma/backend/_schema/layout.prisma +7 -0
- package/prisma/backend/_schema/library.prisma +17 -0
- package/prisma/backend/_schema/project.prisma +101 -0
- package/prisma/backend/_schema/pulumi.prisma +17 -0
- package/prisma/backend/postgresql/main.prisma +17 -0
- package/prisma/backend/sqlite/main.prisma +17 -0
- package/prisma/backend/sqlite/migrations/20250817070609_initiial/migration.sql +34 -0
- package/prisma/backend/sqlite/migrations/20250817104948_add_fields/migration.sql +59 -0
- package/prisma/backend/sqlite/migrations/20250818082732_add_models/migration.sql +41 -0
- package/prisma/backend/sqlite/migrations/20250818083106_a/migration.sql +19 -0
- package/prisma/backend/sqlite/migrations/20250818101945_hi/migration.sql +1 -0
- package/prisma/backend/sqlite/migrations/20250819082315_a/migration.sql +5 -0
- package/prisma/backend/sqlite/migrations/migration_lock.toml +3 -0
- package/prisma/project/api-key.prisma +27 -0
- package/prisma/project/artifact.prisma +52 -0
- package/prisma/project/custom-status.prisma +46 -0
- package/prisma/project/evaluation.prisma +35 -0
- package/prisma/project/instance.prisma +160 -0
- package/prisma/project/layout.prisma +23 -0
- package/prisma/project/lock.prisma +18 -0
- package/prisma/project/main.prisma +17 -0
- package/prisma/project/migrations/20250816081310_initial/migration.sql +300 -0
- package/prisma/project/migrations/20250816082523_test/migration.sql +72 -0
- package/prisma/project/migrations/20250818065643_update/migration.sql +42 -0
- package/prisma/project/migrations/20250818070758_a/migration.sql +8 -0
- package/prisma/project/migrations/20250818070913_a/migration.sql +8 -0
- package/prisma/project/migrations/20250818082720_add_motels/migration.sql +11 -0
- package/prisma/project/migrations/20250818112523_hello/migration.sql +35 -0
- package/prisma/project/migrations/20250819082305_a/migration.sql +14 -0
- package/prisma/project/migrations/20250819165004_add_missing_fields/migration.sql +216 -0
- package/prisma/project/migrations/20250819171309_a/migration.sql +22 -0
- package/prisma/project/migrations/20250820113949_a/migration.sql +66 -0
- package/prisma/project/migrations/20250820144256_b/migration.sql +31 -0
- package/prisma/project/migrations/20250820145547_a/migration.sql +24 -0
- package/prisma/project/migrations/20250820182517_b/migration.sql +2 -0
- package/prisma/project/migrations/20250821172324_a/migration.sql +2 -0
- package/prisma/project/migrations/20250822081339_a/migration.sql +219 -0
- package/prisma/project/migrations/20250822083742_b/migration.sql +1 -0
- package/prisma/project/migrations/20250822105134_boom/migration.sql +1 -0
- package/prisma/project/migrations/20250822141028_b/migration.sql +1 -0
- package/prisma/project/migrations/20250822142342_b/migration.sql +16 -0
- package/prisma/project/migrations/20250824072720_a/migration.sql +1 -0
- package/prisma/project/migrations/20250824093656_b/migration.sql +21 -0
- package/prisma/project/migrations/20250825082518_a/migration.sql +1 -0
- package/prisma/project/migrations/20250825085343_b/migration.sql +1 -0
- package/prisma/project/migrations/20250825091312_a/migration.sql +1 -0
- package/prisma/project/migrations/20250903095431_hi/migration.sql +44 -0
- package/prisma/project/migrations/20250903174255_a/migration.sql +24 -0
- package/prisma/project/migrations/20250908095205_hi/migration.sql +18 -0
- package/prisma/project/migrations/20250909155857_hi/migration.sql +15 -0
- package/prisma/project/migrations/migration_lock.toml +3 -0
- package/prisma/project/model.prisma +37 -0
- package/prisma/project/operation.prisma +148 -0
- package/prisma/project/page.prisma +41 -0
- package/prisma/project/secret.prisma +42 -0
- package/prisma/project/service-account.prisma +36 -0
- package/prisma/project/terminal.prisma +90 -0
- package/prisma/project/trigger.prisma +31 -0
- package/prisma/project/unlock-method.prisma +32 -0
- package/prisma/project/worker.prisma +138 -0
- package/src/artifact/abstractions.ts +13 -13
- package/src/artifact/encryption.ts +30 -54
- package/src/artifact/factory.ts +6 -9
- package/src/artifact/local.ts +33 -46
- package/src/business/api-key.ts +24 -36
- package/src/business/artifact.test.ts +978 -0
- package/src/business/artifact.ts +136 -216
- package/src/business/evaluation.ts +328 -0
- package/src/business/index.ts +5 -2
- package/src/business/instance-lock.test.ts +1060 -0
- package/src/business/instance-lock.ts +387 -78
- package/src/business/instance-state.test.ts +735 -0
- package/src/business/instance-state.ts +582 -337
- package/src/business/operation.test.ts +439 -0
- package/src/business/operation.ts +174 -208
- package/src/business/project-model.ts +258 -0
- package/src/business/project-unlock.ts +168 -126
- package/src/business/project.ts +287 -179
- package/src/business/secret.test.ts +465 -130
- package/src/business/secret.ts +186 -217
- package/src/business/settings.test.ts +695 -0
- package/src/business/settings.ts +855 -0
- package/src/business/terminal-session.ts +90 -0
- package/src/business/unit-extra.test.ts +539 -0
- package/src/business/unit-extra.ts +160 -0
- package/src/business/worker.test.ts +356 -579
- package/src/business/worker.ts +238 -339
- package/src/common/codebase.ts +65 -0
- package/src/common/index.ts +3 -5
- package/src/common/logger.ts +5 -0
- package/src/common/utils.ts +4 -3
- package/src/config.ts +10 -11
- package/src/database/_generated/backend/postgresql/client.ts +72 -0
- package/src/database/_generated/backend/postgresql/commonInputTypes.ts +350 -0
- package/src/database/_generated/backend/postgresql/enums.ts +13 -0
- package/src/database/_generated/backend/postgresql/internal/class.ts +320 -0
- package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +1238 -0
- package/src/database/_generated/backend/postgresql/models/Library.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/Project.ts +2175 -0
- package/src/database/_generated/backend/postgresql/models/ProjectModelStorage.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/ProjectSpace.ts +1602 -0
- package/src/database/_generated/backend/postgresql/models/PulumiBackend.ts +1263 -0
- package/src/database/_generated/backend/postgresql/models/UserWorkspaseLayout.ts +1065 -0
- package/src/database/_generated/backend/postgresql/models.ts +16 -0
- package/src/database/_generated/backend/postgresql/pjtg.ts +182 -0
- package/src/database/_generated/backend/sqlite/client.ts +72 -0
- package/src/database/_generated/backend/sqlite/commonInputTypes.ts +331 -0
- package/src/database/_generated/backend/sqlite/enums.ts +13 -0
- package/src/database/_generated/backend/sqlite/internal/class.ts +318 -0
- package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +1207 -0
- package/src/database/_generated/backend/sqlite/models/Library.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/Project.ts +2169 -0
- package/src/database/_generated/backend/sqlite/models/ProjectModelStorage.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/ProjectSpace.ts +1599 -0
- package/src/database/_generated/backend/sqlite/models/PulumiBackend.ts +1261 -0
- package/src/database/_generated/backend/sqlite/models/UserWorkspaseLayout.ts +1063 -0
- package/src/database/_generated/backend/sqlite/models.ts +16 -0
- package/src/database/_generated/backend/sqlite/pjtg.ts +182 -0
- package/src/database/_generated/project/client.ts +204 -0
- package/src/database/_generated/project/commonInputTypes.ts +827 -0
- package/src/database/_generated/project/enums.ts +104 -0
- package/src/database/_generated/project/internal/class.ts +479 -0
- package/src/database/_generated/project/internal/prismaNamespace.ts +2974 -0
- package/src/database/_generated/project/models/ApiKey.ts +1506 -0
- package/src/database/_generated/project/models/Artifact.ts +2051 -0
- package/src/database/_generated/project/models/HubModel.ts +1125 -0
- package/src/database/_generated/project/models/InstanceCustomStatus.ts +1713 -0
- package/src/database/_generated/project/models/InstanceEvaluationState.ts +1312 -0
- package/src/database/_generated/project/models/InstanceLock.ts +1268 -0
- package/src/database/_generated/project/models/InstanceModel.ts +1125 -0
- package/src/database/_generated/project/models/InstanceOperationState.ts +1707 -0
- package/src/database/_generated/project/models/InstanceState.ts +4613 -0
- package/src/database/_generated/project/models/Operation.ts +1647 -0
- package/src/database/_generated/project/models/OperationLog.ts +1455 -0
- package/src/database/_generated/project/models/Page.ts +1838 -0
- package/src/database/_generated/project/models/Secret.ts +1692 -0
- package/src/database/_generated/project/models/ServiceAccount.ts +2165 -0
- package/src/database/_generated/project/models/Terminal.ts +2038 -0
- package/src/database/_generated/project/models/TerminalSession.ts +1454 -0
- package/src/database/_generated/project/models/TerminalSessionLog.ts +1280 -0
- package/src/database/_generated/project/models/Trigger.ts +1430 -0
- package/src/database/_generated/project/models/UnlockMethod.ts +1220 -0
- package/src/database/_generated/project/models/UserCompositeViewport.ts +1280 -0
- package/src/database/_generated/project/models/UserProjectViewport.ts +1059 -0
- package/src/database/_generated/project/models/Worker.ts +1459 -0
- package/src/database/_generated/project/models/WorkerUnitRegistration.ts +1524 -0
- package/src/database/_generated/project/models/WorkerVersion.ts +1974 -0
- package/src/database/_generated/project/models/WorkerVersionLog.ts +1318 -0
- package/src/database/_generated/project/models.ts +35 -0
- package/src/database/_generated/project/pjtg.ts +182 -0
- package/src/database/abstractions.ts +19 -0
- package/src/database/factory.ts +37 -0
- package/src/database/index.ts +6 -0
- package/src/database/local/backend.ts +134 -0
- package/src/database/local/index.ts +3 -0
- package/src/database/local/meta.ts +46 -0
- package/src/database/local/prisma.config.ts +25 -0
- package/src/database/local/project.ts +39 -0
- package/src/database/manager.ts +181 -0
- package/src/database/migrate.ts +35 -0
- package/src/database/prisma.ts +56 -0
- package/src/database/well-known.ts +38 -0
- package/src/index.ts +4 -4
- package/src/library/abstractions.ts +3 -5
- package/src/library/factory.ts +1 -1
- package/src/library/local.ts +81 -26
- package/src/library/package-resolution-worker.ts +1 -1
- package/src/library/worker/evaluator.ts +40 -23
- package/src/library/worker/loader.lite.ts +1 -1
- package/src/library/worker/main.ts +3 -10
- package/src/library/worker/protocol.ts +0 -1
- package/src/lock/index.ts +0 -1
- package/src/lock/manager.ts +0 -10
- package/src/orchestrator/manager.ts +190 -104
- package/src/orchestrator/operation-context.ts +357 -0
- package/src/orchestrator/operation-plan.destroy.test.md +357 -0
- package/src/orchestrator/operation-plan.destroy.test.ts +775 -0
- package/src/orchestrator/operation-plan.fixtures.ts +213 -0
- package/src/orchestrator/operation-plan.md +198 -0
- package/src/orchestrator/operation-plan.refresh.test.md +199 -0
- package/src/orchestrator/operation-plan.refresh.test.ts +367 -0
- package/src/orchestrator/operation-plan.ts +709 -0
- package/src/orchestrator/operation-plan.update.test.md +485 -0
- package/src/orchestrator/operation-plan.update.test.ts +1066 -0
- package/src/orchestrator/operation-workset.ts +233 -578
- package/src/orchestrator/operation.ts +435 -948
- package/src/orchestrator/plan-test-builder.ts +267 -0
- package/src/project-model/abstractions.ts +118 -0
- package/src/project-model/backends/codebase.ts +365 -0
- package/src/project-model/backends/database.ts +440 -0
- package/src/project-model/errors.ts +81 -0
- package/src/project-model/factory.ts +24 -0
- package/src/project-model/index.ts +4 -0
- package/src/project-model/utils.test.ts +544 -0
- package/src/project-model/utils.ts +242 -0
- package/src/pubsub/abstractions.ts +10 -1
- package/src/pubsub/factory.ts +4 -4
- package/src/pubsub/index.ts +1 -0
- package/src/pubsub/manager.ts +29 -13
- package/src/pubsub/memory.ts +31 -0
- package/src/runner/abstractions.ts +33 -41
- package/src/runner/artifact-env.ts +19 -8
- package/src/runner/factory.ts +6 -6
- package/src/runner/force-abort.ts +3 -6
- package/src/runner/local.ts +64 -67
- package/src/runner/pulumi.ts +23 -63
- package/src/services.ts +181 -123
- package/src/shared/models/backend/index.ts +3 -1
- package/src/shared/models/backend/library.ts +9 -1
- package/src/shared/models/backend/project.ts +43 -42
- package/src/shared/models/backend/pulumi.ts +14 -0
- package/src/shared/models/backend/unlock-method.ts +1 -1
- package/src/shared/models/backend/well-known.ts +58 -0
- package/src/shared/models/base.ts +40 -26
- package/src/shared/models/errors.ts +82 -1
- package/src/shared/models/index.ts +3 -2
- package/src/shared/models/prisma.ts +36 -0
- package/src/shared/models/project/api-key.ts +37 -59
- package/src/shared/models/project/artifact.ts +16 -76
- package/src/shared/models/project/custom-status.ts +12 -0
- package/src/shared/models/project/index.ts +8 -7
- package/src/shared/models/project/lock.ts +10 -78
- package/src/shared/models/project/model.ts +19 -1
- package/src/shared/models/project/operation.ts +222 -99
- package/src/shared/models/project/page.ts +37 -48
- package/src/shared/models/project/secret.ts +29 -89
- package/src/shared/models/project/service-account.ts +12 -17
- package/src/shared/models/project/state.ts +100 -407
- package/src/shared/models/project/terminal.ts +75 -88
- package/src/shared/models/project/trigger.ts +13 -49
- package/src/shared/models/project/unlock-method.ts +20 -26
- package/src/shared/models/project/worker.ts +89 -90
- package/src/shared/resolvers/graph-resolver.ts +21 -0
- package/src/shared/resolvers/index.ts +1 -1
- package/src/shared/resolvers/input-hash.ts +24 -14
- package/src/shared/resolvers/input.ts +1 -1
- package/src/shared/resolvers/registry.ts +5 -4
- package/src/shared/resolvers/state.ts +12 -1
- package/src/shared/resolvers/validation.ts +7 -3
- package/src/shared/utils/index.ts +1 -2
- package/src/shared/utils/promise-tracker.ts +30 -3
- package/src/terminal/abstractions.ts +1 -1
- package/src/terminal/docker.ts +3 -3
- package/src/terminal/manager.ts +102 -118
- package/src/test-utils/database.ts +119 -0
- package/src/test-utils/index.ts +2 -0
- package/src/test-utils/services.ts +134 -0
- package/src/unlock/abstractions.ts +5 -23
- package/src/unlock/memory.ts +9 -14
- package/src/worker/abstractions.ts +7 -4
- package/src/worker/docker.ts +14 -19
- package/src/worker/manager.ts +366 -97
- package/dist/chunk-NAAIDR4U.js +0 -8499
- package/dist/chunk-NAAIDR4U.js.map +0 -1
- package/dist/chunk-Y7DXREVO.js +0 -1745
- package/dist/chunk-Y7DXREVO.js.map +0 -1
- package/dist/magic-string.es-5ABAC4JN.js +0 -1292
- package/dist/magic-string.es-5ABAC4JN.js.map +0 -1
- package/src/business/__traces__/secret/update-instance-secrets/create-and-delete-secrets-simultaneously.md +0 -356
- package/src/business/__traces__/secret/update-instance-secrets/create-new-secrets-for-instance.md +0 -274
- package/src/business/__traces__/secret/update-instance-secrets/delete-existing-secrets.md +0 -223
- package/src/business/__traces__/secret/update-instance-secrets/no-op-when-no-changes.md +0 -147
- package/src/business/__traces__/secret/update-instance-secrets/update-existing-secrets.md +0 -280
- package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration-when-other-exists.md +0 -360
- package/src/business/__traces__/worker/update-unit-registrations/add-new-unit-registration.md +0 -215
- package/src/business/__traces__/worker/update-unit-registrations/create-multiple-workers-with-different-identities.md +0 -427
- package/src/business/__traces__/worker/update-unit-registrations/handle-nonexistent-registration-id-gracefully.md +0 -217
- package/src/business/__traces__/worker/update-unit-registrations/no-op-when-no-changes.md +0 -132
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-changes.md +0 -454
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-when-image-version-changes.md +0 -426
- package/src/business/__traces__/worker/update-unit-registrations/recreate-worker-with-same-identity-reuses-service-account.md +0 -372
- package/src/business/__traces__/worker/update-unit-registrations/remove-one-of-multiple-unit-registrations.md +0 -383
- package/src/business/__traces__/worker/update-unit-registrations/remove-unit-registration.md +0 -245
- package/src/business/__traces__/worker/update-unit-registrations/update-existing-unit-registration-when-params-change.md +0 -174
- package/src/business/__traces__/worker/update-unit-registrations/update-params-and-image-simultaneously.md +0 -432
- package/src/business/__traces__/worker/update-unit-registrations/worker-with-multiple-registrations-not-deleted-when-one-removed.md +0 -220
- package/src/business/backend-unlock.ts +0 -10
- package/src/common/clock.ts +0 -18
- package/src/common/performance.ts +0 -44
- package/src/common/random.ts +0 -68
- package/src/common/test/index.ts +0 -2
- package/src/common/test/render.ts +0 -98
- package/src/common/test/tracer.ts +0 -359
- package/src/hotstate/abstractions.ts +0 -48
- package/src/hotstate/factory.ts +0 -17
- package/src/hotstate/index.ts +0 -3
- package/src/hotstate/manager.ts +0 -192
- package/src/hotstate/memory.ts +0 -100
- package/src/hotstate/validation.ts +0 -100
- package/src/lock/test.ts +0 -108
- package/src/project/abstractions.ts +0 -78
- package/src/project/evaluation.ts +0 -248
- package/src/project/factory.ts +0 -11
- package/src/project/index.ts +0 -3
- package/src/project/local.ts +0 -417
- package/src/pubsub/local.ts +0 -36
- package/src/pubsub/validation.ts +0 -33
- package/src/shared/utils/args.ts +0 -25
- package/src/state/abstractions.ts +0 -289
- package/src/state/encryption.ts +0 -98
- package/src/state/factory.ts +0 -20
- package/src/state/index.ts +0 -7
- package/src/state/local/backend.ts +0 -106
- package/src/state/local/collection.ts +0 -361
- package/src/state/local/index.ts +0 -2
- package/src/state/manager.ts +0 -890
- package/src/state/memory/backend.ts +0 -70
- package/src/state/memory/collection.ts +0 -270
- package/src/state/memory/index.ts +0 -2
- package/src/state/repository/index.ts +0 -2
- package/src/state/repository/repository.index.ts +0 -193
- package/src/state/repository/repository.ts +0 -507
- package/src/state/test.ts +0 -457
- /package/src/{state → database/local}/keyring.ts +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* This is a barrel export file for all models and their related types.
|
|
7
|
+
*
|
|
8
|
+
* 🟢 You can import this file directly.
|
|
9
|
+
*/
|
|
10
|
+
export type * from './models/UserWorkspaseLayout.ts'
|
|
11
|
+
export type * from './models/Library.ts'
|
|
12
|
+
export type * from './models/Project.ts'
|
|
13
|
+
export type * from './models/ProjectSpace.ts'
|
|
14
|
+
export type * from './models/ProjectModelStorage.ts'
|
|
15
|
+
export type * from './models/PulumiBackend.ts'
|
|
16
|
+
export type * from './commonInputTypes.ts'
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
namespace PrismaJson {
|
|
3
|
+
// This namespace will always be empty. Definitions should be done by
|
|
4
|
+
// you manually, and merged automatically by typescript. Make sure that
|
|
5
|
+
// your declaration merging file is included in your tsconfig.json
|
|
6
|
+
//
|
|
7
|
+
// Learn more: https://github.com/arthurfiorette/prisma-json-types-generator/issues/143
|
|
8
|
+
// Declaration Merging: https://www.typescriptlang.org/docs/handbook/declaration-merging.html
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** A filter to be used against nullable List types. */
|
|
13
|
+
export type NullableListFilter<T> = {
|
|
14
|
+
equals?: T | T[] | null;
|
|
15
|
+
has?: T | null;
|
|
16
|
+
hasEvery?: T[];
|
|
17
|
+
hasSome?: T[];
|
|
18
|
+
isEmpty?: boolean;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** A type to determine how to update a json field */
|
|
22
|
+
export type UpdateInput<T> = T extends object ? { [P in keyof T]?: UpdateInput<T[P]> } : T;
|
|
23
|
+
|
|
24
|
+
/** A type to determine how to update a json[] field */
|
|
25
|
+
export type UpdateManyInput<T> = T | T[] | { set?: T[]; push?: T | T[] };
|
|
26
|
+
|
|
27
|
+
/** A type to determine how to create a json[] input */
|
|
28
|
+
export type CreateManyInput<T> = T | T[] | { set?: T[] };
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* A typed version of NestedStringFilter, allowing narrowing of string types to
|
|
32
|
+
* discriminated unions.
|
|
33
|
+
*/
|
|
34
|
+
export type TypedNestedStringFilter<S extends string> =
|
|
35
|
+
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
|
36
|
+
Prisma.StringFilter & {
|
|
37
|
+
equals?: S;
|
|
38
|
+
in?: S[];
|
|
39
|
+
notIn?: S[];
|
|
40
|
+
not?: TypedNestedStringFilter<S> | S;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* A typed version of StringFilter, allowing narrowing of string types to discriminated
|
|
45
|
+
* unions.
|
|
46
|
+
*/
|
|
47
|
+
export type TypedStringFilter<S extends string> =
|
|
48
|
+
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
|
49
|
+
Prisma.StringFilter & {
|
|
50
|
+
equals?: S;
|
|
51
|
+
in?: S[];
|
|
52
|
+
notIn?: S[];
|
|
53
|
+
not?: TypedNestedStringFilter<S> | S;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* A typed version of NestedStringNullableFilter, allowing narrowing of string types to
|
|
58
|
+
* discriminated unions.
|
|
59
|
+
*/
|
|
60
|
+
export type TypedNestedStringNullableFilter<S extends string> =
|
|
61
|
+
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
|
62
|
+
Prisma.StringNullableFilter & {
|
|
63
|
+
equals?: S | null;
|
|
64
|
+
in?: S[] | null;
|
|
65
|
+
notIn?: S[] | null;
|
|
66
|
+
not?: TypedNestedStringNullableFilter<S> | S | null;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* A typed version of StringNullableFilter, allowing narrowing of string types to
|
|
71
|
+
* discriminated unions.
|
|
72
|
+
*/
|
|
73
|
+
export type TypedStringNullableFilter<S extends string> =
|
|
74
|
+
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
|
75
|
+
Prisma.StringNullableFilter & {
|
|
76
|
+
equals?: S | null;
|
|
77
|
+
in?: S[] | null;
|
|
78
|
+
notIn?: S[] | null;
|
|
79
|
+
not?: TypedNestedStringNullableFilter<S> | S | null;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* A typed version of NestedStringWithAggregatesFilter, allowing narrowing of string types
|
|
84
|
+
* to discriminated unions.
|
|
85
|
+
*/
|
|
86
|
+
export type TypedNestedStringWithAggregatesFilter<S extends string> =
|
|
87
|
+
//@ts-ignore - When Prisma.NestedStringWithAggregatesFilter is not present, this type is not used
|
|
88
|
+
Prisma.NestedStringWithAggregatesFilter & {
|
|
89
|
+
equals?: S;
|
|
90
|
+
in?: S[];
|
|
91
|
+
notIn?: S[];
|
|
92
|
+
not?: TypedNestedStringWithAggregatesFilter<S> | S;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* A typed version of StringWithAggregatesFilter, allowing narrowing of string types to
|
|
97
|
+
* discriminated unions.
|
|
98
|
+
*/
|
|
99
|
+
export type TypedStringWithAggregatesFilter<S extends string> =
|
|
100
|
+
//@ts-ignore - When Prisma.StringWithAggregatesFilter is not present, this type is not used
|
|
101
|
+
Prisma.StringWithAggregatesFilter & {
|
|
102
|
+
equals?: S;
|
|
103
|
+
in?: S[];
|
|
104
|
+
notIn?: S[];
|
|
105
|
+
not?: TypedNestedStringWithAggregatesFilter<S> | S;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* A typed version of NestedStringNullableWithAggregatesFilter, allowing narrowing of
|
|
110
|
+
* string types to discriminated unions.
|
|
111
|
+
*/
|
|
112
|
+
export type TypedNestedStringNullableWithAggregatesFilter<S extends string> =
|
|
113
|
+
//@ts-ignore - When Prisma.NestedStringNullableWithAggregatesFilter is not present, this type is not used
|
|
114
|
+
Prisma.NestedStringNullableWithAggregatesFilter & {
|
|
115
|
+
equals?: S | null;
|
|
116
|
+
in?: S[] | null;
|
|
117
|
+
notIn?: S[] | null;
|
|
118
|
+
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* A typed version of StringNullableWithAggregatesFilter, allowing narrowing of string
|
|
123
|
+
* types to discriminated unions.
|
|
124
|
+
*/
|
|
125
|
+
export type TypedStringNullableWithAggregatesFilter<S extends string> =
|
|
126
|
+
//@ts-ignore - When Prisma.StringNullableWithAggregatesFilter is not present, this type is not used
|
|
127
|
+
Prisma.StringNullableWithAggregatesFilter & {
|
|
128
|
+
equals?: S | null;
|
|
129
|
+
in?: S[] | null;
|
|
130
|
+
notIn?: S[] | null;
|
|
131
|
+
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* A typed version of StringFieldUpdateOperationsInput, allowing narrowing of string types
|
|
136
|
+
* to discriminated unions.
|
|
137
|
+
*/
|
|
138
|
+
export type TypedStringFieldUpdateOperationsInput<S extends string> =
|
|
139
|
+
//@ts-ignore - When Prisma.StringFieldUpdateOperationsInput is not present, this type is not used
|
|
140
|
+
Prisma.StringFieldUpdateOperationsInput & {
|
|
141
|
+
set?: S;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* A typed version of NullableStringFieldUpdateOperationsInput, allowing narrowing of
|
|
146
|
+
* string types to discriminated unions.
|
|
147
|
+
*/
|
|
148
|
+
export type TypedNullableStringFieldUpdateOperationsInput<S extends string> =
|
|
149
|
+
//@ts-ignore - When Prisma.NullableStringFieldUpdateOperationsInput is not present, this type is not used
|
|
150
|
+
Prisma.NullableStringFieldUpdateOperationsInput & {
|
|
151
|
+
set?: S | null;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* A typed version of StringNullableListFilter, allowing narrowing of string types to
|
|
156
|
+
* discriminated unions.
|
|
157
|
+
*/
|
|
158
|
+
export type TypedStringNullableListFilter<S extends string> =
|
|
159
|
+
//@ts-ignore - When Prisma.StringNullableListFilter is not present, this type is not used
|
|
160
|
+
Prisma.StringNullableListFilter & {
|
|
161
|
+
equals?: S[] | null;
|
|
162
|
+
has?: S | null;
|
|
163
|
+
hasEvery?: S[];
|
|
164
|
+
hasSome?: S[];
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* A typed version of the input type to update a string[] field, allowing narrowing of
|
|
169
|
+
* string types to discriminated unions.
|
|
170
|
+
*/
|
|
171
|
+
export type UpdateStringArrayInput<S extends string> = {
|
|
172
|
+
set?: S[];
|
|
173
|
+
push?: S | S[];
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* A typed version of the input type to create a string[] field, allowing narrowing of
|
|
178
|
+
* string types to discriminated unions.
|
|
179
|
+
*/
|
|
180
|
+
export type CreateStringArrayInput<S extends string> = {
|
|
181
|
+
set?: S[];
|
|
182
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* 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
|
+
* 🟢 You can import this file directly.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import * as process from 'node:process'
|
|
12
|
+
import * as path from 'node:path'
|
|
13
|
+
import { fileURLToPath } from 'node:url'
|
|
14
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
15
|
+
|
|
16
|
+
import * as runtime from "@prisma/client/runtime/client"
|
|
17
|
+
import * as $Enums from "./enums.ts"
|
|
18
|
+
import * as $Class from "./internal/class.ts"
|
|
19
|
+
import * as Prisma from "./internal/prismaNamespace.ts"
|
|
20
|
+
|
|
21
|
+
export * as $Enums from './enums.ts'
|
|
22
|
+
/**
|
|
23
|
+
* ## Prisma Client
|
|
24
|
+
*
|
|
25
|
+
* Type-safe database client for TypeScript
|
|
26
|
+
* @example
|
|
27
|
+
* ```
|
|
28
|
+
* const prisma = new PrismaClient()
|
|
29
|
+
* // Fetch zero or more UserWorkspaseLayouts
|
|
30
|
+
* const userWorkspaseLayouts = await prisma.userWorkspaseLayout.findMany()
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
|
|
34
|
+
*/
|
|
35
|
+
export const PrismaClient = $Class.getPrismaClientClass(__dirname)
|
|
36
|
+
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>
|
|
37
|
+
export { Prisma }
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Model UserWorkspaseLayout
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
export type UserWorkspaseLayout = Prisma.UserWorkspaseLayoutModel
|
|
46
|
+
/**
|
|
47
|
+
* Model Library
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export type Library = Prisma.LibraryModel
|
|
51
|
+
/**
|
|
52
|
+
* Model Project
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
export type Project = Prisma.ProjectModel
|
|
56
|
+
/**
|
|
57
|
+
* Model ProjectSpace
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export type ProjectSpace = Prisma.ProjectSpaceModel
|
|
61
|
+
/**
|
|
62
|
+
* Model ProjectModelStorage
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
export type ProjectModelStorage = Prisma.ProjectModelStorageModel
|
|
66
|
+
/**
|
|
67
|
+
* Model PulumiBackend
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export type PulumiBackend = Prisma.PulumiBackendModel
|
|
71
|
+
|
|
72
|
+
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* This file exports various common sort, input & filter types that are not directly linked to a particular model.
|
|
7
|
+
*
|
|
8
|
+
* 🟢 You can import this file directly.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import * as $Enums from "./enums.ts"
|
|
13
|
+
import type * as Prisma from "./internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export type StringFilter<$PrismaModel = never> = {
|
|
17
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
18
|
+
in?: string[]
|
|
19
|
+
notIn?: string[]
|
|
20
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
21
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
22
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
23
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
24
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
25
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
26
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
27
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type JsonFilter<$PrismaModel = never> =
|
|
31
|
+
| Prisma.PatchUndefined<
|
|
32
|
+
Prisma.Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>,
|
|
33
|
+
Required<JsonFilterBase<$PrismaModel>>
|
|
34
|
+
>
|
|
35
|
+
| Prisma.OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>
|
|
36
|
+
|
|
37
|
+
export type JsonFilterBase<$PrismaModel = never> = {
|
|
38
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
39
|
+
path?: string
|
|
40
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
|
41
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
42
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
43
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
44
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
45
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
46
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
50
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
51
|
+
in?: string[]
|
|
52
|
+
notIn?: string[]
|
|
53
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
54
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
55
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
56
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
57
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
58
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
59
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
60
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
61
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
62
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
63
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type JsonWithAggregatesFilter<$PrismaModel = never> =
|
|
67
|
+
| Prisma.PatchUndefined<
|
|
68
|
+
Prisma.Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
69
|
+
Required<JsonWithAggregatesFilterBase<$PrismaModel>>
|
|
70
|
+
>
|
|
71
|
+
| Prisma.OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
72
|
+
|
|
73
|
+
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
74
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
75
|
+
path?: string
|
|
76
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
|
77
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
78
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
79
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
80
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
81
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
82
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
83
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
84
|
+
_min?: Prisma.NestedJsonFilter<$PrismaModel>
|
|
85
|
+
_max?: Prisma.NestedJsonFilter<$PrismaModel>
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export type IntFilter<$PrismaModel = never> = {
|
|
89
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
90
|
+
in?: number[]
|
|
91
|
+
notIn?: number[]
|
|
92
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
93
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
94
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
95
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
96
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type DateTimeFilter<$PrismaModel = never> = {
|
|
100
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
101
|
+
in?: Date[] | string[]
|
|
102
|
+
notIn?: Date[] | string[]
|
|
103
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
104
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
105
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
106
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
107
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
111
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
112
|
+
in?: number[]
|
|
113
|
+
notIn?: number[]
|
|
114
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
115
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
116
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
117
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
118
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
|
|
119
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
120
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
|
121
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>
|
|
122
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>
|
|
123
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
127
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
128
|
+
in?: Date[] | string[]
|
|
129
|
+
notIn?: Date[] | string[]
|
|
130
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
131
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
132
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
133
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
134
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
135
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
136
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
137
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export type StringNullableFilter<$PrismaModel = never> = {
|
|
141
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
142
|
+
in?: string[] | null
|
|
143
|
+
notIn?: string[] | null
|
|
144
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
145
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
146
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
147
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
148
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
149
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
150
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
151
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export type SortOrderInput = {
|
|
155
|
+
sort: Prisma.SortOrder
|
|
156
|
+
nulls?: Prisma.NullsOrder
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
160
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
161
|
+
in?: string[] | null
|
|
162
|
+
notIn?: string[] | null
|
|
163
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
164
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
165
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
166
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
167
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
168
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
169
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
170
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
171
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
172
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
173
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export type NestedStringFilter<$PrismaModel = never> = {
|
|
177
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
178
|
+
in?: string[]
|
|
179
|
+
notIn?: string[]
|
|
180
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
181
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
182
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
183
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
184
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
185
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
186
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
187
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
191
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
192
|
+
in?: string[]
|
|
193
|
+
notIn?: string[]
|
|
194
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
195
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
196
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
197
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
198
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
199
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
200
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
201
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
202
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
203
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
204
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export type NestedIntFilter<$PrismaModel = never> = {
|
|
208
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
209
|
+
in?: number[]
|
|
210
|
+
notIn?: number[]
|
|
211
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
212
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
213
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
214
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
215
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export type NestedJsonFilter<$PrismaModel = never> =
|
|
219
|
+
| Prisma.PatchUndefined<
|
|
220
|
+
Prisma.Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>,
|
|
221
|
+
Required<NestedJsonFilterBase<$PrismaModel>>
|
|
222
|
+
>
|
|
223
|
+
| Prisma.OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>
|
|
224
|
+
|
|
225
|
+
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
226
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
227
|
+
path?: string
|
|
228
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
|
229
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
230
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
231
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
232
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
233
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
234
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
|
238
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
239
|
+
in?: Date[] | string[]
|
|
240
|
+
notIn?: Date[] | string[]
|
|
241
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
242
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
243
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
244
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
245
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
249
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
250
|
+
in?: number[]
|
|
251
|
+
notIn?: number[]
|
|
252
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
253
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
254
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
255
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
256
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
|
|
257
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
258
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
|
259
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>
|
|
260
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>
|
|
261
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
265
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
266
|
+
in?: number[]
|
|
267
|
+
notIn?: number[]
|
|
268
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
269
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
270
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
271
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
272
|
+
not?: Prisma.NestedFloatFilter<$PrismaModel> | number
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
276
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
277
|
+
in?: Date[] | string[]
|
|
278
|
+
notIn?: Date[] | string[]
|
|
279
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
280
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
281
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
282
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
283
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
284
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
285
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
286
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
290
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
291
|
+
in?: string[] | null
|
|
292
|
+
notIn?: string[] | null
|
|
293
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
294
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
295
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
296
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
297
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
298
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
299
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
300
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
304
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
305
|
+
in?: string[] | null
|
|
306
|
+
notIn?: string[] | null
|
|
307
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
308
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
309
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
310
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
311
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
312
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
313
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
314
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
315
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
316
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
317
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
321
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
322
|
+
in?: number[] | null
|
|
323
|
+
notIn?: number[] | null
|
|
324
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
325
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
326
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
327
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
328
|
+
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* This file exports all enum related types from the schema.
|
|
7
|
+
*
|
|
8
|
+
* 🟢 You can import this file directly.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
// This file is empty because there are no enums in the schema.
|
|
13
|
+
export {}
|