@wardby/cli 0.2.0 → 0.3.0
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/.env.example +34 -4
- package/README.md +183 -71
- package/dist/claude-coding-worker/driver.d.ts +7 -1
- package/dist/claude-coding-worker/driver.js +31 -2
- package/dist/claude-coding-worker/main.js +5 -2
- package/dist/claude-coding-worker/tool-socket.d.ts +9 -0
- package/dist/claude-coding-worker/tool-socket.js +26 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +13 -4
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +219 -29
- package/dist/coding/collect-exclude.d.ts +25 -0
- package/dist/coding/collect-exclude.js +76 -0
- package/dist/coding/profile.d.ts +67 -22
- package/dist/coding/profile.js +58 -25
- package/dist/coding/protected-path-wording.d.ts +24 -0
- package/dist/coding/protected-path-wording.js +55 -0
- package/dist/coding/protected-paths.d.ts +31 -0
- package/dist/coding/protected-paths.js +48 -0
- package/dist/coding/protocol.d.ts +99 -3
- package/dist/coding/protocol.js +155 -4
- package/dist/coding/registry/adapters.d.ts +2 -0
- package/dist/coding/registry/adapters.js +9 -0
- package/dist/coding/registry/allowlist.d.ts +9 -0
- package/dist/coding/registry/allowlist.js +28 -0
- package/dist/coding/registry/json-scan.d.ts +55 -0
- package/dist/coding/registry/json-scan.js +191 -0
- package/dist/coding/registry/lockfiles.d.ts +6 -0
- package/dist/coding/registry/lockfiles.js +89 -0
- package/dist/coding/registry/npm-lockfile.d.ts +9 -0
- package/dist/coding/registry/npm-lockfile.js +73 -0
- package/dist/coding/registry/npm-plan.d.ts +29 -0
- package/dist/coding/registry/npm-plan.js +289 -0
- package/dist/coding/registry/npm.d.ts +7 -0
- package/dist/coding/registry/npm.js +252 -0
- package/dist/coding/registry/pypi.d.ts +4 -0
- package/dist/coding/registry/pypi.js +210 -0
- package/dist/coding/registry/report.d.ts +37 -0
- package/dist/coding/registry/report.js +31 -0
- package/dist/coding/registry/token.d.ts +4 -0
- package/dist/coding/registry/token.js +7 -0
- package/dist/coding/registry/types.d.ts +286 -0
- package/dist/coding/registry/types.js +19 -0
- package/dist/coding/registry/worker-config.d.ts +14 -0
- package/dist/coding/registry/worker-config.js +31 -0
- package/dist/coding/services/builtins.d.ts +22 -0
- package/dist/coding/services/builtins.js +85 -0
- package/dist/coding/services/catalog.d.ts +443 -0
- package/dist/coding/services/catalog.js +159 -0
- package/dist/coding/services/declaration.d.ts +11 -0
- package/dist/coding/services/declaration.js +114 -0
- package/dist/coding/services/note.d.ts +8 -0
- package/dist/coding/services/note.js +15 -0
- package/dist/coding/services/resolve.d.ts +25 -0
- package/dist/coding/services/resolve.js +50 -0
- package/dist/coding/services/wording.d.ts +25 -0
- package/dist/coding/services/wording.js +70 -0
- package/dist/coding-proxy/main.js +24 -4
- package/dist/coding-worker/artifact.d.ts +18 -0
- package/dist/coding-worker/artifact.js +48 -6
- package/dist/coding-worker/debug-trace.d.ts +37 -0
- package/dist/coding-worker/debug-trace.js +117 -0
- package/dist/coding-worker/driver.d.ts +14 -1
- package/dist/coding-worker/driver.js +106 -14
- package/dist/coding-worker/errors.d.ts +7 -0
- package/dist/coding-worker/errors.js +26 -0
- package/dist/coding-worker/main.js +13 -4
- package/dist/coding-worker/sdk.d.ts +2 -2
- package/dist/coding-worker/sdk.js +7 -2
- package/dist/coding-worker/types.d.ts +3 -0
- package/dist/config/providers.d.ts +41 -0
- package/dist/config/providers.js +66 -0
- package/dist/core/budget-groups.d.ts +109 -6
- package/dist/core/budget-groups.js +125 -19
- package/dist/core/budget-wording.d.ts +22 -0
- package/dist/core/budget-wording.js +55 -0
- package/dist/core/coding-queue.d.ts +1 -1
- package/dist/core/datastores.d.ts +1 -1
- package/dist/core/datastores.js +18 -2
- package/dist/core/db.d.ts +40 -2
- package/dist/core/db.js +75 -2
- package/dist/core/dispatch.d.ts +49 -7
- package/dist/core/dispatch.js +290 -45
- package/dist/core/engine-native.js +27 -10
- package/dist/core/grants.d.ts +86 -0
- package/dist/core/grants.js +126 -0
- package/dist/core/host-events.d.ts +49 -0
- package/dist/core/host-events.js +257 -0
- package/dist/core/host-identity-links.d.ts +54 -0
- package/dist/core/host-identity-links.js +189 -0
- package/dist/core/host-status.d.ts +61 -0
- package/dist/core/host-status.js +211 -0
- package/dist/core/http-runtime.js +3 -4
- package/dist/core/in-flight-runs.d.ts +8 -0
- package/dist/core/in-flight-runs.js +56 -0
- package/dist/core/lease.d.ts +1 -1
- package/dist/core/private-directory.d.ts +20 -0
- package/dist/core/private-directory.js +36 -0
- package/dist/core/provider-wording.d.ts +12 -0
- package/dist/core/provider-wording.js +44 -0
- package/dist/core/reconciler.d.ts +39 -3
- package/dist/core/reconciler.js +86 -2
- package/dist/core/repo-access.d.ts +99 -0
- package/dist/core/repo-access.js +136 -0
- package/dist/core/review-host-checks.d.ts +11 -0
- package/dist/core/review-host-checks.js +41 -0
- package/dist/core/review-host-tools.d.ts +47 -0
- package/dist/core/review-host-tools.js +347 -0
- package/dist/core/run-heartbeat.d.ts +27 -0
- package/dist/core/run-heartbeat.js +54 -0
- package/dist/core/runner.d.ts +31 -9
- package/dist/core/runner.js +237 -40
- package/dist/core/scheduler.d.ts +1 -1
- package/dist/core/secrets.d.ts +12 -3
- package/dist/core/secrets.js +25 -6
- package/dist/core/subagent-memory-tools.d.ts +2 -2
- package/dist/core/subagent-memory-tools.js +16 -3
- package/dist/core/tool-admin.d.ts +81 -0
- package/dist/core/tool-admin.js +129 -0
- package/dist/core/tool-names.d.ts +42 -0
- package/dist/core/tool-names.js +64 -0
- package/dist/core/untrusted-content.d.ts +32 -0
- package/dist/core/untrusted-content.js +72 -0
- package/dist/core/webhooks.d.ts +9 -2
- package/dist/core/webhooks.js +23 -2
- package/dist/generated/prisma/browser.d.ts +328 -0
- package/dist/generated/prisma/browser.js +17 -0
- package/dist/generated/prisma/client.d.ts +347 -0
- package/dist/generated/prisma/client.js +34 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +839 -0
- package/dist/generated/prisma/commonInputTypes.js +10 -0
- package/dist/generated/prisma/enums.d.ts +59 -0
- package/dist/generated/prisma/enums.js +59 -0
- package/dist/generated/prisma/internal/class.d.ts +605 -0
- package/dist/generated/prisma/internal/class.js +49 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +4494 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +628 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +635 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +599 -0
- package/dist/generated/prisma/models/Agent.d.ts +3560 -0
- package/dist/generated/prisma/models/Agent.js +1 -0
- package/dist/generated/prisma/models/AgentDatastore.d.ts +1210 -0
- package/dist/generated/prisma/models/AgentDatastore.js +1 -0
- package/dist/generated/prisma/models/AgentMemory.d.ts +986 -0
- package/dist/generated/prisma/models/AgentMemory.js +1 -0
- package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
- package/dist/generated/prisma/models/AgentRepository.js +1 -0
- package/dist/generated/prisma/models/AgentSecret.d.ts +1212 -0
- package/dist/generated/prisma/models/AgentSecret.js +1 -0
- package/dist/generated/prisma/models/AgentSubAgent.d.ts +1217 -0
- package/dist/generated/prisma/models/AgentSubAgent.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +1403 -0
- package/dist/generated/prisma/models/AgentTool.js +1 -0
- package/dist/generated/prisma/models/AuthFormChallenge.d.ts +1298 -0
- package/dist/generated/prisma/models/AuthFormChallenge.js +1 -0
- package/dist/generated/prisma/models/AuthLoginKey.d.ts +1245 -0
- package/dist/generated/prisma/models/AuthLoginKey.js +1 -0
- package/dist/generated/prisma/models/AuthRateLimit.d.ts +979 -0
- package/dist/generated/prisma/models/AuthRateLimit.js +1 -0
- package/dist/generated/prisma/models/AuthSession.d.ts +1376 -0
- package/dist/generated/prisma/models/AuthSession.js +1 -0
- package/dist/generated/prisma/models/AuthUser.d.ts +1700 -0
- package/dist/generated/prisma/models/AuthUser.js +1 -0
- package/dist/generated/prisma/models/BudgetGroup.d.ts +1548 -0
- package/dist/generated/prisma/models/BudgetGroup.js +1 -0
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +1681 -0
- package/dist/generated/prisma/models/CodingAgentProfile.js +1 -0
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +1749 -0
- package/dist/generated/prisma/models/CodingProxyRequest.js +1 -0
- package/dist/generated/prisma/models/CodingProxySession.d.ts +1626 -0
- package/dist/generated/prisma/models/CodingProxySession.js +1 -0
- package/dist/generated/prisma/models/CodingRun.d.ts +3583 -0
- package/dist/generated/prisma/models/CodingRun.js +1 -0
- package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
- package/dist/generated/prisma/models/CodingService.js +1 -0
- package/dist/generated/prisma/models/Datastore.d.ts +1434 -0
- package/dist/generated/prisma/models/Datastore.js +1 -0
- package/dist/generated/prisma/models/DatastoreEntry.d.ts +1314 -0
- package/dist/generated/prisma/models/DatastoreEntry.js +1 -0
- package/dist/generated/prisma/models/HostEventDelivery.d.ts +946 -0
- package/dist/generated/prisma/models/HostEventDelivery.js +1 -0
- package/dist/generated/prisma/models/HostIdentity.d.ts +1232 -0
- package/dist/generated/prisma/models/HostIdentity.js +1 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.d.ts +1473 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.d.ts +1526 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.d.ts +1350 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthClient.d.ts +1289 -0
- package/dist/generated/prisma/models/OAuthClient.js +1 -0
- package/dist/generated/prisma/models/OAuthFamily.d.ts +1540 -0
- package/dist/generated/prisma/models/OAuthFamily.js +1 -0
- package/dist/generated/prisma/models/OAuthGrant.d.ts +1280 -0
- package/dist/generated/prisma/models/OAuthGrant.js +1 -0
- package/dist/generated/prisma/models/Principal.d.ts +2245 -0
- package/dist/generated/prisma/models/Principal.js +1 -0
- package/dist/generated/prisma/models/RegistryAllowance.d.ts +1148 -0
- package/dist/generated/prisma/models/RegistryAllowance.js +1 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +1219 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.js +1 -0
- package/dist/generated/prisma/models/RegistryFetch.d.ts +1428 -0
- package/dist/generated/prisma/models/RegistryFetch.js +1 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.d.ts +1294 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.js +1 -0
- package/dist/generated/prisma/models/RegistryVersionFact.d.ts +1085 -0
- package/dist/generated/prisma/models/RegistryVersionFact.js +1 -0
- package/dist/generated/prisma/models/ResourceGrant.d.ts +1437 -0
- package/dist/generated/prisma/models/ResourceGrant.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +2669 -0
- package/dist/generated/prisma/models/Run.js +1 -0
- package/dist/generated/prisma/models/RunHostCheck.d.ts +1239 -0
- package/dist/generated/prisma/models/RunHostCheck.js +1 -0
- package/dist/generated/prisma/models/RunHostStatus.d.ts +1315 -0
- package/dist/generated/prisma/models/RunHostStatus.js +1 -0
- package/dist/generated/prisma/models/SchedulerLease.d.ts +970 -0
- package/dist/generated/prisma/models/SchedulerLease.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +1399 -0
- package/dist/generated/prisma/models/Secret.js +1 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.d.ts +973 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.js +1 -0
- package/dist/generated/prisma/models/Task.d.ts +1176 -0
- package/dist/generated/prisma/models/Task.js +1 -0
- package/dist/generated/prisma/models/Tool.d.ts +1490 -0
- package/dist/generated/prisma/models/Tool.js +1 -0
- package/dist/generated/prisma/models/Webhook.d.ts +1386 -0
- package/dist/generated/prisma/models/Webhook.js +1 -0
- package/dist/generated/prisma/models.d.ts +45 -0
- package/dist/generated/prisma/models.js +1 -0
- package/dist/help/build.d.ts +1 -0
- package/dist/help/build.js +9 -0
- package/dist/help/catalog.d.ts +24 -0
- package/dist/help/catalog.js +160 -0
- package/dist/help/cli.d.ts +2 -0
- package/dist/help/cli.js +65 -0
- package/dist/help/runtime.d.ts +3 -0
- package/dist/help/runtime.js +44 -0
- package/dist/help/search.d.ts +9 -0
- package/dist/help/search.js +104 -0
- package/dist/help-index.json +660 -0
- package/dist/import/cli-args.js +3 -2
- package/dist/import/create.d.ts +6 -1
- package/dist/import/create.js +68 -14
- package/dist/import/index.d.ts +1 -1
- package/dist/import/index.js +19 -9
- package/dist/import/neutral-schema.d.ts +11 -11
- package/dist/mcp/auth/access.d.ts +70 -0
- package/dist/mcp/auth/access.js +58 -0
- package/dist/mcp/auth/grants-cli.d.ts +149 -0
- package/dist/mcp/auth/grants-cli.js +518 -0
- package/dist/mcp/auth/host-account-cli.d.ts +2 -0
- package/dist/mcp/auth/host-account-cli.js +47 -0
- package/dist/mcp/auth/ownership.d.ts +37 -63
- package/dist/mcp/auth/ownership.js +19 -14
- package/dist/mcp/auth/principal.d.ts +1 -1
- package/dist/mcp/auth/repo-authorization.d.ts +22 -0
- package/dist/mcp/auth/repo-authorization.js +51 -0
- package/dist/mcp/auth/resource-server.d.ts +32 -3
- package/dist/mcp/auth/resource-server.js +84 -3
- package/dist/mcp/auth/self-hosted/browser.js +22 -8
- package/dist/mcp/auth/self-hosted/cli.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/cli.js +47 -13
- package/dist/mcp/auth/self-hosted/credentials.d.ts +21 -3
- package/dist/mcp/auth/self-hosted/credentials.js +62 -4
- package/dist/mcp/auth/self-hosted/rate-limit.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/session.d.ts +3 -2
- package/dist/mcp/context.d.ts +28 -2
- package/dist/mcp/errors.d.ts +25 -6
- package/dist/mcp/errors.js +98 -0
- package/dist/mcp/host-events/github-ingress.d.ts +36 -0
- package/dist/mcp/host-events/github-ingress.js +92 -0
- package/dist/mcp/host-events/github-user-callback.d.ts +18 -0
- package/dist/mcp/host-events/github-user-callback.js +50 -0
- package/dist/mcp/index.d.ts +8 -1
- package/dist/mcp/index.js +106 -16
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/server.js +27 -9
- package/dist/mcp/shared/page-style.d.ts +16 -0
- package/dist/mcp/shared/page-style.js +129 -0
- package/dist/mcp/tasks/manager.d.ts +1 -1
- package/dist/mcp/tools/agents.js +447 -49
- package/dist/mcp/tools/budget-groups.js +3 -3
- package/dist/mcp/tools/datastore.js +23 -16
- package/dist/mcp/tools/grants.d.ts +2 -0
- package/dist/mcp/tools/grants.js +239 -0
- package/dist/mcp/tools/help.d.ts +5 -0
- package/dist/mcp/tools/help.js +67 -0
- package/dist/mcp/tools/host-accounts.d.ts +2 -0
- package/dist/mcp/tools/host-accounts.js +114 -0
- package/dist/mcp/tools/memory.d.ts +7 -1
- package/dist/mcp/tools/memory.js +5 -5
- package/dist/mcp/tools/repositories.d.ts +2 -0
- package/dist/mcp/tools/repositories.js +181 -0
- package/dist/mcp/tools/runs.d.ts +6 -0
- package/dist/mcp/tools/runs.js +60 -6
- package/dist/mcp/tools/scheduling.js +4 -7
- package/dist/mcp/tools/secret-elicitation-form.d.ts +1 -1
- package/dist/mcp/tools/secret-elicitation-form.js +10 -28
- package/dist/mcp/tools/secret-elicitation.d.ts +1 -1
- package/dist/mcp/tools/secrets.js +18 -6
- package/dist/mcp/tools/services.d.ts +2 -0
- package/dist/mcp/tools/services.js +222 -0
- package/dist/mcp/tools/subagents.js +53 -17
- package/dist/mcp/tools/tools.d.ts +41 -0
- package/dist/mcp/tools/tools.js +202 -41
- package/dist/mcp/tools/trigger.js +36 -6
- package/dist/mcp/tools/webhooks.js +15 -4
- package/dist/mcp/transport/streamable-http.d.ts +11 -1
- package/dist/mcp/transport/streamable-http.js +32 -2
- package/dist/mcp/unattended-schedules.d.ts +1 -1
- package/dist/mcp/webhooks/ingress.d.ts +1 -1
- package/dist/providers/auth/delegating.d.ts +19 -0
- package/dist/providers/auth/delegating.js +71 -0
- package/dist/providers/auth/index.d.ts +3 -1
- package/dist/providers/auth/index.js +11 -0
- package/dist/providers/auth/self-hosted.d.ts +4 -3
- package/dist/providers/auth/self-hosted.js +16 -4
- package/dist/providers/auth/types.d.ts +6 -0
- package/dist/providers/coding-proxy/memory-ledger.d.ts +3 -0
- package/dist/providers/coding-proxy/memory-ledger.js +21 -2
- package/dist/providers/coding-proxy/metering.d.ts +4 -0
- package/dist/providers/coding-proxy/metering.js +28 -2
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +18 -1
- package/dist/providers/coding-proxy/prisma-ledger.js +50 -5
- package/dist/providers/coding-proxy/proxy.d.ts +13 -0
- package/dist/providers/coding-proxy/proxy.js +479 -18
- package/dist/providers/coding-proxy/registry/audit.d.ts +131 -0
- package/dist/providers/coding-proxy/registry/audit.js +380 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.d.ts +16 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.js +77 -0
- package/dist/providers/coding-proxy/registry/plan.d.ts +58 -0
- package/dist/providers/coding-proxy/registry/plan.js +304 -0
- package/dist/providers/coding-proxy/registry/prisma-store.d.ts +34 -0
- package/dist/providers/coding-proxy/registry/prisma-store.js +151 -0
- package/dist/providers/coding-proxy/registry/service.d.ts +213 -0
- package/dist/providers/coding-proxy/registry/service.js +1137 -0
- package/dist/providers/coding-proxy/registry/store.d.ts +127 -0
- package/dist/providers/coding-proxy/registry/store.js +70 -0
- package/dist/providers/coding-proxy/runtime.d.ts +18 -1
- package/dist/providers/coding-proxy/runtime.js +63 -0
- package/dist/providers/coding-proxy/secure-fetch.js +0 -1
- package/dist/providers/coding-proxy/server.d.ts +11 -0
- package/dist/providers/coding-proxy/server.js +163 -0
- package/dist/providers/coding-proxy/types.d.ts +15 -0
- package/dist/providers/datastore/postgres.d.ts +1 -1
- package/dist/providers/engine/types.d.ts +10 -0
- package/dist/providers/executor/build.d.ts +3 -3
- package/dist/providers/executor/composition.d.ts +4 -1
- package/dist/providers/executor/composition.js +19 -0
- package/dist/providers/executor/container.d.ts +106 -4
- package/dist/providers/executor/container.js +305 -22
- package/dist/providers/executor/dbos.d.ts +3 -4
- package/dist/providers/executor/in-process.d.ts +2 -3
- package/dist/providers/executor/routing.d.ts +7 -0
- package/dist/providers/executor/routing.js +13 -0
- package/dist/providers/executor/types.d.ts +22 -0
- package/dist/providers/jobs/claude-tool-setup.d.ts +23 -0
- package/dist/providers/jobs/claude-tool-setup.js +50 -0
- package/dist/providers/jobs/collect-prune.d.ts +7 -0
- package/dist/providers/jobs/collect-prune.js +27 -0
- package/dist/providers/jobs/docker-isolation.d.ts +48 -3
- package/dist/providers/jobs/docker-isolation.js +213 -22
- package/dist/providers/jobs/docker-services.d.ts +35 -0
- package/dist/providers/jobs/docker-services.js +191 -0
- package/dist/providers/jobs/docker.d.ts +60 -2
- package/dist/providers/jobs/docker.js +313 -50
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +1 -0
- package/dist/providers/jobs/fake-kubernetes-api.js +12 -3
- package/dist/providers/jobs/kubernetes-isolation.d.ts +17 -2
- package/dist/providers/jobs/kubernetes-isolation.js +238 -57
- package/dist/providers/jobs/kubernetes-platform.d.ts +10 -4
- package/dist/providers/jobs/kubernetes-platform.js +11 -5
- package/dist/providers/jobs/kubernetes-preflight.js +3 -0
- package/dist/providers/jobs/kubernetes.d.ts +21 -2
- package/dist/providers/jobs/kubernetes.js +117 -31
- package/dist/providers/jobs/types.d.ts +20 -0
- package/dist/providers/llm/anthropic.js +6 -2
- package/dist/providers/llm/bedrock.js +2 -1
- package/dist/providers/llm/claude-messages.d.ts +5 -1
- package/dist/providers/llm/claude-messages.js +1 -0
- package/dist/providers/llm/claude-provider.d.ts +3 -1
- package/dist/providers/llm/claude-provider.js +5 -1
- package/dist/providers/llm/index.d.ts +1 -1
- package/dist/providers/llm/index.js +1 -1
- package/dist/providers/llm/pricing-anthropic.d.ts +10 -0
- package/dist/providers/llm/pricing-anthropic.js +32 -14
- package/dist/providers/llm/pricing-bedrock-claude.d.ts +8 -0
- package/dist/providers/llm/pricing-bedrock-claude.js +9 -0
- package/dist/providers/llm/routing.d.ts +10 -1
- package/dist/providers/llm/routing.js +18 -0
- package/dist/providers/llm/types.d.ts +12 -0
- package/dist/providers/llm/types.js +8 -1
- package/dist/providers/memory/postgres.d.ts +1 -1
- package/dist/providers/review-host/diff-lines.d.ts +16 -0
- package/dist/providers/review-host/diff-lines.js +59 -0
- package/dist/providers/review-host/github-events.d.ts +6 -0
- package/dist/providers/review-host/github-events.js +180 -0
- package/dist/providers/review-host/github-user-auth.d.ts +38 -0
- package/dist/providers/review-host/github-user-auth.js +128 -0
- package/dist/providers/review-host/github.d.ts +57 -0
- package/dist/providers/review-host/github.js +567 -0
- package/dist/providers/review-host/index.d.ts +12 -0
- package/dist/providers/review-host/index.js +30 -0
- package/dist/providers/review-host/review-format.d.ts +19 -0
- package/dist/providers/review-host/review-format.js +59 -0
- package/dist/providers/review-host/types.d.ts +284 -0
- package/dist/providers/review-host/types.js +24 -0
- package/dist/providers/vcs/git.d.ts +16 -6
- package/dist/providers/vcs/git.js +79 -14
- package/dist/providers/vcs/github.d.ts +74 -3
- package/dist/providers/vcs/github.js +195 -15
- package/dist/providers/vcs/types.d.ts +42 -4
- package/dist/quickstart/index.js +34 -32
- package/dist/quickstart/migrate.d.ts +23 -0
- package/dist/quickstart/migrate.js +125 -0
- package/dist/sandbox/fetch-policy.d.ts +20 -2
- package/dist/sandbox/fetch-policy.js +64 -3
- package/dist/sandbox/host-functions.d.ts +9 -1
- package/dist/sandbox/host-functions.js +12 -5
- package/dist/serve.js +1 -1
- package/dist/wardby-bin.js +6 -0
- package/docs/README.md +30 -0
- package/docs/architecture-runtime.md +90 -0
- package/docs/assets/brand/wardby-icon-512.png +0 -0
- package/docs/assets/brand/wardby-icon.svg +16 -0
- package/docs/assets/brand/wardby-mascot-profile-512.png +0 -0
- package/docs/assets/brand/wardby-mascot.png +0 -0
- package/docs/assets/brand/wardby-mascot.svg +5 -0
- package/docs/assets/wardby-workflow.svg +106 -0
- package/docs/code-review-agents.md +481 -0
- package/docs/coding-agent-setup.md +172 -0
- package/docs/coding-packages.md +455 -0
- package/docs/coding-services.md +300 -0
- package/docs/coding-worker-byo-images.md +98 -0
- package/docs/coding-worker-isolation.md +1061 -0
- package/docs/getting-started-gke.md +615 -0
- package/docs/getting-started-identity-provider.md +308 -0
- package/docs/getting-started.md +133 -0
- package/docs/observability.md +53 -0
- package/docs/release-verification.md +66 -0
- package/docs/security-deployment.md +657 -0
- package/help/code-review-agents.md +31 -0
- package/help/coding-packages.md +31 -0
- package/help/coding-services.md +71 -0
- package/help/creating-agents.md +68 -0
- package/help/deploy-gke.md +39 -0
- package/help/deployment-targets.md +39 -0
- package/help/errors/budget-group-exhausted.md +25 -0
- package/help/errors/docker-isolation-unsupported.md +26 -0
- package/help/errors/protected-path.md +45 -0
- package/help/errors/repo-access.md +27 -0
- package/help/errors/service-declaration-invalid.md +27 -0
- package/help/errors/service-declaration-unavailable.md +25 -0
- package/help/errors/service-launcher-unsupported.md +30 -0
- package/help/errors/service-not-allowed.md +27 -0
- package/help/errors/service-unknown.md +23 -0
- package/help/errors/service-unready.md +49 -0
- package/help/getting-started.md +31 -0
- package/help/github.md +30 -0
- package/help/identity-and-access.md +39 -0
- package/help/mcp.md +30 -0
- package/help/native-capabilities.md +30 -0
- package/help/observability.md +41 -0
- package/help/operating-agents.md +30 -0
- package/help/security.md +27 -0
- package/help/troubleshooting/budgets.md +26 -0
- package/help/troubleshooting/coding-workers.md +47 -0
- package/help/troubleshooting/repository-access.md +27 -0
- package/package.json +30 -11
- package/prisma/migrate.config.mjs +20 -0
- package/prisma/migrations/20260925010000_coding_collect_exclude/migration.sql +8 -0
- package/prisma/migrations/20260925015000_allowed_egress_default/migration.sql +8 -0
- package/prisma/migrations/20260925020000_coding_package_registry/migration.sql +55 -0
- package/prisma/migrations/20260925030000_tool_name_per_owner/migration.sql +11 -0
- package/prisma/migrations/20260926010000_run_trigger_host_event/migration.sql +7 -0
- package/prisma/migrations/20260926020000_code_review_hosts/migration.sql +53 -0
- package/prisma/migrations/20260926030000_auth_user_roles/migration.sql +9 -0
- package/prisma/migrations/20260926040000_agent_effort/migration.sql +6 -0
- package/prisma/migrations/20260926050000_registry_lockfile_plan/migration.sql +32 -0
- package/prisma/migrations/20260926050000_repo_access_authorization/migration.sql +82 -0
- package/prisma/migrations/20260926060000_registry_plan_refusal/migration.sql +19 -0
- package/prisma/migrations/20260926100000_registry_plan_refusal_published_at/migration.sql +5 -0
- package/prisma/migrations/20260926190000_run_host_status/migration.sql +18 -0
- package/prisma/migrations/20260926210000_run_host_status_at_dispatch/migration.sql +5 -0
- package/prisma/migrations/20260927010000_resource_grants/migration.sql +72 -0
- package/prisma/migrations/20260927020000_proxy_session_budget_exhausted/migration.sql +3 -0
- package/prisma/migrations/20260927030000_coding_debug_trace/migration.sql +4 -0
- package/prisma/migrations/20260927040000_proxy_session_upstream_failure/migration.sql +3 -0
- package/prisma/migrations/20260927050000_coding_run_services/migration.sql +74 -0
- package/prisma/migrations/20260928000000_coding_run_tool_image/migration.sql +5 -0
- package/prisma/schema.prisma +417 -23
|
@@ -0,0 +1,1298 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model AuthFormChallenge
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type AuthFormChallengeModel = runtime.Types.Result.DefaultSelection<Prisma.$AuthFormChallengePayload>;
|
|
8
|
+
export type AggregateAuthFormChallenge = {
|
|
9
|
+
_count: AuthFormChallengeCountAggregateOutputType | null;
|
|
10
|
+
_min: AuthFormChallengeMinAggregateOutputType | null;
|
|
11
|
+
_max: AuthFormChallengeMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type AuthFormChallengeMinAggregateOutputType = {
|
|
14
|
+
challengeId: string | null;
|
|
15
|
+
sessionId: string | null;
|
|
16
|
+
purpose: string | null;
|
|
17
|
+
binding: string | null;
|
|
18
|
+
secretHash: string | null;
|
|
19
|
+
createdAt: Date | null;
|
|
20
|
+
expiresAt: Date | null;
|
|
21
|
+
consumedAt: Date | null;
|
|
22
|
+
};
|
|
23
|
+
export type AuthFormChallengeMaxAggregateOutputType = {
|
|
24
|
+
challengeId: string | null;
|
|
25
|
+
sessionId: string | null;
|
|
26
|
+
purpose: string | null;
|
|
27
|
+
binding: string | null;
|
|
28
|
+
secretHash: string | null;
|
|
29
|
+
createdAt: Date | null;
|
|
30
|
+
expiresAt: Date | null;
|
|
31
|
+
consumedAt: Date | null;
|
|
32
|
+
};
|
|
33
|
+
export type AuthFormChallengeCountAggregateOutputType = {
|
|
34
|
+
challengeId: number;
|
|
35
|
+
sessionId: number;
|
|
36
|
+
purpose: number;
|
|
37
|
+
binding: number;
|
|
38
|
+
secretHash: number;
|
|
39
|
+
createdAt: number;
|
|
40
|
+
expiresAt: number;
|
|
41
|
+
consumedAt: number;
|
|
42
|
+
_all: number;
|
|
43
|
+
};
|
|
44
|
+
export type AuthFormChallengeMinAggregateInputType = {
|
|
45
|
+
challengeId?: true;
|
|
46
|
+
sessionId?: true;
|
|
47
|
+
purpose?: true;
|
|
48
|
+
binding?: true;
|
|
49
|
+
secretHash?: true;
|
|
50
|
+
createdAt?: true;
|
|
51
|
+
expiresAt?: true;
|
|
52
|
+
consumedAt?: true;
|
|
53
|
+
};
|
|
54
|
+
export type AuthFormChallengeMaxAggregateInputType = {
|
|
55
|
+
challengeId?: true;
|
|
56
|
+
sessionId?: true;
|
|
57
|
+
purpose?: true;
|
|
58
|
+
binding?: true;
|
|
59
|
+
secretHash?: true;
|
|
60
|
+
createdAt?: true;
|
|
61
|
+
expiresAt?: true;
|
|
62
|
+
consumedAt?: true;
|
|
63
|
+
};
|
|
64
|
+
export type AuthFormChallengeCountAggregateInputType = {
|
|
65
|
+
challengeId?: true;
|
|
66
|
+
sessionId?: true;
|
|
67
|
+
purpose?: true;
|
|
68
|
+
binding?: true;
|
|
69
|
+
secretHash?: true;
|
|
70
|
+
createdAt?: true;
|
|
71
|
+
expiresAt?: true;
|
|
72
|
+
consumedAt?: true;
|
|
73
|
+
_all?: true;
|
|
74
|
+
};
|
|
75
|
+
export type AuthFormChallengeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
76
|
+
/**
|
|
77
|
+
* Filter which AuthFormChallenge to aggregate.
|
|
78
|
+
*/
|
|
79
|
+
where?: Prisma.AuthFormChallengeWhereInput;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
82
|
+
*
|
|
83
|
+
* Determine the order of AuthFormChallenges to fetch.
|
|
84
|
+
*/
|
|
85
|
+
orderBy?: Prisma.AuthFormChallengeOrderByWithRelationInput | Prisma.AuthFormChallengeOrderByWithRelationInput[];
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
88
|
+
*
|
|
89
|
+
* Sets the start position
|
|
90
|
+
*/
|
|
91
|
+
cursor?: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
94
|
+
*
|
|
95
|
+
* Take `±n` AuthFormChallenges from the position of the cursor.
|
|
96
|
+
*/
|
|
97
|
+
take?: number;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
100
|
+
*
|
|
101
|
+
* Skip the first `n` AuthFormChallenges.
|
|
102
|
+
*/
|
|
103
|
+
skip?: number;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Count returned AuthFormChallenges
|
|
108
|
+
**/
|
|
109
|
+
_count?: true | AuthFormChallengeCountAggregateInputType;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Select which fields to find the minimum value
|
|
114
|
+
**/
|
|
115
|
+
_min?: AuthFormChallengeMinAggregateInputType;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Select which fields to find the maximum value
|
|
120
|
+
**/
|
|
121
|
+
_max?: AuthFormChallengeMaxAggregateInputType;
|
|
122
|
+
};
|
|
123
|
+
export type GetAuthFormChallengeAggregateType<T extends AuthFormChallengeAggregateArgs> = {
|
|
124
|
+
[P in keyof T & keyof AggregateAuthFormChallenge]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAuthFormChallenge[P]> : Prisma.GetScalarType<T[P], AggregateAuthFormChallenge[P]>;
|
|
125
|
+
};
|
|
126
|
+
export type AuthFormChallengeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
127
|
+
where?: Prisma.AuthFormChallengeWhereInput;
|
|
128
|
+
orderBy?: Prisma.AuthFormChallengeOrderByWithAggregationInput | Prisma.AuthFormChallengeOrderByWithAggregationInput[];
|
|
129
|
+
by: Prisma.AuthFormChallengeScalarFieldEnum[] | Prisma.AuthFormChallengeScalarFieldEnum;
|
|
130
|
+
having?: Prisma.AuthFormChallengeScalarWhereWithAggregatesInput;
|
|
131
|
+
take?: number;
|
|
132
|
+
skip?: number;
|
|
133
|
+
_count?: AuthFormChallengeCountAggregateInputType | true;
|
|
134
|
+
_min?: AuthFormChallengeMinAggregateInputType;
|
|
135
|
+
_max?: AuthFormChallengeMaxAggregateInputType;
|
|
136
|
+
};
|
|
137
|
+
export type AuthFormChallengeGroupByOutputType = {
|
|
138
|
+
challengeId: string;
|
|
139
|
+
sessionId: string | null;
|
|
140
|
+
purpose: string;
|
|
141
|
+
binding: string;
|
|
142
|
+
secretHash: string;
|
|
143
|
+
createdAt: Date;
|
|
144
|
+
expiresAt: Date;
|
|
145
|
+
consumedAt: Date | null;
|
|
146
|
+
_count: AuthFormChallengeCountAggregateOutputType | null;
|
|
147
|
+
_min: AuthFormChallengeMinAggregateOutputType | null;
|
|
148
|
+
_max: AuthFormChallengeMaxAggregateOutputType | null;
|
|
149
|
+
};
|
|
150
|
+
export type GetAuthFormChallengeGroupByPayload<T extends AuthFormChallengeGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<AuthFormChallengeGroupByOutputType, T['by']> & {
|
|
151
|
+
[P in ((keyof T) & (keyof AuthFormChallengeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], AuthFormChallengeGroupByOutputType[P]> : Prisma.GetScalarType<T[P], AuthFormChallengeGroupByOutputType[P]>;
|
|
152
|
+
}>>;
|
|
153
|
+
export type AuthFormChallengeWhereInput = {
|
|
154
|
+
AND?: Prisma.AuthFormChallengeWhereInput | Prisma.AuthFormChallengeWhereInput[];
|
|
155
|
+
OR?: Prisma.AuthFormChallengeWhereInput[];
|
|
156
|
+
NOT?: Prisma.AuthFormChallengeWhereInput | Prisma.AuthFormChallengeWhereInput[];
|
|
157
|
+
challengeId?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
158
|
+
sessionId?: Prisma.StringNullableFilter<"AuthFormChallenge"> | string | null;
|
|
159
|
+
purpose?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
160
|
+
binding?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
161
|
+
secretHash?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
162
|
+
createdAt?: Prisma.DateTimeFilter<"AuthFormChallenge"> | Date | string;
|
|
163
|
+
expiresAt?: Prisma.DateTimeFilter<"AuthFormChallenge"> | Date | string;
|
|
164
|
+
consumedAt?: Prisma.DateTimeNullableFilter<"AuthFormChallenge"> | Date | string | null;
|
|
165
|
+
session?: Prisma.XOR<Prisma.AuthSessionNullableScalarRelationFilter, Prisma.AuthSessionWhereInput> | null;
|
|
166
|
+
};
|
|
167
|
+
export type AuthFormChallengeOrderByWithRelationInput = {
|
|
168
|
+
challengeId?: Prisma.SortOrder;
|
|
169
|
+
sessionId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
170
|
+
purpose?: Prisma.SortOrder;
|
|
171
|
+
binding?: Prisma.SortOrder;
|
|
172
|
+
secretHash?: Prisma.SortOrder;
|
|
173
|
+
createdAt?: Prisma.SortOrder;
|
|
174
|
+
expiresAt?: Prisma.SortOrder;
|
|
175
|
+
consumedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
176
|
+
session?: Prisma.AuthSessionOrderByWithRelationInput;
|
|
177
|
+
};
|
|
178
|
+
export type AuthFormChallengeWhereUniqueInput = Prisma.AtLeast<{
|
|
179
|
+
challengeId?: string;
|
|
180
|
+
AND?: Prisma.AuthFormChallengeWhereInput | Prisma.AuthFormChallengeWhereInput[];
|
|
181
|
+
OR?: Prisma.AuthFormChallengeWhereInput[];
|
|
182
|
+
NOT?: Prisma.AuthFormChallengeWhereInput | Prisma.AuthFormChallengeWhereInput[];
|
|
183
|
+
sessionId?: Prisma.StringNullableFilter<"AuthFormChallenge"> | string | null;
|
|
184
|
+
purpose?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
185
|
+
binding?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
186
|
+
secretHash?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
187
|
+
createdAt?: Prisma.DateTimeFilter<"AuthFormChallenge"> | Date | string;
|
|
188
|
+
expiresAt?: Prisma.DateTimeFilter<"AuthFormChallenge"> | Date | string;
|
|
189
|
+
consumedAt?: Prisma.DateTimeNullableFilter<"AuthFormChallenge"> | Date | string | null;
|
|
190
|
+
session?: Prisma.XOR<Prisma.AuthSessionNullableScalarRelationFilter, Prisma.AuthSessionWhereInput> | null;
|
|
191
|
+
}, "challengeId">;
|
|
192
|
+
export type AuthFormChallengeOrderByWithAggregationInput = {
|
|
193
|
+
challengeId?: Prisma.SortOrder;
|
|
194
|
+
sessionId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
195
|
+
purpose?: Prisma.SortOrder;
|
|
196
|
+
binding?: Prisma.SortOrder;
|
|
197
|
+
secretHash?: Prisma.SortOrder;
|
|
198
|
+
createdAt?: Prisma.SortOrder;
|
|
199
|
+
expiresAt?: Prisma.SortOrder;
|
|
200
|
+
consumedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
201
|
+
_count?: Prisma.AuthFormChallengeCountOrderByAggregateInput;
|
|
202
|
+
_max?: Prisma.AuthFormChallengeMaxOrderByAggregateInput;
|
|
203
|
+
_min?: Prisma.AuthFormChallengeMinOrderByAggregateInput;
|
|
204
|
+
};
|
|
205
|
+
export type AuthFormChallengeScalarWhereWithAggregatesInput = {
|
|
206
|
+
AND?: Prisma.AuthFormChallengeScalarWhereWithAggregatesInput | Prisma.AuthFormChallengeScalarWhereWithAggregatesInput[];
|
|
207
|
+
OR?: Prisma.AuthFormChallengeScalarWhereWithAggregatesInput[];
|
|
208
|
+
NOT?: Prisma.AuthFormChallengeScalarWhereWithAggregatesInput | Prisma.AuthFormChallengeScalarWhereWithAggregatesInput[];
|
|
209
|
+
challengeId?: Prisma.StringWithAggregatesFilter<"AuthFormChallenge"> | string;
|
|
210
|
+
sessionId?: Prisma.StringNullableWithAggregatesFilter<"AuthFormChallenge"> | string | null;
|
|
211
|
+
purpose?: Prisma.StringWithAggregatesFilter<"AuthFormChallenge"> | string;
|
|
212
|
+
binding?: Prisma.StringWithAggregatesFilter<"AuthFormChallenge"> | string;
|
|
213
|
+
secretHash?: Prisma.StringWithAggregatesFilter<"AuthFormChallenge"> | string;
|
|
214
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AuthFormChallenge"> | Date | string;
|
|
215
|
+
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"AuthFormChallenge"> | Date | string;
|
|
216
|
+
consumedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AuthFormChallenge"> | Date | string | null;
|
|
217
|
+
};
|
|
218
|
+
export type AuthFormChallengeCreateInput = {
|
|
219
|
+
challengeId: string;
|
|
220
|
+
purpose: string;
|
|
221
|
+
binding: string;
|
|
222
|
+
secretHash: string;
|
|
223
|
+
createdAt?: Date | string;
|
|
224
|
+
expiresAt: Date | string;
|
|
225
|
+
consumedAt?: Date | string | null;
|
|
226
|
+
session?: Prisma.AuthSessionCreateNestedOneWithoutChallengesInput;
|
|
227
|
+
};
|
|
228
|
+
export type AuthFormChallengeUncheckedCreateInput = {
|
|
229
|
+
challengeId: string;
|
|
230
|
+
sessionId?: string | null;
|
|
231
|
+
purpose: string;
|
|
232
|
+
binding: string;
|
|
233
|
+
secretHash: string;
|
|
234
|
+
createdAt?: Date | string;
|
|
235
|
+
expiresAt: Date | string;
|
|
236
|
+
consumedAt?: Date | string | null;
|
|
237
|
+
};
|
|
238
|
+
export type AuthFormChallengeUpdateInput = {
|
|
239
|
+
challengeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
240
|
+
purpose?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
241
|
+
binding?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
242
|
+
secretHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
243
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
244
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
245
|
+
consumedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
246
|
+
session?: Prisma.AuthSessionUpdateOneWithoutChallengesNestedInput;
|
|
247
|
+
};
|
|
248
|
+
export type AuthFormChallengeUncheckedUpdateInput = {
|
|
249
|
+
challengeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
250
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
251
|
+
purpose?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
252
|
+
binding?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
253
|
+
secretHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
254
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
255
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
256
|
+
consumedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
257
|
+
};
|
|
258
|
+
export type AuthFormChallengeCreateManyInput = {
|
|
259
|
+
challengeId: string;
|
|
260
|
+
sessionId?: string | null;
|
|
261
|
+
purpose: string;
|
|
262
|
+
binding: string;
|
|
263
|
+
secretHash: string;
|
|
264
|
+
createdAt?: Date | string;
|
|
265
|
+
expiresAt: Date | string;
|
|
266
|
+
consumedAt?: Date | string | null;
|
|
267
|
+
};
|
|
268
|
+
export type AuthFormChallengeUpdateManyMutationInput = {
|
|
269
|
+
challengeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
270
|
+
purpose?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
271
|
+
binding?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
secretHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
273
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
274
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
275
|
+
consumedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
276
|
+
};
|
|
277
|
+
export type AuthFormChallengeUncheckedUpdateManyInput = {
|
|
278
|
+
challengeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
279
|
+
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
280
|
+
purpose?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
281
|
+
binding?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
282
|
+
secretHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
283
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
284
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
285
|
+
consumedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
286
|
+
};
|
|
287
|
+
export type AuthFormChallengeListRelationFilter = {
|
|
288
|
+
every?: Prisma.AuthFormChallengeWhereInput;
|
|
289
|
+
some?: Prisma.AuthFormChallengeWhereInput;
|
|
290
|
+
none?: Prisma.AuthFormChallengeWhereInput;
|
|
291
|
+
};
|
|
292
|
+
export type AuthFormChallengeOrderByRelationAggregateInput = {
|
|
293
|
+
_count?: Prisma.SortOrder;
|
|
294
|
+
};
|
|
295
|
+
export type AuthFormChallengeCountOrderByAggregateInput = {
|
|
296
|
+
challengeId?: Prisma.SortOrder;
|
|
297
|
+
sessionId?: Prisma.SortOrder;
|
|
298
|
+
purpose?: Prisma.SortOrder;
|
|
299
|
+
binding?: Prisma.SortOrder;
|
|
300
|
+
secretHash?: Prisma.SortOrder;
|
|
301
|
+
createdAt?: Prisma.SortOrder;
|
|
302
|
+
expiresAt?: Prisma.SortOrder;
|
|
303
|
+
consumedAt?: Prisma.SortOrder;
|
|
304
|
+
};
|
|
305
|
+
export type AuthFormChallengeMaxOrderByAggregateInput = {
|
|
306
|
+
challengeId?: Prisma.SortOrder;
|
|
307
|
+
sessionId?: Prisma.SortOrder;
|
|
308
|
+
purpose?: Prisma.SortOrder;
|
|
309
|
+
binding?: Prisma.SortOrder;
|
|
310
|
+
secretHash?: Prisma.SortOrder;
|
|
311
|
+
createdAt?: Prisma.SortOrder;
|
|
312
|
+
expiresAt?: Prisma.SortOrder;
|
|
313
|
+
consumedAt?: Prisma.SortOrder;
|
|
314
|
+
};
|
|
315
|
+
export type AuthFormChallengeMinOrderByAggregateInput = {
|
|
316
|
+
challengeId?: Prisma.SortOrder;
|
|
317
|
+
sessionId?: Prisma.SortOrder;
|
|
318
|
+
purpose?: Prisma.SortOrder;
|
|
319
|
+
binding?: Prisma.SortOrder;
|
|
320
|
+
secretHash?: Prisma.SortOrder;
|
|
321
|
+
createdAt?: Prisma.SortOrder;
|
|
322
|
+
expiresAt?: Prisma.SortOrder;
|
|
323
|
+
consumedAt?: Prisma.SortOrder;
|
|
324
|
+
};
|
|
325
|
+
export type AuthFormChallengeCreateNestedManyWithoutSessionInput = {
|
|
326
|
+
create?: Prisma.XOR<Prisma.AuthFormChallengeCreateWithoutSessionInput, Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput> | Prisma.AuthFormChallengeCreateWithoutSessionInput[] | Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput[];
|
|
327
|
+
connectOrCreate?: Prisma.AuthFormChallengeCreateOrConnectWithoutSessionInput | Prisma.AuthFormChallengeCreateOrConnectWithoutSessionInput[];
|
|
328
|
+
createMany?: Prisma.AuthFormChallengeCreateManySessionInputEnvelope;
|
|
329
|
+
connect?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
330
|
+
};
|
|
331
|
+
export type AuthFormChallengeUncheckedCreateNestedManyWithoutSessionInput = {
|
|
332
|
+
create?: Prisma.XOR<Prisma.AuthFormChallengeCreateWithoutSessionInput, Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput> | Prisma.AuthFormChallengeCreateWithoutSessionInput[] | Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput[];
|
|
333
|
+
connectOrCreate?: Prisma.AuthFormChallengeCreateOrConnectWithoutSessionInput | Prisma.AuthFormChallengeCreateOrConnectWithoutSessionInput[];
|
|
334
|
+
createMany?: Prisma.AuthFormChallengeCreateManySessionInputEnvelope;
|
|
335
|
+
connect?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
336
|
+
};
|
|
337
|
+
export type AuthFormChallengeUpdateManyWithoutSessionNestedInput = {
|
|
338
|
+
create?: Prisma.XOR<Prisma.AuthFormChallengeCreateWithoutSessionInput, Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput> | Prisma.AuthFormChallengeCreateWithoutSessionInput[] | Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput[];
|
|
339
|
+
connectOrCreate?: Prisma.AuthFormChallengeCreateOrConnectWithoutSessionInput | Prisma.AuthFormChallengeCreateOrConnectWithoutSessionInput[];
|
|
340
|
+
upsert?: Prisma.AuthFormChallengeUpsertWithWhereUniqueWithoutSessionInput | Prisma.AuthFormChallengeUpsertWithWhereUniqueWithoutSessionInput[];
|
|
341
|
+
createMany?: Prisma.AuthFormChallengeCreateManySessionInputEnvelope;
|
|
342
|
+
set?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
343
|
+
disconnect?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
344
|
+
delete?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
345
|
+
connect?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
346
|
+
update?: Prisma.AuthFormChallengeUpdateWithWhereUniqueWithoutSessionInput | Prisma.AuthFormChallengeUpdateWithWhereUniqueWithoutSessionInput[];
|
|
347
|
+
updateMany?: Prisma.AuthFormChallengeUpdateManyWithWhereWithoutSessionInput | Prisma.AuthFormChallengeUpdateManyWithWhereWithoutSessionInput[];
|
|
348
|
+
deleteMany?: Prisma.AuthFormChallengeScalarWhereInput | Prisma.AuthFormChallengeScalarWhereInput[];
|
|
349
|
+
};
|
|
350
|
+
export type AuthFormChallengeUncheckedUpdateManyWithoutSessionNestedInput = {
|
|
351
|
+
create?: Prisma.XOR<Prisma.AuthFormChallengeCreateWithoutSessionInput, Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput> | Prisma.AuthFormChallengeCreateWithoutSessionInput[] | Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput[];
|
|
352
|
+
connectOrCreate?: Prisma.AuthFormChallengeCreateOrConnectWithoutSessionInput | Prisma.AuthFormChallengeCreateOrConnectWithoutSessionInput[];
|
|
353
|
+
upsert?: Prisma.AuthFormChallengeUpsertWithWhereUniqueWithoutSessionInput | Prisma.AuthFormChallengeUpsertWithWhereUniqueWithoutSessionInput[];
|
|
354
|
+
createMany?: Prisma.AuthFormChallengeCreateManySessionInputEnvelope;
|
|
355
|
+
set?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
356
|
+
disconnect?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
357
|
+
delete?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
358
|
+
connect?: Prisma.AuthFormChallengeWhereUniqueInput | Prisma.AuthFormChallengeWhereUniqueInput[];
|
|
359
|
+
update?: Prisma.AuthFormChallengeUpdateWithWhereUniqueWithoutSessionInput | Prisma.AuthFormChallengeUpdateWithWhereUniqueWithoutSessionInput[];
|
|
360
|
+
updateMany?: Prisma.AuthFormChallengeUpdateManyWithWhereWithoutSessionInput | Prisma.AuthFormChallengeUpdateManyWithWhereWithoutSessionInput[];
|
|
361
|
+
deleteMany?: Prisma.AuthFormChallengeScalarWhereInput | Prisma.AuthFormChallengeScalarWhereInput[];
|
|
362
|
+
};
|
|
363
|
+
export type AuthFormChallengeCreateWithoutSessionInput = {
|
|
364
|
+
challengeId: string;
|
|
365
|
+
purpose: string;
|
|
366
|
+
binding: string;
|
|
367
|
+
secretHash: string;
|
|
368
|
+
createdAt?: Date | string;
|
|
369
|
+
expiresAt: Date | string;
|
|
370
|
+
consumedAt?: Date | string | null;
|
|
371
|
+
};
|
|
372
|
+
export type AuthFormChallengeUncheckedCreateWithoutSessionInput = {
|
|
373
|
+
challengeId: string;
|
|
374
|
+
purpose: string;
|
|
375
|
+
binding: string;
|
|
376
|
+
secretHash: string;
|
|
377
|
+
createdAt?: Date | string;
|
|
378
|
+
expiresAt: Date | string;
|
|
379
|
+
consumedAt?: Date | string | null;
|
|
380
|
+
};
|
|
381
|
+
export type AuthFormChallengeCreateOrConnectWithoutSessionInput = {
|
|
382
|
+
where: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
383
|
+
create: Prisma.XOR<Prisma.AuthFormChallengeCreateWithoutSessionInput, Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput>;
|
|
384
|
+
};
|
|
385
|
+
export type AuthFormChallengeCreateManySessionInputEnvelope = {
|
|
386
|
+
data: Prisma.AuthFormChallengeCreateManySessionInput | Prisma.AuthFormChallengeCreateManySessionInput[];
|
|
387
|
+
skipDuplicates?: boolean;
|
|
388
|
+
};
|
|
389
|
+
export type AuthFormChallengeUpsertWithWhereUniqueWithoutSessionInput = {
|
|
390
|
+
where: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
391
|
+
update: Prisma.XOR<Prisma.AuthFormChallengeUpdateWithoutSessionInput, Prisma.AuthFormChallengeUncheckedUpdateWithoutSessionInput>;
|
|
392
|
+
create: Prisma.XOR<Prisma.AuthFormChallengeCreateWithoutSessionInput, Prisma.AuthFormChallengeUncheckedCreateWithoutSessionInput>;
|
|
393
|
+
};
|
|
394
|
+
export type AuthFormChallengeUpdateWithWhereUniqueWithoutSessionInput = {
|
|
395
|
+
where: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
396
|
+
data: Prisma.XOR<Prisma.AuthFormChallengeUpdateWithoutSessionInput, Prisma.AuthFormChallengeUncheckedUpdateWithoutSessionInput>;
|
|
397
|
+
};
|
|
398
|
+
export type AuthFormChallengeUpdateManyWithWhereWithoutSessionInput = {
|
|
399
|
+
where: Prisma.AuthFormChallengeScalarWhereInput;
|
|
400
|
+
data: Prisma.XOR<Prisma.AuthFormChallengeUpdateManyMutationInput, Prisma.AuthFormChallengeUncheckedUpdateManyWithoutSessionInput>;
|
|
401
|
+
};
|
|
402
|
+
export type AuthFormChallengeScalarWhereInput = {
|
|
403
|
+
AND?: Prisma.AuthFormChallengeScalarWhereInput | Prisma.AuthFormChallengeScalarWhereInput[];
|
|
404
|
+
OR?: Prisma.AuthFormChallengeScalarWhereInput[];
|
|
405
|
+
NOT?: Prisma.AuthFormChallengeScalarWhereInput | Prisma.AuthFormChallengeScalarWhereInput[];
|
|
406
|
+
challengeId?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
407
|
+
sessionId?: Prisma.StringNullableFilter<"AuthFormChallenge"> | string | null;
|
|
408
|
+
purpose?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
409
|
+
binding?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
410
|
+
secretHash?: Prisma.StringFilter<"AuthFormChallenge"> | string;
|
|
411
|
+
createdAt?: Prisma.DateTimeFilter<"AuthFormChallenge"> | Date | string;
|
|
412
|
+
expiresAt?: Prisma.DateTimeFilter<"AuthFormChallenge"> | Date | string;
|
|
413
|
+
consumedAt?: Prisma.DateTimeNullableFilter<"AuthFormChallenge"> | Date | string | null;
|
|
414
|
+
};
|
|
415
|
+
export type AuthFormChallengeCreateManySessionInput = {
|
|
416
|
+
challengeId: string;
|
|
417
|
+
purpose: string;
|
|
418
|
+
binding: string;
|
|
419
|
+
secretHash: string;
|
|
420
|
+
createdAt?: Date | string;
|
|
421
|
+
expiresAt: Date | string;
|
|
422
|
+
consumedAt?: Date | string | null;
|
|
423
|
+
};
|
|
424
|
+
export type AuthFormChallengeUpdateWithoutSessionInput = {
|
|
425
|
+
challengeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
426
|
+
purpose?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
427
|
+
binding?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
428
|
+
secretHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
429
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
430
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
431
|
+
consumedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
432
|
+
};
|
|
433
|
+
export type AuthFormChallengeUncheckedUpdateWithoutSessionInput = {
|
|
434
|
+
challengeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
435
|
+
purpose?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
436
|
+
binding?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
437
|
+
secretHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
438
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
439
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
440
|
+
consumedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
441
|
+
};
|
|
442
|
+
export type AuthFormChallengeUncheckedUpdateManyWithoutSessionInput = {
|
|
443
|
+
challengeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
444
|
+
purpose?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
445
|
+
binding?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
446
|
+
secretHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
447
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
448
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
449
|
+
consumedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
450
|
+
};
|
|
451
|
+
export type AuthFormChallengeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
452
|
+
challengeId?: boolean;
|
|
453
|
+
sessionId?: boolean;
|
|
454
|
+
purpose?: boolean;
|
|
455
|
+
binding?: boolean;
|
|
456
|
+
secretHash?: boolean;
|
|
457
|
+
createdAt?: boolean;
|
|
458
|
+
expiresAt?: boolean;
|
|
459
|
+
consumedAt?: boolean;
|
|
460
|
+
session?: boolean | Prisma.AuthFormChallenge$sessionArgs<ExtArgs>;
|
|
461
|
+
}, ExtArgs["result"]["authFormChallenge"]>;
|
|
462
|
+
export type AuthFormChallengeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
463
|
+
challengeId?: boolean;
|
|
464
|
+
sessionId?: boolean;
|
|
465
|
+
purpose?: boolean;
|
|
466
|
+
binding?: boolean;
|
|
467
|
+
secretHash?: boolean;
|
|
468
|
+
createdAt?: boolean;
|
|
469
|
+
expiresAt?: boolean;
|
|
470
|
+
consumedAt?: boolean;
|
|
471
|
+
session?: boolean | Prisma.AuthFormChallenge$sessionArgs<ExtArgs>;
|
|
472
|
+
}, ExtArgs["result"]["authFormChallenge"]>;
|
|
473
|
+
export type AuthFormChallengeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
474
|
+
challengeId?: boolean;
|
|
475
|
+
sessionId?: boolean;
|
|
476
|
+
purpose?: boolean;
|
|
477
|
+
binding?: boolean;
|
|
478
|
+
secretHash?: boolean;
|
|
479
|
+
createdAt?: boolean;
|
|
480
|
+
expiresAt?: boolean;
|
|
481
|
+
consumedAt?: boolean;
|
|
482
|
+
session?: boolean | Prisma.AuthFormChallenge$sessionArgs<ExtArgs>;
|
|
483
|
+
}, ExtArgs["result"]["authFormChallenge"]>;
|
|
484
|
+
export type AuthFormChallengeSelectScalar = {
|
|
485
|
+
challengeId?: boolean;
|
|
486
|
+
sessionId?: boolean;
|
|
487
|
+
purpose?: boolean;
|
|
488
|
+
binding?: boolean;
|
|
489
|
+
secretHash?: boolean;
|
|
490
|
+
createdAt?: boolean;
|
|
491
|
+
expiresAt?: boolean;
|
|
492
|
+
consumedAt?: boolean;
|
|
493
|
+
};
|
|
494
|
+
export type AuthFormChallengeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"challengeId" | "sessionId" | "purpose" | "binding" | "secretHash" | "createdAt" | "expiresAt" | "consumedAt", ExtArgs["result"]["authFormChallenge"]>;
|
|
495
|
+
export type AuthFormChallengeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
496
|
+
session?: boolean | Prisma.AuthFormChallenge$sessionArgs<ExtArgs>;
|
|
497
|
+
};
|
|
498
|
+
export type AuthFormChallengeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
499
|
+
session?: boolean | Prisma.AuthFormChallenge$sessionArgs<ExtArgs>;
|
|
500
|
+
};
|
|
501
|
+
export type AuthFormChallengeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
502
|
+
session?: boolean | Prisma.AuthFormChallenge$sessionArgs<ExtArgs>;
|
|
503
|
+
};
|
|
504
|
+
export type $AuthFormChallengePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
505
|
+
name: "AuthFormChallenge";
|
|
506
|
+
objects: {
|
|
507
|
+
session: Prisma.$AuthSessionPayload<ExtArgs> | null;
|
|
508
|
+
};
|
|
509
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
510
|
+
challengeId: string;
|
|
511
|
+
sessionId: string | null;
|
|
512
|
+
purpose: string;
|
|
513
|
+
binding: string;
|
|
514
|
+
secretHash: string;
|
|
515
|
+
createdAt: Date;
|
|
516
|
+
expiresAt: Date;
|
|
517
|
+
consumedAt: Date | null;
|
|
518
|
+
}, ExtArgs["result"]["authFormChallenge"]>;
|
|
519
|
+
composites: {};
|
|
520
|
+
};
|
|
521
|
+
export type AuthFormChallengeGetPayload<S extends boolean | null | undefined | AuthFormChallengeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload, S>;
|
|
522
|
+
export type AuthFormChallengeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<AuthFormChallengeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
523
|
+
select?: AuthFormChallengeCountAggregateInputType | true;
|
|
524
|
+
};
|
|
525
|
+
export interface AuthFormChallengeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
526
|
+
[K: symbol]: {
|
|
527
|
+
types: Prisma.TypeMap<ExtArgs>['model']['AuthFormChallenge'];
|
|
528
|
+
meta: {
|
|
529
|
+
name: 'AuthFormChallenge';
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Find zero or one AuthFormChallenge that matches the filter.
|
|
534
|
+
* @param {AuthFormChallengeFindUniqueArgs} args - Arguments to find a AuthFormChallenge
|
|
535
|
+
* @example
|
|
536
|
+
* // Get one AuthFormChallenge
|
|
537
|
+
* const authFormChallenge = await prisma.authFormChallenge.findUnique({
|
|
538
|
+
* where: {
|
|
539
|
+
* // ... provide filter here
|
|
540
|
+
* }
|
|
541
|
+
* })
|
|
542
|
+
*/
|
|
543
|
+
findUnique<T extends AuthFormChallengeFindUniqueArgs>(args: Prisma.SelectSubset<T, AuthFormChallengeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AuthFormChallengeClient<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
544
|
+
/**
|
|
545
|
+
* Find one AuthFormChallenge that matches the filter or throw an error with `error.code='P2025'`
|
|
546
|
+
* if no matches were found.
|
|
547
|
+
* @param {AuthFormChallengeFindUniqueOrThrowArgs} args - Arguments to find a AuthFormChallenge
|
|
548
|
+
* @example
|
|
549
|
+
* // Get one AuthFormChallenge
|
|
550
|
+
* const authFormChallenge = await prisma.authFormChallenge.findUniqueOrThrow({
|
|
551
|
+
* where: {
|
|
552
|
+
* // ... provide filter here
|
|
553
|
+
* }
|
|
554
|
+
* })
|
|
555
|
+
*/
|
|
556
|
+
findUniqueOrThrow<T extends AuthFormChallengeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AuthFormChallengeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthFormChallengeClient<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
557
|
+
/**
|
|
558
|
+
* Find the first AuthFormChallenge that matches the filter.
|
|
559
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
560
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
561
|
+
* @param {AuthFormChallengeFindFirstArgs} args - Arguments to find a AuthFormChallenge
|
|
562
|
+
* @example
|
|
563
|
+
* // Get one AuthFormChallenge
|
|
564
|
+
* const authFormChallenge = await prisma.authFormChallenge.findFirst({
|
|
565
|
+
* where: {
|
|
566
|
+
* // ... provide filter here
|
|
567
|
+
* }
|
|
568
|
+
* })
|
|
569
|
+
*/
|
|
570
|
+
findFirst<T extends AuthFormChallengeFindFirstArgs>(args?: Prisma.SelectSubset<T, AuthFormChallengeFindFirstArgs<ExtArgs>>): Prisma.Prisma__AuthFormChallengeClient<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
571
|
+
/**
|
|
572
|
+
* Find the first AuthFormChallenge that matches the filter or
|
|
573
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
574
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
575
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
576
|
+
* @param {AuthFormChallengeFindFirstOrThrowArgs} args - Arguments to find a AuthFormChallenge
|
|
577
|
+
* @example
|
|
578
|
+
* // Get one AuthFormChallenge
|
|
579
|
+
* const authFormChallenge = await prisma.authFormChallenge.findFirstOrThrow({
|
|
580
|
+
* where: {
|
|
581
|
+
* // ... provide filter here
|
|
582
|
+
* }
|
|
583
|
+
* })
|
|
584
|
+
*/
|
|
585
|
+
findFirstOrThrow<T extends AuthFormChallengeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AuthFormChallengeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthFormChallengeClient<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
586
|
+
/**
|
|
587
|
+
* Find zero or more AuthFormChallenges that matches the filter.
|
|
588
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
589
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
590
|
+
* @param {AuthFormChallengeFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
591
|
+
* @example
|
|
592
|
+
* // Get all AuthFormChallenges
|
|
593
|
+
* const authFormChallenges = await prisma.authFormChallenge.findMany()
|
|
594
|
+
*
|
|
595
|
+
* // Get first 10 AuthFormChallenges
|
|
596
|
+
* const authFormChallenges = await prisma.authFormChallenge.findMany({ take: 10 })
|
|
597
|
+
*
|
|
598
|
+
* // Only select the `challengeId`
|
|
599
|
+
* const authFormChallengeWithChallengeIdOnly = await prisma.authFormChallenge.findMany({ select: { challengeId: true } })
|
|
600
|
+
*
|
|
601
|
+
*/
|
|
602
|
+
findMany<T extends AuthFormChallengeFindManyArgs>(args?: Prisma.SelectSubset<T, AuthFormChallengeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
603
|
+
/**
|
|
604
|
+
* Create a AuthFormChallenge.
|
|
605
|
+
* @param {AuthFormChallengeCreateArgs} args - Arguments to create a AuthFormChallenge.
|
|
606
|
+
* @example
|
|
607
|
+
* // Create one AuthFormChallenge
|
|
608
|
+
* const AuthFormChallenge = await prisma.authFormChallenge.create({
|
|
609
|
+
* data: {
|
|
610
|
+
* // ... data to create a AuthFormChallenge
|
|
611
|
+
* }
|
|
612
|
+
* })
|
|
613
|
+
*
|
|
614
|
+
*/
|
|
615
|
+
create<T extends AuthFormChallengeCreateArgs>(args: Prisma.SelectSubset<T, AuthFormChallengeCreateArgs<ExtArgs>>): Prisma.Prisma__AuthFormChallengeClient<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
616
|
+
/**
|
|
617
|
+
* Create many AuthFormChallenges.
|
|
618
|
+
* @param {AuthFormChallengeCreateManyArgs} args - Arguments to create many AuthFormChallenges.
|
|
619
|
+
* @example
|
|
620
|
+
* // Create many AuthFormChallenges
|
|
621
|
+
* const authFormChallenge = await prisma.authFormChallenge.createMany({
|
|
622
|
+
* data: [
|
|
623
|
+
* // ... provide data here
|
|
624
|
+
* ]
|
|
625
|
+
* })
|
|
626
|
+
*
|
|
627
|
+
*/
|
|
628
|
+
createMany<T extends AuthFormChallengeCreateManyArgs>(args?: Prisma.SelectSubset<T, AuthFormChallengeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
629
|
+
/**
|
|
630
|
+
* Create many AuthFormChallenges and returns the data saved in the database.
|
|
631
|
+
* @param {AuthFormChallengeCreateManyAndReturnArgs} args - Arguments to create many AuthFormChallenges.
|
|
632
|
+
* @example
|
|
633
|
+
* // Create many AuthFormChallenges
|
|
634
|
+
* const authFormChallenge = await prisma.authFormChallenge.createManyAndReturn({
|
|
635
|
+
* data: [
|
|
636
|
+
* // ... provide data here
|
|
637
|
+
* ]
|
|
638
|
+
* })
|
|
639
|
+
*
|
|
640
|
+
* // Create many AuthFormChallenges and only return the `challengeId`
|
|
641
|
+
* const authFormChallengeWithChallengeIdOnly = await prisma.authFormChallenge.createManyAndReturn({
|
|
642
|
+
* select: { challengeId: true },
|
|
643
|
+
* data: [
|
|
644
|
+
* // ... provide data here
|
|
645
|
+
* ]
|
|
646
|
+
* })
|
|
647
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
648
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
649
|
+
*
|
|
650
|
+
*/
|
|
651
|
+
createManyAndReturn<T extends AuthFormChallengeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AuthFormChallengeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
652
|
+
/**
|
|
653
|
+
* Delete a AuthFormChallenge.
|
|
654
|
+
* @param {AuthFormChallengeDeleteArgs} args - Arguments to delete one AuthFormChallenge.
|
|
655
|
+
* @example
|
|
656
|
+
* // Delete one AuthFormChallenge
|
|
657
|
+
* const AuthFormChallenge = await prisma.authFormChallenge.delete({
|
|
658
|
+
* where: {
|
|
659
|
+
* // ... filter to delete one AuthFormChallenge
|
|
660
|
+
* }
|
|
661
|
+
* })
|
|
662
|
+
*
|
|
663
|
+
*/
|
|
664
|
+
delete<T extends AuthFormChallengeDeleteArgs>(args: Prisma.SelectSubset<T, AuthFormChallengeDeleteArgs<ExtArgs>>): Prisma.Prisma__AuthFormChallengeClient<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
665
|
+
/**
|
|
666
|
+
* Update one AuthFormChallenge.
|
|
667
|
+
* @param {AuthFormChallengeUpdateArgs} args - Arguments to update one AuthFormChallenge.
|
|
668
|
+
* @example
|
|
669
|
+
* // Update one AuthFormChallenge
|
|
670
|
+
* const authFormChallenge = await prisma.authFormChallenge.update({
|
|
671
|
+
* where: {
|
|
672
|
+
* // ... provide filter here
|
|
673
|
+
* },
|
|
674
|
+
* data: {
|
|
675
|
+
* // ... provide data here
|
|
676
|
+
* }
|
|
677
|
+
* })
|
|
678
|
+
*
|
|
679
|
+
*/
|
|
680
|
+
update<T extends AuthFormChallengeUpdateArgs>(args: Prisma.SelectSubset<T, AuthFormChallengeUpdateArgs<ExtArgs>>): Prisma.Prisma__AuthFormChallengeClient<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
681
|
+
/**
|
|
682
|
+
* Delete zero or more AuthFormChallenges.
|
|
683
|
+
* @param {AuthFormChallengeDeleteManyArgs} args - Arguments to filter AuthFormChallenges to delete.
|
|
684
|
+
* @example
|
|
685
|
+
* // Delete a few AuthFormChallenges
|
|
686
|
+
* const { count } = await prisma.authFormChallenge.deleteMany({
|
|
687
|
+
* where: {
|
|
688
|
+
* // ... provide filter here
|
|
689
|
+
* }
|
|
690
|
+
* })
|
|
691
|
+
*
|
|
692
|
+
*/
|
|
693
|
+
deleteMany<T extends AuthFormChallengeDeleteManyArgs>(args?: Prisma.SelectSubset<T, AuthFormChallengeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
694
|
+
/**
|
|
695
|
+
* Update zero or more AuthFormChallenges.
|
|
696
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
697
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
698
|
+
* @param {AuthFormChallengeUpdateManyArgs} args - Arguments to update one or more rows.
|
|
699
|
+
* @example
|
|
700
|
+
* // Update many AuthFormChallenges
|
|
701
|
+
* const authFormChallenge = await prisma.authFormChallenge.updateMany({
|
|
702
|
+
* where: {
|
|
703
|
+
* // ... provide filter here
|
|
704
|
+
* },
|
|
705
|
+
* data: {
|
|
706
|
+
* // ... provide data here
|
|
707
|
+
* }
|
|
708
|
+
* })
|
|
709
|
+
*
|
|
710
|
+
*/
|
|
711
|
+
updateMany<T extends AuthFormChallengeUpdateManyArgs>(args: Prisma.SelectSubset<T, AuthFormChallengeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
712
|
+
/**
|
|
713
|
+
* Update zero or more AuthFormChallenges and returns the data updated in the database.
|
|
714
|
+
* @param {AuthFormChallengeUpdateManyAndReturnArgs} args - Arguments to update many AuthFormChallenges.
|
|
715
|
+
* @example
|
|
716
|
+
* // Update many AuthFormChallenges
|
|
717
|
+
* const authFormChallenge = await prisma.authFormChallenge.updateManyAndReturn({
|
|
718
|
+
* where: {
|
|
719
|
+
* // ... provide filter here
|
|
720
|
+
* },
|
|
721
|
+
* data: [
|
|
722
|
+
* // ... provide data here
|
|
723
|
+
* ]
|
|
724
|
+
* })
|
|
725
|
+
*
|
|
726
|
+
* // Update zero or more AuthFormChallenges and only return the `challengeId`
|
|
727
|
+
* const authFormChallengeWithChallengeIdOnly = await prisma.authFormChallenge.updateManyAndReturn({
|
|
728
|
+
* select: { challengeId: true },
|
|
729
|
+
* where: {
|
|
730
|
+
* // ... provide filter here
|
|
731
|
+
* },
|
|
732
|
+
* data: [
|
|
733
|
+
* // ... provide data here
|
|
734
|
+
* ]
|
|
735
|
+
* })
|
|
736
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
737
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
738
|
+
*
|
|
739
|
+
*/
|
|
740
|
+
updateManyAndReturn<T extends AuthFormChallengeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AuthFormChallengeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
741
|
+
/**
|
|
742
|
+
* Create or update one AuthFormChallenge.
|
|
743
|
+
* @param {AuthFormChallengeUpsertArgs} args - Arguments to update or create a AuthFormChallenge.
|
|
744
|
+
* @example
|
|
745
|
+
* // Update or create a AuthFormChallenge
|
|
746
|
+
* const authFormChallenge = await prisma.authFormChallenge.upsert({
|
|
747
|
+
* create: {
|
|
748
|
+
* // ... data to create a AuthFormChallenge
|
|
749
|
+
* },
|
|
750
|
+
* update: {
|
|
751
|
+
* // ... in case it already exists, update
|
|
752
|
+
* },
|
|
753
|
+
* where: {
|
|
754
|
+
* // ... the filter for the AuthFormChallenge we want to update
|
|
755
|
+
* }
|
|
756
|
+
* })
|
|
757
|
+
*/
|
|
758
|
+
upsert<T extends AuthFormChallengeUpsertArgs>(args: Prisma.SelectSubset<T, AuthFormChallengeUpsertArgs<ExtArgs>>): Prisma.Prisma__AuthFormChallengeClient<runtime.Types.Result.GetResult<Prisma.$AuthFormChallengePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
759
|
+
/**
|
|
760
|
+
* Count the number of AuthFormChallenges.
|
|
761
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
762
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
763
|
+
* @param {AuthFormChallengeCountArgs} args - Arguments to filter AuthFormChallenges to count.
|
|
764
|
+
* @example
|
|
765
|
+
* // Count the number of AuthFormChallenges
|
|
766
|
+
* const count = await prisma.authFormChallenge.count({
|
|
767
|
+
* where: {
|
|
768
|
+
* // ... the filter for the AuthFormChallenges we want to count
|
|
769
|
+
* }
|
|
770
|
+
* })
|
|
771
|
+
**/
|
|
772
|
+
count<T extends AuthFormChallengeCountArgs>(args?: Prisma.Subset<T, AuthFormChallengeCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], AuthFormChallengeCountAggregateOutputType> : number>;
|
|
773
|
+
/**
|
|
774
|
+
* Allows you to perform aggregations operations on a AuthFormChallenge.
|
|
775
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
776
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
777
|
+
* @param {AuthFormChallengeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
778
|
+
* @example
|
|
779
|
+
* // Ordered by age ascending
|
|
780
|
+
* // Where email contains prisma.io
|
|
781
|
+
* // Limited to the 10 users
|
|
782
|
+
* const aggregations = await prisma.user.aggregate({
|
|
783
|
+
* _avg: {
|
|
784
|
+
* age: true,
|
|
785
|
+
* },
|
|
786
|
+
* where: {
|
|
787
|
+
* email: {
|
|
788
|
+
* contains: "prisma.io",
|
|
789
|
+
* },
|
|
790
|
+
* },
|
|
791
|
+
* orderBy: {
|
|
792
|
+
* age: "asc",
|
|
793
|
+
* },
|
|
794
|
+
* take: 10,
|
|
795
|
+
* })
|
|
796
|
+
**/
|
|
797
|
+
aggregate<T extends AuthFormChallengeAggregateArgs>(args: Prisma.Subset<T, AuthFormChallengeAggregateArgs>): Prisma.PrismaPromise<GetAuthFormChallengeAggregateType<T>>;
|
|
798
|
+
/**
|
|
799
|
+
* Group by AuthFormChallenge.
|
|
800
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
801
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
802
|
+
* @param {AuthFormChallengeGroupByArgs} args - Group by arguments.
|
|
803
|
+
* @example
|
|
804
|
+
* // Group by city, order by createdAt, get count
|
|
805
|
+
* const result = await prisma.user.groupBy({
|
|
806
|
+
* by: ['city', 'createdAt'],
|
|
807
|
+
* orderBy: {
|
|
808
|
+
* createdAt: true
|
|
809
|
+
* },
|
|
810
|
+
* _count: {
|
|
811
|
+
* _all: true
|
|
812
|
+
* },
|
|
813
|
+
* })
|
|
814
|
+
*
|
|
815
|
+
**/
|
|
816
|
+
groupBy<T extends AuthFormChallengeGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
817
|
+
orderBy: AuthFormChallengeGroupByArgs['orderBy'];
|
|
818
|
+
} : {
|
|
819
|
+
orderBy?: AuthFormChallengeGroupByArgs['orderBy'];
|
|
820
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
821
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
822
|
+
Error,
|
|
823
|
+
'Field ',
|
|
824
|
+
P,
|
|
825
|
+
` in "having" needs to be provided in "by"`
|
|
826
|
+
];
|
|
827
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
828
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
829
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
830
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
831
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
832
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
833
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, AuthFormChallengeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuthFormChallengeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
834
|
+
/**
|
|
835
|
+
* Fields of the AuthFormChallenge model
|
|
836
|
+
*/
|
|
837
|
+
readonly fields: AuthFormChallengeFieldRefs;
|
|
838
|
+
}
|
|
839
|
+
/**
|
|
840
|
+
* The delegate class that acts as a "Promise-like" for AuthFormChallenge.
|
|
841
|
+
* Why is this prefixed with `Prisma__`?
|
|
842
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
843
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
844
|
+
*/
|
|
845
|
+
export interface Prisma__AuthFormChallengeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
846
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
847
|
+
session<T extends Prisma.AuthFormChallenge$sessionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AuthFormChallenge$sessionArgs<ExtArgs>>): Prisma.Prisma__AuthSessionClient<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
848
|
+
/**
|
|
849
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
850
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
851
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
852
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
853
|
+
*/
|
|
854
|
+
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>;
|
|
855
|
+
/**
|
|
856
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
857
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
858
|
+
* @returns A Promise for the completion of the callback.
|
|
859
|
+
*/
|
|
860
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
861
|
+
/**
|
|
862
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
863
|
+
* resolved value cannot be modified from the callback.
|
|
864
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
865
|
+
* @returns A Promise for the completion of the callback.
|
|
866
|
+
*/
|
|
867
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
* Fields of the AuthFormChallenge model
|
|
871
|
+
*/
|
|
872
|
+
export interface AuthFormChallengeFieldRefs {
|
|
873
|
+
readonly challengeId: Prisma.FieldRef<"AuthFormChallenge", 'String'>;
|
|
874
|
+
readonly sessionId: Prisma.FieldRef<"AuthFormChallenge", 'String'>;
|
|
875
|
+
readonly purpose: Prisma.FieldRef<"AuthFormChallenge", 'String'>;
|
|
876
|
+
readonly binding: Prisma.FieldRef<"AuthFormChallenge", 'String'>;
|
|
877
|
+
readonly secretHash: Prisma.FieldRef<"AuthFormChallenge", 'String'>;
|
|
878
|
+
readonly createdAt: Prisma.FieldRef<"AuthFormChallenge", 'DateTime'>;
|
|
879
|
+
readonly expiresAt: Prisma.FieldRef<"AuthFormChallenge", 'DateTime'>;
|
|
880
|
+
readonly consumedAt: Prisma.FieldRef<"AuthFormChallenge", 'DateTime'>;
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* AuthFormChallenge findUnique
|
|
884
|
+
*/
|
|
885
|
+
export type AuthFormChallengeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
886
|
+
/**
|
|
887
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
888
|
+
*/
|
|
889
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
890
|
+
/**
|
|
891
|
+
* Omit specific fields from the AuthFormChallenge
|
|
892
|
+
*/
|
|
893
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
894
|
+
/**
|
|
895
|
+
* Choose, which related nodes to fetch as well
|
|
896
|
+
*/
|
|
897
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
898
|
+
/**
|
|
899
|
+
* Filter, which AuthFormChallenge to fetch.
|
|
900
|
+
*/
|
|
901
|
+
where: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
902
|
+
};
|
|
903
|
+
/**
|
|
904
|
+
* AuthFormChallenge findUniqueOrThrow
|
|
905
|
+
*/
|
|
906
|
+
export type AuthFormChallengeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
907
|
+
/**
|
|
908
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
909
|
+
*/
|
|
910
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
911
|
+
/**
|
|
912
|
+
* Omit specific fields from the AuthFormChallenge
|
|
913
|
+
*/
|
|
914
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
915
|
+
/**
|
|
916
|
+
* Choose, which related nodes to fetch as well
|
|
917
|
+
*/
|
|
918
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
919
|
+
/**
|
|
920
|
+
* Filter, which AuthFormChallenge to fetch.
|
|
921
|
+
*/
|
|
922
|
+
where: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
923
|
+
};
|
|
924
|
+
/**
|
|
925
|
+
* AuthFormChallenge findFirst
|
|
926
|
+
*/
|
|
927
|
+
export type AuthFormChallengeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
928
|
+
/**
|
|
929
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
930
|
+
*/
|
|
931
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
932
|
+
/**
|
|
933
|
+
* Omit specific fields from the AuthFormChallenge
|
|
934
|
+
*/
|
|
935
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
936
|
+
/**
|
|
937
|
+
* Choose, which related nodes to fetch as well
|
|
938
|
+
*/
|
|
939
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
940
|
+
/**
|
|
941
|
+
* Filter, which AuthFormChallenge to fetch.
|
|
942
|
+
*/
|
|
943
|
+
where?: Prisma.AuthFormChallengeWhereInput;
|
|
944
|
+
/**
|
|
945
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
946
|
+
*
|
|
947
|
+
* Determine the order of AuthFormChallenges to fetch.
|
|
948
|
+
*/
|
|
949
|
+
orderBy?: Prisma.AuthFormChallengeOrderByWithRelationInput | Prisma.AuthFormChallengeOrderByWithRelationInput[];
|
|
950
|
+
/**
|
|
951
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
952
|
+
*
|
|
953
|
+
* Sets the position for searching for AuthFormChallenges.
|
|
954
|
+
*/
|
|
955
|
+
cursor?: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
956
|
+
/**
|
|
957
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
958
|
+
*
|
|
959
|
+
* Take `±n` AuthFormChallenges from the position of the cursor.
|
|
960
|
+
*/
|
|
961
|
+
take?: number;
|
|
962
|
+
/**
|
|
963
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
964
|
+
*
|
|
965
|
+
* Skip the first `n` AuthFormChallenges.
|
|
966
|
+
*/
|
|
967
|
+
skip?: number;
|
|
968
|
+
/**
|
|
969
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
970
|
+
*
|
|
971
|
+
* Filter by unique combinations of AuthFormChallenges.
|
|
972
|
+
*/
|
|
973
|
+
distinct?: Prisma.AuthFormChallengeScalarFieldEnum | Prisma.AuthFormChallengeScalarFieldEnum[];
|
|
974
|
+
};
|
|
975
|
+
/**
|
|
976
|
+
* AuthFormChallenge findFirstOrThrow
|
|
977
|
+
*/
|
|
978
|
+
export type AuthFormChallengeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
979
|
+
/**
|
|
980
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
981
|
+
*/
|
|
982
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
983
|
+
/**
|
|
984
|
+
* Omit specific fields from the AuthFormChallenge
|
|
985
|
+
*/
|
|
986
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
987
|
+
/**
|
|
988
|
+
* Choose, which related nodes to fetch as well
|
|
989
|
+
*/
|
|
990
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
991
|
+
/**
|
|
992
|
+
* Filter, which AuthFormChallenge to fetch.
|
|
993
|
+
*/
|
|
994
|
+
where?: Prisma.AuthFormChallengeWhereInput;
|
|
995
|
+
/**
|
|
996
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
997
|
+
*
|
|
998
|
+
* Determine the order of AuthFormChallenges to fetch.
|
|
999
|
+
*/
|
|
1000
|
+
orderBy?: Prisma.AuthFormChallengeOrderByWithRelationInput | Prisma.AuthFormChallengeOrderByWithRelationInput[];
|
|
1001
|
+
/**
|
|
1002
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1003
|
+
*
|
|
1004
|
+
* Sets the position for searching for AuthFormChallenges.
|
|
1005
|
+
*/
|
|
1006
|
+
cursor?: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
1007
|
+
/**
|
|
1008
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1009
|
+
*
|
|
1010
|
+
* Take `±n` AuthFormChallenges from the position of the cursor.
|
|
1011
|
+
*/
|
|
1012
|
+
take?: number;
|
|
1013
|
+
/**
|
|
1014
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1015
|
+
*
|
|
1016
|
+
* Skip the first `n` AuthFormChallenges.
|
|
1017
|
+
*/
|
|
1018
|
+
skip?: number;
|
|
1019
|
+
/**
|
|
1020
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1021
|
+
*
|
|
1022
|
+
* Filter by unique combinations of AuthFormChallenges.
|
|
1023
|
+
*/
|
|
1024
|
+
distinct?: Prisma.AuthFormChallengeScalarFieldEnum | Prisma.AuthFormChallengeScalarFieldEnum[];
|
|
1025
|
+
};
|
|
1026
|
+
/**
|
|
1027
|
+
* AuthFormChallenge findMany
|
|
1028
|
+
*/
|
|
1029
|
+
export type AuthFormChallengeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1030
|
+
/**
|
|
1031
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
1032
|
+
*/
|
|
1033
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* Omit specific fields from the AuthFormChallenge
|
|
1036
|
+
*/
|
|
1037
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
1038
|
+
/**
|
|
1039
|
+
* Choose, which related nodes to fetch as well
|
|
1040
|
+
*/
|
|
1041
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
1042
|
+
/**
|
|
1043
|
+
* Filter, which AuthFormChallenges to fetch.
|
|
1044
|
+
*/
|
|
1045
|
+
where?: Prisma.AuthFormChallengeWhereInput;
|
|
1046
|
+
/**
|
|
1047
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1048
|
+
*
|
|
1049
|
+
* Determine the order of AuthFormChallenges to fetch.
|
|
1050
|
+
*/
|
|
1051
|
+
orderBy?: Prisma.AuthFormChallengeOrderByWithRelationInput | Prisma.AuthFormChallengeOrderByWithRelationInput[];
|
|
1052
|
+
/**
|
|
1053
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1054
|
+
*
|
|
1055
|
+
* Sets the position for listing AuthFormChallenges.
|
|
1056
|
+
*/
|
|
1057
|
+
cursor?: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
1058
|
+
/**
|
|
1059
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1060
|
+
*
|
|
1061
|
+
* Take `±n` AuthFormChallenges from the position of the cursor.
|
|
1062
|
+
*/
|
|
1063
|
+
take?: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1066
|
+
*
|
|
1067
|
+
* Skip the first `n` AuthFormChallenges.
|
|
1068
|
+
*/
|
|
1069
|
+
skip?: number;
|
|
1070
|
+
/**
|
|
1071
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1072
|
+
*
|
|
1073
|
+
* Filter by unique combinations of AuthFormChallenges.
|
|
1074
|
+
*/
|
|
1075
|
+
distinct?: Prisma.AuthFormChallengeScalarFieldEnum | Prisma.AuthFormChallengeScalarFieldEnum[];
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* AuthFormChallenge create
|
|
1079
|
+
*/
|
|
1080
|
+
export type AuthFormChallengeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1081
|
+
/**
|
|
1082
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
1083
|
+
*/
|
|
1084
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
1085
|
+
/**
|
|
1086
|
+
* Omit specific fields from the AuthFormChallenge
|
|
1087
|
+
*/
|
|
1088
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* Choose, which related nodes to fetch as well
|
|
1091
|
+
*/
|
|
1092
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
1093
|
+
/**
|
|
1094
|
+
* The data needed to create a AuthFormChallenge.
|
|
1095
|
+
*/
|
|
1096
|
+
data: Prisma.XOR<Prisma.AuthFormChallengeCreateInput, Prisma.AuthFormChallengeUncheckedCreateInput>;
|
|
1097
|
+
};
|
|
1098
|
+
/**
|
|
1099
|
+
* AuthFormChallenge createMany
|
|
1100
|
+
*/
|
|
1101
|
+
export type AuthFormChallengeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1102
|
+
/**
|
|
1103
|
+
* The data used to create many AuthFormChallenges.
|
|
1104
|
+
*/
|
|
1105
|
+
data: Prisma.AuthFormChallengeCreateManyInput | Prisma.AuthFormChallengeCreateManyInput[];
|
|
1106
|
+
skipDuplicates?: boolean;
|
|
1107
|
+
};
|
|
1108
|
+
/**
|
|
1109
|
+
* AuthFormChallenge createManyAndReturn
|
|
1110
|
+
*/
|
|
1111
|
+
export type AuthFormChallengeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
+
/**
|
|
1113
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
1114
|
+
*/
|
|
1115
|
+
select?: Prisma.AuthFormChallengeSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* Omit specific fields from the AuthFormChallenge
|
|
1118
|
+
*/
|
|
1119
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* The data used to create many AuthFormChallenges.
|
|
1122
|
+
*/
|
|
1123
|
+
data: Prisma.AuthFormChallengeCreateManyInput | Prisma.AuthFormChallengeCreateManyInput[];
|
|
1124
|
+
skipDuplicates?: boolean;
|
|
1125
|
+
/**
|
|
1126
|
+
* Choose, which related nodes to fetch as well
|
|
1127
|
+
*/
|
|
1128
|
+
include?: Prisma.AuthFormChallengeIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1129
|
+
};
|
|
1130
|
+
/**
|
|
1131
|
+
* AuthFormChallenge update
|
|
1132
|
+
*/
|
|
1133
|
+
export type AuthFormChallengeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1134
|
+
/**
|
|
1135
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
1136
|
+
*/
|
|
1137
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
1138
|
+
/**
|
|
1139
|
+
* Omit specific fields from the AuthFormChallenge
|
|
1140
|
+
*/
|
|
1141
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
1142
|
+
/**
|
|
1143
|
+
* Choose, which related nodes to fetch as well
|
|
1144
|
+
*/
|
|
1145
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
1146
|
+
/**
|
|
1147
|
+
* The data needed to update a AuthFormChallenge.
|
|
1148
|
+
*/
|
|
1149
|
+
data: Prisma.XOR<Prisma.AuthFormChallengeUpdateInput, Prisma.AuthFormChallengeUncheckedUpdateInput>;
|
|
1150
|
+
/**
|
|
1151
|
+
* Choose, which AuthFormChallenge to update.
|
|
1152
|
+
*/
|
|
1153
|
+
where: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
1154
|
+
};
|
|
1155
|
+
/**
|
|
1156
|
+
* AuthFormChallenge updateMany
|
|
1157
|
+
*/
|
|
1158
|
+
export type AuthFormChallengeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1159
|
+
/**
|
|
1160
|
+
* The data used to update AuthFormChallenges.
|
|
1161
|
+
*/
|
|
1162
|
+
data: Prisma.XOR<Prisma.AuthFormChallengeUpdateManyMutationInput, Prisma.AuthFormChallengeUncheckedUpdateManyInput>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Filter which AuthFormChallenges to update
|
|
1165
|
+
*/
|
|
1166
|
+
where?: Prisma.AuthFormChallengeWhereInput;
|
|
1167
|
+
/**
|
|
1168
|
+
* Limit how many AuthFormChallenges to update.
|
|
1169
|
+
*/
|
|
1170
|
+
limit?: number;
|
|
1171
|
+
};
|
|
1172
|
+
/**
|
|
1173
|
+
* AuthFormChallenge updateManyAndReturn
|
|
1174
|
+
*/
|
|
1175
|
+
export type AuthFormChallengeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1176
|
+
/**
|
|
1177
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
1178
|
+
*/
|
|
1179
|
+
select?: Prisma.AuthFormChallengeSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* Omit specific fields from the AuthFormChallenge
|
|
1182
|
+
*/
|
|
1183
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
1184
|
+
/**
|
|
1185
|
+
* The data used to update AuthFormChallenges.
|
|
1186
|
+
*/
|
|
1187
|
+
data: Prisma.XOR<Prisma.AuthFormChallengeUpdateManyMutationInput, Prisma.AuthFormChallengeUncheckedUpdateManyInput>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Filter which AuthFormChallenges to update
|
|
1190
|
+
*/
|
|
1191
|
+
where?: Prisma.AuthFormChallengeWhereInput;
|
|
1192
|
+
/**
|
|
1193
|
+
* Limit how many AuthFormChallenges to update.
|
|
1194
|
+
*/
|
|
1195
|
+
limit?: number;
|
|
1196
|
+
/**
|
|
1197
|
+
* Choose, which related nodes to fetch as well
|
|
1198
|
+
*/
|
|
1199
|
+
include?: Prisma.AuthFormChallengeIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1200
|
+
};
|
|
1201
|
+
/**
|
|
1202
|
+
* AuthFormChallenge upsert
|
|
1203
|
+
*/
|
|
1204
|
+
export type AuthFormChallengeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1205
|
+
/**
|
|
1206
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
1207
|
+
*/
|
|
1208
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
1209
|
+
/**
|
|
1210
|
+
* Omit specific fields from the AuthFormChallenge
|
|
1211
|
+
*/
|
|
1212
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
1213
|
+
/**
|
|
1214
|
+
* Choose, which related nodes to fetch as well
|
|
1215
|
+
*/
|
|
1216
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
1217
|
+
/**
|
|
1218
|
+
* The filter to search for the AuthFormChallenge to update in case it exists.
|
|
1219
|
+
*/
|
|
1220
|
+
where: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
1221
|
+
/**
|
|
1222
|
+
* In case the AuthFormChallenge found by the `where` argument doesn't exist, create a new AuthFormChallenge with this data.
|
|
1223
|
+
*/
|
|
1224
|
+
create: Prisma.XOR<Prisma.AuthFormChallengeCreateInput, Prisma.AuthFormChallengeUncheckedCreateInput>;
|
|
1225
|
+
/**
|
|
1226
|
+
* In case the AuthFormChallenge was found with the provided `where` argument, update it with this data.
|
|
1227
|
+
*/
|
|
1228
|
+
update: Prisma.XOR<Prisma.AuthFormChallengeUpdateInput, Prisma.AuthFormChallengeUncheckedUpdateInput>;
|
|
1229
|
+
};
|
|
1230
|
+
/**
|
|
1231
|
+
* AuthFormChallenge delete
|
|
1232
|
+
*/
|
|
1233
|
+
export type AuthFormChallengeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1234
|
+
/**
|
|
1235
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
1236
|
+
*/
|
|
1237
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
1238
|
+
/**
|
|
1239
|
+
* Omit specific fields from the AuthFormChallenge
|
|
1240
|
+
*/
|
|
1241
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
1242
|
+
/**
|
|
1243
|
+
* Choose, which related nodes to fetch as well
|
|
1244
|
+
*/
|
|
1245
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
1246
|
+
/**
|
|
1247
|
+
* Filter which AuthFormChallenge to delete.
|
|
1248
|
+
*/
|
|
1249
|
+
where: Prisma.AuthFormChallengeWhereUniqueInput;
|
|
1250
|
+
};
|
|
1251
|
+
/**
|
|
1252
|
+
* AuthFormChallenge deleteMany
|
|
1253
|
+
*/
|
|
1254
|
+
export type AuthFormChallengeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1255
|
+
/**
|
|
1256
|
+
* Filter which AuthFormChallenges to delete
|
|
1257
|
+
*/
|
|
1258
|
+
where?: Prisma.AuthFormChallengeWhereInput;
|
|
1259
|
+
/**
|
|
1260
|
+
* Limit how many AuthFormChallenges to delete.
|
|
1261
|
+
*/
|
|
1262
|
+
limit?: number;
|
|
1263
|
+
};
|
|
1264
|
+
/**
|
|
1265
|
+
* AuthFormChallenge.session
|
|
1266
|
+
*/
|
|
1267
|
+
export type AuthFormChallenge$sessionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1268
|
+
/**
|
|
1269
|
+
* Select specific fields to fetch from the AuthSession
|
|
1270
|
+
*/
|
|
1271
|
+
select?: Prisma.AuthSessionSelect<ExtArgs> | null;
|
|
1272
|
+
/**
|
|
1273
|
+
* Omit specific fields from the AuthSession
|
|
1274
|
+
*/
|
|
1275
|
+
omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
|
|
1276
|
+
/**
|
|
1277
|
+
* Choose, which related nodes to fetch as well
|
|
1278
|
+
*/
|
|
1279
|
+
include?: Prisma.AuthSessionInclude<ExtArgs> | null;
|
|
1280
|
+
where?: Prisma.AuthSessionWhereInput;
|
|
1281
|
+
};
|
|
1282
|
+
/**
|
|
1283
|
+
* AuthFormChallenge without action
|
|
1284
|
+
*/
|
|
1285
|
+
export type AuthFormChallengeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1286
|
+
/**
|
|
1287
|
+
* Select specific fields to fetch from the AuthFormChallenge
|
|
1288
|
+
*/
|
|
1289
|
+
select?: Prisma.AuthFormChallengeSelect<ExtArgs> | null;
|
|
1290
|
+
/**
|
|
1291
|
+
* Omit specific fields from the AuthFormChallenge
|
|
1292
|
+
*/
|
|
1293
|
+
omit?: Prisma.AuthFormChallengeOmit<ExtArgs> | null;
|
|
1294
|
+
/**
|
|
1295
|
+
* Choose, which related nodes to fetch as well
|
|
1296
|
+
*/
|
|
1297
|
+
include?: Prisma.AuthFormChallengeInclude<ExtArgs> | null;
|
|
1298
|
+
};
|