@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,1700 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model AuthUser
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type AuthUserModel = runtime.Types.Result.DefaultSelection<Prisma.$AuthUserPayload>;
|
|
8
|
+
export type AggregateAuthUser = {
|
|
9
|
+
_count: AuthUserCountAggregateOutputType | null;
|
|
10
|
+
_min: AuthUserMinAggregateOutputType | null;
|
|
11
|
+
_max: AuthUserMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type AuthUserMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
principalId: string | null;
|
|
16
|
+
displayName: string | null;
|
|
17
|
+
status: string | null;
|
|
18
|
+
createdAt: Date | null;
|
|
19
|
+
updatedAt: Date | null;
|
|
20
|
+
};
|
|
21
|
+
export type AuthUserMaxAggregateOutputType = {
|
|
22
|
+
id: string | null;
|
|
23
|
+
principalId: string | null;
|
|
24
|
+
displayName: string | null;
|
|
25
|
+
status: string | null;
|
|
26
|
+
createdAt: Date | null;
|
|
27
|
+
updatedAt: Date | null;
|
|
28
|
+
};
|
|
29
|
+
export type AuthUserCountAggregateOutputType = {
|
|
30
|
+
id: number;
|
|
31
|
+
principalId: number;
|
|
32
|
+
displayName: number;
|
|
33
|
+
status: number;
|
|
34
|
+
roles: number;
|
|
35
|
+
createdAt: number;
|
|
36
|
+
updatedAt: number;
|
|
37
|
+
_all: number;
|
|
38
|
+
};
|
|
39
|
+
export type AuthUserMinAggregateInputType = {
|
|
40
|
+
id?: true;
|
|
41
|
+
principalId?: true;
|
|
42
|
+
displayName?: true;
|
|
43
|
+
status?: true;
|
|
44
|
+
createdAt?: true;
|
|
45
|
+
updatedAt?: true;
|
|
46
|
+
};
|
|
47
|
+
export type AuthUserMaxAggregateInputType = {
|
|
48
|
+
id?: true;
|
|
49
|
+
principalId?: true;
|
|
50
|
+
displayName?: true;
|
|
51
|
+
status?: true;
|
|
52
|
+
createdAt?: true;
|
|
53
|
+
updatedAt?: true;
|
|
54
|
+
};
|
|
55
|
+
export type AuthUserCountAggregateInputType = {
|
|
56
|
+
id?: true;
|
|
57
|
+
principalId?: true;
|
|
58
|
+
displayName?: true;
|
|
59
|
+
status?: true;
|
|
60
|
+
roles?: true;
|
|
61
|
+
createdAt?: true;
|
|
62
|
+
updatedAt?: true;
|
|
63
|
+
_all?: true;
|
|
64
|
+
};
|
|
65
|
+
export type AuthUserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
66
|
+
/**
|
|
67
|
+
* Filter which AuthUser to aggregate.
|
|
68
|
+
*/
|
|
69
|
+
where?: Prisma.AuthUserWhereInput;
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
72
|
+
*
|
|
73
|
+
* Determine the order of AuthUsers to fetch.
|
|
74
|
+
*/
|
|
75
|
+
orderBy?: Prisma.AuthUserOrderByWithRelationInput | Prisma.AuthUserOrderByWithRelationInput[];
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
78
|
+
*
|
|
79
|
+
* Sets the start position
|
|
80
|
+
*/
|
|
81
|
+
cursor?: Prisma.AuthUserWhereUniqueInput;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Take `±n` AuthUsers from the position of the cursor.
|
|
86
|
+
*/
|
|
87
|
+
take?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
90
|
+
*
|
|
91
|
+
* Skip the first `n` AuthUsers.
|
|
92
|
+
*/
|
|
93
|
+
skip?: number;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Count returned AuthUsers
|
|
98
|
+
**/
|
|
99
|
+
_count?: true | AuthUserCountAggregateInputType;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to find the minimum value
|
|
104
|
+
**/
|
|
105
|
+
_min?: AuthUserMinAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to find the maximum value
|
|
110
|
+
**/
|
|
111
|
+
_max?: AuthUserMaxAggregateInputType;
|
|
112
|
+
};
|
|
113
|
+
export type GetAuthUserAggregateType<T extends AuthUserAggregateArgs> = {
|
|
114
|
+
[P in keyof T & keyof AggregateAuthUser]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAuthUser[P]> : Prisma.GetScalarType<T[P], AggregateAuthUser[P]>;
|
|
115
|
+
};
|
|
116
|
+
export type AuthUserGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
117
|
+
where?: Prisma.AuthUserWhereInput;
|
|
118
|
+
orderBy?: Prisma.AuthUserOrderByWithAggregationInput | Prisma.AuthUserOrderByWithAggregationInput[];
|
|
119
|
+
by: Prisma.AuthUserScalarFieldEnum[] | Prisma.AuthUserScalarFieldEnum;
|
|
120
|
+
having?: Prisma.AuthUserScalarWhereWithAggregatesInput;
|
|
121
|
+
take?: number;
|
|
122
|
+
skip?: number;
|
|
123
|
+
_count?: AuthUserCountAggregateInputType | true;
|
|
124
|
+
_min?: AuthUserMinAggregateInputType;
|
|
125
|
+
_max?: AuthUserMaxAggregateInputType;
|
|
126
|
+
};
|
|
127
|
+
export type AuthUserGroupByOutputType = {
|
|
128
|
+
id: string;
|
|
129
|
+
principalId: string;
|
|
130
|
+
displayName: string | null;
|
|
131
|
+
status: string;
|
|
132
|
+
roles: string[];
|
|
133
|
+
createdAt: Date;
|
|
134
|
+
updatedAt: Date;
|
|
135
|
+
_count: AuthUserCountAggregateOutputType | null;
|
|
136
|
+
_min: AuthUserMinAggregateOutputType | null;
|
|
137
|
+
_max: AuthUserMaxAggregateOutputType | null;
|
|
138
|
+
};
|
|
139
|
+
export type GetAuthUserGroupByPayload<T extends AuthUserGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<AuthUserGroupByOutputType, T['by']> & {
|
|
140
|
+
[P in ((keyof T) & (keyof AuthUserGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], AuthUserGroupByOutputType[P]> : Prisma.GetScalarType<T[P], AuthUserGroupByOutputType[P]>;
|
|
141
|
+
}>>;
|
|
142
|
+
export type AuthUserWhereInput = {
|
|
143
|
+
AND?: Prisma.AuthUserWhereInput | Prisma.AuthUserWhereInput[];
|
|
144
|
+
OR?: Prisma.AuthUserWhereInput[];
|
|
145
|
+
NOT?: Prisma.AuthUserWhereInput | Prisma.AuthUserWhereInput[];
|
|
146
|
+
id?: Prisma.StringFilter<"AuthUser"> | string;
|
|
147
|
+
principalId?: Prisma.StringFilter<"AuthUser"> | string;
|
|
148
|
+
displayName?: Prisma.StringNullableFilter<"AuthUser"> | string | null;
|
|
149
|
+
status?: Prisma.StringFilter<"AuthUser"> | string;
|
|
150
|
+
roles?: Prisma.StringNullableListFilter<"AuthUser">;
|
|
151
|
+
createdAt?: Prisma.DateTimeFilter<"AuthUser"> | Date | string;
|
|
152
|
+
updatedAt?: Prisma.DateTimeFilter<"AuthUser"> | Date | string;
|
|
153
|
+
principal?: Prisma.XOR<Prisma.PrincipalScalarRelationFilter, Prisma.PrincipalWhereInput>;
|
|
154
|
+
loginKeys?: Prisma.AuthLoginKeyListRelationFilter;
|
|
155
|
+
sessions?: Prisma.AuthSessionListRelationFilter;
|
|
156
|
+
codes?: Prisma.OAuthAuthorizationCodeListRelationFilter;
|
|
157
|
+
families?: Prisma.OAuthFamilyListRelationFilter;
|
|
158
|
+
};
|
|
159
|
+
export type AuthUserOrderByWithRelationInput = {
|
|
160
|
+
id?: Prisma.SortOrder;
|
|
161
|
+
principalId?: Prisma.SortOrder;
|
|
162
|
+
displayName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
163
|
+
status?: Prisma.SortOrder;
|
|
164
|
+
roles?: Prisma.SortOrder;
|
|
165
|
+
createdAt?: Prisma.SortOrder;
|
|
166
|
+
updatedAt?: Prisma.SortOrder;
|
|
167
|
+
principal?: Prisma.PrincipalOrderByWithRelationInput;
|
|
168
|
+
loginKeys?: Prisma.AuthLoginKeyOrderByRelationAggregateInput;
|
|
169
|
+
sessions?: Prisma.AuthSessionOrderByRelationAggregateInput;
|
|
170
|
+
codes?: Prisma.OAuthAuthorizationCodeOrderByRelationAggregateInput;
|
|
171
|
+
families?: Prisma.OAuthFamilyOrderByRelationAggregateInput;
|
|
172
|
+
};
|
|
173
|
+
export type AuthUserWhereUniqueInput = Prisma.AtLeast<{
|
|
174
|
+
id?: string;
|
|
175
|
+
principalId?: string;
|
|
176
|
+
AND?: Prisma.AuthUserWhereInput | Prisma.AuthUserWhereInput[];
|
|
177
|
+
OR?: Prisma.AuthUserWhereInput[];
|
|
178
|
+
NOT?: Prisma.AuthUserWhereInput | Prisma.AuthUserWhereInput[];
|
|
179
|
+
displayName?: Prisma.StringNullableFilter<"AuthUser"> | string | null;
|
|
180
|
+
status?: Prisma.StringFilter<"AuthUser"> | string;
|
|
181
|
+
roles?: Prisma.StringNullableListFilter<"AuthUser">;
|
|
182
|
+
createdAt?: Prisma.DateTimeFilter<"AuthUser"> | Date | string;
|
|
183
|
+
updatedAt?: Prisma.DateTimeFilter<"AuthUser"> | Date | string;
|
|
184
|
+
principal?: Prisma.XOR<Prisma.PrincipalScalarRelationFilter, Prisma.PrincipalWhereInput>;
|
|
185
|
+
loginKeys?: Prisma.AuthLoginKeyListRelationFilter;
|
|
186
|
+
sessions?: Prisma.AuthSessionListRelationFilter;
|
|
187
|
+
codes?: Prisma.OAuthAuthorizationCodeListRelationFilter;
|
|
188
|
+
families?: Prisma.OAuthFamilyListRelationFilter;
|
|
189
|
+
}, "id" | "principalId">;
|
|
190
|
+
export type AuthUserOrderByWithAggregationInput = {
|
|
191
|
+
id?: Prisma.SortOrder;
|
|
192
|
+
principalId?: Prisma.SortOrder;
|
|
193
|
+
displayName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
194
|
+
status?: Prisma.SortOrder;
|
|
195
|
+
roles?: Prisma.SortOrder;
|
|
196
|
+
createdAt?: Prisma.SortOrder;
|
|
197
|
+
updatedAt?: Prisma.SortOrder;
|
|
198
|
+
_count?: Prisma.AuthUserCountOrderByAggregateInput;
|
|
199
|
+
_max?: Prisma.AuthUserMaxOrderByAggregateInput;
|
|
200
|
+
_min?: Prisma.AuthUserMinOrderByAggregateInput;
|
|
201
|
+
};
|
|
202
|
+
export type AuthUserScalarWhereWithAggregatesInput = {
|
|
203
|
+
AND?: Prisma.AuthUserScalarWhereWithAggregatesInput | Prisma.AuthUserScalarWhereWithAggregatesInput[];
|
|
204
|
+
OR?: Prisma.AuthUserScalarWhereWithAggregatesInput[];
|
|
205
|
+
NOT?: Prisma.AuthUserScalarWhereWithAggregatesInput | Prisma.AuthUserScalarWhereWithAggregatesInput[];
|
|
206
|
+
id?: Prisma.StringWithAggregatesFilter<"AuthUser"> | string;
|
|
207
|
+
principalId?: Prisma.StringWithAggregatesFilter<"AuthUser"> | string;
|
|
208
|
+
displayName?: Prisma.StringNullableWithAggregatesFilter<"AuthUser"> | string | null;
|
|
209
|
+
status?: Prisma.StringWithAggregatesFilter<"AuthUser"> | string;
|
|
210
|
+
roles?: Prisma.StringNullableListFilter<"AuthUser">;
|
|
211
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AuthUser"> | Date | string;
|
|
212
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AuthUser"> | Date | string;
|
|
213
|
+
};
|
|
214
|
+
export type AuthUserCreateInput = {
|
|
215
|
+
id?: string;
|
|
216
|
+
displayName?: string | null;
|
|
217
|
+
status?: string;
|
|
218
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
219
|
+
createdAt?: Date | string;
|
|
220
|
+
updatedAt?: Date | string;
|
|
221
|
+
principal: Prisma.PrincipalCreateNestedOneWithoutAuthUserInput;
|
|
222
|
+
loginKeys?: Prisma.AuthLoginKeyCreateNestedManyWithoutUserInput;
|
|
223
|
+
sessions?: Prisma.AuthSessionCreateNestedManyWithoutUserInput;
|
|
224
|
+
codes?: Prisma.OAuthAuthorizationCodeCreateNestedManyWithoutUserInput;
|
|
225
|
+
families?: Prisma.OAuthFamilyCreateNestedManyWithoutUserInput;
|
|
226
|
+
};
|
|
227
|
+
export type AuthUserUncheckedCreateInput = {
|
|
228
|
+
id?: string;
|
|
229
|
+
principalId: string;
|
|
230
|
+
displayName?: string | null;
|
|
231
|
+
status?: string;
|
|
232
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
233
|
+
createdAt?: Date | string;
|
|
234
|
+
updatedAt?: Date | string;
|
|
235
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
236
|
+
sessions?: Prisma.AuthSessionUncheckedCreateNestedManyWithoutUserInput;
|
|
237
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedCreateNestedManyWithoutUserInput;
|
|
238
|
+
families?: Prisma.OAuthFamilyUncheckedCreateNestedManyWithoutUserInput;
|
|
239
|
+
};
|
|
240
|
+
export type AuthUserUpdateInput = {
|
|
241
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
242
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
243
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
244
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
245
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
246
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
247
|
+
principal?: Prisma.PrincipalUpdateOneRequiredWithoutAuthUserNestedInput;
|
|
248
|
+
loginKeys?: Prisma.AuthLoginKeyUpdateManyWithoutUserNestedInput;
|
|
249
|
+
sessions?: Prisma.AuthSessionUpdateManyWithoutUserNestedInput;
|
|
250
|
+
codes?: Prisma.OAuthAuthorizationCodeUpdateManyWithoutUserNestedInput;
|
|
251
|
+
families?: Prisma.OAuthFamilyUpdateManyWithoutUserNestedInput;
|
|
252
|
+
};
|
|
253
|
+
export type AuthUserUncheckedUpdateInput = {
|
|
254
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
255
|
+
principalId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
256
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
257
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
258
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
259
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
260
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
261
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
262
|
+
sessions?: Prisma.AuthSessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
263
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedUpdateManyWithoutUserNestedInput;
|
|
264
|
+
families?: Prisma.OAuthFamilyUncheckedUpdateManyWithoutUserNestedInput;
|
|
265
|
+
};
|
|
266
|
+
export type AuthUserCreateManyInput = {
|
|
267
|
+
id?: string;
|
|
268
|
+
principalId: string;
|
|
269
|
+
displayName?: string | null;
|
|
270
|
+
status?: string;
|
|
271
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
272
|
+
createdAt?: Date | string;
|
|
273
|
+
updatedAt?: Date | string;
|
|
274
|
+
};
|
|
275
|
+
export type AuthUserUpdateManyMutationInput = {
|
|
276
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
277
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
278
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
279
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
280
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
281
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
282
|
+
};
|
|
283
|
+
export type AuthUserUncheckedUpdateManyInput = {
|
|
284
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
285
|
+
principalId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
286
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
287
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
288
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
289
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
290
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
291
|
+
};
|
|
292
|
+
export type AuthUserNullableScalarRelationFilter = {
|
|
293
|
+
is?: Prisma.AuthUserWhereInput | null;
|
|
294
|
+
isNot?: Prisma.AuthUserWhereInput | null;
|
|
295
|
+
};
|
|
296
|
+
export type AuthUserCountOrderByAggregateInput = {
|
|
297
|
+
id?: Prisma.SortOrder;
|
|
298
|
+
principalId?: Prisma.SortOrder;
|
|
299
|
+
displayName?: Prisma.SortOrder;
|
|
300
|
+
status?: Prisma.SortOrder;
|
|
301
|
+
roles?: Prisma.SortOrder;
|
|
302
|
+
createdAt?: Prisma.SortOrder;
|
|
303
|
+
updatedAt?: Prisma.SortOrder;
|
|
304
|
+
};
|
|
305
|
+
export type AuthUserMaxOrderByAggregateInput = {
|
|
306
|
+
id?: Prisma.SortOrder;
|
|
307
|
+
principalId?: Prisma.SortOrder;
|
|
308
|
+
displayName?: Prisma.SortOrder;
|
|
309
|
+
status?: Prisma.SortOrder;
|
|
310
|
+
createdAt?: Prisma.SortOrder;
|
|
311
|
+
updatedAt?: Prisma.SortOrder;
|
|
312
|
+
};
|
|
313
|
+
export type AuthUserMinOrderByAggregateInput = {
|
|
314
|
+
id?: Prisma.SortOrder;
|
|
315
|
+
principalId?: Prisma.SortOrder;
|
|
316
|
+
displayName?: Prisma.SortOrder;
|
|
317
|
+
status?: Prisma.SortOrder;
|
|
318
|
+
createdAt?: Prisma.SortOrder;
|
|
319
|
+
updatedAt?: Prisma.SortOrder;
|
|
320
|
+
};
|
|
321
|
+
export type AuthUserScalarRelationFilter = {
|
|
322
|
+
is?: Prisma.AuthUserWhereInput;
|
|
323
|
+
isNot?: Prisma.AuthUserWhereInput;
|
|
324
|
+
};
|
|
325
|
+
export type AuthUserCreateNestedOneWithoutPrincipalInput = {
|
|
326
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutPrincipalInput, Prisma.AuthUserUncheckedCreateWithoutPrincipalInput>;
|
|
327
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutPrincipalInput;
|
|
328
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
329
|
+
};
|
|
330
|
+
export type AuthUserUncheckedCreateNestedOneWithoutPrincipalInput = {
|
|
331
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutPrincipalInput, Prisma.AuthUserUncheckedCreateWithoutPrincipalInput>;
|
|
332
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutPrincipalInput;
|
|
333
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
334
|
+
};
|
|
335
|
+
export type AuthUserUpdateOneWithoutPrincipalNestedInput = {
|
|
336
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutPrincipalInput, Prisma.AuthUserUncheckedCreateWithoutPrincipalInput>;
|
|
337
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutPrincipalInput;
|
|
338
|
+
upsert?: Prisma.AuthUserUpsertWithoutPrincipalInput;
|
|
339
|
+
disconnect?: Prisma.AuthUserWhereInput | boolean;
|
|
340
|
+
delete?: Prisma.AuthUserWhereInput | boolean;
|
|
341
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
342
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AuthUserUpdateToOneWithWhereWithoutPrincipalInput, Prisma.AuthUserUpdateWithoutPrincipalInput>, Prisma.AuthUserUncheckedUpdateWithoutPrincipalInput>;
|
|
343
|
+
};
|
|
344
|
+
export type AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput = {
|
|
345
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutPrincipalInput, Prisma.AuthUserUncheckedCreateWithoutPrincipalInput>;
|
|
346
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutPrincipalInput;
|
|
347
|
+
upsert?: Prisma.AuthUserUpsertWithoutPrincipalInput;
|
|
348
|
+
disconnect?: Prisma.AuthUserWhereInput | boolean;
|
|
349
|
+
delete?: Prisma.AuthUserWhereInput | boolean;
|
|
350
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
351
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AuthUserUpdateToOneWithWhereWithoutPrincipalInput, Prisma.AuthUserUpdateWithoutPrincipalInput>, Prisma.AuthUserUncheckedUpdateWithoutPrincipalInput>;
|
|
352
|
+
};
|
|
353
|
+
export type AuthUserCreaterolesInput = {
|
|
354
|
+
set: string[];
|
|
355
|
+
};
|
|
356
|
+
export type AuthUserUpdaterolesInput = {
|
|
357
|
+
set?: string[];
|
|
358
|
+
push?: string | string[];
|
|
359
|
+
};
|
|
360
|
+
export type AuthUserCreateNestedOneWithoutLoginKeysInput = {
|
|
361
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutLoginKeysInput, Prisma.AuthUserUncheckedCreateWithoutLoginKeysInput>;
|
|
362
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutLoginKeysInput;
|
|
363
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
364
|
+
};
|
|
365
|
+
export type AuthUserUpdateOneRequiredWithoutLoginKeysNestedInput = {
|
|
366
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutLoginKeysInput, Prisma.AuthUserUncheckedCreateWithoutLoginKeysInput>;
|
|
367
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutLoginKeysInput;
|
|
368
|
+
upsert?: Prisma.AuthUserUpsertWithoutLoginKeysInput;
|
|
369
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
370
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AuthUserUpdateToOneWithWhereWithoutLoginKeysInput, Prisma.AuthUserUpdateWithoutLoginKeysInput>, Prisma.AuthUserUncheckedUpdateWithoutLoginKeysInput>;
|
|
371
|
+
};
|
|
372
|
+
export type AuthUserCreateNestedOneWithoutSessionsInput = {
|
|
373
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutSessionsInput, Prisma.AuthUserUncheckedCreateWithoutSessionsInput>;
|
|
374
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutSessionsInput;
|
|
375
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
376
|
+
};
|
|
377
|
+
export type AuthUserUpdateOneRequiredWithoutSessionsNestedInput = {
|
|
378
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutSessionsInput, Prisma.AuthUserUncheckedCreateWithoutSessionsInput>;
|
|
379
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutSessionsInput;
|
|
380
|
+
upsert?: Prisma.AuthUserUpsertWithoutSessionsInput;
|
|
381
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
382
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AuthUserUpdateToOneWithWhereWithoutSessionsInput, Prisma.AuthUserUpdateWithoutSessionsInput>, Prisma.AuthUserUncheckedUpdateWithoutSessionsInput>;
|
|
383
|
+
};
|
|
384
|
+
export type AuthUserCreateNestedOneWithoutCodesInput = {
|
|
385
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutCodesInput, Prisma.AuthUserUncheckedCreateWithoutCodesInput>;
|
|
386
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutCodesInput;
|
|
387
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
388
|
+
};
|
|
389
|
+
export type AuthUserUpdateOneRequiredWithoutCodesNestedInput = {
|
|
390
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutCodesInput, Prisma.AuthUserUncheckedCreateWithoutCodesInput>;
|
|
391
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutCodesInput;
|
|
392
|
+
upsert?: Prisma.AuthUserUpsertWithoutCodesInput;
|
|
393
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
394
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AuthUserUpdateToOneWithWhereWithoutCodesInput, Prisma.AuthUserUpdateWithoutCodesInput>, Prisma.AuthUserUncheckedUpdateWithoutCodesInput>;
|
|
395
|
+
};
|
|
396
|
+
export type AuthUserCreateNestedOneWithoutFamiliesInput = {
|
|
397
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutFamiliesInput, Prisma.AuthUserUncheckedCreateWithoutFamiliesInput>;
|
|
398
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutFamiliesInput;
|
|
399
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
400
|
+
};
|
|
401
|
+
export type AuthUserUpdateOneRequiredWithoutFamiliesNestedInput = {
|
|
402
|
+
create?: Prisma.XOR<Prisma.AuthUserCreateWithoutFamiliesInput, Prisma.AuthUserUncheckedCreateWithoutFamiliesInput>;
|
|
403
|
+
connectOrCreate?: Prisma.AuthUserCreateOrConnectWithoutFamiliesInput;
|
|
404
|
+
upsert?: Prisma.AuthUserUpsertWithoutFamiliesInput;
|
|
405
|
+
connect?: Prisma.AuthUserWhereUniqueInput;
|
|
406
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AuthUserUpdateToOneWithWhereWithoutFamiliesInput, Prisma.AuthUserUpdateWithoutFamiliesInput>, Prisma.AuthUserUncheckedUpdateWithoutFamiliesInput>;
|
|
407
|
+
};
|
|
408
|
+
export type AuthUserCreateWithoutPrincipalInput = {
|
|
409
|
+
id?: string;
|
|
410
|
+
displayName?: string | null;
|
|
411
|
+
status?: string;
|
|
412
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
413
|
+
createdAt?: Date | string;
|
|
414
|
+
updatedAt?: Date | string;
|
|
415
|
+
loginKeys?: Prisma.AuthLoginKeyCreateNestedManyWithoutUserInput;
|
|
416
|
+
sessions?: Prisma.AuthSessionCreateNestedManyWithoutUserInput;
|
|
417
|
+
codes?: Prisma.OAuthAuthorizationCodeCreateNestedManyWithoutUserInput;
|
|
418
|
+
families?: Prisma.OAuthFamilyCreateNestedManyWithoutUserInput;
|
|
419
|
+
};
|
|
420
|
+
export type AuthUserUncheckedCreateWithoutPrincipalInput = {
|
|
421
|
+
id?: string;
|
|
422
|
+
displayName?: string | null;
|
|
423
|
+
status?: string;
|
|
424
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
425
|
+
createdAt?: Date | string;
|
|
426
|
+
updatedAt?: Date | string;
|
|
427
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
428
|
+
sessions?: Prisma.AuthSessionUncheckedCreateNestedManyWithoutUserInput;
|
|
429
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedCreateNestedManyWithoutUserInput;
|
|
430
|
+
families?: Prisma.OAuthFamilyUncheckedCreateNestedManyWithoutUserInput;
|
|
431
|
+
};
|
|
432
|
+
export type AuthUserCreateOrConnectWithoutPrincipalInput = {
|
|
433
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
434
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutPrincipalInput, Prisma.AuthUserUncheckedCreateWithoutPrincipalInput>;
|
|
435
|
+
};
|
|
436
|
+
export type AuthUserUpsertWithoutPrincipalInput = {
|
|
437
|
+
update: Prisma.XOR<Prisma.AuthUserUpdateWithoutPrincipalInput, Prisma.AuthUserUncheckedUpdateWithoutPrincipalInput>;
|
|
438
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutPrincipalInput, Prisma.AuthUserUncheckedCreateWithoutPrincipalInput>;
|
|
439
|
+
where?: Prisma.AuthUserWhereInput;
|
|
440
|
+
};
|
|
441
|
+
export type AuthUserUpdateToOneWithWhereWithoutPrincipalInput = {
|
|
442
|
+
where?: Prisma.AuthUserWhereInput;
|
|
443
|
+
data: Prisma.XOR<Prisma.AuthUserUpdateWithoutPrincipalInput, Prisma.AuthUserUncheckedUpdateWithoutPrincipalInput>;
|
|
444
|
+
};
|
|
445
|
+
export type AuthUserUpdateWithoutPrincipalInput = {
|
|
446
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
447
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
448
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
449
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
450
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
451
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
452
|
+
loginKeys?: Prisma.AuthLoginKeyUpdateManyWithoutUserNestedInput;
|
|
453
|
+
sessions?: Prisma.AuthSessionUpdateManyWithoutUserNestedInput;
|
|
454
|
+
codes?: Prisma.OAuthAuthorizationCodeUpdateManyWithoutUserNestedInput;
|
|
455
|
+
families?: Prisma.OAuthFamilyUpdateManyWithoutUserNestedInput;
|
|
456
|
+
};
|
|
457
|
+
export type AuthUserUncheckedUpdateWithoutPrincipalInput = {
|
|
458
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
459
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
460
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
461
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
462
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
463
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
464
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
465
|
+
sessions?: Prisma.AuthSessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
466
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedUpdateManyWithoutUserNestedInput;
|
|
467
|
+
families?: Prisma.OAuthFamilyUncheckedUpdateManyWithoutUserNestedInput;
|
|
468
|
+
};
|
|
469
|
+
export type AuthUserCreateWithoutLoginKeysInput = {
|
|
470
|
+
id?: string;
|
|
471
|
+
displayName?: string | null;
|
|
472
|
+
status?: string;
|
|
473
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
474
|
+
createdAt?: Date | string;
|
|
475
|
+
updatedAt?: Date | string;
|
|
476
|
+
principal: Prisma.PrincipalCreateNestedOneWithoutAuthUserInput;
|
|
477
|
+
sessions?: Prisma.AuthSessionCreateNestedManyWithoutUserInput;
|
|
478
|
+
codes?: Prisma.OAuthAuthorizationCodeCreateNestedManyWithoutUserInput;
|
|
479
|
+
families?: Prisma.OAuthFamilyCreateNestedManyWithoutUserInput;
|
|
480
|
+
};
|
|
481
|
+
export type AuthUserUncheckedCreateWithoutLoginKeysInput = {
|
|
482
|
+
id?: string;
|
|
483
|
+
principalId: string;
|
|
484
|
+
displayName?: string | null;
|
|
485
|
+
status?: string;
|
|
486
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
487
|
+
createdAt?: Date | string;
|
|
488
|
+
updatedAt?: Date | string;
|
|
489
|
+
sessions?: Prisma.AuthSessionUncheckedCreateNestedManyWithoutUserInput;
|
|
490
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedCreateNestedManyWithoutUserInput;
|
|
491
|
+
families?: Prisma.OAuthFamilyUncheckedCreateNestedManyWithoutUserInput;
|
|
492
|
+
};
|
|
493
|
+
export type AuthUserCreateOrConnectWithoutLoginKeysInput = {
|
|
494
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
495
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutLoginKeysInput, Prisma.AuthUserUncheckedCreateWithoutLoginKeysInput>;
|
|
496
|
+
};
|
|
497
|
+
export type AuthUserUpsertWithoutLoginKeysInput = {
|
|
498
|
+
update: Prisma.XOR<Prisma.AuthUserUpdateWithoutLoginKeysInput, Prisma.AuthUserUncheckedUpdateWithoutLoginKeysInput>;
|
|
499
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutLoginKeysInput, Prisma.AuthUserUncheckedCreateWithoutLoginKeysInput>;
|
|
500
|
+
where?: Prisma.AuthUserWhereInput;
|
|
501
|
+
};
|
|
502
|
+
export type AuthUserUpdateToOneWithWhereWithoutLoginKeysInput = {
|
|
503
|
+
where?: Prisma.AuthUserWhereInput;
|
|
504
|
+
data: Prisma.XOR<Prisma.AuthUserUpdateWithoutLoginKeysInput, Prisma.AuthUserUncheckedUpdateWithoutLoginKeysInput>;
|
|
505
|
+
};
|
|
506
|
+
export type AuthUserUpdateWithoutLoginKeysInput = {
|
|
507
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
508
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
509
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
510
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
511
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
512
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
513
|
+
principal?: Prisma.PrincipalUpdateOneRequiredWithoutAuthUserNestedInput;
|
|
514
|
+
sessions?: Prisma.AuthSessionUpdateManyWithoutUserNestedInput;
|
|
515
|
+
codes?: Prisma.OAuthAuthorizationCodeUpdateManyWithoutUserNestedInput;
|
|
516
|
+
families?: Prisma.OAuthFamilyUpdateManyWithoutUserNestedInput;
|
|
517
|
+
};
|
|
518
|
+
export type AuthUserUncheckedUpdateWithoutLoginKeysInput = {
|
|
519
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
520
|
+
principalId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
521
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
522
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
523
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
524
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
525
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
526
|
+
sessions?: Prisma.AuthSessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
527
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedUpdateManyWithoutUserNestedInput;
|
|
528
|
+
families?: Prisma.OAuthFamilyUncheckedUpdateManyWithoutUserNestedInput;
|
|
529
|
+
};
|
|
530
|
+
export type AuthUserCreateWithoutSessionsInput = {
|
|
531
|
+
id?: string;
|
|
532
|
+
displayName?: string | null;
|
|
533
|
+
status?: string;
|
|
534
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
535
|
+
createdAt?: Date | string;
|
|
536
|
+
updatedAt?: Date | string;
|
|
537
|
+
principal: Prisma.PrincipalCreateNestedOneWithoutAuthUserInput;
|
|
538
|
+
loginKeys?: Prisma.AuthLoginKeyCreateNestedManyWithoutUserInput;
|
|
539
|
+
codes?: Prisma.OAuthAuthorizationCodeCreateNestedManyWithoutUserInput;
|
|
540
|
+
families?: Prisma.OAuthFamilyCreateNestedManyWithoutUserInput;
|
|
541
|
+
};
|
|
542
|
+
export type AuthUserUncheckedCreateWithoutSessionsInput = {
|
|
543
|
+
id?: string;
|
|
544
|
+
principalId: string;
|
|
545
|
+
displayName?: string | null;
|
|
546
|
+
status?: string;
|
|
547
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
548
|
+
createdAt?: Date | string;
|
|
549
|
+
updatedAt?: Date | string;
|
|
550
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
551
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedCreateNestedManyWithoutUserInput;
|
|
552
|
+
families?: Prisma.OAuthFamilyUncheckedCreateNestedManyWithoutUserInput;
|
|
553
|
+
};
|
|
554
|
+
export type AuthUserCreateOrConnectWithoutSessionsInput = {
|
|
555
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
556
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutSessionsInput, Prisma.AuthUserUncheckedCreateWithoutSessionsInput>;
|
|
557
|
+
};
|
|
558
|
+
export type AuthUserUpsertWithoutSessionsInput = {
|
|
559
|
+
update: Prisma.XOR<Prisma.AuthUserUpdateWithoutSessionsInput, Prisma.AuthUserUncheckedUpdateWithoutSessionsInput>;
|
|
560
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutSessionsInput, Prisma.AuthUserUncheckedCreateWithoutSessionsInput>;
|
|
561
|
+
where?: Prisma.AuthUserWhereInput;
|
|
562
|
+
};
|
|
563
|
+
export type AuthUserUpdateToOneWithWhereWithoutSessionsInput = {
|
|
564
|
+
where?: Prisma.AuthUserWhereInput;
|
|
565
|
+
data: Prisma.XOR<Prisma.AuthUserUpdateWithoutSessionsInput, Prisma.AuthUserUncheckedUpdateWithoutSessionsInput>;
|
|
566
|
+
};
|
|
567
|
+
export type AuthUserUpdateWithoutSessionsInput = {
|
|
568
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
569
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
570
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
571
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
572
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
573
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
574
|
+
principal?: Prisma.PrincipalUpdateOneRequiredWithoutAuthUserNestedInput;
|
|
575
|
+
loginKeys?: Prisma.AuthLoginKeyUpdateManyWithoutUserNestedInput;
|
|
576
|
+
codes?: Prisma.OAuthAuthorizationCodeUpdateManyWithoutUserNestedInput;
|
|
577
|
+
families?: Prisma.OAuthFamilyUpdateManyWithoutUserNestedInput;
|
|
578
|
+
};
|
|
579
|
+
export type AuthUserUncheckedUpdateWithoutSessionsInput = {
|
|
580
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
581
|
+
principalId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
582
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
583
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
584
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
585
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
586
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
587
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
588
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedUpdateManyWithoutUserNestedInput;
|
|
589
|
+
families?: Prisma.OAuthFamilyUncheckedUpdateManyWithoutUserNestedInput;
|
|
590
|
+
};
|
|
591
|
+
export type AuthUserCreateWithoutCodesInput = {
|
|
592
|
+
id?: string;
|
|
593
|
+
displayName?: string | null;
|
|
594
|
+
status?: string;
|
|
595
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
596
|
+
createdAt?: Date | string;
|
|
597
|
+
updatedAt?: Date | string;
|
|
598
|
+
principal: Prisma.PrincipalCreateNestedOneWithoutAuthUserInput;
|
|
599
|
+
loginKeys?: Prisma.AuthLoginKeyCreateNestedManyWithoutUserInput;
|
|
600
|
+
sessions?: Prisma.AuthSessionCreateNestedManyWithoutUserInput;
|
|
601
|
+
families?: Prisma.OAuthFamilyCreateNestedManyWithoutUserInput;
|
|
602
|
+
};
|
|
603
|
+
export type AuthUserUncheckedCreateWithoutCodesInput = {
|
|
604
|
+
id?: string;
|
|
605
|
+
principalId: string;
|
|
606
|
+
displayName?: string | null;
|
|
607
|
+
status?: string;
|
|
608
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
609
|
+
createdAt?: Date | string;
|
|
610
|
+
updatedAt?: Date | string;
|
|
611
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
612
|
+
sessions?: Prisma.AuthSessionUncheckedCreateNestedManyWithoutUserInput;
|
|
613
|
+
families?: Prisma.OAuthFamilyUncheckedCreateNestedManyWithoutUserInput;
|
|
614
|
+
};
|
|
615
|
+
export type AuthUserCreateOrConnectWithoutCodesInput = {
|
|
616
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
617
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutCodesInput, Prisma.AuthUserUncheckedCreateWithoutCodesInput>;
|
|
618
|
+
};
|
|
619
|
+
export type AuthUserUpsertWithoutCodesInput = {
|
|
620
|
+
update: Prisma.XOR<Prisma.AuthUserUpdateWithoutCodesInput, Prisma.AuthUserUncheckedUpdateWithoutCodesInput>;
|
|
621
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutCodesInput, Prisma.AuthUserUncheckedCreateWithoutCodesInput>;
|
|
622
|
+
where?: Prisma.AuthUserWhereInput;
|
|
623
|
+
};
|
|
624
|
+
export type AuthUserUpdateToOneWithWhereWithoutCodesInput = {
|
|
625
|
+
where?: Prisma.AuthUserWhereInput;
|
|
626
|
+
data: Prisma.XOR<Prisma.AuthUserUpdateWithoutCodesInput, Prisma.AuthUserUncheckedUpdateWithoutCodesInput>;
|
|
627
|
+
};
|
|
628
|
+
export type AuthUserUpdateWithoutCodesInput = {
|
|
629
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
630
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
631
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
632
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
633
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
634
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
635
|
+
principal?: Prisma.PrincipalUpdateOneRequiredWithoutAuthUserNestedInput;
|
|
636
|
+
loginKeys?: Prisma.AuthLoginKeyUpdateManyWithoutUserNestedInput;
|
|
637
|
+
sessions?: Prisma.AuthSessionUpdateManyWithoutUserNestedInput;
|
|
638
|
+
families?: Prisma.OAuthFamilyUpdateManyWithoutUserNestedInput;
|
|
639
|
+
};
|
|
640
|
+
export type AuthUserUncheckedUpdateWithoutCodesInput = {
|
|
641
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
642
|
+
principalId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
643
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
644
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
645
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
646
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
647
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
648
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
649
|
+
sessions?: Prisma.AuthSessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
650
|
+
families?: Prisma.OAuthFamilyUncheckedUpdateManyWithoutUserNestedInput;
|
|
651
|
+
};
|
|
652
|
+
export type AuthUserCreateWithoutFamiliesInput = {
|
|
653
|
+
id?: string;
|
|
654
|
+
displayName?: string | null;
|
|
655
|
+
status?: string;
|
|
656
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
657
|
+
createdAt?: Date | string;
|
|
658
|
+
updatedAt?: Date | string;
|
|
659
|
+
principal: Prisma.PrincipalCreateNestedOneWithoutAuthUserInput;
|
|
660
|
+
loginKeys?: Prisma.AuthLoginKeyCreateNestedManyWithoutUserInput;
|
|
661
|
+
sessions?: Prisma.AuthSessionCreateNestedManyWithoutUserInput;
|
|
662
|
+
codes?: Prisma.OAuthAuthorizationCodeCreateNestedManyWithoutUserInput;
|
|
663
|
+
};
|
|
664
|
+
export type AuthUserUncheckedCreateWithoutFamiliesInput = {
|
|
665
|
+
id?: string;
|
|
666
|
+
principalId: string;
|
|
667
|
+
displayName?: string | null;
|
|
668
|
+
status?: string;
|
|
669
|
+
roles?: Prisma.AuthUserCreaterolesInput | string[];
|
|
670
|
+
createdAt?: Date | string;
|
|
671
|
+
updatedAt?: Date | string;
|
|
672
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedCreateNestedManyWithoutUserInput;
|
|
673
|
+
sessions?: Prisma.AuthSessionUncheckedCreateNestedManyWithoutUserInput;
|
|
674
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedCreateNestedManyWithoutUserInput;
|
|
675
|
+
};
|
|
676
|
+
export type AuthUserCreateOrConnectWithoutFamiliesInput = {
|
|
677
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
678
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutFamiliesInput, Prisma.AuthUserUncheckedCreateWithoutFamiliesInput>;
|
|
679
|
+
};
|
|
680
|
+
export type AuthUserUpsertWithoutFamiliesInput = {
|
|
681
|
+
update: Prisma.XOR<Prisma.AuthUserUpdateWithoutFamiliesInput, Prisma.AuthUserUncheckedUpdateWithoutFamiliesInput>;
|
|
682
|
+
create: Prisma.XOR<Prisma.AuthUserCreateWithoutFamiliesInput, Prisma.AuthUserUncheckedCreateWithoutFamiliesInput>;
|
|
683
|
+
where?: Prisma.AuthUserWhereInput;
|
|
684
|
+
};
|
|
685
|
+
export type AuthUserUpdateToOneWithWhereWithoutFamiliesInput = {
|
|
686
|
+
where?: Prisma.AuthUserWhereInput;
|
|
687
|
+
data: Prisma.XOR<Prisma.AuthUserUpdateWithoutFamiliesInput, Prisma.AuthUserUncheckedUpdateWithoutFamiliesInput>;
|
|
688
|
+
};
|
|
689
|
+
export type AuthUserUpdateWithoutFamiliesInput = {
|
|
690
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
691
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
692
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
693
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
694
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
695
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
696
|
+
principal?: Prisma.PrincipalUpdateOneRequiredWithoutAuthUserNestedInput;
|
|
697
|
+
loginKeys?: Prisma.AuthLoginKeyUpdateManyWithoutUserNestedInput;
|
|
698
|
+
sessions?: Prisma.AuthSessionUpdateManyWithoutUserNestedInput;
|
|
699
|
+
codes?: Prisma.OAuthAuthorizationCodeUpdateManyWithoutUserNestedInput;
|
|
700
|
+
};
|
|
701
|
+
export type AuthUserUncheckedUpdateWithoutFamiliesInput = {
|
|
702
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
703
|
+
principalId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
704
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
705
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
706
|
+
roles?: Prisma.AuthUserUpdaterolesInput | string[];
|
|
707
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
708
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
709
|
+
loginKeys?: Prisma.AuthLoginKeyUncheckedUpdateManyWithoutUserNestedInput;
|
|
710
|
+
sessions?: Prisma.AuthSessionUncheckedUpdateManyWithoutUserNestedInput;
|
|
711
|
+
codes?: Prisma.OAuthAuthorizationCodeUncheckedUpdateManyWithoutUserNestedInput;
|
|
712
|
+
};
|
|
713
|
+
/**
|
|
714
|
+
* Count Type AuthUserCountOutputType
|
|
715
|
+
*/
|
|
716
|
+
export type AuthUserCountOutputType = {
|
|
717
|
+
loginKeys: number;
|
|
718
|
+
sessions: number;
|
|
719
|
+
codes: number;
|
|
720
|
+
families: number;
|
|
721
|
+
};
|
|
722
|
+
export type AuthUserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
723
|
+
loginKeys?: boolean | AuthUserCountOutputTypeCountLoginKeysArgs;
|
|
724
|
+
sessions?: boolean | AuthUserCountOutputTypeCountSessionsArgs;
|
|
725
|
+
codes?: boolean | AuthUserCountOutputTypeCountCodesArgs;
|
|
726
|
+
families?: boolean | AuthUserCountOutputTypeCountFamiliesArgs;
|
|
727
|
+
};
|
|
728
|
+
/**
|
|
729
|
+
* AuthUserCountOutputType without action
|
|
730
|
+
*/
|
|
731
|
+
export type AuthUserCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
732
|
+
/**
|
|
733
|
+
* Select specific fields to fetch from the AuthUserCountOutputType
|
|
734
|
+
*/
|
|
735
|
+
select?: Prisma.AuthUserCountOutputTypeSelect<ExtArgs> | null;
|
|
736
|
+
};
|
|
737
|
+
/**
|
|
738
|
+
* AuthUserCountOutputType without action
|
|
739
|
+
*/
|
|
740
|
+
export type AuthUserCountOutputTypeCountLoginKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
741
|
+
where?: Prisma.AuthLoginKeyWhereInput;
|
|
742
|
+
};
|
|
743
|
+
/**
|
|
744
|
+
* AuthUserCountOutputType without action
|
|
745
|
+
*/
|
|
746
|
+
export type AuthUserCountOutputTypeCountSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
747
|
+
where?: Prisma.AuthSessionWhereInput;
|
|
748
|
+
};
|
|
749
|
+
/**
|
|
750
|
+
* AuthUserCountOutputType without action
|
|
751
|
+
*/
|
|
752
|
+
export type AuthUserCountOutputTypeCountCodesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
753
|
+
where?: Prisma.OAuthAuthorizationCodeWhereInput;
|
|
754
|
+
};
|
|
755
|
+
/**
|
|
756
|
+
* AuthUserCountOutputType without action
|
|
757
|
+
*/
|
|
758
|
+
export type AuthUserCountOutputTypeCountFamiliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
759
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
760
|
+
};
|
|
761
|
+
export type AuthUserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
762
|
+
id?: boolean;
|
|
763
|
+
principalId?: boolean;
|
|
764
|
+
displayName?: boolean;
|
|
765
|
+
status?: boolean;
|
|
766
|
+
roles?: boolean;
|
|
767
|
+
createdAt?: boolean;
|
|
768
|
+
updatedAt?: boolean;
|
|
769
|
+
principal?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
770
|
+
loginKeys?: boolean | Prisma.AuthUser$loginKeysArgs<ExtArgs>;
|
|
771
|
+
sessions?: boolean | Prisma.AuthUser$sessionsArgs<ExtArgs>;
|
|
772
|
+
codes?: boolean | Prisma.AuthUser$codesArgs<ExtArgs>;
|
|
773
|
+
families?: boolean | Prisma.AuthUser$familiesArgs<ExtArgs>;
|
|
774
|
+
_count?: boolean | Prisma.AuthUserCountOutputTypeDefaultArgs<ExtArgs>;
|
|
775
|
+
}, ExtArgs["result"]["authUser"]>;
|
|
776
|
+
export type AuthUserSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
777
|
+
id?: boolean;
|
|
778
|
+
principalId?: boolean;
|
|
779
|
+
displayName?: boolean;
|
|
780
|
+
status?: boolean;
|
|
781
|
+
roles?: boolean;
|
|
782
|
+
createdAt?: boolean;
|
|
783
|
+
updatedAt?: boolean;
|
|
784
|
+
principal?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
785
|
+
}, ExtArgs["result"]["authUser"]>;
|
|
786
|
+
export type AuthUserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
787
|
+
id?: boolean;
|
|
788
|
+
principalId?: boolean;
|
|
789
|
+
displayName?: boolean;
|
|
790
|
+
status?: boolean;
|
|
791
|
+
roles?: boolean;
|
|
792
|
+
createdAt?: boolean;
|
|
793
|
+
updatedAt?: boolean;
|
|
794
|
+
principal?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
795
|
+
}, ExtArgs["result"]["authUser"]>;
|
|
796
|
+
export type AuthUserSelectScalar = {
|
|
797
|
+
id?: boolean;
|
|
798
|
+
principalId?: boolean;
|
|
799
|
+
displayName?: boolean;
|
|
800
|
+
status?: boolean;
|
|
801
|
+
roles?: boolean;
|
|
802
|
+
createdAt?: boolean;
|
|
803
|
+
updatedAt?: boolean;
|
|
804
|
+
};
|
|
805
|
+
export type AuthUserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "principalId" | "displayName" | "status" | "roles" | "createdAt" | "updatedAt", ExtArgs["result"]["authUser"]>;
|
|
806
|
+
export type AuthUserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
807
|
+
principal?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
808
|
+
loginKeys?: boolean | Prisma.AuthUser$loginKeysArgs<ExtArgs>;
|
|
809
|
+
sessions?: boolean | Prisma.AuthUser$sessionsArgs<ExtArgs>;
|
|
810
|
+
codes?: boolean | Prisma.AuthUser$codesArgs<ExtArgs>;
|
|
811
|
+
families?: boolean | Prisma.AuthUser$familiesArgs<ExtArgs>;
|
|
812
|
+
_count?: boolean | Prisma.AuthUserCountOutputTypeDefaultArgs<ExtArgs>;
|
|
813
|
+
};
|
|
814
|
+
export type AuthUserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
815
|
+
principal?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
816
|
+
};
|
|
817
|
+
export type AuthUserIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
818
|
+
principal?: boolean | Prisma.PrincipalDefaultArgs<ExtArgs>;
|
|
819
|
+
};
|
|
820
|
+
export type $AuthUserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
821
|
+
name: "AuthUser";
|
|
822
|
+
objects: {
|
|
823
|
+
principal: Prisma.$PrincipalPayload<ExtArgs>;
|
|
824
|
+
loginKeys: Prisma.$AuthLoginKeyPayload<ExtArgs>[];
|
|
825
|
+
sessions: Prisma.$AuthSessionPayload<ExtArgs>[];
|
|
826
|
+
codes: Prisma.$OAuthAuthorizationCodePayload<ExtArgs>[];
|
|
827
|
+
families: Prisma.$OAuthFamilyPayload<ExtArgs>[];
|
|
828
|
+
};
|
|
829
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
830
|
+
id: string;
|
|
831
|
+
principalId: string;
|
|
832
|
+
displayName: string | null;
|
|
833
|
+
status: string;
|
|
834
|
+
/**
|
|
835
|
+
* wardby roles (src/mcp/auth/resource-server.ts ROLE_PERMISSIONS: admin,
|
|
836
|
+
* package-approver, service-manager), set with `wardby auth user grant`. Empty = member.
|
|
837
|
+
* A privileged operation needs its scope on the token AND a role here
|
|
838
|
+
* that grants it; unknown values grant nothing.
|
|
839
|
+
*/
|
|
840
|
+
roles: string[];
|
|
841
|
+
createdAt: Date;
|
|
842
|
+
updatedAt: Date;
|
|
843
|
+
}, ExtArgs["result"]["authUser"]>;
|
|
844
|
+
composites: {};
|
|
845
|
+
};
|
|
846
|
+
export type AuthUserGetPayload<S extends boolean | null | undefined | AuthUserDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AuthUserPayload, S>;
|
|
847
|
+
export type AuthUserCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<AuthUserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
848
|
+
select?: AuthUserCountAggregateInputType | true;
|
|
849
|
+
};
|
|
850
|
+
export interface AuthUserDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
851
|
+
[K: symbol]: {
|
|
852
|
+
types: Prisma.TypeMap<ExtArgs>['model']['AuthUser'];
|
|
853
|
+
meta: {
|
|
854
|
+
name: 'AuthUser';
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
/**
|
|
858
|
+
* Find zero or one AuthUser that matches the filter.
|
|
859
|
+
* @param {AuthUserFindUniqueArgs} args - Arguments to find a AuthUser
|
|
860
|
+
* @example
|
|
861
|
+
* // Get one AuthUser
|
|
862
|
+
* const authUser = await prisma.authUser.findUnique({
|
|
863
|
+
* where: {
|
|
864
|
+
* // ... provide filter here
|
|
865
|
+
* }
|
|
866
|
+
* })
|
|
867
|
+
*/
|
|
868
|
+
findUnique<T extends AuthUserFindUniqueArgs>(args: Prisma.SelectSubset<T, AuthUserFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
869
|
+
/**
|
|
870
|
+
* Find one AuthUser that matches the filter or throw an error with `error.code='P2025'`
|
|
871
|
+
* if no matches were found.
|
|
872
|
+
* @param {AuthUserFindUniqueOrThrowArgs} args - Arguments to find a AuthUser
|
|
873
|
+
* @example
|
|
874
|
+
* // Get one AuthUser
|
|
875
|
+
* const authUser = await prisma.authUser.findUniqueOrThrow({
|
|
876
|
+
* where: {
|
|
877
|
+
* // ... provide filter here
|
|
878
|
+
* }
|
|
879
|
+
* })
|
|
880
|
+
*/
|
|
881
|
+
findUniqueOrThrow<T extends AuthUserFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AuthUserFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
882
|
+
/**
|
|
883
|
+
* Find the first AuthUser that matches the filter.
|
|
884
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
885
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
886
|
+
* @param {AuthUserFindFirstArgs} args - Arguments to find a AuthUser
|
|
887
|
+
* @example
|
|
888
|
+
* // Get one AuthUser
|
|
889
|
+
* const authUser = await prisma.authUser.findFirst({
|
|
890
|
+
* where: {
|
|
891
|
+
* // ... provide filter here
|
|
892
|
+
* }
|
|
893
|
+
* })
|
|
894
|
+
*/
|
|
895
|
+
findFirst<T extends AuthUserFindFirstArgs>(args?: Prisma.SelectSubset<T, AuthUserFindFirstArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
896
|
+
/**
|
|
897
|
+
* Find the first AuthUser that matches the filter or
|
|
898
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
899
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
900
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
901
|
+
* @param {AuthUserFindFirstOrThrowArgs} args - Arguments to find a AuthUser
|
|
902
|
+
* @example
|
|
903
|
+
* // Get one AuthUser
|
|
904
|
+
* const authUser = await prisma.authUser.findFirstOrThrow({
|
|
905
|
+
* where: {
|
|
906
|
+
* // ... provide filter here
|
|
907
|
+
* }
|
|
908
|
+
* })
|
|
909
|
+
*/
|
|
910
|
+
findFirstOrThrow<T extends AuthUserFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AuthUserFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
911
|
+
/**
|
|
912
|
+
* Find zero or more AuthUsers that matches the filter.
|
|
913
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
914
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
915
|
+
* @param {AuthUserFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
916
|
+
* @example
|
|
917
|
+
* // Get all AuthUsers
|
|
918
|
+
* const authUsers = await prisma.authUser.findMany()
|
|
919
|
+
*
|
|
920
|
+
* // Get first 10 AuthUsers
|
|
921
|
+
* const authUsers = await prisma.authUser.findMany({ take: 10 })
|
|
922
|
+
*
|
|
923
|
+
* // Only select the `id`
|
|
924
|
+
* const authUserWithIdOnly = await prisma.authUser.findMany({ select: { id: true } })
|
|
925
|
+
*
|
|
926
|
+
*/
|
|
927
|
+
findMany<T extends AuthUserFindManyArgs>(args?: Prisma.SelectSubset<T, AuthUserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
928
|
+
/**
|
|
929
|
+
* Create a AuthUser.
|
|
930
|
+
* @param {AuthUserCreateArgs} args - Arguments to create a AuthUser.
|
|
931
|
+
* @example
|
|
932
|
+
* // Create one AuthUser
|
|
933
|
+
* const AuthUser = await prisma.authUser.create({
|
|
934
|
+
* data: {
|
|
935
|
+
* // ... data to create a AuthUser
|
|
936
|
+
* }
|
|
937
|
+
* })
|
|
938
|
+
*
|
|
939
|
+
*/
|
|
940
|
+
create<T extends AuthUserCreateArgs>(args: Prisma.SelectSubset<T, AuthUserCreateArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
941
|
+
/**
|
|
942
|
+
* Create many AuthUsers.
|
|
943
|
+
* @param {AuthUserCreateManyArgs} args - Arguments to create many AuthUsers.
|
|
944
|
+
* @example
|
|
945
|
+
* // Create many AuthUsers
|
|
946
|
+
* const authUser = await prisma.authUser.createMany({
|
|
947
|
+
* data: [
|
|
948
|
+
* // ... provide data here
|
|
949
|
+
* ]
|
|
950
|
+
* })
|
|
951
|
+
*
|
|
952
|
+
*/
|
|
953
|
+
createMany<T extends AuthUserCreateManyArgs>(args?: Prisma.SelectSubset<T, AuthUserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
954
|
+
/**
|
|
955
|
+
* Create many AuthUsers and returns the data saved in the database.
|
|
956
|
+
* @param {AuthUserCreateManyAndReturnArgs} args - Arguments to create many AuthUsers.
|
|
957
|
+
* @example
|
|
958
|
+
* // Create many AuthUsers
|
|
959
|
+
* const authUser = await prisma.authUser.createManyAndReturn({
|
|
960
|
+
* data: [
|
|
961
|
+
* // ... provide data here
|
|
962
|
+
* ]
|
|
963
|
+
* })
|
|
964
|
+
*
|
|
965
|
+
* // Create many AuthUsers and only return the `id`
|
|
966
|
+
* const authUserWithIdOnly = await prisma.authUser.createManyAndReturn({
|
|
967
|
+
* select: { id: true },
|
|
968
|
+
* data: [
|
|
969
|
+
* // ... provide data here
|
|
970
|
+
* ]
|
|
971
|
+
* })
|
|
972
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
973
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
974
|
+
*
|
|
975
|
+
*/
|
|
976
|
+
createManyAndReturn<T extends AuthUserCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AuthUserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
977
|
+
/**
|
|
978
|
+
* Delete a AuthUser.
|
|
979
|
+
* @param {AuthUserDeleteArgs} args - Arguments to delete one AuthUser.
|
|
980
|
+
* @example
|
|
981
|
+
* // Delete one AuthUser
|
|
982
|
+
* const AuthUser = await prisma.authUser.delete({
|
|
983
|
+
* where: {
|
|
984
|
+
* // ... filter to delete one AuthUser
|
|
985
|
+
* }
|
|
986
|
+
* })
|
|
987
|
+
*
|
|
988
|
+
*/
|
|
989
|
+
delete<T extends AuthUserDeleteArgs>(args: Prisma.SelectSubset<T, AuthUserDeleteArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
990
|
+
/**
|
|
991
|
+
* Update one AuthUser.
|
|
992
|
+
* @param {AuthUserUpdateArgs} args - Arguments to update one AuthUser.
|
|
993
|
+
* @example
|
|
994
|
+
* // Update one AuthUser
|
|
995
|
+
* const authUser = await prisma.authUser.update({
|
|
996
|
+
* where: {
|
|
997
|
+
* // ... provide filter here
|
|
998
|
+
* },
|
|
999
|
+
* data: {
|
|
1000
|
+
* // ... provide data here
|
|
1001
|
+
* }
|
|
1002
|
+
* })
|
|
1003
|
+
*
|
|
1004
|
+
*/
|
|
1005
|
+
update<T extends AuthUserUpdateArgs>(args: Prisma.SelectSubset<T, AuthUserUpdateArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Delete zero or more AuthUsers.
|
|
1008
|
+
* @param {AuthUserDeleteManyArgs} args - Arguments to filter AuthUsers to delete.
|
|
1009
|
+
* @example
|
|
1010
|
+
* // Delete a few AuthUsers
|
|
1011
|
+
* const { count } = await prisma.authUser.deleteMany({
|
|
1012
|
+
* where: {
|
|
1013
|
+
* // ... provide filter here
|
|
1014
|
+
* }
|
|
1015
|
+
* })
|
|
1016
|
+
*
|
|
1017
|
+
*/
|
|
1018
|
+
deleteMany<T extends AuthUserDeleteManyArgs>(args?: Prisma.SelectSubset<T, AuthUserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Update zero or more AuthUsers.
|
|
1021
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1022
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1023
|
+
* @param {AuthUserUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1024
|
+
* @example
|
|
1025
|
+
* // Update many AuthUsers
|
|
1026
|
+
* const authUser = await prisma.authUser.updateMany({
|
|
1027
|
+
* where: {
|
|
1028
|
+
* // ... provide filter here
|
|
1029
|
+
* },
|
|
1030
|
+
* data: {
|
|
1031
|
+
* // ... provide data here
|
|
1032
|
+
* }
|
|
1033
|
+
* })
|
|
1034
|
+
*
|
|
1035
|
+
*/
|
|
1036
|
+
updateMany<T extends AuthUserUpdateManyArgs>(args: Prisma.SelectSubset<T, AuthUserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1037
|
+
/**
|
|
1038
|
+
* Update zero or more AuthUsers and returns the data updated in the database.
|
|
1039
|
+
* @param {AuthUserUpdateManyAndReturnArgs} args - Arguments to update many AuthUsers.
|
|
1040
|
+
* @example
|
|
1041
|
+
* // Update many AuthUsers
|
|
1042
|
+
* const authUser = await prisma.authUser.updateManyAndReturn({
|
|
1043
|
+
* where: {
|
|
1044
|
+
* // ... provide filter here
|
|
1045
|
+
* },
|
|
1046
|
+
* data: [
|
|
1047
|
+
* // ... provide data here
|
|
1048
|
+
* ]
|
|
1049
|
+
* })
|
|
1050
|
+
*
|
|
1051
|
+
* // Update zero or more AuthUsers and only return the `id`
|
|
1052
|
+
* const authUserWithIdOnly = await prisma.authUser.updateManyAndReturn({
|
|
1053
|
+
* select: { id: true },
|
|
1054
|
+
* where: {
|
|
1055
|
+
* // ... provide filter here
|
|
1056
|
+
* },
|
|
1057
|
+
* data: [
|
|
1058
|
+
* // ... provide data here
|
|
1059
|
+
* ]
|
|
1060
|
+
* })
|
|
1061
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1062
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1063
|
+
*
|
|
1064
|
+
*/
|
|
1065
|
+
updateManyAndReturn<T extends AuthUserUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AuthUserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1066
|
+
/**
|
|
1067
|
+
* Create or update one AuthUser.
|
|
1068
|
+
* @param {AuthUserUpsertArgs} args - Arguments to update or create a AuthUser.
|
|
1069
|
+
* @example
|
|
1070
|
+
* // Update or create a AuthUser
|
|
1071
|
+
* const authUser = await prisma.authUser.upsert({
|
|
1072
|
+
* create: {
|
|
1073
|
+
* // ... data to create a AuthUser
|
|
1074
|
+
* },
|
|
1075
|
+
* update: {
|
|
1076
|
+
* // ... in case it already exists, update
|
|
1077
|
+
* },
|
|
1078
|
+
* where: {
|
|
1079
|
+
* // ... the filter for the AuthUser we want to update
|
|
1080
|
+
* }
|
|
1081
|
+
* })
|
|
1082
|
+
*/
|
|
1083
|
+
upsert<T extends AuthUserUpsertArgs>(args: Prisma.SelectSubset<T, AuthUserUpsertArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Count the number of AuthUsers.
|
|
1086
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1087
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1088
|
+
* @param {AuthUserCountArgs} args - Arguments to filter AuthUsers to count.
|
|
1089
|
+
* @example
|
|
1090
|
+
* // Count the number of AuthUsers
|
|
1091
|
+
* const count = await prisma.authUser.count({
|
|
1092
|
+
* where: {
|
|
1093
|
+
* // ... the filter for the AuthUsers we want to count
|
|
1094
|
+
* }
|
|
1095
|
+
* })
|
|
1096
|
+
**/
|
|
1097
|
+
count<T extends AuthUserCountArgs>(args?: Prisma.Subset<T, AuthUserCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], AuthUserCountAggregateOutputType> : number>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Allows you to perform aggregations operations on a AuthUser.
|
|
1100
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1101
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1102
|
+
* @param {AuthUserAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1103
|
+
* @example
|
|
1104
|
+
* // Ordered by age ascending
|
|
1105
|
+
* // Where email contains prisma.io
|
|
1106
|
+
* // Limited to the 10 users
|
|
1107
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1108
|
+
* _avg: {
|
|
1109
|
+
* age: true,
|
|
1110
|
+
* },
|
|
1111
|
+
* where: {
|
|
1112
|
+
* email: {
|
|
1113
|
+
* contains: "prisma.io",
|
|
1114
|
+
* },
|
|
1115
|
+
* },
|
|
1116
|
+
* orderBy: {
|
|
1117
|
+
* age: "asc",
|
|
1118
|
+
* },
|
|
1119
|
+
* take: 10,
|
|
1120
|
+
* })
|
|
1121
|
+
**/
|
|
1122
|
+
aggregate<T extends AuthUserAggregateArgs>(args: Prisma.Subset<T, AuthUserAggregateArgs>): Prisma.PrismaPromise<GetAuthUserAggregateType<T>>;
|
|
1123
|
+
/**
|
|
1124
|
+
* Group by AuthUser.
|
|
1125
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1126
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1127
|
+
* @param {AuthUserGroupByArgs} args - Group by arguments.
|
|
1128
|
+
* @example
|
|
1129
|
+
* // Group by city, order by createdAt, get count
|
|
1130
|
+
* const result = await prisma.user.groupBy({
|
|
1131
|
+
* by: ['city', 'createdAt'],
|
|
1132
|
+
* orderBy: {
|
|
1133
|
+
* createdAt: true
|
|
1134
|
+
* },
|
|
1135
|
+
* _count: {
|
|
1136
|
+
* _all: true
|
|
1137
|
+
* },
|
|
1138
|
+
* })
|
|
1139
|
+
*
|
|
1140
|
+
**/
|
|
1141
|
+
groupBy<T extends AuthUserGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1142
|
+
orderBy: AuthUserGroupByArgs['orderBy'];
|
|
1143
|
+
} : {
|
|
1144
|
+
orderBy?: AuthUserGroupByArgs['orderBy'];
|
|
1145
|
+
}, 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 ? {
|
|
1146
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1147
|
+
Error,
|
|
1148
|
+
'Field ',
|
|
1149
|
+
P,
|
|
1150
|
+
` in "having" needs to be provided in "by"`
|
|
1151
|
+
];
|
|
1152
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1153
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1154
|
+
}[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 ? {} : {
|
|
1155
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1156
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1157
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1158
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, AuthUserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuthUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Fields of the AuthUser model
|
|
1161
|
+
*/
|
|
1162
|
+
readonly fields: AuthUserFieldRefs;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* The delegate class that acts as a "Promise-like" for AuthUser.
|
|
1166
|
+
* Why is this prefixed with `Prisma__`?
|
|
1167
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1168
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1169
|
+
*/
|
|
1170
|
+
export interface Prisma__AuthUserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1171
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1172
|
+
principal<T extends Prisma.PrincipalDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PrincipalDefaultArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1173
|
+
loginKeys<T extends Prisma.AuthUser$loginKeysArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AuthUser$loginKeysArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthLoginKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1174
|
+
sessions<T extends Prisma.AuthUser$sessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AuthUser$sessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1175
|
+
codes<T extends Prisma.AuthUser$codesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AuthUser$codesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthAuthorizationCodePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1176
|
+
families<T extends Prisma.AuthUser$familiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AuthUser$familiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1177
|
+
/**
|
|
1178
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1179
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1180
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1181
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1182
|
+
*/
|
|
1183
|
+
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>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1186
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1187
|
+
* @returns A Promise for the completion of the callback.
|
|
1188
|
+
*/
|
|
1189
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1192
|
+
* resolved value cannot be modified from the callback.
|
|
1193
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1194
|
+
* @returns A Promise for the completion of the callback.
|
|
1195
|
+
*/
|
|
1196
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Fields of the AuthUser model
|
|
1200
|
+
*/
|
|
1201
|
+
export interface AuthUserFieldRefs {
|
|
1202
|
+
readonly id: Prisma.FieldRef<"AuthUser", 'String'>;
|
|
1203
|
+
readonly principalId: Prisma.FieldRef<"AuthUser", 'String'>;
|
|
1204
|
+
readonly displayName: Prisma.FieldRef<"AuthUser", 'String'>;
|
|
1205
|
+
readonly status: Prisma.FieldRef<"AuthUser", 'String'>;
|
|
1206
|
+
readonly roles: Prisma.FieldRef<"AuthUser", 'String[]'>;
|
|
1207
|
+
readonly createdAt: Prisma.FieldRef<"AuthUser", 'DateTime'>;
|
|
1208
|
+
readonly updatedAt: Prisma.FieldRef<"AuthUser", 'DateTime'>;
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* AuthUser findUnique
|
|
1212
|
+
*/
|
|
1213
|
+
export type AuthUserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1214
|
+
/**
|
|
1215
|
+
* Select specific fields to fetch from the AuthUser
|
|
1216
|
+
*/
|
|
1217
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1218
|
+
/**
|
|
1219
|
+
* Omit specific fields from the AuthUser
|
|
1220
|
+
*/
|
|
1221
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* Choose, which related nodes to fetch as well
|
|
1224
|
+
*/
|
|
1225
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1226
|
+
/**
|
|
1227
|
+
* Filter, which AuthUser to fetch.
|
|
1228
|
+
*/
|
|
1229
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* AuthUser findUniqueOrThrow
|
|
1233
|
+
*/
|
|
1234
|
+
export type AuthUserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1235
|
+
/**
|
|
1236
|
+
* Select specific fields to fetch from the AuthUser
|
|
1237
|
+
*/
|
|
1238
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1239
|
+
/**
|
|
1240
|
+
* Omit specific fields from the AuthUser
|
|
1241
|
+
*/
|
|
1242
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1243
|
+
/**
|
|
1244
|
+
* Choose, which related nodes to fetch as well
|
|
1245
|
+
*/
|
|
1246
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1247
|
+
/**
|
|
1248
|
+
* Filter, which AuthUser to fetch.
|
|
1249
|
+
*/
|
|
1250
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
1251
|
+
};
|
|
1252
|
+
/**
|
|
1253
|
+
* AuthUser findFirst
|
|
1254
|
+
*/
|
|
1255
|
+
export type AuthUserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1256
|
+
/**
|
|
1257
|
+
* Select specific fields to fetch from the AuthUser
|
|
1258
|
+
*/
|
|
1259
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1260
|
+
/**
|
|
1261
|
+
* Omit specific fields from the AuthUser
|
|
1262
|
+
*/
|
|
1263
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1264
|
+
/**
|
|
1265
|
+
* Choose, which related nodes to fetch as well
|
|
1266
|
+
*/
|
|
1267
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1268
|
+
/**
|
|
1269
|
+
* Filter, which AuthUser to fetch.
|
|
1270
|
+
*/
|
|
1271
|
+
where?: Prisma.AuthUserWhereInput;
|
|
1272
|
+
/**
|
|
1273
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1274
|
+
*
|
|
1275
|
+
* Determine the order of AuthUsers to fetch.
|
|
1276
|
+
*/
|
|
1277
|
+
orderBy?: Prisma.AuthUserOrderByWithRelationInput | Prisma.AuthUserOrderByWithRelationInput[];
|
|
1278
|
+
/**
|
|
1279
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1280
|
+
*
|
|
1281
|
+
* Sets the position for searching for AuthUsers.
|
|
1282
|
+
*/
|
|
1283
|
+
cursor?: Prisma.AuthUserWhereUniqueInput;
|
|
1284
|
+
/**
|
|
1285
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1286
|
+
*
|
|
1287
|
+
* Take `±n` AuthUsers from the position of the cursor.
|
|
1288
|
+
*/
|
|
1289
|
+
take?: number;
|
|
1290
|
+
/**
|
|
1291
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1292
|
+
*
|
|
1293
|
+
* Skip the first `n` AuthUsers.
|
|
1294
|
+
*/
|
|
1295
|
+
skip?: number;
|
|
1296
|
+
/**
|
|
1297
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1298
|
+
*
|
|
1299
|
+
* Filter by unique combinations of AuthUsers.
|
|
1300
|
+
*/
|
|
1301
|
+
distinct?: Prisma.AuthUserScalarFieldEnum | Prisma.AuthUserScalarFieldEnum[];
|
|
1302
|
+
};
|
|
1303
|
+
/**
|
|
1304
|
+
* AuthUser findFirstOrThrow
|
|
1305
|
+
*/
|
|
1306
|
+
export type AuthUserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1307
|
+
/**
|
|
1308
|
+
* Select specific fields to fetch from the AuthUser
|
|
1309
|
+
*/
|
|
1310
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1311
|
+
/**
|
|
1312
|
+
* Omit specific fields from the AuthUser
|
|
1313
|
+
*/
|
|
1314
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1315
|
+
/**
|
|
1316
|
+
* Choose, which related nodes to fetch as well
|
|
1317
|
+
*/
|
|
1318
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1319
|
+
/**
|
|
1320
|
+
* Filter, which AuthUser to fetch.
|
|
1321
|
+
*/
|
|
1322
|
+
where?: Prisma.AuthUserWhereInput;
|
|
1323
|
+
/**
|
|
1324
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1325
|
+
*
|
|
1326
|
+
* Determine the order of AuthUsers to fetch.
|
|
1327
|
+
*/
|
|
1328
|
+
orderBy?: Prisma.AuthUserOrderByWithRelationInput | Prisma.AuthUserOrderByWithRelationInput[];
|
|
1329
|
+
/**
|
|
1330
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1331
|
+
*
|
|
1332
|
+
* Sets the position for searching for AuthUsers.
|
|
1333
|
+
*/
|
|
1334
|
+
cursor?: Prisma.AuthUserWhereUniqueInput;
|
|
1335
|
+
/**
|
|
1336
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1337
|
+
*
|
|
1338
|
+
* Take `±n` AuthUsers from the position of the cursor.
|
|
1339
|
+
*/
|
|
1340
|
+
take?: number;
|
|
1341
|
+
/**
|
|
1342
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1343
|
+
*
|
|
1344
|
+
* Skip the first `n` AuthUsers.
|
|
1345
|
+
*/
|
|
1346
|
+
skip?: number;
|
|
1347
|
+
/**
|
|
1348
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1349
|
+
*
|
|
1350
|
+
* Filter by unique combinations of AuthUsers.
|
|
1351
|
+
*/
|
|
1352
|
+
distinct?: Prisma.AuthUserScalarFieldEnum | Prisma.AuthUserScalarFieldEnum[];
|
|
1353
|
+
};
|
|
1354
|
+
/**
|
|
1355
|
+
* AuthUser findMany
|
|
1356
|
+
*/
|
|
1357
|
+
export type AuthUserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1358
|
+
/**
|
|
1359
|
+
* Select specific fields to fetch from the AuthUser
|
|
1360
|
+
*/
|
|
1361
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1362
|
+
/**
|
|
1363
|
+
* Omit specific fields from the AuthUser
|
|
1364
|
+
*/
|
|
1365
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1366
|
+
/**
|
|
1367
|
+
* Choose, which related nodes to fetch as well
|
|
1368
|
+
*/
|
|
1369
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1370
|
+
/**
|
|
1371
|
+
* Filter, which AuthUsers to fetch.
|
|
1372
|
+
*/
|
|
1373
|
+
where?: Prisma.AuthUserWhereInput;
|
|
1374
|
+
/**
|
|
1375
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1376
|
+
*
|
|
1377
|
+
* Determine the order of AuthUsers to fetch.
|
|
1378
|
+
*/
|
|
1379
|
+
orderBy?: Prisma.AuthUserOrderByWithRelationInput | Prisma.AuthUserOrderByWithRelationInput[];
|
|
1380
|
+
/**
|
|
1381
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1382
|
+
*
|
|
1383
|
+
* Sets the position for listing AuthUsers.
|
|
1384
|
+
*/
|
|
1385
|
+
cursor?: Prisma.AuthUserWhereUniqueInput;
|
|
1386
|
+
/**
|
|
1387
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1388
|
+
*
|
|
1389
|
+
* Take `±n` AuthUsers from the position of the cursor.
|
|
1390
|
+
*/
|
|
1391
|
+
take?: number;
|
|
1392
|
+
/**
|
|
1393
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1394
|
+
*
|
|
1395
|
+
* Skip the first `n` AuthUsers.
|
|
1396
|
+
*/
|
|
1397
|
+
skip?: number;
|
|
1398
|
+
/**
|
|
1399
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1400
|
+
*
|
|
1401
|
+
* Filter by unique combinations of AuthUsers.
|
|
1402
|
+
*/
|
|
1403
|
+
distinct?: Prisma.AuthUserScalarFieldEnum | Prisma.AuthUserScalarFieldEnum[];
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* AuthUser create
|
|
1407
|
+
*/
|
|
1408
|
+
export type AuthUserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1409
|
+
/**
|
|
1410
|
+
* Select specific fields to fetch from the AuthUser
|
|
1411
|
+
*/
|
|
1412
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1413
|
+
/**
|
|
1414
|
+
* Omit specific fields from the AuthUser
|
|
1415
|
+
*/
|
|
1416
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1417
|
+
/**
|
|
1418
|
+
* Choose, which related nodes to fetch as well
|
|
1419
|
+
*/
|
|
1420
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1421
|
+
/**
|
|
1422
|
+
* The data needed to create a AuthUser.
|
|
1423
|
+
*/
|
|
1424
|
+
data: Prisma.XOR<Prisma.AuthUserCreateInput, Prisma.AuthUserUncheckedCreateInput>;
|
|
1425
|
+
};
|
|
1426
|
+
/**
|
|
1427
|
+
* AuthUser createMany
|
|
1428
|
+
*/
|
|
1429
|
+
export type AuthUserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1430
|
+
/**
|
|
1431
|
+
* The data used to create many AuthUsers.
|
|
1432
|
+
*/
|
|
1433
|
+
data: Prisma.AuthUserCreateManyInput | Prisma.AuthUserCreateManyInput[];
|
|
1434
|
+
skipDuplicates?: boolean;
|
|
1435
|
+
};
|
|
1436
|
+
/**
|
|
1437
|
+
* AuthUser createManyAndReturn
|
|
1438
|
+
*/
|
|
1439
|
+
export type AuthUserCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1440
|
+
/**
|
|
1441
|
+
* Select specific fields to fetch from the AuthUser
|
|
1442
|
+
*/
|
|
1443
|
+
select?: Prisma.AuthUserSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1444
|
+
/**
|
|
1445
|
+
* Omit specific fields from the AuthUser
|
|
1446
|
+
*/
|
|
1447
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* The data used to create many AuthUsers.
|
|
1450
|
+
*/
|
|
1451
|
+
data: Prisma.AuthUserCreateManyInput | Prisma.AuthUserCreateManyInput[];
|
|
1452
|
+
skipDuplicates?: boolean;
|
|
1453
|
+
/**
|
|
1454
|
+
* Choose, which related nodes to fetch as well
|
|
1455
|
+
*/
|
|
1456
|
+
include?: Prisma.AuthUserIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1457
|
+
};
|
|
1458
|
+
/**
|
|
1459
|
+
* AuthUser update
|
|
1460
|
+
*/
|
|
1461
|
+
export type AuthUserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1462
|
+
/**
|
|
1463
|
+
* Select specific fields to fetch from the AuthUser
|
|
1464
|
+
*/
|
|
1465
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1466
|
+
/**
|
|
1467
|
+
* Omit specific fields from the AuthUser
|
|
1468
|
+
*/
|
|
1469
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1470
|
+
/**
|
|
1471
|
+
* Choose, which related nodes to fetch as well
|
|
1472
|
+
*/
|
|
1473
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1474
|
+
/**
|
|
1475
|
+
* The data needed to update a AuthUser.
|
|
1476
|
+
*/
|
|
1477
|
+
data: Prisma.XOR<Prisma.AuthUserUpdateInput, Prisma.AuthUserUncheckedUpdateInput>;
|
|
1478
|
+
/**
|
|
1479
|
+
* Choose, which AuthUser to update.
|
|
1480
|
+
*/
|
|
1481
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
1482
|
+
};
|
|
1483
|
+
/**
|
|
1484
|
+
* AuthUser updateMany
|
|
1485
|
+
*/
|
|
1486
|
+
export type AuthUserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1487
|
+
/**
|
|
1488
|
+
* The data used to update AuthUsers.
|
|
1489
|
+
*/
|
|
1490
|
+
data: Prisma.XOR<Prisma.AuthUserUpdateManyMutationInput, Prisma.AuthUserUncheckedUpdateManyInput>;
|
|
1491
|
+
/**
|
|
1492
|
+
* Filter which AuthUsers to update
|
|
1493
|
+
*/
|
|
1494
|
+
where?: Prisma.AuthUserWhereInput;
|
|
1495
|
+
/**
|
|
1496
|
+
* Limit how many AuthUsers to update.
|
|
1497
|
+
*/
|
|
1498
|
+
limit?: number;
|
|
1499
|
+
};
|
|
1500
|
+
/**
|
|
1501
|
+
* AuthUser updateManyAndReturn
|
|
1502
|
+
*/
|
|
1503
|
+
export type AuthUserUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1504
|
+
/**
|
|
1505
|
+
* Select specific fields to fetch from the AuthUser
|
|
1506
|
+
*/
|
|
1507
|
+
select?: Prisma.AuthUserSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1508
|
+
/**
|
|
1509
|
+
* Omit specific fields from the AuthUser
|
|
1510
|
+
*/
|
|
1511
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* The data used to update AuthUsers.
|
|
1514
|
+
*/
|
|
1515
|
+
data: Prisma.XOR<Prisma.AuthUserUpdateManyMutationInput, Prisma.AuthUserUncheckedUpdateManyInput>;
|
|
1516
|
+
/**
|
|
1517
|
+
* Filter which AuthUsers to update
|
|
1518
|
+
*/
|
|
1519
|
+
where?: Prisma.AuthUserWhereInput;
|
|
1520
|
+
/**
|
|
1521
|
+
* Limit how many AuthUsers to update.
|
|
1522
|
+
*/
|
|
1523
|
+
limit?: number;
|
|
1524
|
+
/**
|
|
1525
|
+
* Choose, which related nodes to fetch as well
|
|
1526
|
+
*/
|
|
1527
|
+
include?: Prisma.AuthUserIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1528
|
+
};
|
|
1529
|
+
/**
|
|
1530
|
+
* AuthUser upsert
|
|
1531
|
+
*/
|
|
1532
|
+
export type AuthUserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1533
|
+
/**
|
|
1534
|
+
* Select specific fields to fetch from the AuthUser
|
|
1535
|
+
*/
|
|
1536
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1537
|
+
/**
|
|
1538
|
+
* Omit specific fields from the AuthUser
|
|
1539
|
+
*/
|
|
1540
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1541
|
+
/**
|
|
1542
|
+
* Choose, which related nodes to fetch as well
|
|
1543
|
+
*/
|
|
1544
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1545
|
+
/**
|
|
1546
|
+
* The filter to search for the AuthUser to update in case it exists.
|
|
1547
|
+
*/
|
|
1548
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
1549
|
+
/**
|
|
1550
|
+
* In case the AuthUser found by the `where` argument doesn't exist, create a new AuthUser with this data.
|
|
1551
|
+
*/
|
|
1552
|
+
create: Prisma.XOR<Prisma.AuthUserCreateInput, Prisma.AuthUserUncheckedCreateInput>;
|
|
1553
|
+
/**
|
|
1554
|
+
* In case the AuthUser was found with the provided `where` argument, update it with this data.
|
|
1555
|
+
*/
|
|
1556
|
+
update: Prisma.XOR<Prisma.AuthUserUpdateInput, Prisma.AuthUserUncheckedUpdateInput>;
|
|
1557
|
+
};
|
|
1558
|
+
/**
|
|
1559
|
+
* AuthUser delete
|
|
1560
|
+
*/
|
|
1561
|
+
export type AuthUserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1562
|
+
/**
|
|
1563
|
+
* Select specific fields to fetch from the AuthUser
|
|
1564
|
+
*/
|
|
1565
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1566
|
+
/**
|
|
1567
|
+
* Omit specific fields from the AuthUser
|
|
1568
|
+
*/
|
|
1569
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1570
|
+
/**
|
|
1571
|
+
* Choose, which related nodes to fetch as well
|
|
1572
|
+
*/
|
|
1573
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1574
|
+
/**
|
|
1575
|
+
* Filter which AuthUser to delete.
|
|
1576
|
+
*/
|
|
1577
|
+
where: Prisma.AuthUserWhereUniqueInput;
|
|
1578
|
+
};
|
|
1579
|
+
/**
|
|
1580
|
+
* AuthUser deleteMany
|
|
1581
|
+
*/
|
|
1582
|
+
export type AuthUserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1583
|
+
/**
|
|
1584
|
+
* Filter which AuthUsers to delete
|
|
1585
|
+
*/
|
|
1586
|
+
where?: Prisma.AuthUserWhereInput;
|
|
1587
|
+
/**
|
|
1588
|
+
* Limit how many AuthUsers to delete.
|
|
1589
|
+
*/
|
|
1590
|
+
limit?: number;
|
|
1591
|
+
};
|
|
1592
|
+
/**
|
|
1593
|
+
* AuthUser.loginKeys
|
|
1594
|
+
*/
|
|
1595
|
+
export type AuthUser$loginKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1596
|
+
/**
|
|
1597
|
+
* Select specific fields to fetch from the AuthLoginKey
|
|
1598
|
+
*/
|
|
1599
|
+
select?: Prisma.AuthLoginKeySelect<ExtArgs> | null;
|
|
1600
|
+
/**
|
|
1601
|
+
* Omit specific fields from the AuthLoginKey
|
|
1602
|
+
*/
|
|
1603
|
+
omit?: Prisma.AuthLoginKeyOmit<ExtArgs> | null;
|
|
1604
|
+
/**
|
|
1605
|
+
* Choose, which related nodes to fetch as well
|
|
1606
|
+
*/
|
|
1607
|
+
include?: Prisma.AuthLoginKeyInclude<ExtArgs> | null;
|
|
1608
|
+
where?: Prisma.AuthLoginKeyWhereInput;
|
|
1609
|
+
orderBy?: Prisma.AuthLoginKeyOrderByWithRelationInput | Prisma.AuthLoginKeyOrderByWithRelationInput[];
|
|
1610
|
+
cursor?: Prisma.AuthLoginKeyWhereUniqueInput;
|
|
1611
|
+
take?: number;
|
|
1612
|
+
skip?: number;
|
|
1613
|
+
distinct?: Prisma.AuthLoginKeyScalarFieldEnum | Prisma.AuthLoginKeyScalarFieldEnum[];
|
|
1614
|
+
};
|
|
1615
|
+
/**
|
|
1616
|
+
* AuthUser.sessions
|
|
1617
|
+
*/
|
|
1618
|
+
export type AuthUser$sessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1619
|
+
/**
|
|
1620
|
+
* Select specific fields to fetch from the AuthSession
|
|
1621
|
+
*/
|
|
1622
|
+
select?: Prisma.AuthSessionSelect<ExtArgs> | null;
|
|
1623
|
+
/**
|
|
1624
|
+
* Omit specific fields from the AuthSession
|
|
1625
|
+
*/
|
|
1626
|
+
omit?: Prisma.AuthSessionOmit<ExtArgs> | null;
|
|
1627
|
+
/**
|
|
1628
|
+
* Choose, which related nodes to fetch as well
|
|
1629
|
+
*/
|
|
1630
|
+
include?: Prisma.AuthSessionInclude<ExtArgs> | null;
|
|
1631
|
+
where?: Prisma.AuthSessionWhereInput;
|
|
1632
|
+
orderBy?: Prisma.AuthSessionOrderByWithRelationInput | Prisma.AuthSessionOrderByWithRelationInput[];
|
|
1633
|
+
cursor?: Prisma.AuthSessionWhereUniqueInput;
|
|
1634
|
+
take?: number;
|
|
1635
|
+
skip?: number;
|
|
1636
|
+
distinct?: Prisma.AuthSessionScalarFieldEnum | Prisma.AuthSessionScalarFieldEnum[];
|
|
1637
|
+
};
|
|
1638
|
+
/**
|
|
1639
|
+
* AuthUser.codes
|
|
1640
|
+
*/
|
|
1641
|
+
export type AuthUser$codesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1642
|
+
/**
|
|
1643
|
+
* Select specific fields to fetch from the OAuthAuthorizationCode
|
|
1644
|
+
*/
|
|
1645
|
+
select?: Prisma.OAuthAuthorizationCodeSelect<ExtArgs> | null;
|
|
1646
|
+
/**
|
|
1647
|
+
* Omit specific fields from the OAuthAuthorizationCode
|
|
1648
|
+
*/
|
|
1649
|
+
omit?: Prisma.OAuthAuthorizationCodeOmit<ExtArgs> | null;
|
|
1650
|
+
/**
|
|
1651
|
+
* Choose, which related nodes to fetch as well
|
|
1652
|
+
*/
|
|
1653
|
+
include?: Prisma.OAuthAuthorizationCodeInclude<ExtArgs> | null;
|
|
1654
|
+
where?: Prisma.OAuthAuthorizationCodeWhereInput;
|
|
1655
|
+
orderBy?: Prisma.OAuthAuthorizationCodeOrderByWithRelationInput | Prisma.OAuthAuthorizationCodeOrderByWithRelationInput[];
|
|
1656
|
+
cursor?: Prisma.OAuthAuthorizationCodeWhereUniqueInput;
|
|
1657
|
+
take?: number;
|
|
1658
|
+
skip?: number;
|
|
1659
|
+
distinct?: Prisma.OAuthAuthorizationCodeScalarFieldEnum | Prisma.OAuthAuthorizationCodeScalarFieldEnum[];
|
|
1660
|
+
};
|
|
1661
|
+
/**
|
|
1662
|
+
* AuthUser.families
|
|
1663
|
+
*/
|
|
1664
|
+
export type AuthUser$familiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1665
|
+
/**
|
|
1666
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1667
|
+
*/
|
|
1668
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1669
|
+
/**
|
|
1670
|
+
* Omit specific fields from the OAuthFamily
|
|
1671
|
+
*/
|
|
1672
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1673
|
+
/**
|
|
1674
|
+
* Choose, which related nodes to fetch as well
|
|
1675
|
+
*/
|
|
1676
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1677
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
1678
|
+
orderBy?: Prisma.OAuthFamilyOrderByWithRelationInput | Prisma.OAuthFamilyOrderByWithRelationInput[];
|
|
1679
|
+
cursor?: Prisma.OAuthFamilyWhereUniqueInput;
|
|
1680
|
+
take?: number;
|
|
1681
|
+
skip?: number;
|
|
1682
|
+
distinct?: Prisma.OAuthFamilyScalarFieldEnum | Prisma.OAuthFamilyScalarFieldEnum[];
|
|
1683
|
+
};
|
|
1684
|
+
/**
|
|
1685
|
+
* AuthUser without action
|
|
1686
|
+
*/
|
|
1687
|
+
export type AuthUserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1688
|
+
/**
|
|
1689
|
+
* Select specific fields to fetch from the AuthUser
|
|
1690
|
+
*/
|
|
1691
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1692
|
+
/**
|
|
1693
|
+
* Omit specific fields from the AuthUser
|
|
1694
|
+
*/
|
|
1695
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1696
|
+
/**
|
|
1697
|
+
* Choose, which related nodes to fetch as well
|
|
1698
|
+
*/
|
|
1699
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1700
|
+
};
|