@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,979 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model AuthRateLimit
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type AuthRateLimitModel = runtime.Types.Result.DefaultSelection<Prisma.$AuthRateLimitPayload>;
|
|
8
|
+
export type AggregateAuthRateLimit = {
|
|
9
|
+
_count: AuthRateLimitCountAggregateOutputType | null;
|
|
10
|
+
_avg: AuthRateLimitAvgAggregateOutputType | null;
|
|
11
|
+
_sum: AuthRateLimitSumAggregateOutputType | null;
|
|
12
|
+
_min: AuthRateLimitMinAggregateOutputType | null;
|
|
13
|
+
_max: AuthRateLimitMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type AuthRateLimitAvgAggregateOutputType = {
|
|
16
|
+
hits: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type AuthRateLimitSumAggregateOutputType = {
|
|
19
|
+
hits: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type AuthRateLimitMinAggregateOutputType = {
|
|
22
|
+
key: string | null;
|
|
23
|
+
hits: number | null;
|
|
24
|
+
expiresAt: Date | null;
|
|
25
|
+
};
|
|
26
|
+
export type AuthRateLimitMaxAggregateOutputType = {
|
|
27
|
+
key: string | null;
|
|
28
|
+
hits: number | null;
|
|
29
|
+
expiresAt: Date | null;
|
|
30
|
+
};
|
|
31
|
+
export type AuthRateLimitCountAggregateOutputType = {
|
|
32
|
+
key: number;
|
|
33
|
+
hits: number;
|
|
34
|
+
expiresAt: number;
|
|
35
|
+
_all: number;
|
|
36
|
+
};
|
|
37
|
+
export type AuthRateLimitAvgAggregateInputType = {
|
|
38
|
+
hits?: true;
|
|
39
|
+
};
|
|
40
|
+
export type AuthRateLimitSumAggregateInputType = {
|
|
41
|
+
hits?: true;
|
|
42
|
+
};
|
|
43
|
+
export type AuthRateLimitMinAggregateInputType = {
|
|
44
|
+
key?: true;
|
|
45
|
+
hits?: true;
|
|
46
|
+
expiresAt?: true;
|
|
47
|
+
};
|
|
48
|
+
export type AuthRateLimitMaxAggregateInputType = {
|
|
49
|
+
key?: true;
|
|
50
|
+
hits?: true;
|
|
51
|
+
expiresAt?: true;
|
|
52
|
+
};
|
|
53
|
+
export type AuthRateLimitCountAggregateInputType = {
|
|
54
|
+
key?: true;
|
|
55
|
+
hits?: true;
|
|
56
|
+
expiresAt?: true;
|
|
57
|
+
_all?: true;
|
|
58
|
+
};
|
|
59
|
+
export type AuthRateLimitAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
60
|
+
/**
|
|
61
|
+
* Filter which AuthRateLimit to aggregate.
|
|
62
|
+
*/
|
|
63
|
+
where?: Prisma.AuthRateLimitWhereInput;
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
66
|
+
*
|
|
67
|
+
* Determine the order of AuthRateLimits to fetch.
|
|
68
|
+
*/
|
|
69
|
+
orderBy?: Prisma.AuthRateLimitOrderByWithRelationInput | Prisma.AuthRateLimitOrderByWithRelationInput[];
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
72
|
+
*
|
|
73
|
+
* Sets the start position
|
|
74
|
+
*/
|
|
75
|
+
cursor?: Prisma.AuthRateLimitWhereUniqueInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
78
|
+
*
|
|
79
|
+
* Take `±n` AuthRateLimits from the position of the cursor.
|
|
80
|
+
*/
|
|
81
|
+
take?: number;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Skip the first `n` AuthRateLimits.
|
|
86
|
+
*/
|
|
87
|
+
skip?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Count returned AuthRateLimits
|
|
92
|
+
**/
|
|
93
|
+
_count?: true | AuthRateLimitCountAggregateInputType;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Select which fields to average
|
|
98
|
+
**/
|
|
99
|
+
_avg?: AuthRateLimitAvgAggregateInputType;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to sum
|
|
104
|
+
**/
|
|
105
|
+
_sum?: AuthRateLimitSumAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to find the minimum value
|
|
110
|
+
**/
|
|
111
|
+
_min?: AuthRateLimitMinAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to find the maximum value
|
|
116
|
+
**/
|
|
117
|
+
_max?: AuthRateLimitMaxAggregateInputType;
|
|
118
|
+
};
|
|
119
|
+
export type GetAuthRateLimitAggregateType<T extends AuthRateLimitAggregateArgs> = {
|
|
120
|
+
[P in keyof T & keyof AggregateAuthRateLimit]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAuthRateLimit[P]> : Prisma.GetScalarType<T[P], AggregateAuthRateLimit[P]>;
|
|
121
|
+
};
|
|
122
|
+
export type AuthRateLimitGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
123
|
+
where?: Prisma.AuthRateLimitWhereInput;
|
|
124
|
+
orderBy?: Prisma.AuthRateLimitOrderByWithAggregationInput | Prisma.AuthRateLimitOrderByWithAggregationInput[];
|
|
125
|
+
by: Prisma.AuthRateLimitScalarFieldEnum[] | Prisma.AuthRateLimitScalarFieldEnum;
|
|
126
|
+
having?: Prisma.AuthRateLimitScalarWhereWithAggregatesInput;
|
|
127
|
+
take?: number;
|
|
128
|
+
skip?: number;
|
|
129
|
+
_count?: AuthRateLimitCountAggregateInputType | true;
|
|
130
|
+
_avg?: AuthRateLimitAvgAggregateInputType;
|
|
131
|
+
_sum?: AuthRateLimitSumAggregateInputType;
|
|
132
|
+
_min?: AuthRateLimitMinAggregateInputType;
|
|
133
|
+
_max?: AuthRateLimitMaxAggregateInputType;
|
|
134
|
+
};
|
|
135
|
+
export type AuthRateLimitGroupByOutputType = {
|
|
136
|
+
key: string;
|
|
137
|
+
hits: number;
|
|
138
|
+
expiresAt: Date;
|
|
139
|
+
_count: AuthRateLimitCountAggregateOutputType | null;
|
|
140
|
+
_avg: AuthRateLimitAvgAggregateOutputType | null;
|
|
141
|
+
_sum: AuthRateLimitSumAggregateOutputType | null;
|
|
142
|
+
_min: AuthRateLimitMinAggregateOutputType | null;
|
|
143
|
+
_max: AuthRateLimitMaxAggregateOutputType | null;
|
|
144
|
+
};
|
|
145
|
+
export type GetAuthRateLimitGroupByPayload<T extends AuthRateLimitGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<AuthRateLimitGroupByOutputType, T['by']> & {
|
|
146
|
+
[P in ((keyof T) & (keyof AuthRateLimitGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], AuthRateLimitGroupByOutputType[P]> : Prisma.GetScalarType<T[P], AuthRateLimitGroupByOutputType[P]>;
|
|
147
|
+
}>>;
|
|
148
|
+
export type AuthRateLimitWhereInput = {
|
|
149
|
+
AND?: Prisma.AuthRateLimitWhereInput | Prisma.AuthRateLimitWhereInput[];
|
|
150
|
+
OR?: Prisma.AuthRateLimitWhereInput[];
|
|
151
|
+
NOT?: Prisma.AuthRateLimitWhereInput | Prisma.AuthRateLimitWhereInput[];
|
|
152
|
+
key?: Prisma.StringFilter<"AuthRateLimit"> | string;
|
|
153
|
+
hits?: Prisma.IntFilter<"AuthRateLimit"> | number;
|
|
154
|
+
expiresAt?: Prisma.DateTimeFilter<"AuthRateLimit"> | Date | string;
|
|
155
|
+
};
|
|
156
|
+
export type AuthRateLimitOrderByWithRelationInput = {
|
|
157
|
+
key?: Prisma.SortOrder;
|
|
158
|
+
hits?: Prisma.SortOrder;
|
|
159
|
+
expiresAt?: Prisma.SortOrder;
|
|
160
|
+
};
|
|
161
|
+
export type AuthRateLimitWhereUniqueInput = Prisma.AtLeast<{
|
|
162
|
+
key?: string;
|
|
163
|
+
AND?: Prisma.AuthRateLimitWhereInput | Prisma.AuthRateLimitWhereInput[];
|
|
164
|
+
OR?: Prisma.AuthRateLimitWhereInput[];
|
|
165
|
+
NOT?: Prisma.AuthRateLimitWhereInput | Prisma.AuthRateLimitWhereInput[];
|
|
166
|
+
hits?: Prisma.IntFilter<"AuthRateLimit"> | number;
|
|
167
|
+
expiresAt?: Prisma.DateTimeFilter<"AuthRateLimit"> | Date | string;
|
|
168
|
+
}, "key">;
|
|
169
|
+
export type AuthRateLimitOrderByWithAggregationInput = {
|
|
170
|
+
key?: Prisma.SortOrder;
|
|
171
|
+
hits?: Prisma.SortOrder;
|
|
172
|
+
expiresAt?: Prisma.SortOrder;
|
|
173
|
+
_count?: Prisma.AuthRateLimitCountOrderByAggregateInput;
|
|
174
|
+
_avg?: Prisma.AuthRateLimitAvgOrderByAggregateInput;
|
|
175
|
+
_max?: Prisma.AuthRateLimitMaxOrderByAggregateInput;
|
|
176
|
+
_min?: Prisma.AuthRateLimitMinOrderByAggregateInput;
|
|
177
|
+
_sum?: Prisma.AuthRateLimitSumOrderByAggregateInput;
|
|
178
|
+
};
|
|
179
|
+
export type AuthRateLimitScalarWhereWithAggregatesInput = {
|
|
180
|
+
AND?: Prisma.AuthRateLimitScalarWhereWithAggregatesInput | Prisma.AuthRateLimitScalarWhereWithAggregatesInput[];
|
|
181
|
+
OR?: Prisma.AuthRateLimitScalarWhereWithAggregatesInput[];
|
|
182
|
+
NOT?: Prisma.AuthRateLimitScalarWhereWithAggregatesInput | Prisma.AuthRateLimitScalarWhereWithAggregatesInput[];
|
|
183
|
+
key?: Prisma.StringWithAggregatesFilter<"AuthRateLimit"> | string;
|
|
184
|
+
hits?: Prisma.IntWithAggregatesFilter<"AuthRateLimit"> | number;
|
|
185
|
+
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"AuthRateLimit"> | Date | string;
|
|
186
|
+
};
|
|
187
|
+
export type AuthRateLimitCreateInput = {
|
|
188
|
+
key: string;
|
|
189
|
+
hits: number;
|
|
190
|
+
expiresAt: Date | string;
|
|
191
|
+
};
|
|
192
|
+
export type AuthRateLimitUncheckedCreateInput = {
|
|
193
|
+
key: string;
|
|
194
|
+
hits: number;
|
|
195
|
+
expiresAt: Date | string;
|
|
196
|
+
};
|
|
197
|
+
export type AuthRateLimitUpdateInput = {
|
|
198
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
199
|
+
hits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
200
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
201
|
+
};
|
|
202
|
+
export type AuthRateLimitUncheckedUpdateInput = {
|
|
203
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
204
|
+
hits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
205
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
206
|
+
};
|
|
207
|
+
export type AuthRateLimitCreateManyInput = {
|
|
208
|
+
key: string;
|
|
209
|
+
hits: number;
|
|
210
|
+
expiresAt: Date | string;
|
|
211
|
+
};
|
|
212
|
+
export type AuthRateLimitUpdateManyMutationInput = {
|
|
213
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
214
|
+
hits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
215
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
216
|
+
};
|
|
217
|
+
export type AuthRateLimitUncheckedUpdateManyInput = {
|
|
218
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
219
|
+
hits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
220
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
221
|
+
};
|
|
222
|
+
export type AuthRateLimitCountOrderByAggregateInput = {
|
|
223
|
+
key?: Prisma.SortOrder;
|
|
224
|
+
hits?: Prisma.SortOrder;
|
|
225
|
+
expiresAt?: Prisma.SortOrder;
|
|
226
|
+
};
|
|
227
|
+
export type AuthRateLimitAvgOrderByAggregateInput = {
|
|
228
|
+
hits?: Prisma.SortOrder;
|
|
229
|
+
};
|
|
230
|
+
export type AuthRateLimitMaxOrderByAggregateInput = {
|
|
231
|
+
key?: Prisma.SortOrder;
|
|
232
|
+
hits?: Prisma.SortOrder;
|
|
233
|
+
expiresAt?: Prisma.SortOrder;
|
|
234
|
+
};
|
|
235
|
+
export type AuthRateLimitMinOrderByAggregateInput = {
|
|
236
|
+
key?: Prisma.SortOrder;
|
|
237
|
+
hits?: Prisma.SortOrder;
|
|
238
|
+
expiresAt?: Prisma.SortOrder;
|
|
239
|
+
};
|
|
240
|
+
export type AuthRateLimitSumOrderByAggregateInput = {
|
|
241
|
+
hits?: Prisma.SortOrder;
|
|
242
|
+
};
|
|
243
|
+
export type AuthRateLimitSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
244
|
+
key?: boolean;
|
|
245
|
+
hits?: boolean;
|
|
246
|
+
expiresAt?: boolean;
|
|
247
|
+
}, ExtArgs["result"]["authRateLimit"]>;
|
|
248
|
+
export type AuthRateLimitSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
249
|
+
key?: boolean;
|
|
250
|
+
hits?: boolean;
|
|
251
|
+
expiresAt?: boolean;
|
|
252
|
+
}, ExtArgs["result"]["authRateLimit"]>;
|
|
253
|
+
export type AuthRateLimitSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
254
|
+
key?: boolean;
|
|
255
|
+
hits?: boolean;
|
|
256
|
+
expiresAt?: boolean;
|
|
257
|
+
}, ExtArgs["result"]["authRateLimit"]>;
|
|
258
|
+
export type AuthRateLimitSelectScalar = {
|
|
259
|
+
key?: boolean;
|
|
260
|
+
hits?: boolean;
|
|
261
|
+
expiresAt?: boolean;
|
|
262
|
+
};
|
|
263
|
+
export type AuthRateLimitOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"key" | "hits" | "expiresAt", ExtArgs["result"]["authRateLimit"]>;
|
|
264
|
+
export type $AuthRateLimitPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
265
|
+
name: "AuthRateLimit";
|
|
266
|
+
objects: {};
|
|
267
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
268
|
+
key: string;
|
|
269
|
+
hits: number;
|
|
270
|
+
expiresAt: Date;
|
|
271
|
+
}, ExtArgs["result"]["authRateLimit"]>;
|
|
272
|
+
composites: {};
|
|
273
|
+
};
|
|
274
|
+
export type AuthRateLimitGetPayload<S extends boolean | null | undefined | AuthRateLimitDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload, S>;
|
|
275
|
+
export type AuthRateLimitCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<AuthRateLimitFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
276
|
+
select?: AuthRateLimitCountAggregateInputType | true;
|
|
277
|
+
};
|
|
278
|
+
export interface AuthRateLimitDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
279
|
+
[K: symbol]: {
|
|
280
|
+
types: Prisma.TypeMap<ExtArgs>['model']['AuthRateLimit'];
|
|
281
|
+
meta: {
|
|
282
|
+
name: 'AuthRateLimit';
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* Find zero or one AuthRateLimit that matches the filter.
|
|
287
|
+
* @param {AuthRateLimitFindUniqueArgs} args - Arguments to find a AuthRateLimit
|
|
288
|
+
* @example
|
|
289
|
+
* // Get one AuthRateLimit
|
|
290
|
+
* const authRateLimit = await prisma.authRateLimit.findUnique({
|
|
291
|
+
* where: {
|
|
292
|
+
* // ... provide filter here
|
|
293
|
+
* }
|
|
294
|
+
* })
|
|
295
|
+
*/
|
|
296
|
+
findUnique<T extends AuthRateLimitFindUniqueArgs>(args: Prisma.SelectSubset<T, AuthRateLimitFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AuthRateLimitClient<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
297
|
+
/**
|
|
298
|
+
* Find one AuthRateLimit that matches the filter or throw an error with `error.code='P2025'`
|
|
299
|
+
* if no matches were found.
|
|
300
|
+
* @param {AuthRateLimitFindUniqueOrThrowArgs} args - Arguments to find a AuthRateLimit
|
|
301
|
+
* @example
|
|
302
|
+
* // Get one AuthRateLimit
|
|
303
|
+
* const authRateLimit = await prisma.authRateLimit.findUniqueOrThrow({
|
|
304
|
+
* where: {
|
|
305
|
+
* // ... provide filter here
|
|
306
|
+
* }
|
|
307
|
+
* })
|
|
308
|
+
*/
|
|
309
|
+
findUniqueOrThrow<T extends AuthRateLimitFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AuthRateLimitFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthRateLimitClient<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
310
|
+
/**
|
|
311
|
+
* Find the first AuthRateLimit that matches the filter.
|
|
312
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
313
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
314
|
+
* @param {AuthRateLimitFindFirstArgs} args - Arguments to find a AuthRateLimit
|
|
315
|
+
* @example
|
|
316
|
+
* // Get one AuthRateLimit
|
|
317
|
+
* const authRateLimit = await prisma.authRateLimit.findFirst({
|
|
318
|
+
* where: {
|
|
319
|
+
* // ... provide filter here
|
|
320
|
+
* }
|
|
321
|
+
* })
|
|
322
|
+
*/
|
|
323
|
+
findFirst<T extends AuthRateLimitFindFirstArgs>(args?: Prisma.SelectSubset<T, AuthRateLimitFindFirstArgs<ExtArgs>>): Prisma.Prisma__AuthRateLimitClient<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
324
|
+
/**
|
|
325
|
+
* Find the first AuthRateLimit that matches the filter or
|
|
326
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
327
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
328
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
329
|
+
* @param {AuthRateLimitFindFirstOrThrowArgs} args - Arguments to find a AuthRateLimit
|
|
330
|
+
* @example
|
|
331
|
+
* // Get one AuthRateLimit
|
|
332
|
+
* const authRateLimit = await prisma.authRateLimit.findFirstOrThrow({
|
|
333
|
+
* where: {
|
|
334
|
+
* // ... provide filter here
|
|
335
|
+
* }
|
|
336
|
+
* })
|
|
337
|
+
*/
|
|
338
|
+
findFirstOrThrow<T extends AuthRateLimitFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AuthRateLimitFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AuthRateLimitClient<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
339
|
+
/**
|
|
340
|
+
* Find zero or more AuthRateLimits that matches the filter.
|
|
341
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
342
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
343
|
+
* @param {AuthRateLimitFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
344
|
+
* @example
|
|
345
|
+
* // Get all AuthRateLimits
|
|
346
|
+
* const authRateLimits = await prisma.authRateLimit.findMany()
|
|
347
|
+
*
|
|
348
|
+
* // Get first 10 AuthRateLimits
|
|
349
|
+
* const authRateLimits = await prisma.authRateLimit.findMany({ take: 10 })
|
|
350
|
+
*
|
|
351
|
+
* // Only select the `key`
|
|
352
|
+
* const authRateLimitWithKeyOnly = await prisma.authRateLimit.findMany({ select: { key: true } })
|
|
353
|
+
*
|
|
354
|
+
*/
|
|
355
|
+
findMany<T extends AuthRateLimitFindManyArgs>(args?: Prisma.SelectSubset<T, AuthRateLimitFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
356
|
+
/**
|
|
357
|
+
* Create a AuthRateLimit.
|
|
358
|
+
* @param {AuthRateLimitCreateArgs} args - Arguments to create a AuthRateLimit.
|
|
359
|
+
* @example
|
|
360
|
+
* // Create one AuthRateLimit
|
|
361
|
+
* const AuthRateLimit = await prisma.authRateLimit.create({
|
|
362
|
+
* data: {
|
|
363
|
+
* // ... data to create a AuthRateLimit
|
|
364
|
+
* }
|
|
365
|
+
* })
|
|
366
|
+
*
|
|
367
|
+
*/
|
|
368
|
+
create<T extends AuthRateLimitCreateArgs>(args: Prisma.SelectSubset<T, AuthRateLimitCreateArgs<ExtArgs>>): Prisma.Prisma__AuthRateLimitClient<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
369
|
+
/**
|
|
370
|
+
* Create many AuthRateLimits.
|
|
371
|
+
* @param {AuthRateLimitCreateManyArgs} args - Arguments to create many AuthRateLimits.
|
|
372
|
+
* @example
|
|
373
|
+
* // Create many AuthRateLimits
|
|
374
|
+
* const authRateLimit = await prisma.authRateLimit.createMany({
|
|
375
|
+
* data: [
|
|
376
|
+
* // ... provide data here
|
|
377
|
+
* ]
|
|
378
|
+
* })
|
|
379
|
+
*
|
|
380
|
+
*/
|
|
381
|
+
createMany<T extends AuthRateLimitCreateManyArgs>(args?: Prisma.SelectSubset<T, AuthRateLimitCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
382
|
+
/**
|
|
383
|
+
* Create many AuthRateLimits and returns the data saved in the database.
|
|
384
|
+
* @param {AuthRateLimitCreateManyAndReturnArgs} args - Arguments to create many AuthRateLimits.
|
|
385
|
+
* @example
|
|
386
|
+
* // Create many AuthRateLimits
|
|
387
|
+
* const authRateLimit = await prisma.authRateLimit.createManyAndReturn({
|
|
388
|
+
* data: [
|
|
389
|
+
* // ... provide data here
|
|
390
|
+
* ]
|
|
391
|
+
* })
|
|
392
|
+
*
|
|
393
|
+
* // Create many AuthRateLimits and only return the `key`
|
|
394
|
+
* const authRateLimitWithKeyOnly = await prisma.authRateLimit.createManyAndReturn({
|
|
395
|
+
* select: { key: true },
|
|
396
|
+
* data: [
|
|
397
|
+
* // ... provide data here
|
|
398
|
+
* ]
|
|
399
|
+
* })
|
|
400
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
401
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
402
|
+
*
|
|
403
|
+
*/
|
|
404
|
+
createManyAndReturn<T extends AuthRateLimitCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AuthRateLimitCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
405
|
+
/**
|
|
406
|
+
* Delete a AuthRateLimit.
|
|
407
|
+
* @param {AuthRateLimitDeleteArgs} args - Arguments to delete one AuthRateLimit.
|
|
408
|
+
* @example
|
|
409
|
+
* // Delete one AuthRateLimit
|
|
410
|
+
* const AuthRateLimit = await prisma.authRateLimit.delete({
|
|
411
|
+
* where: {
|
|
412
|
+
* // ... filter to delete one AuthRateLimit
|
|
413
|
+
* }
|
|
414
|
+
* })
|
|
415
|
+
*
|
|
416
|
+
*/
|
|
417
|
+
delete<T extends AuthRateLimitDeleteArgs>(args: Prisma.SelectSubset<T, AuthRateLimitDeleteArgs<ExtArgs>>): Prisma.Prisma__AuthRateLimitClient<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
418
|
+
/**
|
|
419
|
+
* Update one AuthRateLimit.
|
|
420
|
+
* @param {AuthRateLimitUpdateArgs} args - Arguments to update one AuthRateLimit.
|
|
421
|
+
* @example
|
|
422
|
+
* // Update one AuthRateLimit
|
|
423
|
+
* const authRateLimit = await prisma.authRateLimit.update({
|
|
424
|
+
* where: {
|
|
425
|
+
* // ... provide filter here
|
|
426
|
+
* },
|
|
427
|
+
* data: {
|
|
428
|
+
* // ... provide data here
|
|
429
|
+
* }
|
|
430
|
+
* })
|
|
431
|
+
*
|
|
432
|
+
*/
|
|
433
|
+
update<T extends AuthRateLimitUpdateArgs>(args: Prisma.SelectSubset<T, AuthRateLimitUpdateArgs<ExtArgs>>): Prisma.Prisma__AuthRateLimitClient<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
434
|
+
/**
|
|
435
|
+
* Delete zero or more AuthRateLimits.
|
|
436
|
+
* @param {AuthRateLimitDeleteManyArgs} args - Arguments to filter AuthRateLimits to delete.
|
|
437
|
+
* @example
|
|
438
|
+
* // Delete a few AuthRateLimits
|
|
439
|
+
* const { count } = await prisma.authRateLimit.deleteMany({
|
|
440
|
+
* where: {
|
|
441
|
+
* // ... provide filter here
|
|
442
|
+
* }
|
|
443
|
+
* })
|
|
444
|
+
*
|
|
445
|
+
*/
|
|
446
|
+
deleteMany<T extends AuthRateLimitDeleteManyArgs>(args?: Prisma.SelectSubset<T, AuthRateLimitDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
447
|
+
/**
|
|
448
|
+
* Update zero or more AuthRateLimits.
|
|
449
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
450
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
451
|
+
* @param {AuthRateLimitUpdateManyArgs} args - Arguments to update one or more rows.
|
|
452
|
+
* @example
|
|
453
|
+
* // Update many AuthRateLimits
|
|
454
|
+
* const authRateLimit = await prisma.authRateLimit.updateMany({
|
|
455
|
+
* where: {
|
|
456
|
+
* // ... provide filter here
|
|
457
|
+
* },
|
|
458
|
+
* data: {
|
|
459
|
+
* // ... provide data here
|
|
460
|
+
* }
|
|
461
|
+
* })
|
|
462
|
+
*
|
|
463
|
+
*/
|
|
464
|
+
updateMany<T extends AuthRateLimitUpdateManyArgs>(args: Prisma.SelectSubset<T, AuthRateLimitUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
465
|
+
/**
|
|
466
|
+
* Update zero or more AuthRateLimits and returns the data updated in the database.
|
|
467
|
+
* @param {AuthRateLimitUpdateManyAndReturnArgs} args - Arguments to update many AuthRateLimits.
|
|
468
|
+
* @example
|
|
469
|
+
* // Update many AuthRateLimits
|
|
470
|
+
* const authRateLimit = await prisma.authRateLimit.updateManyAndReturn({
|
|
471
|
+
* where: {
|
|
472
|
+
* // ... provide filter here
|
|
473
|
+
* },
|
|
474
|
+
* data: [
|
|
475
|
+
* // ... provide data here
|
|
476
|
+
* ]
|
|
477
|
+
* })
|
|
478
|
+
*
|
|
479
|
+
* // Update zero or more AuthRateLimits and only return the `key`
|
|
480
|
+
* const authRateLimitWithKeyOnly = await prisma.authRateLimit.updateManyAndReturn({
|
|
481
|
+
* select: { key: true },
|
|
482
|
+
* where: {
|
|
483
|
+
* // ... provide filter here
|
|
484
|
+
* },
|
|
485
|
+
* data: [
|
|
486
|
+
* // ... provide data here
|
|
487
|
+
* ]
|
|
488
|
+
* })
|
|
489
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
490
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
491
|
+
*
|
|
492
|
+
*/
|
|
493
|
+
updateManyAndReturn<T extends AuthRateLimitUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AuthRateLimitUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
494
|
+
/**
|
|
495
|
+
* Create or update one AuthRateLimit.
|
|
496
|
+
* @param {AuthRateLimitUpsertArgs} args - Arguments to update or create a AuthRateLimit.
|
|
497
|
+
* @example
|
|
498
|
+
* // Update or create a AuthRateLimit
|
|
499
|
+
* const authRateLimit = await prisma.authRateLimit.upsert({
|
|
500
|
+
* create: {
|
|
501
|
+
* // ... data to create a AuthRateLimit
|
|
502
|
+
* },
|
|
503
|
+
* update: {
|
|
504
|
+
* // ... in case it already exists, update
|
|
505
|
+
* },
|
|
506
|
+
* where: {
|
|
507
|
+
* // ... the filter for the AuthRateLimit we want to update
|
|
508
|
+
* }
|
|
509
|
+
* })
|
|
510
|
+
*/
|
|
511
|
+
upsert<T extends AuthRateLimitUpsertArgs>(args: Prisma.SelectSubset<T, AuthRateLimitUpsertArgs<ExtArgs>>): Prisma.Prisma__AuthRateLimitClient<runtime.Types.Result.GetResult<Prisma.$AuthRateLimitPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
512
|
+
/**
|
|
513
|
+
* Count the number of AuthRateLimits.
|
|
514
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
515
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
516
|
+
* @param {AuthRateLimitCountArgs} args - Arguments to filter AuthRateLimits to count.
|
|
517
|
+
* @example
|
|
518
|
+
* // Count the number of AuthRateLimits
|
|
519
|
+
* const count = await prisma.authRateLimit.count({
|
|
520
|
+
* where: {
|
|
521
|
+
* // ... the filter for the AuthRateLimits we want to count
|
|
522
|
+
* }
|
|
523
|
+
* })
|
|
524
|
+
**/
|
|
525
|
+
count<T extends AuthRateLimitCountArgs>(args?: Prisma.Subset<T, AuthRateLimitCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], AuthRateLimitCountAggregateOutputType> : number>;
|
|
526
|
+
/**
|
|
527
|
+
* Allows you to perform aggregations operations on a AuthRateLimit.
|
|
528
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
529
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
530
|
+
* @param {AuthRateLimitAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
531
|
+
* @example
|
|
532
|
+
* // Ordered by age ascending
|
|
533
|
+
* // Where email contains prisma.io
|
|
534
|
+
* // Limited to the 10 users
|
|
535
|
+
* const aggregations = await prisma.user.aggregate({
|
|
536
|
+
* _avg: {
|
|
537
|
+
* age: true,
|
|
538
|
+
* },
|
|
539
|
+
* where: {
|
|
540
|
+
* email: {
|
|
541
|
+
* contains: "prisma.io",
|
|
542
|
+
* },
|
|
543
|
+
* },
|
|
544
|
+
* orderBy: {
|
|
545
|
+
* age: "asc",
|
|
546
|
+
* },
|
|
547
|
+
* take: 10,
|
|
548
|
+
* })
|
|
549
|
+
**/
|
|
550
|
+
aggregate<T extends AuthRateLimitAggregateArgs>(args: Prisma.Subset<T, AuthRateLimitAggregateArgs>): Prisma.PrismaPromise<GetAuthRateLimitAggregateType<T>>;
|
|
551
|
+
/**
|
|
552
|
+
* Group by AuthRateLimit.
|
|
553
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
554
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
555
|
+
* @param {AuthRateLimitGroupByArgs} args - Group by arguments.
|
|
556
|
+
* @example
|
|
557
|
+
* // Group by city, order by createdAt, get count
|
|
558
|
+
* const result = await prisma.user.groupBy({
|
|
559
|
+
* by: ['city', 'createdAt'],
|
|
560
|
+
* orderBy: {
|
|
561
|
+
* createdAt: true
|
|
562
|
+
* },
|
|
563
|
+
* _count: {
|
|
564
|
+
* _all: true
|
|
565
|
+
* },
|
|
566
|
+
* })
|
|
567
|
+
*
|
|
568
|
+
**/
|
|
569
|
+
groupBy<T extends AuthRateLimitGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
570
|
+
orderBy: AuthRateLimitGroupByArgs['orderBy'];
|
|
571
|
+
} : {
|
|
572
|
+
orderBy?: AuthRateLimitGroupByArgs['orderBy'];
|
|
573
|
+
}, 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 ? {
|
|
574
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
575
|
+
Error,
|
|
576
|
+
'Field ',
|
|
577
|
+
P,
|
|
578
|
+
` in "having" needs to be provided in "by"`
|
|
579
|
+
];
|
|
580
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
581
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
582
|
+
}[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 ? {} : {
|
|
583
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
584
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
585
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
586
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, AuthRateLimitGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuthRateLimitGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
587
|
+
/**
|
|
588
|
+
* Fields of the AuthRateLimit model
|
|
589
|
+
*/
|
|
590
|
+
readonly fields: AuthRateLimitFieldRefs;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* The delegate class that acts as a "Promise-like" for AuthRateLimit.
|
|
594
|
+
* Why is this prefixed with `Prisma__`?
|
|
595
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
596
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
597
|
+
*/
|
|
598
|
+
export interface Prisma__AuthRateLimitClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
599
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
600
|
+
/**
|
|
601
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
602
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
603
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
604
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
605
|
+
*/
|
|
606
|
+
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>;
|
|
607
|
+
/**
|
|
608
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
609
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
610
|
+
* @returns A Promise for the completion of the callback.
|
|
611
|
+
*/
|
|
612
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
613
|
+
/**
|
|
614
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
615
|
+
* resolved value cannot be modified from the callback.
|
|
616
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
617
|
+
* @returns A Promise for the completion of the callback.
|
|
618
|
+
*/
|
|
619
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Fields of the AuthRateLimit model
|
|
623
|
+
*/
|
|
624
|
+
export interface AuthRateLimitFieldRefs {
|
|
625
|
+
readonly key: Prisma.FieldRef<"AuthRateLimit", 'String'>;
|
|
626
|
+
readonly hits: Prisma.FieldRef<"AuthRateLimit", 'Int'>;
|
|
627
|
+
readonly expiresAt: Prisma.FieldRef<"AuthRateLimit", 'DateTime'>;
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* AuthRateLimit findUnique
|
|
631
|
+
*/
|
|
632
|
+
export type AuthRateLimitFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
633
|
+
/**
|
|
634
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
635
|
+
*/
|
|
636
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
637
|
+
/**
|
|
638
|
+
* Omit specific fields from the AuthRateLimit
|
|
639
|
+
*/
|
|
640
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
641
|
+
/**
|
|
642
|
+
* Filter, which AuthRateLimit to fetch.
|
|
643
|
+
*/
|
|
644
|
+
where: Prisma.AuthRateLimitWhereUniqueInput;
|
|
645
|
+
};
|
|
646
|
+
/**
|
|
647
|
+
* AuthRateLimit findUniqueOrThrow
|
|
648
|
+
*/
|
|
649
|
+
export type AuthRateLimitFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
650
|
+
/**
|
|
651
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
652
|
+
*/
|
|
653
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
654
|
+
/**
|
|
655
|
+
* Omit specific fields from the AuthRateLimit
|
|
656
|
+
*/
|
|
657
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
658
|
+
/**
|
|
659
|
+
* Filter, which AuthRateLimit to fetch.
|
|
660
|
+
*/
|
|
661
|
+
where: Prisma.AuthRateLimitWhereUniqueInput;
|
|
662
|
+
};
|
|
663
|
+
/**
|
|
664
|
+
* AuthRateLimit findFirst
|
|
665
|
+
*/
|
|
666
|
+
export type AuthRateLimitFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
667
|
+
/**
|
|
668
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
669
|
+
*/
|
|
670
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
671
|
+
/**
|
|
672
|
+
* Omit specific fields from the AuthRateLimit
|
|
673
|
+
*/
|
|
674
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
675
|
+
/**
|
|
676
|
+
* Filter, which AuthRateLimit to fetch.
|
|
677
|
+
*/
|
|
678
|
+
where?: Prisma.AuthRateLimitWhereInput;
|
|
679
|
+
/**
|
|
680
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
681
|
+
*
|
|
682
|
+
* Determine the order of AuthRateLimits to fetch.
|
|
683
|
+
*/
|
|
684
|
+
orderBy?: Prisma.AuthRateLimitOrderByWithRelationInput | Prisma.AuthRateLimitOrderByWithRelationInput[];
|
|
685
|
+
/**
|
|
686
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
687
|
+
*
|
|
688
|
+
* Sets the position for searching for AuthRateLimits.
|
|
689
|
+
*/
|
|
690
|
+
cursor?: Prisma.AuthRateLimitWhereUniqueInput;
|
|
691
|
+
/**
|
|
692
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
693
|
+
*
|
|
694
|
+
* Take `±n` AuthRateLimits from the position of the cursor.
|
|
695
|
+
*/
|
|
696
|
+
take?: number;
|
|
697
|
+
/**
|
|
698
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
699
|
+
*
|
|
700
|
+
* Skip the first `n` AuthRateLimits.
|
|
701
|
+
*/
|
|
702
|
+
skip?: number;
|
|
703
|
+
/**
|
|
704
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
705
|
+
*
|
|
706
|
+
* Filter by unique combinations of AuthRateLimits.
|
|
707
|
+
*/
|
|
708
|
+
distinct?: Prisma.AuthRateLimitScalarFieldEnum | Prisma.AuthRateLimitScalarFieldEnum[];
|
|
709
|
+
};
|
|
710
|
+
/**
|
|
711
|
+
* AuthRateLimit findFirstOrThrow
|
|
712
|
+
*/
|
|
713
|
+
export type AuthRateLimitFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
714
|
+
/**
|
|
715
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
716
|
+
*/
|
|
717
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
718
|
+
/**
|
|
719
|
+
* Omit specific fields from the AuthRateLimit
|
|
720
|
+
*/
|
|
721
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
722
|
+
/**
|
|
723
|
+
* Filter, which AuthRateLimit to fetch.
|
|
724
|
+
*/
|
|
725
|
+
where?: Prisma.AuthRateLimitWhereInput;
|
|
726
|
+
/**
|
|
727
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
728
|
+
*
|
|
729
|
+
* Determine the order of AuthRateLimits to fetch.
|
|
730
|
+
*/
|
|
731
|
+
orderBy?: Prisma.AuthRateLimitOrderByWithRelationInput | Prisma.AuthRateLimitOrderByWithRelationInput[];
|
|
732
|
+
/**
|
|
733
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
734
|
+
*
|
|
735
|
+
* Sets the position for searching for AuthRateLimits.
|
|
736
|
+
*/
|
|
737
|
+
cursor?: Prisma.AuthRateLimitWhereUniqueInput;
|
|
738
|
+
/**
|
|
739
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
740
|
+
*
|
|
741
|
+
* Take `±n` AuthRateLimits from the position of the cursor.
|
|
742
|
+
*/
|
|
743
|
+
take?: number;
|
|
744
|
+
/**
|
|
745
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
746
|
+
*
|
|
747
|
+
* Skip the first `n` AuthRateLimits.
|
|
748
|
+
*/
|
|
749
|
+
skip?: number;
|
|
750
|
+
/**
|
|
751
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
752
|
+
*
|
|
753
|
+
* Filter by unique combinations of AuthRateLimits.
|
|
754
|
+
*/
|
|
755
|
+
distinct?: Prisma.AuthRateLimitScalarFieldEnum | Prisma.AuthRateLimitScalarFieldEnum[];
|
|
756
|
+
};
|
|
757
|
+
/**
|
|
758
|
+
* AuthRateLimit findMany
|
|
759
|
+
*/
|
|
760
|
+
export type AuthRateLimitFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
761
|
+
/**
|
|
762
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
763
|
+
*/
|
|
764
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
765
|
+
/**
|
|
766
|
+
* Omit specific fields from the AuthRateLimit
|
|
767
|
+
*/
|
|
768
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
769
|
+
/**
|
|
770
|
+
* Filter, which AuthRateLimits to fetch.
|
|
771
|
+
*/
|
|
772
|
+
where?: Prisma.AuthRateLimitWhereInput;
|
|
773
|
+
/**
|
|
774
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
775
|
+
*
|
|
776
|
+
* Determine the order of AuthRateLimits to fetch.
|
|
777
|
+
*/
|
|
778
|
+
orderBy?: Prisma.AuthRateLimitOrderByWithRelationInput | Prisma.AuthRateLimitOrderByWithRelationInput[];
|
|
779
|
+
/**
|
|
780
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
781
|
+
*
|
|
782
|
+
* Sets the position for listing AuthRateLimits.
|
|
783
|
+
*/
|
|
784
|
+
cursor?: Prisma.AuthRateLimitWhereUniqueInput;
|
|
785
|
+
/**
|
|
786
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
787
|
+
*
|
|
788
|
+
* Take `±n` AuthRateLimits from the position of the cursor.
|
|
789
|
+
*/
|
|
790
|
+
take?: number;
|
|
791
|
+
/**
|
|
792
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
793
|
+
*
|
|
794
|
+
* Skip the first `n` AuthRateLimits.
|
|
795
|
+
*/
|
|
796
|
+
skip?: number;
|
|
797
|
+
/**
|
|
798
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
799
|
+
*
|
|
800
|
+
* Filter by unique combinations of AuthRateLimits.
|
|
801
|
+
*/
|
|
802
|
+
distinct?: Prisma.AuthRateLimitScalarFieldEnum | Prisma.AuthRateLimitScalarFieldEnum[];
|
|
803
|
+
};
|
|
804
|
+
/**
|
|
805
|
+
* AuthRateLimit create
|
|
806
|
+
*/
|
|
807
|
+
export type AuthRateLimitCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
808
|
+
/**
|
|
809
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
810
|
+
*/
|
|
811
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
812
|
+
/**
|
|
813
|
+
* Omit specific fields from the AuthRateLimit
|
|
814
|
+
*/
|
|
815
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
816
|
+
/**
|
|
817
|
+
* The data needed to create a AuthRateLimit.
|
|
818
|
+
*/
|
|
819
|
+
data: Prisma.XOR<Prisma.AuthRateLimitCreateInput, Prisma.AuthRateLimitUncheckedCreateInput>;
|
|
820
|
+
};
|
|
821
|
+
/**
|
|
822
|
+
* AuthRateLimit createMany
|
|
823
|
+
*/
|
|
824
|
+
export type AuthRateLimitCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
825
|
+
/**
|
|
826
|
+
* The data used to create many AuthRateLimits.
|
|
827
|
+
*/
|
|
828
|
+
data: Prisma.AuthRateLimitCreateManyInput | Prisma.AuthRateLimitCreateManyInput[];
|
|
829
|
+
skipDuplicates?: boolean;
|
|
830
|
+
};
|
|
831
|
+
/**
|
|
832
|
+
* AuthRateLimit createManyAndReturn
|
|
833
|
+
*/
|
|
834
|
+
export type AuthRateLimitCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
835
|
+
/**
|
|
836
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
837
|
+
*/
|
|
838
|
+
select?: Prisma.AuthRateLimitSelectCreateManyAndReturn<ExtArgs> | null;
|
|
839
|
+
/**
|
|
840
|
+
* Omit specific fields from the AuthRateLimit
|
|
841
|
+
*/
|
|
842
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
843
|
+
/**
|
|
844
|
+
* The data used to create many AuthRateLimits.
|
|
845
|
+
*/
|
|
846
|
+
data: Prisma.AuthRateLimitCreateManyInput | Prisma.AuthRateLimitCreateManyInput[];
|
|
847
|
+
skipDuplicates?: boolean;
|
|
848
|
+
};
|
|
849
|
+
/**
|
|
850
|
+
* AuthRateLimit update
|
|
851
|
+
*/
|
|
852
|
+
export type AuthRateLimitUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
853
|
+
/**
|
|
854
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
855
|
+
*/
|
|
856
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
857
|
+
/**
|
|
858
|
+
* Omit specific fields from the AuthRateLimit
|
|
859
|
+
*/
|
|
860
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
861
|
+
/**
|
|
862
|
+
* The data needed to update a AuthRateLimit.
|
|
863
|
+
*/
|
|
864
|
+
data: Prisma.XOR<Prisma.AuthRateLimitUpdateInput, Prisma.AuthRateLimitUncheckedUpdateInput>;
|
|
865
|
+
/**
|
|
866
|
+
* Choose, which AuthRateLimit to update.
|
|
867
|
+
*/
|
|
868
|
+
where: Prisma.AuthRateLimitWhereUniqueInput;
|
|
869
|
+
};
|
|
870
|
+
/**
|
|
871
|
+
* AuthRateLimit updateMany
|
|
872
|
+
*/
|
|
873
|
+
export type AuthRateLimitUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
874
|
+
/**
|
|
875
|
+
* The data used to update AuthRateLimits.
|
|
876
|
+
*/
|
|
877
|
+
data: Prisma.XOR<Prisma.AuthRateLimitUpdateManyMutationInput, Prisma.AuthRateLimitUncheckedUpdateManyInput>;
|
|
878
|
+
/**
|
|
879
|
+
* Filter which AuthRateLimits to update
|
|
880
|
+
*/
|
|
881
|
+
where?: Prisma.AuthRateLimitWhereInput;
|
|
882
|
+
/**
|
|
883
|
+
* Limit how many AuthRateLimits to update.
|
|
884
|
+
*/
|
|
885
|
+
limit?: number;
|
|
886
|
+
};
|
|
887
|
+
/**
|
|
888
|
+
* AuthRateLimit updateManyAndReturn
|
|
889
|
+
*/
|
|
890
|
+
export type AuthRateLimitUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
891
|
+
/**
|
|
892
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
893
|
+
*/
|
|
894
|
+
select?: Prisma.AuthRateLimitSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
895
|
+
/**
|
|
896
|
+
* Omit specific fields from the AuthRateLimit
|
|
897
|
+
*/
|
|
898
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
899
|
+
/**
|
|
900
|
+
* The data used to update AuthRateLimits.
|
|
901
|
+
*/
|
|
902
|
+
data: Prisma.XOR<Prisma.AuthRateLimitUpdateManyMutationInput, Prisma.AuthRateLimitUncheckedUpdateManyInput>;
|
|
903
|
+
/**
|
|
904
|
+
* Filter which AuthRateLimits to update
|
|
905
|
+
*/
|
|
906
|
+
where?: Prisma.AuthRateLimitWhereInput;
|
|
907
|
+
/**
|
|
908
|
+
* Limit how many AuthRateLimits to update.
|
|
909
|
+
*/
|
|
910
|
+
limit?: number;
|
|
911
|
+
};
|
|
912
|
+
/**
|
|
913
|
+
* AuthRateLimit upsert
|
|
914
|
+
*/
|
|
915
|
+
export type AuthRateLimitUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
916
|
+
/**
|
|
917
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
918
|
+
*/
|
|
919
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
920
|
+
/**
|
|
921
|
+
* Omit specific fields from the AuthRateLimit
|
|
922
|
+
*/
|
|
923
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
924
|
+
/**
|
|
925
|
+
* The filter to search for the AuthRateLimit to update in case it exists.
|
|
926
|
+
*/
|
|
927
|
+
where: Prisma.AuthRateLimitWhereUniqueInput;
|
|
928
|
+
/**
|
|
929
|
+
* In case the AuthRateLimit found by the `where` argument doesn't exist, create a new AuthRateLimit with this data.
|
|
930
|
+
*/
|
|
931
|
+
create: Prisma.XOR<Prisma.AuthRateLimitCreateInput, Prisma.AuthRateLimitUncheckedCreateInput>;
|
|
932
|
+
/**
|
|
933
|
+
* In case the AuthRateLimit was found with the provided `where` argument, update it with this data.
|
|
934
|
+
*/
|
|
935
|
+
update: Prisma.XOR<Prisma.AuthRateLimitUpdateInput, Prisma.AuthRateLimitUncheckedUpdateInput>;
|
|
936
|
+
};
|
|
937
|
+
/**
|
|
938
|
+
* AuthRateLimit delete
|
|
939
|
+
*/
|
|
940
|
+
export type AuthRateLimitDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
941
|
+
/**
|
|
942
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
943
|
+
*/
|
|
944
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
945
|
+
/**
|
|
946
|
+
* Omit specific fields from the AuthRateLimit
|
|
947
|
+
*/
|
|
948
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
949
|
+
/**
|
|
950
|
+
* Filter which AuthRateLimit to delete.
|
|
951
|
+
*/
|
|
952
|
+
where: Prisma.AuthRateLimitWhereUniqueInput;
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* AuthRateLimit deleteMany
|
|
956
|
+
*/
|
|
957
|
+
export type AuthRateLimitDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
958
|
+
/**
|
|
959
|
+
* Filter which AuthRateLimits to delete
|
|
960
|
+
*/
|
|
961
|
+
where?: Prisma.AuthRateLimitWhereInput;
|
|
962
|
+
/**
|
|
963
|
+
* Limit how many AuthRateLimits to delete.
|
|
964
|
+
*/
|
|
965
|
+
limit?: number;
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* AuthRateLimit without action
|
|
969
|
+
*/
|
|
970
|
+
export type AuthRateLimitDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
971
|
+
/**
|
|
972
|
+
* Select specific fields to fetch from the AuthRateLimit
|
|
973
|
+
*/
|
|
974
|
+
select?: Prisma.AuthRateLimitSelect<ExtArgs> | null;
|
|
975
|
+
/**
|
|
976
|
+
* Omit specific fields from the AuthRateLimit
|
|
977
|
+
*/
|
|
978
|
+
omit?: Prisma.AuthRateLimitOmit<ExtArgs> | null;
|
|
979
|
+
};
|