@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,1540 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model OAuthFamily
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type OAuthFamilyModel = runtime.Types.Result.DefaultSelection<Prisma.$OAuthFamilyPayload>;
|
|
8
|
+
export type AggregateOAuthFamily = {
|
|
9
|
+
_count: OAuthFamilyCountAggregateOutputType | null;
|
|
10
|
+
_min: OAuthFamilyMinAggregateOutputType | null;
|
|
11
|
+
_max: OAuthFamilyMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type OAuthFamilyMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
clientId: string | null;
|
|
16
|
+
userId: string | null;
|
|
17
|
+
scope: string | null;
|
|
18
|
+
resource: string | null;
|
|
19
|
+
expiresAt: Date | null;
|
|
20
|
+
revokedAt: Date | null;
|
|
21
|
+
createdAt: Date | null;
|
|
22
|
+
};
|
|
23
|
+
export type OAuthFamilyMaxAggregateOutputType = {
|
|
24
|
+
id: string | null;
|
|
25
|
+
clientId: string | null;
|
|
26
|
+
userId: string | null;
|
|
27
|
+
scope: string | null;
|
|
28
|
+
resource: string | null;
|
|
29
|
+
expiresAt: Date | null;
|
|
30
|
+
revokedAt: Date | null;
|
|
31
|
+
createdAt: Date | null;
|
|
32
|
+
};
|
|
33
|
+
export type OAuthFamilyCountAggregateOutputType = {
|
|
34
|
+
id: number;
|
|
35
|
+
clientId: number;
|
|
36
|
+
userId: number;
|
|
37
|
+
scope: number;
|
|
38
|
+
resource: number;
|
|
39
|
+
expiresAt: number;
|
|
40
|
+
revokedAt: number;
|
|
41
|
+
createdAt: number;
|
|
42
|
+
_all: number;
|
|
43
|
+
};
|
|
44
|
+
export type OAuthFamilyMinAggregateInputType = {
|
|
45
|
+
id?: true;
|
|
46
|
+
clientId?: true;
|
|
47
|
+
userId?: true;
|
|
48
|
+
scope?: true;
|
|
49
|
+
resource?: true;
|
|
50
|
+
expiresAt?: true;
|
|
51
|
+
revokedAt?: true;
|
|
52
|
+
createdAt?: true;
|
|
53
|
+
};
|
|
54
|
+
export type OAuthFamilyMaxAggregateInputType = {
|
|
55
|
+
id?: true;
|
|
56
|
+
clientId?: true;
|
|
57
|
+
userId?: true;
|
|
58
|
+
scope?: true;
|
|
59
|
+
resource?: true;
|
|
60
|
+
expiresAt?: true;
|
|
61
|
+
revokedAt?: true;
|
|
62
|
+
createdAt?: true;
|
|
63
|
+
};
|
|
64
|
+
export type OAuthFamilyCountAggregateInputType = {
|
|
65
|
+
id?: true;
|
|
66
|
+
clientId?: true;
|
|
67
|
+
userId?: true;
|
|
68
|
+
scope?: true;
|
|
69
|
+
resource?: true;
|
|
70
|
+
expiresAt?: true;
|
|
71
|
+
revokedAt?: true;
|
|
72
|
+
createdAt?: true;
|
|
73
|
+
_all?: true;
|
|
74
|
+
};
|
|
75
|
+
export type OAuthFamilyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
76
|
+
/**
|
|
77
|
+
* Filter which OAuthFamily to aggregate.
|
|
78
|
+
*/
|
|
79
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
82
|
+
*
|
|
83
|
+
* Determine the order of OAuthFamilies to fetch.
|
|
84
|
+
*/
|
|
85
|
+
orderBy?: Prisma.OAuthFamilyOrderByWithRelationInput | Prisma.OAuthFamilyOrderByWithRelationInput[];
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
88
|
+
*
|
|
89
|
+
* Sets the start position
|
|
90
|
+
*/
|
|
91
|
+
cursor?: Prisma.OAuthFamilyWhereUniqueInput;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
94
|
+
*
|
|
95
|
+
* Take `±n` OAuthFamilies from the position of the cursor.
|
|
96
|
+
*/
|
|
97
|
+
take?: number;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
100
|
+
*
|
|
101
|
+
* Skip the first `n` OAuthFamilies.
|
|
102
|
+
*/
|
|
103
|
+
skip?: number;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Count returned OAuthFamilies
|
|
108
|
+
**/
|
|
109
|
+
_count?: true | OAuthFamilyCountAggregateInputType;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Select which fields to find the minimum value
|
|
114
|
+
**/
|
|
115
|
+
_min?: OAuthFamilyMinAggregateInputType;
|
|
116
|
+
/**
|
|
117
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
118
|
+
*
|
|
119
|
+
* Select which fields to find the maximum value
|
|
120
|
+
**/
|
|
121
|
+
_max?: OAuthFamilyMaxAggregateInputType;
|
|
122
|
+
};
|
|
123
|
+
export type GetOAuthFamilyAggregateType<T extends OAuthFamilyAggregateArgs> = {
|
|
124
|
+
[P in keyof T & keyof AggregateOAuthFamily]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOAuthFamily[P]> : Prisma.GetScalarType<T[P], AggregateOAuthFamily[P]>;
|
|
125
|
+
};
|
|
126
|
+
export type OAuthFamilyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
127
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
128
|
+
orderBy?: Prisma.OAuthFamilyOrderByWithAggregationInput | Prisma.OAuthFamilyOrderByWithAggregationInput[];
|
|
129
|
+
by: Prisma.OAuthFamilyScalarFieldEnum[] | Prisma.OAuthFamilyScalarFieldEnum;
|
|
130
|
+
having?: Prisma.OAuthFamilyScalarWhereWithAggregatesInput;
|
|
131
|
+
take?: number;
|
|
132
|
+
skip?: number;
|
|
133
|
+
_count?: OAuthFamilyCountAggregateInputType | true;
|
|
134
|
+
_min?: OAuthFamilyMinAggregateInputType;
|
|
135
|
+
_max?: OAuthFamilyMaxAggregateInputType;
|
|
136
|
+
};
|
|
137
|
+
export type OAuthFamilyGroupByOutputType = {
|
|
138
|
+
id: string;
|
|
139
|
+
clientId: string;
|
|
140
|
+
userId: string;
|
|
141
|
+
scope: string;
|
|
142
|
+
resource: string;
|
|
143
|
+
expiresAt: Date;
|
|
144
|
+
revokedAt: Date | null;
|
|
145
|
+
createdAt: Date;
|
|
146
|
+
_count: OAuthFamilyCountAggregateOutputType | null;
|
|
147
|
+
_min: OAuthFamilyMinAggregateOutputType | null;
|
|
148
|
+
_max: OAuthFamilyMaxAggregateOutputType | null;
|
|
149
|
+
};
|
|
150
|
+
export type GetOAuthFamilyGroupByPayload<T extends OAuthFamilyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OAuthFamilyGroupByOutputType, T['by']> & {
|
|
151
|
+
[P in ((keyof T) & (keyof OAuthFamilyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OAuthFamilyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OAuthFamilyGroupByOutputType[P]>;
|
|
152
|
+
}>>;
|
|
153
|
+
export type OAuthFamilyWhereInput = {
|
|
154
|
+
AND?: Prisma.OAuthFamilyWhereInput | Prisma.OAuthFamilyWhereInput[];
|
|
155
|
+
OR?: Prisma.OAuthFamilyWhereInput[];
|
|
156
|
+
NOT?: Prisma.OAuthFamilyWhereInput | Prisma.OAuthFamilyWhereInput[];
|
|
157
|
+
id?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
158
|
+
clientId?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
159
|
+
userId?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
160
|
+
scope?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
161
|
+
resource?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
162
|
+
expiresAt?: Prisma.DateTimeFilter<"OAuthFamily"> | Date | string;
|
|
163
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"OAuthFamily"> | Date | string | null;
|
|
164
|
+
createdAt?: Prisma.DateTimeFilter<"OAuthFamily"> | Date | string;
|
|
165
|
+
client?: Prisma.XOR<Prisma.OAuthClientScalarRelationFilter, Prisma.OAuthClientWhereInput>;
|
|
166
|
+
user?: Prisma.XOR<Prisma.AuthUserScalarRelationFilter, Prisma.AuthUserWhereInput>;
|
|
167
|
+
grants?: Prisma.OAuthGrantListRelationFilter;
|
|
168
|
+
};
|
|
169
|
+
export type OAuthFamilyOrderByWithRelationInput = {
|
|
170
|
+
id?: Prisma.SortOrder;
|
|
171
|
+
clientId?: Prisma.SortOrder;
|
|
172
|
+
userId?: Prisma.SortOrder;
|
|
173
|
+
scope?: Prisma.SortOrder;
|
|
174
|
+
resource?: Prisma.SortOrder;
|
|
175
|
+
expiresAt?: Prisma.SortOrder;
|
|
176
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
177
|
+
createdAt?: Prisma.SortOrder;
|
|
178
|
+
client?: Prisma.OAuthClientOrderByWithRelationInput;
|
|
179
|
+
user?: Prisma.AuthUserOrderByWithRelationInput;
|
|
180
|
+
grants?: Prisma.OAuthGrantOrderByRelationAggregateInput;
|
|
181
|
+
};
|
|
182
|
+
export type OAuthFamilyWhereUniqueInput = Prisma.AtLeast<{
|
|
183
|
+
id?: string;
|
|
184
|
+
AND?: Prisma.OAuthFamilyWhereInput | Prisma.OAuthFamilyWhereInput[];
|
|
185
|
+
OR?: Prisma.OAuthFamilyWhereInput[];
|
|
186
|
+
NOT?: Prisma.OAuthFamilyWhereInput | Prisma.OAuthFamilyWhereInput[];
|
|
187
|
+
clientId?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
188
|
+
userId?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
189
|
+
scope?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
190
|
+
resource?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
191
|
+
expiresAt?: Prisma.DateTimeFilter<"OAuthFamily"> | Date | string;
|
|
192
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"OAuthFamily"> | Date | string | null;
|
|
193
|
+
createdAt?: Prisma.DateTimeFilter<"OAuthFamily"> | Date | string;
|
|
194
|
+
client?: Prisma.XOR<Prisma.OAuthClientScalarRelationFilter, Prisma.OAuthClientWhereInput>;
|
|
195
|
+
user?: Prisma.XOR<Prisma.AuthUserScalarRelationFilter, Prisma.AuthUserWhereInput>;
|
|
196
|
+
grants?: Prisma.OAuthGrantListRelationFilter;
|
|
197
|
+
}, "id">;
|
|
198
|
+
export type OAuthFamilyOrderByWithAggregationInput = {
|
|
199
|
+
id?: Prisma.SortOrder;
|
|
200
|
+
clientId?: Prisma.SortOrder;
|
|
201
|
+
userId?: Prisma.SortOrder;
|
|
202
|
+
scope?: Prisma.SortOrder;
|
|
203
|
+
resource?: Prisma.SortOrder;
|
|
204
|
+
expiresAt?: Prisma.SortOrder;
|
|
205
|
+
revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
206
|
+
createdAt?: Prisma.SortOrder;
|
|
207
|
+
_count?: Prisma.OAuthFamilyCountOrderByAggregateInput;
|
|
208
|
+
_max?: Prisma.OAuthFamilyMaxOrderByAggregateInput;
|
|
209
|
+
_min?: Prisma.OAuthFamilyMinOrderByAggregateInput;
|
|
210
|
+
};
|
|
211
|
+
export type OAuthFamilyScalarWhereWithAggregatesInput = {
|
|
212
|
+
AND?: Prisma.OAuthFamilyScalarWhereWithAggregatesInput | Prisma.OAuthFamilyScalarWhereWithAggregatesInput[];
|
|
213
|
+
OR?: Prisma.OAuthFamilyScalarWhereWithAggregatesInput[];
|
|
214
|
+
NOT?: Prisma.OAuthFamilyScalarWhereWithAggregatesInput | Prisma.OAuthFamilyScalarWhereWithAggregatesInput[];
|
|
215
|
+
id?: Prisma.StringWithAggregatesFilter<"OAuthFamily"> | string;
|
|
216
|
+
clientId?: Prisma.StringWithAggregatesFilter<"OAuthFamily"> | string;
|
|
217
|
+
userId?: Prisma.StringWithAggregatesFilter<"OAuthFamily"> | string;
|
|
218
|
+
scope?: Prisma.StringWithAggregatesFilter<"OAuthFamily"> | string;
|
|
219
|
+
resource?: Prisma.StringWithAggregatesFilter<"OAuthFamily"> | string;
|
|
220
|
+
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"OAuthFamily"> | Date | string;
|
|
221
|
+
revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"OAuthFamily"> | Date | string | null;
|
|
222
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"OAuthFamily"> | Date | string;
|
|
223
|
+
};
|
|
224
|
+
export type OAuthFamilyCreateInput = {
|
|
225
|
+
id: string;
|
|
226
|
+
scope: string;
|
|
227
|
+
resource: string;
|
|
228
|
+
expiresAt: Date | string;
|
|
229
|
+
revokedAt?: Date | string | null;
|
|
230
|
+
createdAt?: Date | string;
|
|
231
|
+
client: Prisma.OAuthClientCreateNestedOneWithoutFamiliesInput;
|
|
232
|
+
user: Prisma.AuthUserCreateNestedOneWithoutFamiliesInput;
|
|
233
|
+
grants?: Prisma.OAuthGrantCreateNestedManyWithoutFamilyInput;
|
|
234
|
+
};
|
|
235
|
+
export type OAuthFamilyUncheckedCreateInput = {
|
|
236
|
+
id: string;
|
|
237
|
+
clientId: string;
|
|
238
|
+
userId: string;
|
|
239
|
+
scope: string;
|
|
240
|
+
resource: string;
|
|
241
|
+
expiresAt: Date | string;
|
|
242
|
+
revokedAt?: Date | string | null;
|
|
243
|
+
createdAt?: Date | string;
|
|
244
|
+
grants?: Prisma.OAuthGrantUncheckedCreateNestedManyWithoutFamilyInput;
|
|
245
|
+
};
|
|
246
|
+
export type OAuthFamilyUpdateInput = {
|
|
247
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
248
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
249
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
250
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
251
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
252
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
253
|
+
client?: Prisma.OAuthClientUpdateOneRequiredWithoutFamiliesNestedInput;
|
|
254
|
+
user?: Prisma.AuthUserUpdateOneRequiredWithoutFamiliesNestedInput;
|
|
255
|
+
grants?: Prisma.OAuthGrantUpdateManyWithoutFamilyNestedInput;
|
|
256
|
+
};
|
|
257
|
+
export type OAuthFamilyUncheckedUpdateInput = {
|
|
258
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
259
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
260
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
261
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
262
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
264
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
265
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
266
|
+
grants?: Prisma.OAuthGrantUncheckedUpdateManyWithoutFamilyNestedInput;
|
|
267
|
+
};
|
|
268
|
+
export type OAuthFamilyCreateManyInput = {
|
|
269
|
+
id: string;
|
|
270
|
+
clientId: string;
|
|
271
|
+
userId: string;
|
|
272
|
+
scope: string;
|
|
273
|
+
resource: string;
|
|
274
|
+
expiresAt: Date | string;
|
|
275
|
+
revokedAt?: Date | string | null;
|
|
276
|
+
createdAt?: Date | string;
|
|
277
|
+
};
|
|
278
|
+
export type OAuthFamilyUpdateManyMutationInput = {
|
|
279
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
280
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
281
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
282
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
283
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
284
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
285
|
+
};
|
|
286
|
+
export type OAuthFamilyUncheckedUpdateManyInput = {
|
|
287
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
288
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
290
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
291
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
292
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
293
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
294
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
295
|
+
};
|
|
296
|
+
export type OAuthFamilyListRelationFilter = {
|
|
297
|
+
every?: Prisma.OAuthFamilyWhereInput;
|
|
298
|
+
some?: Prisma.OAuthFamilyWhereInput;
|
|
299
|
+
none?: Prisma.OAuthFamilyWhereInput;
|
|
300
|
+
};
|
|
301
|
+
export type OAuthFamilyOrderByRelationAggregateInput = {
|
|
302
|
+
_count?: Prisma.SortOrder;
|
|
303
|
+
};
|
|
304
|
+
export type OAuthFamilyScalarRelationFilter = {
|
|
305
|
+
is?: Prisma.OAuthFamilyWhereInput;
|
|
306
|
+
isNot?: Prisma.OAuthFamilyWhereInput;
|
|
307
|
+
};
|
|
308
|
+
export type OAuthFamilyCountOrderByAggregateInput = {
|
|
309
|
+
id?: Prisma.SortOrder;
|
|
310
|
+
clientId?: Prisma.SortOrder;
|
|
311
|
+
userId?: Prisma.SortOrder;
|
|
312
|
+
scope?: Prisma.SortOrder;
|
|
313
|
+
resource?: Prisma.SortOrder;
|
|
314
|
+
expiresAt?: Prisma.SortOrder;
|
|
315
|
+
revokedAt?: Prisma.SortOrder;
|
|
316
|
+
createdAt?: Prisma.SortOrder;
|
|
317
|
+
};
|
|
318
|
+
export type OAuthFamilyMaxOrderByAggregateInput = {
|
|
319
|
+
id?: Prisma.SortOrder;
|
|
320
|
+
clientId?: Prisma.SortOrder;
|
|
321
|
+
userId?: Prisma.SortOrder;
|
|
322
|
+
scope?: Prisma.SortOrder;
|
|
323
|
+
resource?: Prisma.SortOrder;
|
|
324
|
+
expiresAt?: Prisma.SortOrder;
|
|
325
|
+
revokedAt?: Prisma.SortOrder;
|
|
326
|
+
createdAt?: Prisma.SortOrder;
|
|
327
|
+
};
|
|
328
|
+
export type OAuthFamilyMinOrderByAggregateInput = {
|
|
329
|
+
id?: Prisma.SortOrder;
|
|
330
|
+
clientId?: Prisma.SortOrder;
|
|
331
|
+
userId?: Prisma.SortOrder;
|
|
332
|
+
scope?: Prisma.SortOrder;
|
|
333
|
+
resource?: Prisma.SortOrder;
|
|
334
|
+
expiresAt?: Prisma.SortOrder;
|
|
335
|
+
revokedAt?: Prisma.SortOrder;
|
|
336
|
+
createdAt?: Prisma.SortOrder;
|
|
337
|
+
};
|
|
338
|
+
export type OAuthFamilyCreateNestedManyWithoutClientInput = {
|
|
339
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutClientInput, Prisma.OAuthFamilyUncheckedCreateWithoutClientInput> | Prisma.OAuthFamilyCreateWithoutClientInput[] | Prisma.OAuthFamilyUncheckedCreateWithoutClientInput[];
|
|
340
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutClientInput | Prisma.OAuthFamilyCreateOrConnectWithoutClientInput[];
|
|
341
|
+
createMany?: Prisma.OAuthFamilyCreateManyClientInputEnvelope;
|
|
342
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
343
|
+
};
|
|
344
|
+
export type OAuthFamilyUncheckedCreateNestedManyWithoutClientInput = {
|
|
345
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutClientInput, Prisma.OAuthFamilyUncheckedCreateWithoutClientInput> | Prisma.OAuthFamilyCreateWithoutClientInput[] | Prisma.OAuthFamilyUncheckedCreateWithoutClientInput[];
|
|
346
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutClientInput | Prisma.OAuthFamilyCreateOrConnectWithoutClientInput[];
|
|
347
|
+
createMany?: Prisma.OAuthFamilyCreateManyClientInputEnvelope;
|
|
348
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
349
|
+
};
|
|
350
|
+
export type OAuthFamilyUpdateManyWithoutClientNestedInput = {
|
|
351
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutClientInput, Prisma.OAuthFamilyUncheckedCreateWithoutClientInput> | Prisma.OAuthFamilyCreateWithoutClientInput[] | Prisma.OAuthFamilyUncheckedCreateWithoutClientInput[];
|
|
352
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutClientInput | Prisma.OAuthFamilyCreateOrConnectWithoutClientInput[];
|
|
353
|
+
upsert?: Prisma.OAuthFamilyUpsertWithWhereUniqueWithoutClientInput | Prisma.OAuthFamilyUpsertWithWhereUniqueWithoutClientInput[];
|
|
354
|
+
createMany?: Prisma.OAuthFamilyCreateManyClientInputEnvelope;
|
|
355
|
+
set?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
356
|
+
disconnect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
357
|
+
delete?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
358
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
359
|
+
update?: Prisma.OAuthFamilyUpdateWithWhereUniqueWithoutClientInput | Prisma.OAuthFamilyUpdateWithWhereUniqueWithoutClientInput[];
|
|
360
|
+
updateMany?: Prisma.OAuthFamilyUpdateManyWithWhereWithoutClientInput | Prisma.OAuthFamilyUpdateManyWithWhereWithoutClientInput[];
|
|
361
|
+
deleteMany?: Prisma.OAuthFamilyScalarWhereInput | Prisma.OAuthFamilyScalarWhereInput[];
|
|
362
|
+
};
|
|
363
|
+
export type OAuthFamilyUncheckedUpdateManyWithoutClientNestedInput = {
|
|
364
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutClientInput, Prisma.OAuthFamilyUncheckedCreateWithoutClientInput> | Prisma.OAuthFamilyCreateWithoutClientInput[] | Prisma.OAuthFamilyUncheckedCreateWithoutClientInput[];
|
|
365
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutClientInput | Prisma.OAuthFamilyCreateOrConnectWithoutClientInput[];
|
|
366
|
+
upsert?: Prisma.OAuthFamilyUpsertWithWhereUniqueWithoutClientInput | Prisma.OAuthFamilyUpsertWithWhereUniqueWithoutClientInput[];
|
|
367
|
+
createMany?: Prisma.OAuthFamilyCreateManyClientInputEnvelope;
|
|
368
|
+
set?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
369
|
+
disconnect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
370
|
+
delete?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
371
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
372
|
+
update?: Prisma.OAuthFamilyUpdateWithWhereUniqueWithoutClientInput | Prisma.OAuthFamilyUpdateWithWhereUniqueWithoutClientInput[];
|
|
373
|
+
updateMany?: Prisma.OAuthFamilyUpdateManyWithWhereWithoutClientInput | Prisma.OAuthFamilyUpdateManyWithWhereWithoutClientInput[];
|
|
374
|
+
deleteMany?: Prisma.OAuthFamilyScalarWhereInput | Prisma.OAuthFamilyScalarWhereInput[];
|
|
375
|
+
};
|
|
376
|
+
export type OAuthFamilyCreateNestedOneWithoutGrantsInput = {
|
|
377
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutGrantsInput, Prisma.OAuthFamilyUncheckedCreateWithoutGrantsInput>;
|
|
378
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutGrantsInput;
|
|
379
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput;
|
|
380
|
+
};
|
|
381
|
+
export type OAuthFamilyUpdateOneRequiredWithoutGrantsNestedInput = {
|
|
382
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutGrantsInput, Prisma.OAuthFamilyUncheckedCreateWithoutGrantsInput>;
|
|
383
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutGrantsInput;
|
|
384
|
+
upsert?: Prisma.OAuthFamilyUpsertWithoutGrantsInput;
|
|
385
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput;
|
|
386
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OAuthFamilyUpdateToOneWithWhereWithoutGrantsInput, Prisma.OAuthFamilyUpdateWithoutGrantsInput>, Prisma.OAuthFamilyUncheckedUpdateWithoutGrantsInput>;
|
|
387
|
+
};
|
|
388
|
+
export type OAuthFamilyCreateNestedManyWithoutUserInput = {
|
|
389
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutUserInput, Prisma.OAuthFamilyUncheckedCreateWithoutUserInput> | Prisma.OAuthFamilyCreateWithoutUserInput[] | Prisma.OAuthFamilyUncheckedCreateWithoutUserInput[];
|
|
390
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutUserInput | Prisma.OAuthFamilyCreateOrConnectWithoutUserInput[];
|
|
391
|
+
createMany?: Prisma.OAuthFamilyCreateManyUserInputEnvelope;
|
|
392
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
393
|
+
};
|
|
394
|
+
export type OAuthFamilyUncheckedCreateNestedManyWithoutUserInput = {
|
|
395
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutUserInput, Prisma.OAuthFamilyUncheckedCreateWithoutUserInput> | Prisma.OAuthFamilyCreateWithoutUserInput[] | Prisma.OAuthFamilyUncheckedCreateWithoutUserInput[];
|
|
396
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutUserInput | Prisma.OAuthFamilyCreateOrConnectWithoutUserInput[];
|
|
397
|
+
createMany?: Prisma.OAuthFamilyCreateManyUserInputEnvelope;
|
|
398
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
399
|
+
};
|
|
400
|
+
export type OAuthFamilyUpdateManyWithoutUserNestedInput = {
|
|
401
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutUserInput, Prisma.OAuthFamilyUncheckedCreateWithoutUserInput> | Prisma.OAuthFamilyCreateWithoutUserInput[] | Prisma.OAuthFamilyUncheckedCreateWithoutUserInput[];
|
|
402
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutUserInput | Prisma.OAuthFamilyCreateOrConnectWithoutUserInput[];
|
|
403
|
+
upsert?: Prisma.OAuthFamilyUpsertWithWhereUniqueWithoutUserInput | Prisma.OAuthFamilyUpsertWithWhereUniqueWithoutUserInput[];
|
|
404
|
+
createMany?: Prisma.OAuthFamilyCreateManyUserInputEnvelope;
|
|
405
|
+
set?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
406
|
+
disconnect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
407
|
+
delete?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
408
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
409
|
+
update?: Prisma.OAuthFamilyUpdateWithWhereUniqueWithoutUserInput | Prisma.OAuthFamilyUpdateWithWhereUniqueWithoutUserInput[];
|
|
410
|
+
updateMany?: Prisma.OAuthFamilyUpdateManyWithWhereWithoutUserInput | Prisma.OAuthFamilyUpdateManyWithWhereWithoutUserInput[];
|
|
411
|
+
deleteMany?: Prisma.OAuthFamilyScalarWhereInput | Prisma.OAuthFamilyScalarWhereInput[];
|
|
412
|
+
};
|
|
413
|
+
export type OAuthFamilyUncheckedUpdateManyWithoutUserNestedInput = {
|
|
414
|
+
create?: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutUserInput, Prisma.OAuthFamilyUncheckedCreateWithoutUserInput> | Prisma.OAuthFamilyCreateWithoutUserInput[] | Prisma.OAuthFamilyUncheckedCreateWithoutUserInput[];
|
|
415
|
+
connectOrCreate?: Prisma.OAuthFamilyCreateOrConnectWithoutUserInput | Prisma.OAuthFamilyCreateOrConnectWithoutUserInput[];
|
|
416
|
+
upsert?: Prisma.OAuthFamilyUpsertWithWhereUniqueWithoutUserInput | Prisma.OAuthFamilyUpsertWithWhereUniqueWithoutUserInput[];
|
|
417
|
+
createMany?: Prisma.OAuthFamilyCreateManyUserInputEnvelope;
|
|
418
|
+
set?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
419
|
+
disconnect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
420
|
+
delete?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
421
|
+
connect?: Prisma.OAuthFamilyWhereUniqueInput | Prisma.OAuthFamilyWhereUniqueInput[];
|
|
422
|
+
update?: Prisma.OAuthFamilyUpdateWithWhereUniqueWithoutUserInput | Prisma.OAuthFamilyUpdateWithWhereUniqueWithoutUserInput[];
|
|
423
|
+
updateMany?: Prisma.OAuthFamilyUpdateManyWithWhereWithoutUserInput | Prisma.OAuthFamilyUpdateManyWithWhereWithoutUserInput[];
|
|
424
|
+
deleteMany?: Prisma.OAuthFamilyScalarWhereInput | Prisma.OAuthFamilyScalarWhereInput[];
|
|
425
|
+
};
|
|
426
|
+
export type OAuthFamilyCreateWithoutClientInput = {
|
|
427
|
+
id: string;
|
|
428
|
+
scope: string;
|
|
429
|
+
resource: string;
|
|
430
|
+
expiresAt: Date | string;
|
|
431
|
+
revokedAt?: Date | string | null;
|
|
432
|
+
createdAt?: Date | string;
|
|
433
|
+
user: Prisma.AuthUserCreateNestedOneWithoutFamiliesInput;
|
|
434
|
+
grants?: Prisma.OAuthGrantCreateNestedManyWithoutFamilyInput;
|
|
435
|
+
};
|
|
436
|
+
export type OAuthFamilyUncheckedCreateWithoutClientInput = {
|
|
437
|
+
id: string;
|
|
438
|
+
userId: string;
|
|
439
|
+
scope: string;
|
|
440
|
+
resource: string;
|
|
441
|
+
expiresAt: Date | string;
|
|
442
|
+
revokedAt?: Date | string | null;
|
|
443
|
+
createdAt?: Date | string;
|
|
444
|
+
grants?: Prisma.OAuthGrantUncheckedCreateNestedManyWithoutFamilyInput;
|
|
445
|
+
};
|
|
446
|
+
export type OAuthFamilyCreateOrConnectWithoutClientInput = {
|
|
447
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
448
|
+
create: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutClientInput, Prisma.OAuthFamilyUncheckedCreateWithoutClientInput>;
|
|
449
|
+
};
|
|
450
|
+
export type OAuthFamilyCreateManyClientInputEnvelope = {
|
|
451
|
+
data: Prisma.OAuthFamilyCreateManyClientInput | Prisma.OAuthFamilyCreateManyClientInput[];
|
|
452
|
+
skipDuplicates?: boolean;
|
|
453
|
+
};
|
|
454
|
+
export type OAuthFamilyUpsertWithWhereUniqueWithoutClientInput = {
|
|
455
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
456
|
+
update: Prisma.XOR<Prisma.OAuthFamilyUpdateWithoutClientInput, Prisma.OAuthFamilyUncheckedUpdateWithoutClientInput>;
|
|
457
|
+
create: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutClientInput, Prisma.OAuthFamilyUncheckedCreateWithoutClientInput>;
|
|
458
|
+
};
|
|
459
|
+
export type OAuthFamilyUpdateWithWhereUniqueWithoutClientInput = {
|
|
460
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
461
|
+
data: Prisma.XOR<Prisma.OAuthFamilyUpdateWithoutClientInput, Prisma.OAuthFamilyUncheckedUpdateWithoutClientInput>;
|
|
462
|
+
};
|
|
463
|
+
export type OAuthFamilyUpdateManyWithWhereWithoutClientInput = {
|
|
464
|
+
where: Prisma.OAuthFamilyScalarWhereInput;
|
|
465
|
+
data: Prisma.XOR<Prisma.OAuthFamilyUpdateManyMutationInput, Prisma.OAuthFamilyUncheckedUpdateManyWithoutClientInput>;
|
|
466
|
+
};
|
|
467
|
+
export type OAuthFamilyScalarWhereInput = {
|
|
468
|
+
AND?: Prisma.OAuthFamilyScalarWhereInput | Prisma.OAuthFamilyScalarWhereInput[];
|
|
469
|
+
OR?: Prisma.OAuthFamilyScalarWhereInput[];
|
|
470
|
+
NOT?: Prisma.OAuthFamilyScalarWhereInput | Prisma.OAuthFamilyScalarWhereInput[];
|
|
471
|
+
id?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
472
|
+
clientId?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
473
|
+
userId?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
474
|
+
scope?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
475
|
+
resource?: Prisma.StringFilter<"OAuthFamily"> | string;
|
|
476
|
+
expiresAt?: Prisma.DateTimeFilter<"OAuthFamily"> | Date | string;
|
|
477
|
+
revokedAt?: Prisma.DateTimeNullableFilter<"OAuthFamily"> | Date | string | null;
|
|
478
|
+
createdAt?: Prisma.DateTimeFilter<"OAuthFamily"> | Date | string;
|
|
479
|
+
};
|
|
480
|
+
export type OAuthFamilyCreateWithoutGrantsInput = {
|
|
481
|
+
id: string;
|
|
482
|
+
scope: string;
|
|
483
|
+
resource: string;
|
|
484
|
+
expiresAt: Date | string;
|
|
485
|
+
revokedAt?: Date | string | null;
|
|
486
|
+
createdAt?: Date | string;
|
|
487
|
+
client: Prisma.OAuthClientCreateNestedOneWithoutFamiliesInput;
|
|
488
|
+
user: Prisma.AuthUserCreateNestedOneWithoutFamiliesInput;
|
|
489
|
+
};
|
|
490
|
+
export type OAuthFamilyUncheckedCreateWithoutGrantsInput = {
|
|
491
|
+
id: string;
|
|
492
|
+
clientId: string;
|
|
493
|
+
userId: string;
|
|
494
|
+
scope: string;
|
|
495
|
+
resource: string;
|
|
496
|
+
expiresAt: Date | string;
|
|
497
|
+
revokedAt?: Date | string | null;
|
|
498
|
+
createdAt?: Date | string;
|
|
499
|
+
};
|
|
500
|
+
export type OAuthFamilyCreateOrConnectWithoutGrantsInput = {
|
|
501
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
502
|
+
create: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutGrantsInput, Prisma.OAuthFamilyUncheckedCreateWithoutGrantsInput>;
|
|
503
|
+
};
|
|
504
|
+
export type OAuthFamilyUpsertWithoutGrantsInput = {
|
|
505
|
+
update: Prisma.XOR<Prisma.OAuthFamilyUpdateWithoutGrantsInput, Prisma.OAuthFamilyUncheckedUpdateWithoutGrantsInput>;
|
|
506
|
+
create: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutGrantsInput, Prisma.OAuthFamilyUncheckedCreateWithoutGrantsInput>;
|
|
507
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
508
|
+
};
|
|
509
|
+
export type OAuthFamilyUpdateToOneWithWhereWithoutGrantsInput = {
|
|
510
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
511
|
+
data: Prisma.XOR<Prisma.OAuthFamilyUpdateWithoutGrantsInput, Prisma.OAuthFamilyUncheckedUpdateWithoutGrantsInput>;
|
|
512
|
+
};
|
|
513
|
+
export type OAuthFamilyUpdateWithoutGrantsInput = {
|
|
514
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
515
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
516
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
517
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
518
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
519
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
520
|
+
client?: Prisma.OAuthClientUpdateOneRequiredWithoutFamiliesNestedInput;
|
|
521
|
+
user?: Prisma.AuthUserUpdateOneRequiredWithoutFamiliesNestedInput;
|
|
522
|
+
};
|
|
523
|
+
export type OAuthFamilyUncheckedUpdateWithoutGrantsInput = {
|
|
524
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
525
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
526
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
527
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
528
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
529
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
530
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
531
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
532
|
+
};
|
|
533
|
+
export type OAuthFamilyCreateWithoutUserInput = {
|
|
534
|
+
id: string;
|
|
535
|
+
scope: string;
|
|
536
|
+
resource: string;
|
|
537
|
+
expiresAt: Date | string;
|
|
538
|
+
revokedAt?: Date | string | null;
|
|
539
|
+
createdAt?: Date | string;
|
|
540
|
+
client: Prisma.OAuthClientCreateNestedOneWithoutFamiliesInput;
|
|
541
|
+
grants?: Prisma.OAuthGrantCreateNestedManyWithoutFamilyInput;
|
|
542
|
+
};
|
|
543
|
+
export type OAuthFamilyUncheckedCreateWithoutUserInput = {
|
|
544
|
+
id: string;
|
|
545
|
+
clientId: string;
|
|
546
|
+
scope: string;
|
|
547
|
+
resource: string;
|
|
548
|
+
expiresAt: Date | string;
|
|
549
|
+
revokedAt?: Date | string | null;
|
|
550
|
+
createdAt?: Date | string;
|
|
551
|
+
grants?: Prisma.OAuthGrantUncheckedCreateNestedManyWithoutFamilyInput;
|
|
552
|
+
};
|
|
553
|
+
export type OAuthFamilyCreateOrConnectWithoutUserInput = {
|
|
554
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
555
|
+
create: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutUserInput, Prisma.OAuthFamilyUncheckedCreateWithoutUserInput>;
|
|
556
|
+
};
|
|
557
|
+
export type OAuthFamilyCreateManyUserInputEnvelope = {
|
|
558
|
+
data: Prisma.OAuthFamilyCreateManyUserInput | Prisma.OAuthFamilyCreateManyUserInput[];
|
|
559
|
+
skipDuplicates?: boolean;
|
|
560
|
+
};
|
|
561
|
+
export type OAuthFamilyUpsertWithWhereUniqueWithoutUserInput = {
|
|
562
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
563
|
+
update: Prisma.XOR<Prisma.OAuthFamilyUpdateWithoutUserInput, Prisma.OAuthFamilyUncheckedUpdateWithoutUserInput>;
|
|
564
|
+
create: Prisma.XOR<Prisma.OAuthFamilyCreateWithoutUserInput, Prisma.OAuthFamilyUncheckedCreateWithoutUserInput>;
|
|
565
|
+
};
|
|
566
|
+
export type OAuthFamilyUpdateWithWhereUniqueWithoutUserInput = {
|
|
567
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
568
|
+
data: Prisma.XOR<Prisma.OAuthFamilyUpdateWithoutUserInput, Prisma.OAuthFamilyUncheckedUpdateWithoutUserInput>;
|
|
569
|
+
};
|
|
570
|
+
export type OAuthFamilyUpdateManyWithWhereWithoutUserInput = {
|
|
571
|
+
where: Prisma.OAuthFamilyScalarWhereInput;
|
|
572
|
+
data: Prisma.XOR<Prisma.OAuthFamilyUpdateManyMutationInput, Prisma.OAuthFamilyUncheckedUpdateManyWithoutUserInput>;
|
|
573
|
+
};
|
|
574
|
+
export type OAuthFamilyCreateManyClientInput = {
|
|
575
|
+
id: string;
|
|
576
|
+
userId: string;
|
|
577
|
+
scope: string;
|
|
578
|
+
resource: string;
|
|
579
|
+
expiresAt: Date | string;
|
|
580
|
+
revokedAt?: Date | string | null;
|
|
581
|
+
createdAt?: Date | string;
|
|
582
|
+
};
|
|
583
|
+
export type OAuthFamilyUpdateWithoutClientInput = {
|
|
584
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
585
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
586
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
587
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
588
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
589
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
590
|
+
user?: Prisma.AuthUserUpdateOneRequiredWithoutFamiliesNestedInput;
|
|
591
|
+
grants?: Prisma.OAuthGrantUpdateManyWithoutFamilyNestedInput;
|
|
592
|
+
};
|
|
593
|
+
export type OAuthFamilyUncheckedUpdateWithoutClientInput = {
|
|
594
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
595
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
596
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
597
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
598
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
599
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
600
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
601
|
+
grants?: Prisma.OAuthGrantUncheckedUpdateManyWithoutFamilyNestedInput;
|
|
602
|
+
};
|
|
603
|
+
export type OAuthFamilyUncheckedUpdateManyWithoutClientInput = {
|
|
604
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
605
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
606
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
607
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
608
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
609
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
610
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
611
|
+
};
|
|
612
|
+
export type OAuthFamilyCreateManyUserInput = {
|
|
613
|
+
id: string;
|
|
614
|
+
clientId: string;
|
|
615
|
+
scope: string;
|
|
616
|
+
resource: string;
|
|
617
|
+
expiresAt: Date | string;
|
|
618
|
+
revokedAt?: Date | string | null;
|
|
619
|
+
createdAt?: Date | string;
|
|
620
|
+
};
|
|
621
|
+
export type OAuthFamilyUpdateWithoutUserInput = {
|
|
622
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
623
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
624
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
625
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
626
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
627
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
628
|
+
client?: Prisma.OAuthClientUpdateOneRequiredWithoutFamiliesNestedInput;
|
|
629
|
+
grants?: Prisma.OAuthGrantUpdateManyWithoutFamilyNestedInput;
|
|
630
|
+
};
|
|
631
|
+
export type OAuthFamilyUncheckedUpdateWithoutUserInput = {
|
|
632
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
633
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
634
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
635
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
636
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
637
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
638
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
639
|
+
grants?: Prisma.OAuthGrantUncheckedUpdateManyWithoutFamilyNestedInput;
|
|
640
|
+
};
|
|
641
|
+
export type OAuthFamilyUncheckedUpdateManyWithoutUserInput = {
|
|
642
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
643
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
644
|
+
scope?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
645
|
+
resource?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
646
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
647
|
+
revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
648
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
649
|
+
};
|
|
650
|
+
/**
|
|
651
|
+
* Count Type OAuthFamilyCountOutputType
|
|
652
|
+
*/
|
|
653
|
+
export type OAuthFamilyCountOutputType = {
|
|
654
|
+
grants: number;
|
|
655
|
+
};
|
|
656
|
+
export type OAuthFamilyCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
657
|
+
grants?: boolean | OAuthFamilyCountOutputTypeCountGrantsArgs;
|
|
658
|
+
};
|
|
659
|
+
/**
|
|
660
|
+
* OAuthFamilyCountOutputType without action
|
|
661
|
+
*/
|
|
662
|
+
export type OAuthFamilyCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
663
|
+
/**
|
|
664
|
+
* Select specific fields to fetch from the OAuthFamilyCountOutputType
|
|
665
|
+
*/
|
|
666
|
+
select?: Prisma.OAuthFamilyCountOutputTypeSelect<ExtArgs> | null;
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* OAuthFamilyCountOutputType without action
|
|
670
|
+
*/
|
|
671
|
+
export type OAuthFamilyCountOutputTypeCountGrantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
672
|
+
where?: Prisma.OAuthGrantWhereInput;
|
|
673
|
+
};
|
|
674
|
+
export type OAuthFamilySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
675
|
+
id?: boolean;
|
|
676
|
+
clientId?: boolean;
|
|
677
|
+
userId?: boolean;
|
|
678
|
+
scope?: boolean;
|
|
679
|
+
resource?: boolean;
|
|
680
|
+
expiresAt?: boolean;
|
|
681
|
+
revokedAt?: boolean;
|
|
682
|
+
createdAt?: boolean;
|
|
683
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
684
|
+
user?: boolean | Prisma.AuthUserDefaultArgs<ExtArgs>;
|
|
685
|
+
grants?: boolean | Prisma.OAuthFamily$grantsArgs<ExtArgs>;
|
|
686
|
+
_count?: boolean | Prisma.OAuthFamilyCountOutputTypeDefaultArgs<ExtArgs>;
|
|
687
|
+
}, ExtArgs["result"]["oAuthFamily"]>;
|
|
688
|
+
export type OAuthFamilySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
689
|
+
id?: boolean;
|
|
690
|
+
clientId?: boolean;
|
|
691
|
+
userId?: boolean;
|
|
692
|
+
scope?: boolean;
|
|
693
|
+
resource?: boolean;
|
|
694
|
+
expiresAt?: boolean;
|
|
695
|
+
revokedAt?: boolean;
|
|
696
|
+
createdAt?: boolean;
|
|
697
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
698
|
+
user?: boolean | Prisma.AuthUserDefaultArgs<ExtArgs>;
|
|
699
|
+
}, ExtArgs["result"]["oAuthFamily"]>;
|
|
700
|
+
export type OAuthFamilySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
701
|
+
id?: boolean;
|
|
702
|
+
clientId?: boolean;
|
|
703
|
+
userId?: boolean;
|
|
704
|
+
scope?: boolean;
|
|
705
|
+
resource?: boolean;
|
|
706
|
+
expiresAt?: boolean;
|
|
707
|
+
revokedAt?: boolean;
|
|
708
|
+
createdAt?: boolean;
|
|
709
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
710
|
+
user?: boolean | Prisma.AuthUserDefaultArgs<ExtArgs>;
|
|
711
|
+
}, ExtArgs["result"]["oAuthFamily"]>;
|
|
712
|
+
export type OAuthFamilySelectScalar = {
|
|
713
|
+
id?: boolean;
|
|
714
|
+
clientId?: boolean;
|
|
715
|
+
userId?: boolean;
|
|
716
|
+
scope?: boolean;
|
|
717
|
+
resource?: boolean;
|
|
718
|
+
expiresAt?: boolean;
|
|
719
|
+
revokedAt?: boolean;
|
|
720
|
+
createdAt?: boolean;
|
|
721
|
+
};
|
|
722
|
+
export type OAuthFamilyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "clientId" | "userId" | "scope" | "resource" | "expiresAt" | "revokedAt" | "createdAt", ExtArgs["result"]["oAuthFamily"]>;
|
|
723
|
+
export type OAuthFamilyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
724
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
725
|
+
user?: boolean | Prisma.AuthUserDefaultArgs<ExtArgs>;
|
|
726
|
+
grants?: boolean | Prisma.OAuthFamily$grantsArgs<ExtArgs>;
|
|
727
|
+
_count?: boolean | Prisma.OAuthFamilyCountOutputTypeDefaultArgs<ExtArgs>;
|
|
728
|
+
};
|
|
729
|
+
export type OAuthFamilyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
730
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
731
|
+
user?: boolean | Prisma.AuthUserDefaultArgs<ExtArgs>;
|
|
732
|
+
};
|
|
733
|
+
export type OAuthFamilyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
734
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
735
|
+
user?: boolean | Prisma.AuthUserDefaultArgs<ExtArgs>;
|
|
736
|
+
};
|
|
737
|
+
export type $OAuthFamilyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
738
|
+
name: "OAuthFamily";
|
|
739
|
+
objects: {
|
|
740
|
+
client: Prisma.$OAuthClientPayload<ExtArgs>;
|
|
741
|
+
user: Prisma.$AuthUserPayload<ExtArgs>;
|
|
742
|
+
grants: Prisma.$OAuthGrantPayload<ExtArgs>[];
|
|
743
|
+
};
|
|
744
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
745
|
+
id: string;
|
|
746
|
+
clientId: string;
|
|
747
|
+
userId: string;
|
|
748
|
+
scope: string;
|
|
749
|
+
resource: string;
|
|
750
|
+
expiresAt: Date;
|
|
751
|
+
revokedAt: Date | null;
|
|
752
|
+
createdAt: Date;
|
|
753
|
+
}, ExtArgs["result"]["oAuthFamily"]>;
|
|
754
|
+
composites: {};
|
|
755
|
+
};
|
|
756
|
+
export type OAuthFamilyGetPayload<S extends boolean | null | undefined | OAuthFamilyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload, S>;
|
|
757
|
+
export type OAuthFamilyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OAuthFamilyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
758
|
+
select?: OAuthFamilyCountAggregateInputType | true;
|
|
759
|
+
};
|
|
760
|
+
export interface OAuthFamilyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
761
|
+
[K: symbol]: {
|
|
762
|
+
types: Prisma.TypeMap<ExtArgs>['model']['OAuthFamily'];
|
|
763
|
+
meta: {
|
|
764
|
+
name: 'OAuthFamily';
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
/**
|
|
768
|
+
* Find zero or one OAuthFamily that matches the filter.
|
|
769
|
+
* @param {OAuthFamilyFindUniqueArgs} args - Arguments to find a OAuthFamily
|
|
770
|
+
* @example
|
|
771
|
+
* // Get one OAuthFamily
|
|
772
|
+
* const oAuthFamily = await prisma.oAuthFamily.findUnique({
|
|
773
|
+
* where: {
|
|
774
|
+
* // ... provide filter here
|
|
775
|
+
* }
|
|
776
|
+
* })
|
|
777
|
+
*/
|
|
778
|
+
findUnique<T extends OAuthFamilyFindUniqueArgs>(args: Prisma.SelectSubset<T, OAuthFamilyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OAuthFamilyClient<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
779
|
+
/**
|
|
780
|
+
* Find one OAuthFamily that matches the filter or throw an error with `error.code='P2025'`
|
|
781
|
+
* if no matches were found.
|
|
782
|
+
* @param {OAuthFamilyFindUniqueOrThrowArgs} args - Arguments to find a OAuthFamily
|
|
783
|
+
* @example
|
|
784
|
+
* // Get one OAuthFamily
|
|
785
|
+
* const oAuthFamily = await prisma.oAuthFamily.findUniqueOrThrow({
|
|
786
|
+
* where: {
|
|
787
|
+
* // ... provide filter here
|
|
788
|
+
* }
|
|
789
|
+
* })
|
|
790
|
+
*/
|
|
791
|
+
findUniqueOrThrow<T extends OAuthFamilyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OAuthFamilyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OAuthFamilyClient<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
792
|
+
/**
|
|
793
|
+
* Find the first OAuthFamily that matches the filter.
|
|
794
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
795
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
796
|
+
* @param {OAuthFamilyFindFirstArgs} args - Arguments to find a OAuthFamily
|
|
797
|
+
* @example
|
|
798
|
+
* // Get one OAuthFamily
|
|
799
|
+
* const oAuthFamily = await prisma.oAuthFamily.findFirst({
|
|
800
|
+
* where: {
|
|
801
|
+
* // ... provide filter here
|
|
802
|
+
* }
|
|
803
|
+
* })
|
|
804
|
+
*/
|
|
805
|
+
findFirst<T extends OAuthFamilyFindFirstArgs>(args?: Prisma.SelectSubset<T, OAuthFamilyFindFirstArgs<ExtArgs>>): Prisma.Prisma__OAuthFamilyClient<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
806
|
+
/**
|
|
807
|
+
* Find the first OAuthFamily that matches the filter or
|
|
808
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
809
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
810
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
811
|
+
* @param {OAuthFamilyFindFirstOrThrowArgs} args - Arguments to find a OAuthFamily
|
|
812
|
+
* @example
|
|
813
|
+
* // Get one OAuthFamily
|
|
814
|
+
* const oAuthFamily = await prisma.oAuthFamily.findFirstOrThrow({
|
|
815
|
+
* where: {
|
|
816
|
+
* // ... provide filter here
|
|
817
|
+
* }
|
|
818
|
+
* })
|
|
819
|
+
*/
|
|
820
|
+
findFirstOrThrow<T extends OAuthFamilyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OAuthFamilyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OAuthFamilyClient<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
821
|
+
/**
|
|
822
|
+
* Find zero or more OAuthFamilies that matches the filter.
|
|
823
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
824
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
825
|
+
* @param {OAuthFamilyFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
826
|
+
* @example
|
|
827
|
+
* // Get all OAuthFamilies
|
|
828
|
+
* const oAuthFamilies = await prisma.oAuthFamily.findMany()
|
|
829
|
+
*
|
|
830
|
+
* // Get first 10 OAuthFamilies
|
|
831
|
+
* const oAuthFamilies = await prisma.oAuthFamily.findMany({ take: 10 })
|
|
832
|
+
*
|
|
833
|
+
* // Only select the `id`
|
|
834
|
+
* const oAuthFamilyWithIdOnly = await prisma.oAuthFamily.findMany({ select: { id: true } })
|
|
835
|
+
*
|
|
836
|
+
*/
|
|
837
|
+
findMany<T extends OAuthFamilyFindManyArgs>(args?: Prisma.SelectSubset<T, OAuthFamilyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
838
|
+
/**
|
|
839
|
+
* Create a OAuthFamily.
|
|
840
|
+
* @param {OAuthFamilyCreateArgs} args - Arguments to create a OAuthFamily.
|
|
841
|
+
* @example
|
|
842
|
+
* // Create one OAuthFamily
|
|
843
|
+
* const OAuthFamily = await prisma.oAuthFamily.create({
|
|
844
|
+
* data: {
|
|
845
|
+
* // ... data to create a OAuthFamily
|
|
846
|
+
* }
|
|
847
|
+
* })
|
|
848
|
+
*
|
|
849
|
+
*/
|
|
850
|
+
create<T extends OAuthFamilyCreateArgs>(args: Prisma.SelectSubset<T, OAuthFamilyCreateArgs<ExtArgs>>): Prisma.Prisma__OAuthFamilyClient<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
851
|
+
/**
|
|
852
|
+
* Create many OAuthFamilies.
|
|
853
|
+
* @param {OAuthFamilyCreateManyArgs} args - Arguments to create many OAuthFamilies.
|
|
854
|
+
* @example
|
|
855
|
+
* // Create many OAuthFamilies
|
|
856
|
+
* const oAuthFamily = await prisma.oAuthFamily.createMany({
|
|
857
|
+
* data: [
|
|
858
|
+
* // ... provide data here
|
|
859
|
+
* ]
|
|
860
|
+
* })
|
|
861
|
+
*
|
|
862
|
+
*/
|
|
863
|
+
createMany<T extends OAuthFamilyCreateManyArgs>(args?: Prisma.SelectSubset<T, OAuthFamilyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
864
|
+
/**
|
|
865
|
+
* Create many OAuthFamilies and returns the data saved in the database.
|
|
866
|
+
* @param {OAuthFamilyCreateManyAndReturnArgs} args - Arguments to create many OAuthFamilies.
|
|
867
|
+
* @example
|
|
868
|
+
* // Create many OAuthFamilies
|
|
869
|
+
* const oAuthFamily = await prisma.oAuthFamily.createManyAndReturn({
|
|
870
|
+
* data: [
|
|
871
|
+
* // ... provide data here
|
|
872
|
+
* ]
|
|
873
|
+
* })
|
|
874
|
+
*
|
|
875
|
+
* // Create many OAuthFamilies and only return the `id`
|
|
876
|
+
* const oAuthFamilyWithIdOnly = await prisma.oAuthFamily.createManyAndReturn({
|
|
877
|
+
* select: { id: true },
|
|
878
|
+
* data: [
|
|
879
|
+
* // ... provide data here
|
|
880
|
+
* ]
|
|
881
|
+
* })
|
|
882
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
883
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
884
|
+
*
|
|
885
|
+
*/
|
|
886
|
+
createManyAndReturn<T extends OAuthFamilyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OAuthFamilyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
887
|
+
/**
|
|
888
|
+
* Delete a OAuthFamily.
|
|
889
|
+
* @param {OAuthFamilyDeleteArgs} args - Arguments to delete one OAuthFamily.
|
|
890
|
+
* @example
|
|
891
|
+
* // Delete one OAuthFamily
|
|
892
|
+
* const OAuthFamily = await prisma.oAuthFamily.delete({
|
|
893
|
+
* where: {
|
|
894
|
+
* // ... filter to delete one OAuthFamily
|
|
895
|
+
* }
|
|
896
|
+
* })
|
|
897
|
+
*
|
|
898
|
+
*/
|
|
899
|
+
delete<T extends OAuthFamilyDeleteArgs>(args: Prisma.SelectSubset<T, OAuthFamilyDeleteArgs<ExtArgs>>): Prisma.Prisma__OAuthFamilyClient<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
900
|
+
/**
|
|
901
|
+
* Update one OAuthFamily.
|
|
902
|
+
* @param {OAuthFamilyUpdateArgs} args - Arguments to update one OAuthFamily.
|
|
903
|
+
* @example
|
|
904
|
+
* // Update one OAuthFamily
|
|
905
|
+
* const oAuthFamily = await prisma.oAuthFamily.update({
|
|
906
|
+
* where: {
|
|
907
|
+
* // ... provide filter here
|
|
908
|
+
* },
|
|
909
|
+
* data: {
|
|
910
|
+
* // ... provide data here
|
|
911
|
+
* }
|
|
912
|
+
* })
|
|
913
|
+
*
|
|
914
|
+
*/
|
|
915
|
+
update<T extends OAuthFamilyUpdateArgs>(args: Prisma.SelectSubset<T, OAuthFamilyUpdateArgs<ExtArgs>>): Prisma.Prisma__OAuthFamilyClient<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
916
|
+
/**
|
|
917
|
+
* Delete zero or more OAuthFamilies.
|
|
918
|
+
* @param {OAuthFamilyDeleteManyArgs} args - Arguments to filter OAuthFamilies to delete.
|
|
919
|
+
* @example
|
|
920
|
+
* // Delete a few OAuthFamilies
|
|
921
|
+
* const { count } = await prisma.oAuthFamily.deleteMany({
|
|
922
|
+
* where: {
|
|
923
|
+
* // ... provide filter here
|
|
924
|
+
* }
|
|
925
|
+
* })
|
|
926
|
+
*
|
|
927
|
+
*/
|
|
928
|
+
deleteMany<T extends OAuthFamilyDeleteManyArgs>(args?: Prisma.SelectSubset<T, OAuthFamilyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
929
|
+
/**
|
|
930
|
+
* Update zero or more OAuthFamilies.
|
|
931
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
932
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
933
|
+
* @param {OAuthFamilyUpdateManyArgs} args - Arguments to update one or more rows.
|
|
934
|
+
* @example
|
|
935
|
+
* // Update many OAuthFamilies
|
|
936
|
+
* const oAuthFamily = await prisma.oAuthFamily.updateMany({
|
|
937
|
+
* where: {
|
|
938
|
+
* // ... provide filter here
|
|
939
|
+
* },
|
|
940
|
+
* data: {
|
|
941
|
+
* // ... provide data here
|
|
942
|
+
* }
|
|
943
|
+
* })
|
|
944
|
+
*
|
|
945
|
+
*/
|
|
946
|
+
updateMany<T extends OAuthFamilyUpdateManyArgs>(args: Prisma.SelectSubset<T, OAuthFamilyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
947
|
+
/**
|
|
948
|
+
* Update zero or more OAuthFamilies and returns the data updated in the database.
|
|
949
|
+
* @param {OAuthFamilyUpdateManyAndReturnArgs} args - Arguments to update many OAuthFamilies.
|
|
950
|
+
* @example
|
|
951
|
+
* // Update many OAuthFamilies
|
|
952
|
+
* const oAuthFamily = await prisma.oAuthFamily.updateManyAndReturn({
|
|
953
|
+
* where: {
|
|
954
|
+
* // ... provide filter here
|
|
955
|
+
* },
|
|
956
|
+
* data: [
|
|
957
|
+
* // ... provide data here
|
|
958
|
+
* ]
|
|
959
|
+
* })
|
|
960
|
+
*
|
|
961
|
+
* // Update zero or more OAuthFamilies and only return the `id`
|
|
962
|
+
* const oAuthFamilyWithIdOnly = await prisma.oAuthFamily.updateManyAndReturn({
|
|
963
|
+
* select: { id: true },
|
|
964
|
+
* where: {
|
|
965
|
+
* // ... provide filter here
|
|
966
|
+
* },
|
|
967
|
+
* data: [
|
|
968
|
+
* // ... provide data here
|
|
969
|
+
* ]
|
|
970
|
+
* })
|
|
971
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
972
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
973
|
+
*
|
|
974
|
+
*/
|
|
975
|
+
updateManyAndReturn<T extends OAuthFamilyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OAuthFamilyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
976
|
+
/**
|
|
977
|
+
* Create or update one OAuthFamily.
|
|
978
|
+
* @param {OAuthFamilyUpsertArgs} args - Arguments to update or create a OAuthFamily.
|
|
979
|
+
* @example
|
|
980
|
+
* // Update or create a OAuthFamily
|
|
981
|
+
* const oAuthFamily = await prisma.oAuthFamily.upsert({
|
|
982
|
+
* create: {
|
|
983
|
+
* // ... data to create a OAuthFamily
|
|
984
|
+
* },
|
|
985
|
+
* update: {
|
|
986
|
+
* // ... in case it already exists, update
|
|
987
|
+
* },
|
|
988
|
+
* where: {
|
|
989
|
+
* // ... the filter for the OAuthFamily we want to update
|
|
990
|
+
* }
|
|
991
|
+
* })
|
|
992
|
+
*/
|
|
993
|
+
upsert<T extends OAuthFamilyUpsertArgs>(args: Prisma.SelectSubset<T, OAuthFamilyUpsertArgs<ExtArgs>>): Prisma.Prisma__OAuthFamilyClient<runtime.Types.Result.GetResult<Prisma.$OAuthFamilyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
994
|
+
/**
|
|
995
|
+
* Count the number of OAuthFamilies.
|
|
996
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
997
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
998
|
+
* @param {OAuthFamilyCountArgs} args - Arguments to filter OAuthFamilies to count.
|
|
999
|
+
* @example
|
|
1000
|
+
* // Count the number of OAuthFamilies
|
|
1001
|
+
* const count = await prisma.oAuthFamily.count({
|
|
1002
|
+
* where: {
|
|
1003
|
+
* // ... the filter for the OAuthFamilies we want to count
|
|
1004
|
+
* }
|
|
1005
|
+
* })
|
|
1006
|
+
**/
|
|
1007
|
+
count<T extends OAuthFamilyCountArgs>(args?: Prisma.Subset<T, OAuthFamilyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OAuthFamilyCountAggregateOutputType> : number>;
|
|
1008
|
+
/**
|
|
1009
|
+
* Allows you to perform aggregations operations on a OAuthFamily.
|
|
1010
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1011
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1012
|
+
* @param {OAuthFamilyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1013
|
+
* @example
|
|
1014
|
+
* // Ordered by age ascending
|
|
1015
|
+
* // Where email contains prisma.io
|
|
1016
|
+
* // Limited to the 10 users
|
|
1017
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1018
|
+
* _avg: {
|
|
1019
|
+
* age: true,
|
|
1020
|
+
* },
|
|
1021
|
+
* where: {
|
|
1022
|
+
* email: {
|
|
1023
|
+
* contains: "prisma.io",
|
|
1024
|
+
* },
|
|
1025
|
+
* },
|
|
1026
|
+
* orderBy: {
|
|
1027
|
+
* age: "asc",
|
|
1028
|
+
* },
|
|
1029
|
+
* take: 10,
|
|
1030
|
+
* })
|
|
1031
|
+
**/
|
|
1032
|
+
aggregate<T extends OAuthFamilyAggregateArgs>(args: Prisma.Subset<T, OAuthFamilyAggregateArgs>): Prisma.PrismaPromise<GetOAuthFamilyAggregateType<T>>;
|
|
1033
|
+
/**
|
|
1034
|
+
* Group by OAuthFamily.
|
|
1035
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1036
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1037
|
+
* @param {OAuthFamilyGroupByArgs} args - Group by arguments.
|
|
1038
|
+
* @example
|
|
1039
|
+
* // Group by city, order by createdAt, get count
|
|
1040
|
+
* const result = await prisma.user.groupBy({
|
|
1041
|
+
* by: ['city', 'createdAt'],
|
|
1042
|
+
* orderBy: {
|
|
1043
|
+
* createdAt: true
|
|
1044
|
+
* },
|
|
1045
|
+
* _count: {
|
|
1046
|
+
* _all: true
|
|
1047
|
+
* },
|
|
1048
|
+
* })
|
|
1049
|
+
*
|
|
1050
|
+
**/
|
|
1051
|
+
groupBy<T extends OAuthFamilyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1052
|
+
orderBy: OAuthFamilyGroupByArgs['orderBy'];
|
|
1053
|
+
} : {
|
|
1054
|
+
orderBy?: OAuthFamilyGroupByArgs['orderBy'];
|
|
1055
|
+
}, 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 ? {
|
|
1056
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1057
|
+
Error,
|
|
1058
|
+
'Field ',
|
|
1059
|
+
P,
|
|
1060
|
+
` in "having" needs to be provided in "by"`
|
|
1061
|
+
];
|
|
1062
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1063
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1064
|
+
}[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 ? {} : {
|
|
1065
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1066
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1067
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1068
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OAuthFamilyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOAuthFamilyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Fields of the OAuthFamily model
|
|
1071
|
+
*/
|
|
1072
|
+
readonly fields: OAuthFamilyFieldRefs;
|
|
1073
|
+
}
|
|
1074
|
+
/**
|
|
1075
|
+
* The delegate class that acts as a "Promise-like" for OAuthFamily.
|
|
1076
|
+
* Why is this prefixed with `Prisma__`?
|
|
1077
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1078
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1079
|
+
*/
|
|
1080
|
+
export interface Prisma__OAuthFamilyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1081
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1082
|
+
client<T extends Prisma.OAuthClientDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthClientDefaultArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1083
|
+
user<T extends Prisma.AuthUserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AuthUserDefaultArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1084
|
+
grants<T extends Prisma.OAuthFamily$grantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthFamily$grantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthGrantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1085
|
+
/**
|
|
1086
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1087
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1088
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1089
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1090
|
+
*/
|
|
1091
|
+
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>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1094
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1095
|
+
* @returns A Promise for the completion of the callback.
|
|
1096
|
+
*/
|
|
1097
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1100
|
+
* resolved value cannot be modified from the callback.
|
|
1101
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1102
|
+
* @returns A Promise for the completion of the callback.
|
|
1103
|
+
*/
|
|
1104
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* Fields of the OAuthFamily model
|
|
1108
|
+
*/
|
|
1109
|
+
export interface OAuthFamilyFieldRefs {
|
|
1110
|
+
readonly id: Prisma.FieldRef<"OAuthFamily", 'String'>;
|
|
1111
|
+
readonly clientId: Prisma.FieldRef<"OAuthFamily", 'String'>;
|
|
1112
|
+
readonly userId: Prisma.FieldRef<"OAuthFamily", 'String'>;
|
|
1113
|
+
readonly scope: Prisma.FieldRef<"OAuthFamily", 'String'>;
|
|
1114
|
+
readonly resource: Prisma.FieldRef<"OAuthFamily", 'String'>;
|
|
1115
|
+
readonly expiresAt: Prisma.FieldRef<"OAuthFamily", 'DateTime'>;
|
|
1116
|
+
readonly revokedAt: Prisma.FieldRef<"OAuthFamily", 'DateTime'>;
|
|
1117
|
+
readonly createdAt: Prisma.FieldRef<"OAuthFamily", 'DateTime'>;
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* OAuthFamily findUnique
|
|
1121
|
+
*/
|
|
1122
|
+
export type OAuthFamilyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1123
|
+
/**
|
|
1124
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1125
|
+
*/
|
|
1126
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1127
|
+
/**
|
|
1128
|
+
* Omit specific fields from the OAuthFamily
|
|
1129
|
+
*/
|
|
1130
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1131
|
+
/**
|
|
1132
|
+
* Choose, which related nodes to fetch as well
|
|
1133
|
+
*/
|
|
1134
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1135
|
+
/**
|
|
1136
|
+
* Filter, which OAuthFamily to fetch.
|
|
1137
|
+
*/
|
|
1138
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
1139
|
+
};
|
|
1140
|
+
/**
|
|
1141
|
+
* OAuthFamily findUniqueOrThrow
|
|
1142
|
+
*/
|
|
1143
|
+
export type OAuthFamilyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1144
|
+
/**
|
|
1145
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1146
|
+
*/
|
|
1147
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1148
|
+
/**
|
|
1149
|
+
* Omit specific fields from the OAuthFamily
|
|
1150
|
+
*/
|
|
1151
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1152
|
+
/**
|
|
1153
|
+
* Choose, which related nodes to fetch as well
|
|
1154
|
+
*/
|
|
1155
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Filter, which OAuthFamily to fetch.
|
|
1158
|
+
*/
|
|
1159
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
1160
|
+
};
|
|
1161
|
+
/**
|
|
1162
|
+
* OAuthFamily findFirst
|
|
1163
|
+
*/
|
|
1164
|
+
export type OAuthFamilyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1165
|
+
/**
|
|
1166
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1167
|
+
*/
|
|
1168
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* Omit specific fields from the OAuthFamily
|
|
1171
|
+
*/
|
|
1172
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1173
|
+
/**
|
|
1174
|
+
* Choose, which related nodes to fetch as well
|
|
1175
|
+
*/
|
|
1176
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* Filter, which OAuthFamily to fetch.
|
|
1179
|
+
*/
|
|
1180
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
1181
|
+
/**
|
|
1182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1183
|
+
*
|
|
1184
|
+
* Determine the order of OAuthFamilies to fetch.
|
|
1185
|
+
*/
|
|
1186
|
+
orderBy?: Prisma.OAuthFamilyOrderByWithRelationInput | Prisma.OAuthFamilyOrderByWithRelationInput[];
|
|
1187
|
+
/**
|
|
1188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1189
|
+
*
|
|
1190
|
+
* Sets the position for searching for OAuthFamilies.
|
|
1191
|
+
*/
|
|
1192
|
+
cursor?: Prisma.OAuthFamilyWhereUniqueInput;
|
|
1193
|
+
/**
|
|
1194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1195
|
+
*
|
|
1196
|
+
* Take `±n` OAuthFamilies from the position of the cursor.
|
|
1197
|
+
*/
|
|
1198
|
+
take?: number;
|
|
1199
|
+
/**
|
|
1200
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1201
|
+
*
|
|
1202
|
+
* Skip the first `n` OAuthFamilies.
|
|
1203
|
+
*/
|
|
1204
|
+
skip?: number;
|
|
1205
|
+
/**
|
|
1206
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1207
|
+
*
|
|
1208
|
+
* Filter by unique combinations of OAuthFamilies.
|
|
1209
|
+
*/
|
|
1210
|
+
distinct?: Prisma.OAuthFamilyScalarFieldEnum | Prisma.OAuthFamilyScalarFieldEnum[];
|
|
1211
|
+
};
|
|
1212
|
+
/**
|
|
1213
|
+
* OAuthFamily findFirstOrThrow
|
|
1214
|
+
*/
|
|
1215
|
+
export type OAuthFamilyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1216
|
+
/**
|
|
1217
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1218
|
+
*/
|
|
1219
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* Omit specific fields from the OAuthFamily
|
|
1222
|
+
*/
|
|
1223
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1224
|
+
/**
|
|
1225
|
+
* Choose, which related nodes to fetch as well
|
|
1226
|
+
*/
|
|
1227
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1228
|
+
/**
|
|
1229
|
+
* Filter, which OAuthFamily to fetch.
|
|
1230
|
+
*/
|
|
1231
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
1232
|
+
/**
|
|
1233
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1234
|
+
*
|
|
1235
|
+
* Determine the order of OAuthFamilies to fetch.
|
|
1236
|
+
*/
|
|
1237
|
+
orderBy?: Prisma.OAuthFamilyOrderByWithRelationInput | Prisma.OAuthFamilyOrderByWithRelationInput[];
|
|
1238
|
+
/**
|
|
1239
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1240
|
+
*
|
|
1241
|
+
* Sets the position for searching for OAuthFamilies.
|
|
1242
|
+
*/
|
|
1243
|
+
cursor?: Prisma.OAuthFamilyWhereUniqueInput;
|
|
1244
|
+
/**
|
|
1245
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1246
|
+
*
|
|
1247
|
+
* Take `±n` OAuthFamilies from the position of the cursor.
|
|
1248
|
+
*/
|
|
1249
|
+
take?: number;
|
|
1250
|
+
/**
|
|
1251
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1252
|
+
*
|
|
1253
|
+
* Skip the first `n` OAuthFamilies.
|
|
1254
|
+
*/
|
|
1255
|
+
skip?: number;
|
|
1256
|
+
/**
|
|
1257
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1258
|
+
*
|
|
1259
|
+
* Filter by unique combinations of OAuthFamilies.
|
|
1260
|
+
*/
|
|
1261
|
+
distinct?: Prisma.OAuthFamilyScalarFieldEnum | Prisma.OAuthFamilyScalarFieldEnum[];
|
|
1262
|
+
};
|
|
1263
|
+
/**
|
|
1264
|
+
* OAuthFamily findMany
|
|
1265
|
+
*/
|
|
1266
|
+
export type OAuthFamilyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1267
|
+
/**
|
|
1268
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1269
|
+
*/
|
|
1270
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1271
|
+
/**
|
|
1272
|
+
* Omit specific fields from the OAuthFamily
|
|
1273
|
+
*/
|
|
1274
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1275
|
+
/**
|
|
1276
|
+
* Choose, which related nodes to fetch as well
|
|
1277
|
+
*/
|
|
1278
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Filter, which OAuthFamilies to fetch.
|
|
1281
|
+
*/
|
|
1282
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
1283
|
+
/**
|
|
1284
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1285
|
+
*
|
|
1286
|
+
* Determine the order of OAuthFamilies to fetch.
|
|
1287
|
+
*/
|
|
1288
|
+
orderBy?: Prisma.OAuthFamilyOrderByWithRelationInput | Prisma.OAuthFamilyOrderByWithRelationInput[];
|
|
1289
|
+
/**
|
|
1290
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1291
|
+
*
|
|
1292
|
+
* Sets the position for listing OAuthFamilies.
|
|
1293
|
+
*/
|
|
1294
|
+
cursor?: Prisma.OAuthFamilyWhereUniqueInput;
|
|
1295
|
+
/**
|
|
1296
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1297
|
+
*
|
|
1298
|
+
* Take `±n` OAuthFamilies from the position of the cursor.
|
|
1299
|
+
*/
|
|
1300
|
+
take?: number;
|
|
1301
|
+
/**
|
|
1302
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1303
|
+
*
|
|
1304
|
+
* Skip the first `n` OAuthFamilies.
|
|
1305
|
+
*/
|
|
1306
|
+
skip?: number;
|
|
1307
|
+
/**
|
|
1308
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1309
|
+
*
|
|
1310
|
+
* Filter by unique combinations of OAuthFamilies.
|
|
1311
|
+
*/
|
|
1312
|
+
distinct?: Prisma.OAuthFamilyScalarFieldEnum | Prisma.OAuthFamilyScalarFieldEnum[];
|
|
1313
|
+
};
|
|
1314
|
+
/**
|
|
1315
|
+
* OAuthFamily create
|
|
1316
|
+
*/
|
|
1317
|
+
export type OAuthFamilyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1318
|
+
/**
|
|
1319
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1320
|
+
*/
|
|
1321
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1322
|
+
/**
|
|
1323
|
+
* Omit specific fields from the OAuthFamily
|
|
1324
|
+
*/
|
|
1325
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1326
|
+
/**
|
|
1327
|
+
* Choose, which related nodes to fetch as well
|
|
1328
|
+
*/
|
|
1329
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1330
|
+
/**
|
|
1331
|
+
* The data needed to create a OAuthFamily.
|
|
1332
|
+
*/
|
|
1333
|
+
data: Prisma.XOR<Prisma.OAuthFamilyCreateInput, Prisma.OAuthFamilyUncheckedCreateInput>;
|
|
1334
|
+
};
|
|
1335
|
+
/**
|
|
1336
|
+
* OAuthFamily createMany
|
|
1337
|
+
*/
|
|
1338
|
+
export type OAuthFamilyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1339
|
+
/**
|
|
1340
|
+
* The data used to create many OAuthFamilies.
|
|
1341
|
+
*/
|
|
1342
|
+
data: Prisma.OAuthFamilyCreateManyInput | Prisma.OAuthFamilyCreateManyInput[];
|
|
1343
|
+
skipDuplicates?: boolean;
|
|
1344
|
+
};
|
|
1345
|
+
/**
|
|
1346
|
+
* OAuthFamily createManyAndReturn
|
|
1347
|
+
*/
|
|
1348
|
+
export type OAuthFamilyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1349
|
+
/**
|
|
1350
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1351
|
+
*/
|
|
1352
|
+
select?: Prisma.OAuthFamilySelectCreateManyAndReturn<ExtArgs> | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* Omit specific fields from the OAuthFamily
|
|
1355
|
+
*/
|
|
1356
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* The data used to create many OAuthFamilies.
|
|
1359
|
+
*/
|
|
1360
|
+
data: Prisma.OAuthFamilyCreateManyInput | Prisma.OAuthFamilyCreateManyInput[];
|
|
1361
|
+
skipDuplicates?: boolean;
|
|
1362
|
+
/**
|
|
1363
|
+
* Choose, which related nodes to fetch as well
|
|
1364
|
+
*/
|
|
1365
|
+
include?: Prisma.OAuthFamilyIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1366
|
+
};
|
|
1367
|
+
/**
|
|
1368
|
+
* OAuthFamily update
|
|
1369
|
+
*/
|
|
1370
|
+
export type OAuthFamilyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1371
|
+
/**
|
|
1372
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1373
|
+
*/
|
|
1374
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1375
|
+
/**
|
|
1376
|
+
* Omit specific fields from the OAuthFamily
|
|
1377
|
+
*/
|
|
1378
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1379
|
+
/**
|
|
1380
|
+
* Choose, which related nodes to fetch as well
|
|
1381
|
+
*/
|
|
1382
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1383
|
+
/**
|
|
1384
|
+
* The data needed to update a OAuthFamily.
|
|
1385
|
+
*/
|
|
1386
|
+
data: Prisma.XOR<Prisma.OAuthFamilyUpdateInput, Prisma.OAuthFamilyUncheckedUpdateInput>;
|
|
1387
|
+
/**
|
|
1388
|
+
* Choose, which OAuthFamily to update.
|
|
1389
|
+
*/
|
|
1390
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
1391
|
+
};
|
|
1392
|
+
/**
|
|
1393
|
+
* OAuthFamily updateMany
|
|
1394
|
+
*/
|
|
1395
|
+
export type OAuthFamilyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1396
|
+
/**
|
|
1397
|
+
* The data used to update OAuthFamilies.
|
|
1398
|
+
*/
|
|
1399
|
+
data: Prisma.XOR<Prisma.OAuthFamilyUpdateManyMutationInput, Prisma.OAuthFamilyUncheckedUpdateManyInput>;
|
|
1400
|
+
/**
|
|
1401
|
+
* Filter which OAuthFamilies to update
|
|
1402
|
+
*/
|
|
1403
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
1404
|
+
/**
|
|
1405
|
+
* Limit how many OAuthFamilies to update.
|
|
1406
|
+
*/
|
|
1407
|
+
limit?: number;
|
|
1408
|
+
};
|
|
1409
|
+
/**
|
|
1410
|
+
* OAuthFamily updateManyAndReturn
|
|
1411
|
+
*/
|
|
1412
|
+
export type OAuthFamilyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1413
|
+
/**
|
|
1414
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1415
|
+
*/
|
|
1416
|
+
select?: Prisma.OAuthFamilySelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1417
|
+
/**
|
|
1418
|
+
* Omit specific fields from the OAuthFamily
|
|
1419
|
+
*/
|
|
1420
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1421
|
+
/**
|
|
1422
|
+
* The data used to update OAuthFamilies.
|
|
1423
|
+
*/
|
|
1424
|
+
data: Prisma.XOR<Prisma.OAuthFamilyUpdateManyMutationInput, Prisma.OAuthFamilyUncheckedUpdateManyInput>;
|
|
1425
|
+
/**
|
|
1426
|
+
* Filter which OAuthFamilies to update
|
|
1427
|
+
*/
|
|
1428
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
1429
|
+
/**
|
|
1430
|
+
* Limit how many OAuthFamilies to update.
|
|
1431
|
+
*/
|
|
1432
|
+
limit?: number;
|
|
1433
|
+
/**
|
|
1434
|
+
* Choose, which related nodes to fetch as well
|
|
1435
|
+
*/
|
|
1436
|
+
include?: Prisma.OAuthFamilyIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1437
|
+
};
|
|
1438
|
+
/**
|
|
1439
|
+
* OAuthFamily upsert
|
|
1440
|
+
*/
|
|
1441
|
+
export type OAuthFamilyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1442
|
+
/**
|
|
1443
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1444
|
+
*/
|
|
1445
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1446
|
+
/**
|
|
1447
|
+
* Omit specific fields from the OAuthFamily
|
|
1448
|
+
*/
|
|
1449
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1450
|
+
/**
|
|
1451
|
+
* Choose, which related nodes to fetch as well
|
|
1452
|
+
*/
|
|
1453
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1454
|
+
/**
|
|
1455
|
+
* The filter to search for the OAuthFamily to update in case it exists.
|
|
1456
|
+
*/
|
|
1457
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
1458
|
+
/**
|
|
1459
|
+
* In case the OAuthFamily found by the `where` argument doesn't exist, create a new OAuthFamily with this data.
|
|
1460
|
+
*/
|
|
1461
|
+
create: Prisma.XOR<Prisma.OAuthFamilyCreateInput, Prisma.OAuthFamilyUncheckedCreateInput>;
|
|
1462
|
+
/**
|
|
1463
|
+
* In case the OAuthFamily was found with the provided `where` argument, update it with this data.
|
|
1464
|
+
*/
|
|
1465
|
+
update: Prisma.XOR<Prisma.OAuthFamilyUpdateInput, Prisma.OAuthFamilyUncheckedUpdateInput>;
|
|
1466
|
+
};
|
|
1467
|
+
/**
|
|
1468
|
+
* OAuthFamily delete
|
|
1469
|
+
*/
|
|
1470
|
+
export type OAuthFamilyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1471
|
+
/**
|
|
1472
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1473
|
+
*/
|
|
1474
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1475
|
+
/**
|
|
1476
|
+
* Omit specific fields from the OAuthFamily
|
|
1477
|
+
*/
|
|
1478
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1479
|
+
/**
|
|
1480
|
+
* Choose, which related nodes to fetch as well
|
|
1481
|
+
*/
|
|
1482
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1483
|
+
/**
|
|
1484
|
+
* Filter which OAuthFamily to delete.
|
|
1485
|
+
*/
|
|
1486
|
+
where: Prisma.OAuthFamilyWhereUniqueInput;
|
|
1487
|
+
};
|
|
1488
|
+
/**
|
|
1489
|
+
* OAuthFamily deleteMany
|
|
1490
|
+
*/
|
|
1491
|
+
export type OAuthFamilyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1492
|
+
/**
|
|
1493
|
+
* Filter which OAuthFamilies to delete
|
|
1494
|
+
*/
|
|
1495
|
+
where?: Prisma.OAuthFamilyWhereInput;
|
|
1496
|
+
/**
|
|
1497
|
+
* Limit how many OAuthFamilies to delete.
|
|
1498
|
+
*/
|
|
1499
|
+
limit?: number;
|
|
1500
|
+
};
|
|
1501
|
+
/**
|
|
1502
|
+
* OAuthFamily.grants
|
|
1503
|
+
*/
|
|
1504
|
+
export type OAuthFamily$grantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1505
|
+
/**
|
|
1506
|
+
* Select specific fields to fetch from the OAuthGrant
|
|
1507
|
+
*/
|
|
1508
|
+
select?: Prisma.OAuthGrantSelect<ExtArgs> | null;
|
|
1509
|
+
/**
|
|
1510
|
+
* Omit specific fields from the OAuthGrant
|
|
1511
|
+
*/
|
|
1512
|
+
omit?: Prisma.OAuthGrantOmit<ExtArgs> | null;
|
|
1513
|
+
/**
|
|
1514
|
+
* Choose, which related nodes to fetch as well
|
|
1515
|
+
*/
|
|
1516
|
+
include?: Prisma.OAuthGrantInclude<ExtArgs> | null;
|
|
1517
|
+
where?: Prisma.OAuthGrantWhereInput;
|
|
1518
|
+
orderBy?: Prisma.OAuthGrantOrderByWithRelationInput | Prisma.OAuthGrantOrderByWithRelationInput[];
|
|
1519
|
+
cursor?: Prisma.OAuthGrantWhereUniqueInput;
|
|
1520
|
+
take?: number;
|
|
1521
|
+
skip?: number;
|
|
1522
|
+
distinct?: Prisma.OAuthGrantScalarFieldEnum | Prisma.OAuthGrantScalarFieldEnum[];
|
|
1523
|
+
};
|
|
1524
|
+
/**
|
|
1525
|
+
* OAuthFamily without action
|
|
1526
|
+
*/
|
|
1527
|
+
export type OAuthFamilyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1528
|
+
/**
|
|
1529
|
+
* Select specific fields to fetch from the OAuthFamily
|
|
1530
|
+
*/
|
|
1531
|
+
select?: Prisma.OAuthFamilySelect<ExtArgs> | null;
|
|
1532
|
+
/**
|
|
1533
|
+
* Omit specific fields from the OAuthFamily
|
|
1534
|
+
*/
|
|
1535
|
+
omit?: Prisma.OAuthFamilyOmit<ExtArgs> | null;
|
|
1536
|
+
/**
|
|
1537
|
+
* Choose, which related nodes to fetch as well
|
|
1538
|
+
*/
|
|
1539
|
+
include?: Prisma.OAuthFamilyInclude<ExtArgs> | null;
|
|
1540
|
+
};
|