@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,1220 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
/**
|
|
6
|
+
* This file exports the `UnlockMethod` 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 UnlockMethod
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export type UnlockMethodModel = runtime.Types.Result.DefaultSelection<Prisma.$UnlockMethodPayload>
|
|
21
|
+
|
|
22
|
+
export type AggregateUnlockMethod = {
|
|
23
|
+
_count: UnlockMethodCountAggregateOutputType | null
|
|
24
|
+
_min: UnlockMethodMinAggregateOutputType | null
|
|
25
|
+
_max: UnlockMethodMaxAggregateOutputType | null
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type UnlockMethodMinAggregateOutputType = {
|
|
29
|
+
id: string | null
|
|
30
|
+
type: $Enums.UnlockMethodType | null
|
|
31
|
+
encryptedIdentity: string | null
|
|
32
|
+
recipient: string | null
|
|
33
|
+
createdAt: Date | null
|
|
34
|
+
updatedAt: Date | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type UnlockMethodMaxAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
type: $Enums.UnlockMethodType | null
|
|
40
|
+
encryptedIdentity: string | null
|
|
41
|
+
recipient: string | null
|
|
42
|
+
createdAt: Date | null
|
|
43
|
+
updatedAt: Date | null
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type UnlockMethodCountAggregateOutputType = {
|
|
47
|
+
id: number
|
|
48
|
+
meta: number
|
|
49
|
+
type: number
|
|
50
|
+
encryptedIdentity: number
|
|
51
|
+
recipient: number
|
|
52
|
+
createdAt: number
|
|
53
|
+
updatedAt: number
|
|
54
|
+
_all: number
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
export type UnlockMethodMinAggregateInputType = {
|
|
59
|
+
id?: true
|
|
60
|
+
type?: true
|
|
61
|
+
encryptedIdentity?: true
|
|
62
|
+
recipient?: true
|
|
63
|
+
createdAt?: true
|
|
64
|
+
updatedAt?: true
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export type UnlockMethodMaxAggregateInputType = {
|
|
68
|
+
id?: true
|
|
69
|
+
type?: true
|
|
70
|
+
encryptedIdentity?: true
|
|
71
|
+
recipient?: true
|
|
72
|
+
createdAt?: true
|
|
73
|
+
updatedAt?: true
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type UnlockMethodCountAggregateInputType = {
|
|
77
|
+
id?: true
|
|
78
|
+
meta?: true
|
|
79
|
+
type?: true
|
|
80
|
+
encryptedIdentity?: true
|
|
81
|
+
recipient?: true
|
|
82
|
+
createdAt?: true
|
|
83
|
+
updatedAt?: true
|
|
84
|
+
_all?: true
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type UnlockMethodAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
88
|
+
/**
|
|
89
|
+
* Filter which UnlockMethod to aggregate.
|
|
90
|
+
*/
|
|
91
|
+
where?: Prisma.UnlockMethodWhereInput
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
94
|
+
*
|
|
95
|
+
* Determine the order of UnlockMethods to fetch.
|
|
96
|
+
*/
|
|
97
|
+
orderBy?: Prisma.UnlockMethodOrderByWithRelationInput | Prisma.UnlockMethodOrderByWithRelationInput[]
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
100
|
+
*
|
|
101
|
+
* Sets the start position
|
|
102
|
+
*/
|
|
103
|
+
cursor?: Prisma.UnlockMethodWhereUniqueInput
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
106
|
+
*
|
|
107
|
+
* Take `±n` UnlockMethods from the position of the cursor.
|
|
108
|
+
*/
|
|
109
|
+
take?: number
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
112
|
+
*
|
|
113
|
+
* Skip the first `n` UnlockMethods.
|
|
114
|
+
*/
|
|
115
|
+
skip?: number
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Count returned UnlockMethods
|
|
120
|
+
**/
|
|
121
|
+
_count?: true | UnlockMethodCountAggregateInputType
|
|
122
|
+
/**
|
|
123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
124
|
+
*
|
|
125
|
+
* Select which fields to find the minimum value
|
|
126
|
+
**/
|
|
127
|
+
_min?: UnlockMethodMinAggregateInputType
|
|
128
|
+
/**
|
|
129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
130
|
+
*
|
|
131
|
+
* Select which fields to find the maximum value
|
|
132
|
+
**/
|
|
133
|
+
_max?: UnlockMethodMaxAggregateInputType
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export type GetUnlockMethodAggregateType<T extends UnlockMethodAggregateArgs> = {
|
|
137
|
+
[P in keyof T & keyof AggregateUnlockMethod]: P extends '_count' | 'count'
|
|
138
|
+
? T[P] extends true
|
|
139
|
+
? number
|
|
140
|
+
: Prisma.GetScalarType<T[P], AggregateUnlockMethod[P]>
|
|
141
|
+
: Prisma.GetScalarType<T[P], AggregateUnlockMethod[P]>
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
export type UnlockMethodGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
148
|
+
where?: Prisma.UnlockMethodWhereInput
|
|
149
|
+
orderBy?: Prisma.UnlockMethodOrderByWithAggregationInput | Prisma.UnlockMethodOrderByWithAggregationInput[]
|
|
150
|
+
by: Prisma.UnlockMethodScalarFieldEnum[] | Prisma.UnlockMethodScalarFieldEnum
|
|
151
|
+
having?: Prisma.UnlockMethodScalarWhereWithAggregatesInput
|
|
152
|
+
take?: number
|
|
153
|
+
skip?: number
|
|
154
|
+
_count?: UnlockMethodCountAggregateInputType | true
|
|
155
|
+
_min?: UnlockMethodMinAggregateInputType
|
|
156
|
+
_max?: UnlockMethodMaxAggregateInputType
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export type UnlockMethodGroupByOutputType = {
|
|
160
|
+
id: string
|
|
161
|
+
meta: PrismaJson.UnlockMethodMeta
|
|
162
|
+
type: $Enums.UnlockMethodType
|
|
163
|
+
encryptedIdentity: string
|
|
164
|
+
recipient: string
|
|
165
|
+
createdAt: Date
|
|
166
|
+
updatedAt: Date
|
|
167
|
+
_count: UnlockMethodCountAggregateOutputType | null
|
|
168
|
+
_min: UnlockMethodMinAggregateOutputType | null
|
|
169
|
+
_max: UnlockMethodMaxAggregateOutputType | null
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
type GetUnlockMethodGroupByPayload<T extends UnlockMethodGroupByArgs> = Prisma.PrismaPromise<
|
|
173
|
+
Array<
|
|
174
|
+
Prisma.PickEnumerable<UnlockMethodGroupByOutputType, T['by']> &
|
|
175
|
+
{
|
|
176
|
+
[P in ((keyof T) & (keyof UnlockMethodGroupByOutputType))]: P extends '_count'
|
|
177
|
+
? T[P] extends boolean
|
|
178
|
+
? number
|
|
179
|
+
: Prisma.GetScalarType<T[P], UnlockMethodGroupByOutputType[P]>
|
|
180
|
+
: Prisma.GetScalarType<T[P], UnlockMethodGroupByOutputType[P]>
|
|
181
|
+
}
|
|
182
|
+
>
|
|
183
|
+
>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
export type UnlockMethodWhereInput = {
|
|
188
|
+
AND?: Prisma.UnlockMethodWhereInput | Prisma.UnlockMethodWhereInput[]
|
|
189
|
+
OR?: Prisma.UnlockMethodWhereInput[]
|
|
190
|
+
NOT?: Prisma.UnlockMethodWhereInput | Prisma.UnlockMethodWhereInput[]
|
|
191
|
+
id?: Prisma.StringFilter<"UnlockMethod"> | string
|
|
192
|
+
meta?: Prisma.JsonFilter<"UnlockMethod">
|
|
193
|
+
type?: Prisma.EnumUnlockMethodTypeFilter<"UnlockMethod"> | $Enums.UnlockMethodType
|
|
194
|
+
encryptedIdentity?: Prisma.StringFilter<"UnlockMethod"> | string
|
|
195
|
+
recipient?: Prisma.StringFilter<"UnlockMethod"> | string
|
|
196
|
+
createdAt?: Prisma.DateTimeFilter<"UnlockMethod"> | Date | string
|
|
197
|
+
updatedAt?: Prisma.DateTimeFilter<"UnlockMethod"> | Date | string
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export type UnlockMethodOrderByWithRelationInput = {
|
|
201
|
+
id?: Prisma.SortOrder
|
|
202
|
+
meta?: Prisma.SortOrder
|
|
203
|
+
type?: Prisma.SortOrder
|
|
204
|
+
encryptedIdentity?: Prisma.SortOrder
|
|
205
|
+
recipient?: Prisma.SortOrder
|
|
206
|
+
createdAt?: Prisma.SortOrder
|
|
207
|
+
updatedAt?: Prisma.SortOrder
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export type UnlockMethodWhereUniqueInput = Prisma.AtLeast<{
|
|
211
|
+
id?: string
|
|
212
|
+
AND?: Prisma.UnlockMethodWhereInput | Prisma.UnlockMethodWhereInput[]
|
|
213
|
+
OR?: Prisma.UnlockMethodWhereInput[]
|
|
214
|
+
NOT?: Prisma.UnlockMethodWhereInput | Prisma.UnlockMethodWhereInput[]
|
|
215
|
+
meta?: Prisma.JsonFilter<"UnlockMethod">
|
|
216
|
+
type?: Prisma.EnumUnlockMethodTypeFilter<"UnlockMethod"> | $Enums.UnlockMethodType
|
|
217
|
+
encryptedIdentity?: Prisma.StringFilter<"UnlockMethod"> | string
|
|
218
|
+
recipient?: Prisma.StringFilter<"UnlockMethod"> | string
|
|
219
|
+
createdAt?: Prisma.DateTimeFilter<"UnlockMethod"> | Date | string
|
|
220
|
+
updatedAt?: Prisma.DateTimeFilter<"UnlockMethod"> | Date | string
|
|
221
|
+
}, "id">
|
|
222
|
+
|
|
223
|
+
export type UnlockMethodOrderByWithAggregationInput = {
|
|
224
|
+
id?: Prisma.SortOrder
|
|
225
|
+
meta?: Prisma.SortOrder
|
|
226
|
+
type?: Prisma.SortOrder
|
|
227
|
+
encryptedIdentity?: Prisma.SortOrder
|
|
228
|
+
recipient?: Prisma.SortOrder
|
|
229
|
+
createdAt?: Prisma.SortOrder
|
|
230
|
+
updatedAt?: Prisma.SortOrder
|
|
231
|
+
_count?: Prisma.UnlockMethodCountOrderByAggregateInput
|
|
232
|
+
_max?: Prisma.UnlockMethodMaxOrderByAggregateInput
|
|
233
|
+
_min?: Prisma.UnlockMethodMinOrderByAggregateInput
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export type UnlockMethodScalarWhereWithAggregatesInput = {
|
|
237
|
+
AND?: Prisma.UnlockMethodScalarWhereWithAggregatesInput | Prisma.UnlockMethodScalarWhereWithAggregatesInput[]
|
|
238
|
+
OR?: Prisma.UnlockMethodScalarWhereWithAggregatesInput[]
|
|
239
|
+
NOT?: Prisma.UnlockMethodScalarWhereWithAggregatesInput | Prisma.UnlockMethodScalarWhereWithAggregatesInput[]
|
|
240
|
+
id?: Prisma.StringWithAggregatesFilter<"UnlockMethod"> | string
|
|
241
|
+
meta?: Prisma.JsonWithAggregatesFilter<"UnlockMethod">
|
|
242
|
+
type?: Prisma.EnumUnlockMethodTypeWithAggregatesFilter<"UnlockMethod"> | $Enums.UnlockMethodType
|
|
243
|
+
encryptedIdentity?: Prisma.StringWithAggregatesFilter<"UnlockMethod"> | string
|
|
244
|
+
recipient?: Prisma.StringWithAggregatesFilter<"UnlockMethod"> | string
|
|
245
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"UnlockMethod"> | Date | string
|
|
246
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UnlockMethod"> | Date | string
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export type UnlockMethodCreateInput = {
|
|
250
|
+
id?: string
|
|
251
|
+
meta: PrismaJson.UnlockMethodMeta
|
|
252
|
+
type: $Enums.UnlockMethodType
|
|
253
|
+
encryptedIdentity: string
|
|
254
|
+
recipient: string
|
|
255
|
+
createdAt?: Date | string
|
|
256
|
+
updatedAt?: Date | string
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export type UnlockMethodUncheckedCreateInput = {
|
|
260
|
+
id?: string
|
|
261
|
+
meta: PrismaJson.UnlockMethodMeta
|
|
262
|
+
type: $Enums.UnlockMethodType
|
|
263
|
+
encryptedIdentity: string
|
|
264
|
+
recipient: string
|
|
265
|
+
createdAt?: Date | string
|
|
266
|
+
updatedAt?: Date | string
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export type UnlockMethodUpdateInput = {
|
|
270
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
271
|
+
meta?: PrismaJson.UnlockMethodMeta
|
|
272
|
+
type?: Prisma.EnumUnlockMethodTypeFieldUpdateOperationsInput | $Enums.UnlockMethodType
|
|
273
|
+
encryptedIdentity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
274
|
+
recipient?: Prisma.StringFieldUpdateOperationsInput | string
|
|
275
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
276
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type UnlockMethodUncheckedUpdateInput = {
|
|
280
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
281
|
+
meta?: PrismaJson.UnlockMethodMeta
|
|
282
|
+
type?: Prisma.EnumUnlockMethodTypeFieldUpdateOperationsInput | $Enums.UnlockMethodType
|
|
283
|
+
encryptedIdentity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
284
|
+
recipient?: Prisma.StringFieldUpdateOperationsInput | string
|
|
285
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
286
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type UnlockMethodCreateManyInput = {
|
|
290
|
+
id?: string
|
|
291
|
+
meta: PrismaJson.UnlockMethodMeta
|
|
292
|
+
type: $Enums.UnlockMethodType
|
|
293
|
+
encryptedIdentity: string
|
|
294
|
+
recipient: string
|
|
295
|
+
createdAt?: Date | string
|
|
296
|
+
updatedAt?: Date | string
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export type UnlockMethodUpdateManyMutationInput = {
|
|
300
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
301
|
+
meta?: PrismaJson.UnlockMethodMeta
|
|
302
|
+
type?: Prisma.EnumUnlockMethodTypeFieldUpdateOperationsInput | $Enums.UnlockMethodType
|
|
303
|
+
encryptedIdentity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
304
|
+
recipient?: Prisma.StringFieldUpdateOperationsInput | string
|
|
305
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
306
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export type UnlockMethodUncheckedUpdateManyInput = {
|
|
310
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
311
|
+
meta?: PrismaJson.UnlockMethodMeta
|
|
312
|
+
type?: Prisma.EnumUnlockMethodTypeFieldUpdateOperationsInput | $Enums.UnlockMethodType
|
|
313
|
+
encryptedIdentity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
314
|
+
recipient?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
316
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export type UnlockMethodCountOrderByAggregateInput = {
|
|
320
|
+
id?: Prisma.SortOrder
|
|
321
|
+
meta?: Prisma.SortOrder
|
|
322
|
+
type?: Prisma.SortOrder
|
|
323
|
+
encryptedIdentity?: Prisma.SortOrder
|
|
324
|
+
recipient?: Prisma.SortOrder
|
|
325
|
+
createdAt?: Prisma.SortOrder
|
|
326
|
+
updatedAt?: Prisma.SortOrder
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export type UnlockMethodMaxOrderByAggregateInput = {
|
|
330
|
+
id?: Prisma.SortOrder
|
|
331
|
+
type?: Prisma.SortOrder
|
|
332
|
+
encryptedIdentity?: Prisma.SortOrder
|
|
333
|
+
recipient?: Prisma.SortOrder
|
|
334
|
+
createdAt?: Prisma.SortOrder
|
|
335
|
+
updatedAt?: Prisma.SortOrder
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type UnlockMethodMinOrderByAggregateInput = {
|
|
339
|
+
id?: Prisma.SortOrder
|
|
340
|
+
type?: Prisma.SortOrder
|
|
341
|
+
encryptedIdentity?: Prisma.SortOrder
|
|
342
|
+
recipient?: Prisma.SortOrder
|
|
343
|
+
createdAt?: Prisma.SortOrder
|
|
344
|
+
updatedAt?: Prisma.SortOrder
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export type EnumUnlockMethodTypeFieldUpdateOperationsInput = {
|
|
348
|
+
set?: $Enums.UnlockMethodType
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
export type UnlockMethodSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
354
|
+
id?: boolean
|
|
355
|
+
meta?: boolean
|
|
356
|
+
type?: boolean
|
|
357
|
+
encryptedIdentity?: boolean
|
|
358
|
+
recipient?: boolean
|
|
359
|
+
createdAt?: boolean
|
|
360
|
+
updatedAt?: boolean
|
|
361
|
+
}, ExtArgs["result"]["unlockMethod"]>
|
|
362
|
+
|
|
363
|
+
export type UnlockMethodSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
364
|
+
id?: boolean
|
|
365
|
+
meta?: boolean
|
|
366
|
+
type?: boolean
|
|
367
|
+
encryptedIdentity?: boolean
|
|
368
|
+
recipient?: boolean
|
|
369
|
+
createdAt?: boolean
|
|
370
|
+
updatedAt?: boolean
|
|
371
|
+
}, ExtArgs["result"]["unlockMethod"]>
|
|
372
|
+
|
|
373
|
+
export type UnlockMethodSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
374
|
+
id?: boolean
|
|
375
|
+
meta?: boolean
|
|
376
|
+
type?: boolean
|
|
377
|
+
encryptedIdentity?: boolean
|
|
378
|
+
recipient?: boolean
|
|
379
|
+
createdAt?: boolean
|
|
380
|
+
updatedAt?: boolean
|
|
381
|
+
}, ExtArgs["result"]["unlockMethod"]>
|
|
382
|
+
|
|
383
|
+
export type UnlockMethodSelectScalar = {
|
|
384
|
+
id?: boolean
|
|
385
|
+
meta?: boolean
|
|
386
|
+
type?: boolean
|
|
387
|
+
encryptedIdentity?: boolean
|
|
388
|
+
recipient?: boolean
|
|
389
|
+
createdAt?: boolean
|
|
390
|
+
updatedAt?: boolean
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export type UnlockMethodOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "meta" | "type" | "encryptedIdentity" | "recipient" | "createdAt" | "updatedAt", ExtArgs["result"]["unlockMethod"]>
|
|
394
|
+
|
|
395
|
+
export type $UnlockMethodPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
396
|
+
name: "UnlockMethod"
|
|
397
|
+
objects: {}
|
|
398
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
399
|
+
/**
|
|
400
|
+
* The CUIDv2 of the unlock method.
|
|
401
|
+
*/
|
|
402
|
+
id: string
|
|
403
|
+
/**
|
|
404
|
+
* The metadata of the unlock method managed by the backend.
|
|
405
|
+
*
|
|
406
|
+
* [UnlockMethodMeta]
|
|
407
|
+
*/
|
|
408
|
+
meta: PrismaJson.UnlockMethodMeta
|
|
409
|
+
/**
|
|
410
|
+
* The type of unlock method.
|
|
411
|
+
*/
|
|
412
|
+
type: $Enums.UnlockMethodType
|
|
413
|
+
/**
|
|
414
|
+
* The AGE identity encrypted and armored also with AGE.
|
|
415
|
+
*/
|
|
416
|
+
encryptedIdentity: string
|
|
417
|
+
/**
|
|
418
|
+
* The AGE recipient for this unlock method.
|
|
419
|
+
*/
|
|
420
|
+
recipient: string
|
|
421
|
+
/**
|
|
422
|
+
* The time when the unlock method was created.
|
|
423
|
+
*/
|
|
424
|
+
createdAt: Date
|
|
425
|
+
/**
|
|
426
|
+
* The time when the unlock method was last updated.
|
|
427
|
+
*/
|
|
428
|
+
updatedAt: Date
|
|
429
|
+
}, ExtArgs["result"]["unlockMethod"]>
|
|
430
|
+
composites: {}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export type UnlockMethodGetPayload<S extends boolean | null | undefined | UnlockMethodDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload, S>
|
|
434
|
+
|
|
435
|
+
export type UnlockMethodCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
436
|
+
Omit<UnlockMethodFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
437
|
+
select?: UnlockMethodCountAggregateInputType | true
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export interface UnlockMethodDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
441
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UnlockMethod'], meta: { name: 'UnlockMethod' } }
|
|
442
|
+
/**
|
|
443
|
+
* Find zero or one UnlockMethod that matches the filter.
|
|
444
|
+
* @param {UnlockMethodFindUniqueArgs} args - Arguments to find a UnlockMethod
|
|
445
|
+
* @example
|
|
446
|
+
* // Get one UnlockMethod
|
|
447
|
+
* const unlockMethod = await prisma.unlockMethod.findUnique({
|
|
448
|
+
* where: {
|
|
449
|
+
* // ... provide filter here
|
|
450
|
+
* }
|
|
451
|
+
* })
|
|
452
|
+
*/
|
|
453
|
+
findUnique<T extends UnlockMethodFindUniqueArgs>(args: Prisma.SelectSubset<T, UnlockMethodFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UnlockMethodClient<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Find one UnlockMethod that matches the filter or throw an error with `error.code='P2025'`
|
|
457
|
+
* if no matches were found.
|
|
458
|
+
* @param {UnlockMethodFindUniqueOrThrowArgs} args - Arguments to find a UnlockMethod
|
|
459
|
+
* @example
|
|
460
|
+
* // Get one UnlockMethod
|
|
461
|
+
* const unlockMethod = await prisma.unlockMethod.findUniqueOrThrow({
|
|
462
|
+
* where: {
|
|
463
|
+
* // ... provide filter here
|
|
464
|
+
* }
|
|
465
|
+
* })
|
|
466
|
+
*/
|
|
467
|
+
findUniqueOrThrow<T extends UnlockMethodFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UnlockMethodFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UnlockMethodClient<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* Find the first UnlockMethod that matches the filter.
|
|
471
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
472
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
473
|
+
* @param {UnlockMethodFindFirstArgs} args - Arguments to find a UnlockMethod
|
|
474
|
+
* @example
|
|
475
|
+
* // Get one UnlockMethod
|
|
476
|
+
* const unlockMethod = await prisma.unlockMethod.findFirst({
|
|
477
|
+
* where: {
|
|
478
|
+
* // ... provide filter here
|
|
479
|
+
* }
|
|
480
|
+
* })
|
|
481
|
+
*/
|
|
482
|
+
findFirst<T extends UnlockMethodFindFirstArgs>(args?: Prisma.SelectSubset<T, UnlockMethodFindFirstArgs<ExtArgs>>): Prisma.Prisma__UnlockMethodClient<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Find the first UnlockMethod that matches the filter or
|
|
486
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
487
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
488
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
489
|
+
* @param {UnlockMethodFindFirstOrThrowArgs} args - Arguments to find a UnlockMethod
|
|
490
|
+
* @example
|
|
491
|
+
* // Get one UnlockMethod
|
|
492
|
+
* const unlockMethod = await prisma.unlockMethod.findFirstOrThrow({
|
|
493
|
+
* where: {
|
|
494
|
+
* // ... provide filter here
|
|
495
|
+
* }
|
|
496
|
+
* })
|
|
497
|
+
*/
|
|
498
|
+
findFirstOrThrow<T extends UnlockMethodFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UnlockMethodFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UnlockMethodClient<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Find zero or more UnlockMethods that matches the filter.
|
|
502
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
503
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
504
|
+
* @param {UnlockMethodFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
505
|
+
* @example
|
|
506
|
+
* // Get all UnlockMethods
|
|
507
|
+
* const unlockMethods = await prisma.unlockMethod.findMany()
|
|
508
|
+
*
|
|
509
|
+
* // Get first 10 UnlockMethods
|
|
510
|
+
* const unlockMethods = await prisma.unlockMethod.findMany({ take: 10 })
|
|
511
|
+
*
|
|
512
|
+
* // Only select the `id`
|
|
513
|
+
* const unlockMethodWithIdOnly = await prisma.unlockMethod.findMany({ select: { id: true } })
|
|
514
|
+
*
|
|
515
|
+
*/
|
|
516
|
+
findMany<T extends UnlockMethodFindManyArgs>(args?: Prisma.SelectSubset<T, UnlockMethodFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Create a UnlockMethod.
|
|
520
|
+
* @param {UnlockMethodCreateArgs} args - Arguments to create a UnlockMethod.
|
|
521
|
+
* @example
|
|
522
|
+
* // Create one UnlockMethod
|
|
523
|
+
* const UnlockMethod = await prisma.unlockMethod.create({
|
|
524
|
+
* data: {
|
|
525
|
+
* // ... data to create a UnlockMethod
|
|
526
|
+
* }
|
|
527
|
+
* })
|
|
528
|
+
*
|
|
529
|
+
*/
|
|
530
|
+
create<T extends UnlockMethodCreateArgs>(args: Prisma.SelectSubset<T, UnlockMethodCreateArgs<ExtArgs>>): Prisma.Prisma__UnlockMethodClient<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Create many UnlockMethods.
|
|
534
|
+
* @param {UnlockMethodCreateManyArgs} args - Arguments to create many UnlockMethods.
|
|
535
|
+
* @example
|
|
536
|
+
* // Create many UnlockMethods
|
|
537
|
+
* const unlockMethod = await prisma.unlockMethod.createMany({
|
|
538
|
+
* data: [
|
|
539
|
+
* // ... provide data here
|
|
540
|
+
* ]
|
|
541
|
+
* })
|
|
542
|
+
*
|
|
543
|
+
*/
|
|
544
|
+
createMany<T extends UnlockMethodCreateManyArgs>(args?: Prisma.SelectSubset<T, UnlockMethodCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Create many UnlockMethods and returns the data saved in the database.
|
|
548
|
+
* @param {UnlockMethodCreateManyAndReturnArgs} args - Arguments to create many UnlockMethods.
|
|
549
|
+
* @example
|
|
550
|
+
* // Create many UnlockMethods
|
|
551
|
+
* const unlockMethod = await prisma.unlockMethod.createManyAndReturn({
|
|
552
|
+
* data: [
|
|
553
|
+
* // ... provide data here
|
|
554
|
+
* ]
|
|
555
|
+
* })
|
|
556
|
+
*
|
|
557
|
+
* // Create many UnlockMethods and only return the `id`
|
|
558
|
+
* const unlockMethodWithIdOnly = await prisma.unlockMethod.createManyAndReturn({
|
|
559
|
+
* select: { id: true },
|
|
560
|
+
* data: [
|
|
561
|
+
* // ... provide data here
|
|
562
|
+
* ]
|
|
563
|
+
* })
|
|
564
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
565
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
566
|
+
*
|
|
567
|
+
*/
|
|
568
|
+
createManyAndReturn<T extends UnlockMethodCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UnlockMethodCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Delete a UnlockMethod.
|
|
572
|
+
* @param {UnlockMethodDeleteArgs} args - Arguments to delete one UnlockMethod.
|
|
573
|
+
* @example
|
|
574
|
+
* // Delete one UnlockMethod
|
|
575
|
+
* const UnlockMethod = await prisma.unlockMethod.delete({
|
|
576
|
+
* where: {
|
|
577
|
+
* // ... filter to delete one UnlockMethod
|
|
578
|
+
* }
|
|
579
|
+
* })
|
|
580
|
+
*
|
|
581
|
+
*/
|
|
582
|
+
delete<T extends UnlockMethodDeleteArgs>(args: Prisma.SelectSubset<T, UnlockMethodDeleteArgs<ExtArgs>>): Prisma.Prisma__UnlockMethodClient<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Update one UnlockMethod.
|
|
586
|
+
* @param {UnlockMethodUpdateArgs} args - Arguments to update one UnlockMethod.
|
|
587
|
+
* @example
|
|
588
|
+
* // Update one UnlockMethod
|
|
589
|
+
* const unlockMethod = await prisma.unlockMethod.update({
|
|
590
|
+
* where: {
|
|
591
|
+
* // ... provide filter here
|
|
592
|
+
* },
|
|
593
|
+
* data: {
|
|
594
|
+
* // ... provide data here
|
|
595
|
+
* }
|
|
596
|
+
* })
|
|
597
|
+
*
|
|
598
|
+
*/
|
|
599
|
+
update<T extends UnlockMethodUpdateArgs>(args: Prisma.SelectSubset<T, UnlockMethodUpdateArgs<ExtArgs>>): Prisma.Prisma__UnlockMethodClient<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Delete zero or more UnlockMethods.
|
|
603
|
+
* @param {UnlockMethodDeleteManyArgs} args - Arguments to filter UnlockMethods to delete.
|
|
604
|
+
* @example
|
|
605
|
+
* // Delete a few UnlockMethods
|
|
606
|
+
* const { count } = await prisma.unlockMethod.deleteMany({
|
|
607
|
+
* where: {
|
|
608
|
+
* // ... provide filter here
|
|
609
|
+
* }
|
|
610
|
+
* })
|
|
611
|
+
*
|
|
612
|
+
*/
|
|
613
|
+
deleteMany<T extends UnlockMethodDeleteManyArgs>(args?: Prisma.SelectSubset<T, UnlockMethodDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Update zero or more UnlockMethods.
|
|
617
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
618
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
619
|
+
* @param {UnlockMethodUpdateManyArgs} args - Arguments to update one or more rows.
|
|
620
|
+
* @example
|
|
621
|
+
* // Update many UnlockMethods
|
|
622
|
+
* const unlockMethod = await prisma.unlockMethod.updateMany({
|
|
623
|
+
* where: {
|
|
624
|
+
* // ... provide filter here
|
|
625
|
+
* },
|
|
626
|
+
* data: {
|
|
627
|
+
* // ... provide data here
|
|
628
|
+
* }
|
|
629
|
+
* })
|
|
630
|
+
*
|
|
631
|
+
*/
|
|
632
|
+
updateMany<T extends UnlockMethodUpdateManyArgs>(args: Prisma.SelectSubset<T, UnlockMethodUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Update zero or more UnlockMethods and returns the data updated in the database.
|
|
636
|
+
* @param {UnlockMethodUpdateManyAndReturnArgs} args - Arguments to update many UnlockMethods.
|
|
637
|
+
* @example
|
|
638
|
+
* // Update many UnlockMethods
|
|
639
|
+
* const unlockMethod = await prisma.unlockMethod.updateManyAndReturn({
|
|
640
|
+
* where: {
|
|
641
|
+
* // ... provide filter here
|
|
642
|
+
* },
|
|
643
|
+
* data: [
|
|
644
|
+
* // ... provide data here
|
|
645
|
+
* ]
|
|
646
|
+
* })
|
|
647
|
+
*
|
|
648
|
+
* // Update zero or more UnlockMethods and only return the `id`
|
|
649
|
+
* const unlockMethodWithIdOnly = await prisma.unlockMethod.updateManyAndReturn({
|
|
650
|
+
* select: { id: true },
|
|
651
|
+
* where: {
|
|
652
|
+
* // ... provide filter here
|
|
653
|
+
* },
|
|
654
|
+
* data: [
|
|
655
|
+
* // ... provide data here
|
|
656
|
+
* ]
|
|
657
|
+
* })
|
|
658
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
659
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
660
|
+
*
|
|
661
|
+
*/
|
|
662
|
+
updateManyAndReturn<T extends UnlockMethodUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UnlockMethodUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* Create or update one UnlockMethod.
|
|
666
|
+
* @param {UnlockMethodUpsertArgs} args - Arguments to update or create a UnlockMethod.
|
|
667
|
+
* @example
|
|
668
|
+
* // Update or create a UnlockMethod
|
|
669
|
+
* const unlockMethod = await prisma.unlockMethod.upsert({
|
|
670
|
+
* create: {
|
|
671
|
+
* // ... data to create a UnlockMethod
|
|
672
|
+
* },
|
|
673
|
+
* update: {
|
|
674
|
+
* // ... in case it already exists, update
|
|
675
|
+
* },
|
|
676
|
+
* where: {
|
|
677
|
+
* // ... the filter for the UnlockMethod we want to update
|
|
678
|
+
* }
|
|
679
|
+
* })
|
|
680
|
+
*/
|
|
681
|
+
upsert<T extends UnlockMethodUpsertArgs>(args: Prisma.SelectSubset<T, UnlockMethodUpsertArgs<ExtArgs>>): Prisma.Prisma__UnlockMethodClient<runtime.Types.Result.GetResult<Prisma.$UnlockMethodPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Count the number of UnlockMethods.
|
|
686
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
687
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
688
|
+
* @param {UnlockMethodCountArgs} args - Arguments to filter UnlockMethods to count.
|
|
689
|
+
* @example
|
|
690
|
+
* // Count the number of UnlockMethods
|
|
691
|
+
* const count = await prisma.unlockMethod.count({
|
|
692
|
+
* where: {
|
|
693
|
+
* // ... the filter for the UnlockMethods we want to count
|
|
694
|
+
* }
|
|
695
|
+
* })
|
|
696
|
+
**/
|
|
697
|
+
count<T extends UnlockMethodCountArgs>(
|
|
698
|
+
args?: Prisma.Subset<T, UnlockMethodCountArgs>,
|
|
699
|
+
): Prisma.PrismaPromise<
|
|
700
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
701
|
+
? T['select'] extends true
|
|
702
|
+
? number
|
|
703
|
+
: Prisma.GetScalarType<T['select'], UnlockMethodCountAggregateOutputType>
|
|
704
|
+
: number
|
|
705
|
+
>
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* Allows you to perform aggregations operations on a UnlockMethod.
|
|
709
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
710
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
711
|
+
* @param {UnlockMethodAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
712
|
+
* @example
|
|
713
|
+
* // Ordered by age ascending
|
|
714
|
+
* // Where email contains prisma.io
|
|
715
|
+
* // Limited to the 10 users
|
|
716
|
+
* const aggregations = await prisma.user.aggregate({
|
|
717
|
+
* _avg: {
|
|
718
|
+
* age: true,
|
|
719
|
+
* },
|
|
720
|
+
* where: {
|
|
721
|
+
* email: {
|
|
722
|
+
* contains: "prisma.io",
|
|
723
|
+
* },
|
|
724
|
+
* },
|
|
725
|
+
* orderBy: {
|
|
726
|
+
* age: "asc",
|
|
727
|
+
* },
|
|
728
|
+
* take: 10,
|
|
729
|
+
* })
|
|
730
|
+
**/
|
|
731
|
+
aggregate<T extends UnlockMethodAggregateArgs>(args: Prisma.Subset<T, UnlockMethodAggregateArgs>): Prisma.PrismaPromise<GetUnlockMethodAggregateType<T>>
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Group by UnlockMethod.
|
|
735
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
736
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
737
|
+
* @param {UnlockMethodGroupByArgs} args - Group by arguments.
|
|
738
|
+
* @example
|
|
739
|
+
* // Group by city, order by createdAt, get count
|
|
740
|
+
* const result = await prisma.user.groupBy({
|
|
741
|
+
* by: ['city', 'createdAt'],
|
|
742
|
+
* orderBy: {
|
|
743
|
+
* createdAt: true
|
|
744
|
+
* },
|
|
745
|
+
* _count: {
|
|
746
|
+
* _all: true
|
|
747
|
+
* },
|
|
748
|
+
* })
|
|
749
|
+
*
|
|
750
|
+
**/
|
|
751
|
+
groupBy<
|
|
752
|
+
T extends UnlockMethodGroupByArgs,
|
|
753
|
+
HasSelectOrTake extends Prisma.Or<
|
|
754
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
755
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
756
|
+
>,
|
|
757
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
758
|
+
? { orderBy: UnlockMethodGroupByArgs['orderBy'] }
|
|
759
|
+
: { orderBy?: UnlockMethodGroupByArgs['orderBy'] },
|
|
760
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
761
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
762
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
763
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
764
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
765
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
766
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
767
|
+
? `Error: "by" must not be empty.`
|
|
768
|
+
: HavingValid extends Prisma.False
|
|
769
|
+
? {
|
|
770
|
+
[P in HavingFields]: P extends ByFields
|
|
771
|
+
? never
|
|
772
|
+
: P extends string
|
|
773
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
774
|
+
: [
|
|
775
|
+
Error,
|
|
776
|
+
'Field ',
|
|
777
|
+
P,
|
|
778
|
+
` in "having" needs to be provided in "by"`,
|
|
779
|
+
]
|
|
780
|
+
}[HavingFields]
|
|
781
|
+
: 'take' extends Prisma.Keys<T>
|
|
782
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
783
|
+
? ByValid extends Prisma.True
|
|
784
|
+
? {}
|
|
785
|
+
: {
|
|
786
|
+
[P in OrderFields]: P extends ByFields
|
|
787
|
+
? never
|
|
788
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
789
|
+
}[OrderFields]
|
|
790
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
791
|
+
: 'skip' extends Prisma.Keys<T>
|
|
792
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
793
|
+
? ByValid extends Prisma.True
|
|
794
|
+
? {}
|
|
795
|
+
: {
|
|
796
|
+
[P in OrderFields]: P extends ByFields
|
|
797
|
+
? never
|
|
798
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
799
|
+
}[OrderFields]
|
|
800
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
801
|
+
: ByValid extends Prisma.True
|
|
802
|
+
? {}
|
|
803
|
+
: {
|
|
804
|
+
[P in OrderFields]: P extends ByFields
|
|
805
|
+
? never
|
|
806
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
807
|
+
}[OrderFields]
|
|
808
|
+
>(args: Prisma.SubsetIntersection<T, UnlockMethodGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUnlockMethodGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
809
|
+
/**
|
|
810
|
+
* Fields of the UnlockMethod model
|
|
811
|
+
*/
|
|
812
|
+
readonly fields: UnlockMethodFieldRefs;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* The delegate class that acts as a "Promise-like" for UnlockMethod.
|
|
817
|
+
* Why is this prefixed with `Prisma__`?
|
|
818
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
819
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
820
|
+
*/
|
|
821
|
+
export interface Prisma__UnlockMethodClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
822
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
823
|
+
/**
|
|
824
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
825
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
826
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
827
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
828
|
+
*/
|
|
829
|
+
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>
|
|
830
|
+
/**
|
|
831
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
832
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
833
|
+
* @returns A Promise for the completion of the callback.
|
|
834
|
+
*/
|
|
835
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
836
|
+
/**
|
|
837
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
838
|
+
* resolved value cannot be modified from the callback.
|
|
839
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
840
|
+
* @returns A Promise for the completion of the callback.
|
|
841
|
+
*/
|
|
842
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Fields of the UnlockMethod model
|
|
850
|
+
*/
|
|
851
|
+
export interface UnlockMethodFieldRefs {
|
|
852
|
+
readonly id: Prisma.FieldRef<"UnlockMethod", 'String'>
|
|
853
|
+
readonly meta: Prisma.FieldRef<"UnlockMethod", 'Json'>
|
|
854
|
+
readonly type: Prisma.FieldRef<"UnlockMethod", 'UnlockMethodType'>
|
|
855
|
+
readonly encryptedIdentity: Prisma.FieldRef<"UnlockMethod", 'String'>
|
|
856
|
+
readonly recipient: Prisma.FieldRef<"UnlockMethod", 'String'>
|
|
857
|
+
readonly createdAt: Prisma.FieldRef<"UnlockMethod", 'DateTime'>
|
|
858
|
+
readonly updatedAt: Prisma.FieldRef<"UnlockMethod", 'DateTime'>
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
// Custom InputTypes
|
|
863
|
+
/**
|
|
864
|
+
* UnlockMethod findUnique
|
|
865
|
+
*/
|
|
866
|
+
export type UnlockMethodFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
867
|
+
/**
|
|
868
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
869
|
+
*/
|
|
870
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
871
|
+
/**
|
|
872
|
+
* Omit specific fields from the UnlockMethod
|
|
873
|
+
*/
|
|
874
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
875
|
+
/**
|
|
876
|
+
* Filter, which UnlockMethod to fetch.
|
|
877
|
+
*/
|
|
878
|
+
where: Prisma.UnlockMethodWhereUniqueInput
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* UnlockMethod findUniqueOrThrow
|
|
883
|
+
*/
|
|
884
|
+
export type UnlockMethodFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
885
|
+
/**
|
|
886
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
887
|
+
*/
|
|
888
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
889
|
+
/**
|
|
890
|
+
* Omit specific fields from the UnlockMethod
|
|
891
|
+
*/
|
|
892
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
893
|
+
/**
|
|
894
|
+
* Filter, which UnlockMethod to fetch.
|
|
895
|
+
*/
|
|
896
|
+
where: Prisma.UnlockMethodWhereUniqueInput
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* UnlockMethod findFirst
|
|
901
|
+
*/
|
|
902
|
+
export type UnlockMethodFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
903
|
+
/**
|
|
904
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
905
|
+
*/
|
|
906
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
907
|
+
/**
|
|
908
|
+
* Omit specific fields from the UnlockMethod
|
|
909
|
+
*/
|
|
910
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
911
|
+
/**
|
|
912
|
+
* Filter, which UnlockMethod to fetch.
|
|
913
|
+
*/
|
|
914
|
+
where?: Prisma.UnlockMethodWhereInput
|
|
915
|
+
/**
|
|
916
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
917
|
+
*
|
|
918
|
+
* Determine the order of UnlockMethods to fetch.
|
|
919
|
+
*/
|
|
920
|
+
orderBy?: Prisma.UnlockMethodOrderByWithRelationInput | Prisma.UnlockMethodOrderByWithRelationInput[]
|
|
921
|
+
/**
|
|
922
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
923
|
+
*
|
|
924
|
+
* Sets the position for searching for UnlockMethods.
|
|
925
|
+
*/
|
|
926
|
+
cursor?: Prisma.UnlockMethodWhereUniqueInput
|
|
927
|
+
/**
|
|
928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
929
|
+
*
|
|
930
|
+
* Take `±n` UnlockMethods from the position of the cursor.
|
|
931
|
+
*/
|
|
932
|
+
take?: number
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
935
|
+
*
|
|
936
|
+
* Skip the first `n` UnlockMethods.
|
|
937
|
+
*/
|
|
938
|
+
skip?: number
|
|
939
|
+
/**
|
|
940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
941
|
+
*
|
|
942
|
+
* Filter by unique combinations of UnlockMethods.
|
|
943
|
+
*/
|
|
944
|
+
distinct?: Prisma.UnlockMethodScalarFieldEnum | Prisma.UnlockMethodScalarFieldEnum[]
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* UnlockMethod findFirstOrThrow
|
|
949
|
+
*/
|
|
950
|
+
export type UnlockMethodFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
951
|
+
/**
|
|
952
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
953
|
+
*/
|
|
954
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
955
|
+
/**
|
|
956
|
+
* Omit specific fields from the UnlockMethod
|
|
957
|
+
*/
|
|
958
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
959
|
+
/**
|
|
960
|
+
* Filter, which UnlockMethod to fetch.
|
|
961
|
+
*/
|
|
962
|
+
where?: Prisma.UnlockMethodWhereInput
|
|
963
|
+
/**
|
|
964
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
965
|
+
*
|
|
966
|
+
* Determine the order of UnlockMethods to fetch.
|
|
967
|
+
*/
|
|
968
|
+
orderBy?: Prisma.UnlockMethodOrderByWithRelationInput | Prisma.UnlockMethodOrderByWithRelationInput[]
|
|
969
|
+
/**
|
|
970
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
971
|
+
*
|
|
972
|
+
* Sets the position for searching for UnlockMethods.
|
|
973
|
+
*/
|
|
974
|
+
cursor?: Prisma.UnlockMethodWhereUniqueInput
|
|
975
|
+
/**
|
|
976
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
977
|
+
*
|
|
978
|
+
* Take `±n` UnlockMethods from the position of the cursor.
|
|
979
|
+
*/
|
|
980
|
+
take?: number
|
|
981
|
+
/**
|
|
982
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
983
|
+
*
|
|
984
|
+
* Skip the first `n` UnlockMethods.
|
|
985
|
+
*/
|
|
986
|
+
skip?: number
|
|
987
|
+
/**
|
|
988
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
989
|
+
*
|
|
990
|
+
* Filter by unique combinations of UnlockMethods.
|
|
991
|
+
*/
|
|
992
|
+
distinct?: Prisma.UnlockMethodScalarFieldEnum | Prisma.UnlockMethodScalarFieldEnum[]
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* UnlockMethod findMany
|
|
997
|
+
*/
|
|
998
|
+
export type UnlockMethodFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
999
|
+
/**
|
|
1000
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
1001
|
+
*/
|
|
1002
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
1003
|
+
/**
|
|
1004
|
+
* Omit specific fields from the UnlockMethod
|
|
1005
|
+
*/
|
|
1006
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
1007
|
+
/**
|
|
1008
|
+
* Filter, which UnlockMethods to fetch.
|
|
1009
|
+
*/
|
|
1010
|
+
where?: Prisma.UnlockMethodWhereInput
|
|
1011
|
+
/**
|
|
1012
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1013
|
+
*
|
|
1014
|
+
* Determine the order of UnlockMethods to fetch.
|
|
1015
|
+
*/
|
|
1016
|
+
orderBy?: Prisma.UnlockMethodOrderByWithRelationInput | Prisma.UnlockMethodOrderByWithRelationInput[]
|
|
1017
|
+
/**
|
|
1018
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1019
|
+
*
|
|
1020
|
+
* Sets the position for listing UnlockMethods.
|
|
1021
|
+
*/
|
|
1022
|
+
cursor?: Prisma.UnlockMethodWhereUniqueInput
|
|
1023
|
+
/**
|
|
1024
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1025
|
+
*
|
|
1026
|
+
* Take `±n` UnlockMethods from the position of the cursor.
|
|
1027
|
+
*/
|
|
1028
|
+
take?: number
|
|
1029
|
+
/**
|
|
1030
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1031
|
+
*
|
|
1032
|
+
* Skip the first `n` UnlockMethods.
|
|
1033
|
+
*/
|
|
1034
|
+
skip?: number
|
|
1035
|
+
distinct?: Prisma.UnlockMethodScalarFieldEnum | Prisma.UnlockMethodScalarFieldEnum[]
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* UnlockMethod create
|
|
1040
|
+
*/
|
|
1041
|
+
export type UnlockMethodCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1042
|
+
/**
|
|
1043
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
1044
|
+
*/
|
|
1045
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
1046
|
+
/**
|
|
1047
|
+
* Omit specific fields from the UnlockMethod
|
|
1048
|
+
*/
|
|
1049
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
1050
|
+
/**
|
|
1051
|
+
* The data needed to create a UnlockMethod.
|
|
1052
|
+
*/
|
|
1053
|
+
data: Prisma.XOR<Prisma.UnlockMethodCreateInput, Prisma.UnlockMethodUncheckedCreateInput>
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* UnlockMethod createMany
|
|
1058
|
+
*/
|
|
1059
|
+
export type UnlockMethodCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
/**
|
|
1061
|
+
* The data used to create many UnlockMethods.
|
|
1062
|
+
*/
|
|
1063
|
+
data: Prisma.UnlockMethodCreateManyInput | Prisma.UnlockMethodCreateManyInput[]
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* UnlockMethod createManyAndReturn
|
|
1068
|
+
*/
|
|
1069
|
+
export type UnlockMethodCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1070
|
+
/**
|
|
1071
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
1072
|
+
*/
|
|
1073
|
+
select?: Prisma.UnlockMethodSelectCreateManyAndReturn<ExtArgs> | null
|
|
1074
|
+
/**
|
|
1075
|
+
* Omit specific fields from the UnlockMethod
|
|
1076
|
+
*/
|
|
1077
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
1078
|
+
/**
|
|
1079
|
+
* The data used to create many UnlockMethods.
|
|
1080
|
+
*/
|
|
1081
|
+
data: Prisma.UnlockMethodCreateManyInput | Prisma.UnlockMethodCreateManyInput[]
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* UnlockMethod update
|
|
1086
|
+
*/
|
|
1087
|
+
export type UnlockMethodUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1088
|
+
/**
|
|
1089
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
1090
|
+
*/
|
|
1091
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
1092
|
+
/**
|
|
1093
|
+
* Omit specific fields from the UnlockMethod
|
|
1094
|
+
*/
|
|
1095
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
1096
|
+
/**
|
|
1097
|
+
* The data needed to update a UnlockMethod.
|
|
1098
|
+
*/
|
|
1099
|
+
data: Prisma.XOR<Prisma.UnlockMethodUpdateInput, Prisma.UnlockMethodUncheckedUpdateInput>
|
|
1100
|
+
/**
|
|
1101
|
+
* Choose, which UnlockMethod to update.
|
|
1102
|
+
*/
|
|
1103
|
+
where: Prisma.UnlockMethodWhereUniqueInput
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* UnlockMethod updateMany
|
|
1108
|
+
*/
|
|
1109
|
+
export type UnlockMethodUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1110
|
+
/**
|
|
1111
|
+
* The data used to update UnlockMethods.
|
|
1112
|
+
*/
|
|
1113
|
+
data: Prisma.XOR<Prisma.UnlockMethodUpdateManyMutationInput, Prisma.UnlockMethodUncheckedUpdateManyInput>
|
|
1114
|
+
/**
|
|
1115
|
+
* Filter which UnlockMethods to update
|
|
1116
|
+
*/
|
|
1117
|
+
where?: Prisma.UnlockMethodWhereInput
|
|
1118
|
+
/**
|
|
1119
|
+
* Limit how many UnlockMethods to update.
|
|
1120
|
+
*/
|
|
1121
|
+
limit?: number
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* UnlockMethod updateManyAndReturn
|
|
1126
|
+
*/
|
|
1127
|
+
export type UnlockMethodUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1128
|
+
/**
|
|
1129
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
1130
|
+
*/
|
|
1131
|
+
select?: Prisma.UnlockMethodSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1132
|
+
/**
|
|
1133
|
+
* Omit specific fields from the UnlockMethod
|
|
1134
|
+
*/
|
|
1135
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
1136
|
+
/**
|
|
1137
|
+
* The data used to update UnlockMethods.
|
|
1138
|
+
*/
|
|
1139
|
+
data: Prisma.XOR<Prisma.UnlockMethodUpdateManyMutationInput, Prisma.UnlockMethodUncheckedUpdateManyInput>
|
|
1140
|
+
/**
|
|
1141
|
+
* Filter which UnlockMethods to update
|
|
1142
|
+
*/
|
|
1143
|
+
where?: Prisma.UnlockMethodWhereInput
|
|
1144
|
+
/**
|
|
1145
|
+
* Limit how many UnlockMethods to update.
|
|
1146
|
+
*/
|
|
1147
|
+
limit?: number
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* UnlockMethod upsert
|
|
1152
|
+
*/
|
|
1153
|
+
export type UnlockMethodUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1154
|
+
/**
|
|
1155
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
1156
|
+
*/
|
|
1157
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
1158
|
+
/**
|
|
1159
|
+
* Omit specific fields from the UnlockMethod
|
|
1160
|
+
*/
|
|
1161
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
1162
|
+
/**
|
|
1163
|
+
* The filter to search for the UnlockMethod to update in case it exists.
|
|
1164
|
+
*/
|
|
1165
|
+
where: Prisma.UnlockMethodWhereUniqueInput
|
|
1166
|
+
/**
|
|
1167
|
+
* In case the UnlockMethod found by the `where` argument doesn't exist, create a new UnlockMethod with this data.
|
|
1168
|
+
*/
|
|
1169
|
+
create: Prisma.XOR<Prisma.UnlockMethodCreateInput, Prisma.UnlockMethodUncheckedCreateInput>
|
|
1170
|
+
/**
|
|
1171
|
+
* In case the UnlockMethod was found with the provided `where` argument, update it with this data.
|
|
1172
|
+
*/
|
|
1173
|
+
update: Prisma.XOR<Prisma.UnlockMethodUpdateInput, Prisma.UnlockMethodUncheckedUpdateInput>
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* UnlockMethod delete
|
|
1178
|
+
*/
|
|
1179
|
+
export type UnlockMethodDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1180
|
+
/**
|
|
1181
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
1182
|
+
*/
|
|
1183
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
1184
|
+
/**
|
|
1185
|
+
* Omit specific fields from the UnlockMethod
|
|
1186
|
+
*/
|
|
1187
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
1188
|
+
/**
|
|
1189
|
+
* Filter which UnlockMethod to delete.
|
|
1190
|
+
*/
|
|
1191
|
+
where: Prisma.UnlockMethodWhereUniqueInput
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* UnlockMethod deleteMany
|
|
1196
|
+
*/
|
|
1197
|
+
export type UnlockMethodDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1198
|
+
/**
|
|
1199
|
+
* Filter which UnlockMethods to delete
|
|
1200
|
+
*/
|
|
1201
|
+
where?: Prisma.UnlockMethodWhereInput
|
|
1202
|
+
/**
|
|
1203
|
+
* Limit how many UnlockMethods to delete.
|
|
1204
|
+
*/
|
|
1205
|
+
limit?: number
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* UnlockMethod without action
|
|
1210
|
+
*/
|
|
1211
|
+
export type UnlockMethodDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1212
|
+
/**
|
|
1213
|
+
* Select specific fields to fetch from the UnlockMethod
|
|
1214
|
+
*/
|
|
1215
|
+
select?: Prisma.UnlockMethodSelect<ExtArgs> | null
|
|
1216
|
+
/**
|
|
1217
|
+
* Omit specific fields from the UnlockMethod
|
|
1218
|
+
*/
|
|
1219
|
+
omit?: Prisma.UnlockMethodOmit<ExtArgs> | null
|
|
1220
|
+
}
|