@wardby/cli 0.2.1 → 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 +41 -4
- package/dist/claude-coding-worker/driver.d.ts +6 -1
- package/dist/claude-coding-worker/driver.js +27 -1
- package/dist/claude-coding-worker/main.js +2 -0
- 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 +75 -4
- package/dist/coding/protocol.js +107 -7
- 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 +6 -0
- 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 +13 -1
- package/dist/coding-worker/driver.js +102 -13
- package/dist/coding-worker/errors.js +8 -0
- package/dist/coding-worker/main.js +10 -2
- 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 +108 -5
- 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/datastores.js +18 -2
- package/dist/core/db.d.ts +5 -1
- package/dist/core/db.js +8 -2
- package/dist/core/dispatch.d.ts +33 -6
- package/dist/core/dispatch.js +260 -43
- 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/in-flight-runs.d.ts +8 -0
- package/dist/core/in-flight-runs.js +56 -0
- package/dist/core/provider-wording.d.ts +12 -0
- package/dist/core/provider-wording.js +44 -0
- package/dist/core/reconciler.d.ts +38 -2
- 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 +30 -8
- package/dist/core/runner.js +237 -40
- package/dist/core/secrets.d.ts +11 -2
- package/dist/core/secrets.js +25 -6
- package/dist/core/subagent-memory-tools.d.ts +1 -1
- 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 +8 -1
- package/dist/core/webhooks.js +23 -2
- package/dist/generated/prisma/browser.d.ts +100 -0
- package/dist/generated/prisma/client.d.ts +100 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +30 -0
- package/dist/generated/prisma/enums.d.ts +6 -0
- package/dist/generated/prisma/enums.js +6 -1
- package/dist/generated/prisma/internal/class.d.ts +143 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +1746 -577
- package/dist/generated/prisma/internal/prismaNamespace.js +179 -6
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +186 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +179 -6
- package/dist/generated/prisma/models/Agent.d.ts +294 -1
- package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
- package/dist/generated/prisma/models/AgentRepository.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +95 -1
- package/dist/generated/prisma/models/AuthUser.d.ts +56 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +258 -7
- package/dist/generated/prisma/models/CodingProxySession.d.ts +123 -2
- package/dist/generated/prisma/models/CodingRun.d.ts +1276 -95
- package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
- package/dist/generated/prisma/models/CodingService.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/Principal.d.ts +455 -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 +389 -1
- 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/Tool.d.ts +15 -3
- package/dist/generated/prisma/models.d.ts +13 -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 +5 -0
- package/dist/import/create.js +67 -13
- 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 +26 -52
- package/dist/mcp/auth/ownership.js +19 -14
- 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 +31 -2
- package/dist/mcp/auth/resource-server.js +84 -3
- package/dist/mcp/auth/self-hosted/browser.js +2 -2
- package/dist/mcp/auth/self-hosted/cli.js +47 -13
- package/dist/mcp/auth/self-hosted/credentials.d.ts +20 -2
- package/dist/mcp/auth/self-hosted/credentials.js +62 -4
- package/dist/mcp/auth/self-hosted/session.d.ts +2 -1
- package/dist/mcp/context.d.ts +27 -1
- 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.js +27 -9
- package/dist/mcp/tools/agents.js +446 -48
- package/dist/mcp/tools/budget-groups.js +3 -3
- package/dist/mcp/tools/datastore.js +22 -15
- 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 +3 -6
- 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 +52 -16
- package/dist/mcp/tools/tools.d.ts +41 -0
- package/dist/mcp/tools/tools.js +201 -40
- package/dist/mcp/tools/trigger.js +36 -6
- package/dist/mcp/tools/webhooks.js +15 -4
- package/dist/mcp/transport/streamable-http.d.ts +10 -0
- package/dist/mcp/transport/streamable-http.js +32 -2
- package/dist/providers/auth/delegating.d.ts +19 -0
- package/dist/providers/auth/delegating.js +71 -0
- package/dist/providers/auth/index.d.ts +2 -0
- package/dist/providers/auth/index.js +11 -0
- package/dist/providers/auth/self-hosted.d.ts +2 -1
- 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 +17 -0
- 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 +17 -0
- 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/engine/types.d.ts +10 -0
- package/dist/providers/executor/build.d.ts +2 -2
- package/dist/providers/executor/composition.d.ts +3 -0
- package/dist/providers/executor/composition.js +19 -0
- package/dist/providers/executor/container.d.ts +105 -3
- package/dist/providers/executor/container.js +296 -20
- package/dist/providers/executor/dbos.d.ts +2 -3
- 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 +49 -2
- package/dist/providers/jobs/docker.js +279 -32
- 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 +112 -21
- package/dist/providers/jobs/types.d.ts +18 -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/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 +77 -13
- 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 +13 -2
- 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 +12 -3
- 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 +407 -21
|
@@ -0,0 +1,1085 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model RegistryVersionFact
|
|
5
|
+
* Immutable facts about one published package version, read from the
|
|
6
|
+
* registry itself (never from a lockfile) by lockfile verification: its
|
|
7
|
+
* publish time, integrity, download URL and declared dependencies
|
|
8
|
+
* ([{ key, name, range }], aliases resolved). Stored once and reused
|
|
9
|
+
* forever; allow/deny decisions are never cached here.
|
|
10
|
+
*/
|
|
11
|
+
export type RegistryVersionFactModel = runtime.Types.Result.DefaultSelection<Prisma.$RegistryVersionFactPayload>;
|
|
12
|
+
export type AggregateRegistryVersionFact = {
|
|
13
|
+
_count: RegistryVersionFactCountAggregateOutputType | null;
|
|
14
|
+
_min: RegistryVersionFactMinAggregateOutputType | null;
|
|
15
|
+
_max: RegistryVersionFactMaxAggregateOutputType | null;
|
|
16
|
+
};
|
|
17
|
+
export type RegistryVersionFactMinAggregateOutputType = {
|
|
18
|
+
ecosystem: string | null;
|
|
19
|
+
name: string | null;
|
|
20
|
+
version: string | null;
|
|
21
|
+
publishedAt: Date | null;
|
|
22
|
+
integrity: string | null;
|
|
23
|
+
downloadUrl: string | null;
|
|
24
|
+
createdAt: Date | null;
|
|
25
|
+
};
|
|
26
|
+
export type RegistryVersionFactMaxAggregateOutputType = {
|
|
27
|
+
ecosystem: string | null;
|
|
28
|
+
name: string | null;
|
|
29
|
+
version: string | null;
|
|
30
|
+
publishedAt: Date | null;
|
|
31
|
+
integrity: string | null;
|
|
32
|
+
downloadUrl: string | null;
|
|
33
|
+
createdAt: Date | null;
|
|
34
|
+
};
|
|
35
|
+
export type RegistryVersionFactCountAggregateOutputType = {
|
|
36
|
+
ecosystem: number;
|
|
37
|
+
name: number;
|
|
38
|
+
version: number;
|
|
39
|
+
publishedAt: number;
|
|
40
|
+
integrity: number;
|
|
41
|
+
downloadUrl: number;
|
|
42
|
+
dependencies: number;
|
|
43
|
+
createdAt: number;
|
|
44
|
+
_all: number;
|
|
45
|
+
};
|
|
46
|
+
export type RegistryVersionFactMinAggregateInputType = {
|
|
47
|
+
ecosystem?: true;
|
|
48
|
+
name?: true;
|
|
49
|
+
version?: true;
|
|
50
|
+
publishedAt?: true;
|
|
51
|
+
integrity?: true;
|
|
52
|
+
downloadUrl?: true;
|
|
53
|
+
createdAt?: true;
|
|
54
|
+
};
|
|
55
|
+
export type RegistryVersionFactMaxAggregateInputType = {
|
|
56
|
+
ecosystem?: true;
|
|
57
|
+
name?: true;
|
|
58
|
+
version?: true;
|
|
59
|
+
publishedAt?: true;
|
|
60
|
+
integrity?: true;
|
|
61
|
+
downloadUrl?: true;
|
|
62
|
+
createdAt?: true;
|
|
63
|
+
};
|
|
64
|
+
export type RegistryVersionFactCountAggregateInputType = {
|
|
65
|
+
ecosystem?: true;
|
|
66
|
+
name?: true;
|
|
67
|
+
version?: true;
|
|
68
|
+
publishedAt?: true;
|
|
69
|
+
integrity?: true;
|
|
70
|
+
downloadUrl?: true;
|
|
71
|
+
dependencies?: true;
|
|
72
|
+
createdAt?: true;
|
|
73
|
+
_all?: true;
|
|
74
|
+
};
|
|
75
|
+
export type RegistryVersionFactAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
76
|
+
/**
|
|
77
|
+
* Filter which RegistryVersionFact to aggregate.
|
|
78
|
+
*/
|
|
79
|
+
where?: Prisma.RegistryVersionFactWhereInput;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
82
|
+
*
|
|
83
|
+
* Determine the order of RegistryVersionFacts to fetch.
|
|
84
|
+
*/
|
|
85
|
+
orderBy?: Prisma.RegistryVersionFactOrderByWithRelationInput | Prisma.RegistryVersionFactOrderByWithRelationInput[];
|
|
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.RegistryVersionFactWhereUniqueInput;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
94
|
+
*
|
|
95
|
+
* Take `±n` RegistryVersionFacts 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` RegistryVersionFacts.
|
|
102
|
+
*/
|
|
103
|
+
skip?: number;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Count returned RegistryVersionFacts
|
|
108
|
+
**/
|
|
109
|
+
_count?: true | RegistryVersionFactCountAggregateInputType;
|
|
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?: RegistryVersionFactMinAggregateInputType;
|
|
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?: RegistryVersionFactMaxAggregateInputType;
|
|
122
|
+
};
|
|
123
|
+
export type GetRegistryVersionFactAggregateType<T extends RegistryVersionFactAggregateArgs> = {
|
|
124
|
+
[P in keyof T & keyof AggregateRegistryVersionFact]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRegistryVersionFact[P]> : Prisma.GetScalarType<T[P], AggregateRegistryVersionFact[P]>;
|
|
125
|
+
};
|
|
126
|
+
export type RegistryVersionFactGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
127
|
+
where?: Prisma.RegistryVersionFactWhereInput;
|
|
128
|
+
orderBy?: Prisma.RegistryVersionFactOrderByWithAggregationInput | Prisma.RegistryVersionFactOrderByWithAggregationInput[];
|
|
129
|
+
by: Prisma.RegistryVersionFactScalarFieldEnum[] | Prisma.RegistryVersionFactScalarFieldEnum;
|
|
130
|
+
having?: Prisma.RegistryVersionFactScalarWhereWithAggregatesInput;
|
|
131
|
+
take?: number;
|
|
132
|
+
skip?: number;
|
|
133
|
+
_count?: RegistryVersionFactCountAggregateInputType | true;
|
|
134
|
+
_min?: RegistryVersionFactMinAggregateInputType;
|
|
135
|
+
_max?: RegistryVersionFactMaxAggregateInputType;
|
|
136
|
+
};
|
|
137
|
+
export type RegistryVersionFactGroupByOutputType = {
|
|
138
|
+
ecosystem: string;
|
|
139
|
+
name: string;
|
|
140
|
+
version: string;
|
|
141
|
+
publishedAt: Date;
|
|
142
|
+
integrity: string;
|
|
143
|
+
downloadUrl: string;
|
|
144
|
+
dependencies: runtime.JsonValue;
|
|
145
|
+
createdAt: Date;
|
|
146
|
+
_count: RegistryVersionFactCountAggregateOutputType | null;
|
|
147
|
+
_min: RegistryVersionFactMinAggregateOutputType | null;
|
|
148
|
+
_max: RegistryVersionFactMaxAggregateOutputType | null;
|
|
149
|
+
};
|
|
150
|
+
export type GetRegistryVersionFactGroupByPayload<T extends RegistryVersionFactGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RegistryVersionFactGroupByOutputType, T['by']> & {
|
|
151
|
+
[P in ((keyof T) & (keyof RegistryVersionFactGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RegistryVersionFactGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RegistryVersionFactGroupByOutputType[P]>;
|
|
152
|
+
}>>;
|
|
153
|
+
export type RegistryVersionFactWhereInput = {
|
|
154
|
+
AND?: Prisma.RegistryVersionFactWhereInput | Prisma.RegistryVersionFactWhereInput[];
|
|
155
|
+
OR?: Prisma.RegistryVersionFactWhereInput[];
|
|
156
|
+
NOT?: Prisma.RegistryVersionFactWhereInput | Prisma.RegistryVersionFactWhereInput[];
|
|
157
|
+
ecosystem?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
158
|
+
name?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
159
|
+
version?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
160
|
+
publishedAt?: Prisma.DateTimeFilter<"RegistryVersionFact"> | Date | string;
|
|
161
|
+
integrity?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
162
|
+
downloadUrl?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
163
|
+
dependencies?: Prisma.JsonFilter<"RegistryVersionFact">;
|
|
164
|
+
createdAt?: Prisma.DateTimeFilter<"RegistryVersionFact"> | Date | string;
|
|
165
|
+
};
|
|
166
|
+
export type RegistryVersionFactOrderByWithRelationInput = {
|
|
167
|
+
ecosystem?: Prisma.SortOrder;
|
|
168
|
+
name?: Prisma.SortOrder;
|
|
169
|
+
version?: Prisma.SortOrder;
|
|
170
|
+
publishedAt?: Prisma.SortOrder;
|
|
171
|
+
integrity?: Prisma.SortOrder;
|
|
172
|
+
downloadUrl?: Prisma.SortOrder;
|
|
173
|
+
dependencies?: Prisma.SortOrder;
|
|
174
|
+
createdAt?: Prisma.SortOrder;
|
|
175
|
+
};
|
|
176
|
+
export type RegistryVersionFactWhereUniqueInput = Prisma.AtLeast<{
|
|
177
|
+
ecosystem_name_version?: Prisma.RegistryVersionFactEcosystemNameVersionCompoundUniqueInput;
|
|
178
|
+
AND?: Prisma.RegistryVersionFactWhereInput | Prisma.RegistryVersionFactWhereInput[];
|
|
179
|
+
OR?: Prisma.RegistryVersionFactWhereInput[];
|
|
180
|
+
NOT?: Prisma.RegistryVersionFactWhereInput | Prisma.RegistryVersionFactWhereInput[];
|
|
181
|
+
ecosystem?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
182
|
+
name?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
183
|
+
version?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
184
|
+
publishedAt?: Prisma.DateTimeFilter<"RegistryVersionFact"> | Date | string;
|
|
185
|
+
integrity?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
186
|
+
downloadUrl?: Prisma.StringFilter<"RegistryVersionFact"> | string;
|
|
187
|
+
dependencies?: Prisma.JsonFilter<"RegistryVersionFact">;
|
|
188
|
+
createdAt?: Prisma.DateTimeFilter<"RegistryVersionFact"> | Date | string;
|
|
189
|
+
}, "ecosystem_name_version">;
|
|
190
|
+
export type RegistryVersionFactOrderByWithAggregationInput = {
|
|
191
|
+
ecosystem?: Prisma.SortOrder;
|
|
192
|
+
name?: Prisma.SortOrder;
|
|
193
|
+
version?: Prisma.SortOrder;
|
|
194
|
+
publishedAt?: Prisma.SortOrder;
|
|
195
|
+
integrity?: Prisma.SortOrder;
|
|
196
|
+
downloadUrl?: Prisma.SortOrder;
|
|
197
|
+
dependencies?: Prisma.SortOrder;
|
|
198
|
+
createdAt?: Prisma.SortOrder;
|
|
199
|
+
_count?: Prisma.RegistryVersionFactCountOrderByAggregateInput;
|
|
200
|
+
_max?: Prisma.RegistryVersionFactMaxOrderByAggregateInput;
|
|
201
|
+
_min?: Prisma.RegistryVersionFactMinOrderByAggregateInput;
|
|
202
|
+
};
|
|
203
|
+
export type RegistryVersionFactScalarWhereWithAggregatesInput = {
|
|
204
|
+
AND?: Prisma.RegistryVersionFactScalarWhereWithAggregatesInput | Prisma.RegistryVersionFactScalarWhereWithAggregatesInput[];
|
|
205
|
+
OR?: Prisma.RegistryVersionFactScalarWhereWithAggregatesInput[];
|
|
206
|
+
NOT?: Prisma.RegistryVersionFactScalarWhereWithAggregatesInput | Prisma.RegistryVersionFactScalarWhereWithAggregatesInput[];
|
|
207
|
+
ecosystem?: Prisma.StringWithAggregatesFilter<"RegistryVersionFact"> | string;
|
|
208
|
+
name?: Prisma.StringWithAggregatesFilter<"RegistryVersionFact"> | string;
|
|
209
|
+
version?: Prisma.StringWithAggregatesFilter<"RegistryVersionFact"> | string;
|
|
210
|
+
publishedAt?: Prisma.DateTimeWithAggregatesFilter<"RegistryVersionFact"> | Date | string;
|
|
211
|
+
integrity?: Prisma.StringWithAggregatesFilter<"RegistryVersionFact"> | string;
|
|
212
|
+
downloadUrl?: Prisma.StringWithAggregatesFilter<"RegistryVersionFact"> | string;
|
|
213
|
+
dependencies?: Prisma.JsonWithAggregatesFilter<"RegistryVersionFact">;
|
|
214
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"RegistryVersionFact"> | Date | string;
|
|
215
|
+
};
|
|
216
|
+
export type RegistryVersionFactCreateInput = {
|
|
217
|
+
ecosystem: string;
|
|
218
|
+
name: string;
|
|
219
|
+
version: string;
|
|
220
|
+
publishedAt: Date | string;
|
|
221
|
+
integrity: string;
|
|
222
|
+
downloadUrl: string;
|
|
223
|
+
dependencies: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
224
|
+
createdAt?: Date | string;
|
|
225
|
+
};
|
|
226
|
+
export type RegistryVersionFactUncheckedCreateInput = {
|
|
227
|
+
ecosystem: string;
|
|
228
|
+
name: string;
|
|
229
|
+
version: string;
|
|
230
|
+
publishedAt: Date | string;
|
|
231
|
+
integrity: string;
|
|
232
|
+
downloadUrl: string;
|
|
233
|
+
dependencies: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
234
|
+
createdAt?: Date | string;
|
|
235
|
+
};
|
|
236
|
+
export type RegistryVersionFactUpdateInput = {
|
|
237
|
+
ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
238
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
239
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
240
|
+
publishedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
241
|
+
integrity?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
242
|
+
downloadUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
243
|
+
dependencies?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
244
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
245
|
+
};
|
|
246
|
+
export type RegistryVersionFactUncheckedUpdateInput = {
|
|
247
|
+
ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
248
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
249
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
250
|
+
publishedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
251
|
+
integrity?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
252
|
+
downloadUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
253
|
+
dependencies?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
254
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
255
|
+
};
|
|
256
|
+
export type RegistryVersionFactCreateManyInput = {
|
|
257
|
+
ecosystem: string;
|
|
258
|
+
name: string;
|
|
259
|
+
version: string;
|
|
260
|
+
publishedAt: Date | string;
|
|
261
|
+
integrity: string;
|
|
262
|
+
downloadUrl: string;
|
|
263
|
+
dependencies: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
264
|
+
createdAt?: Date | string;
|
|
265
|
+
};
|
|
266
|
+
export type RegistryVersionFactUpdateManyMutationInput = {
|
|
267
|
+
ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
268
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
269
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
270
|
+
publishedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
271
|
+
integrity?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
downloadUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
273
|
+
dependencies?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
274
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
275
|
+
};
|
|
276
|
+
export type RegistryVersionFactUncheckedUpdateManyInput = {
|
|
277
|
+
ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
278
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
279
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
280
|
+
publishedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
281
|
+
integrity?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
282
|
+
downloadUrl?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
283
|
+
dependencies?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
284
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
285
|
+
};
|
|
286
|
+
export type RegistryVersionFactEcosystemNameVersionCompoundUniqueInput = {
|
|
287
|
+
ecosystem: string;
|
|
288
|
+
name: string;
|
|
289
|
+
version: string;
|
|
290
|
+
};
|
|
291
|
+
export type RegistryVersionFactCountOrderByAggregateInput = {
|
|
292
|
+
ecosystem?: Prisma.SortOrder;
|
|
293
|
+
name?: Prisma.SortOrder;
|
|
294
|
+
version?: Prisma.SortOrder;
|
|
295
|
+
publishedAt?: Prisma.SortOrder;
|
|
296
|
+
integrity?: Prisma.SortOrder;
|
|
297
|
+
downloadUrl?: Prisma.SortOrder;
|
|
298
|
+
dependencies?: Prisma.SortOrder;
|
|
299
|
+
createdAt?: Prisma.SortOrder;
|
|
300
|
+
};
|
|
301
|
+
export type RegistryVersionFactMaxOrderByAggregateInput = {
|
|
302
|
+
ecosystem?: Prisma.SortOrder;
|
|
303
|
+
name?: Prisma.SortOrder;
|
|
304
|
+
version?: Prisma.SortOrder;
|
|
305
|
+
publishedAt?: Prisma.SortOrder;
|
|
306
|
+
integrity?: Prisma.SortOrder;
|
|
307
|
+
downloadUrl?: Prisma.SortOrder;
|
|
308
|
+
createdAt?: Prisma.SortOrder;
|
|
309
|
+
};
|
|
310
|
+
export type RegistryVersionFactMinOrderByAggregateInput = {
|
|
311
|
+
ecosystem?: Prisma.SortOrder;
|
|
312
|
+
name?: Prisma.SortOrder;
|
|
313
|
+
version?: Prisma.SortOrder;
|
|
314
|
+
publishedAt?: Prisma.SortOrder;
|
|
315
|
+
integrity?: Prisma.SortOrder;
|
|
316
|
+
downloadUrl?: Prisma.SortOrder;
|
|
317
|
+
createdAt?: Prisma.SortOrder;
|
|
318
|
+
};
|
|
319
|
+
export type RegistryVersionFactSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
320
|
+
ecosystem?: boolean;
|
|
321
|
+
name?: boolean;
|
|
322
|
+
version?: boolean;
|
|
323
|
+
publishedAt?: boolean;
|
|
324
|
+
integrity?: boolean;
|
|
325
|
+
downloadUrl?: boolean;
|
|
326
|
+
dependencies?: boolean;
|
|
327
|
+
createdAt?: boolean;
|
|
328
|
+
}, ExtArgs["result"]["registryVersionFact"]>;
|
|
329
|
+
export type RegistryVersionFactSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
330
|
+
ecosystem?: boolean;
|
|
331
|
+
name?: boolean;
|
|
332
|
+
version?: boolean;
|
|
333
|
+
publishedAt?: boolean;
|
|
334
|
+
integrity?: boolean;
|
|
335
|
+
downloadUrl?: boolean;
|
|
336
|
+
dependencies?: boolean;
|
|
337
|
+
createdAt?: boolean;
|
|
338
|
+
}, ExtArgs["result"]["registryVersionFact"]>;
|
|
339
|
+
export type RegistryVersionFactSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
340
|
+
ecosystem?: boolean;
|
|
341
|
+
name?: boolean;
|
|
342
|
+
version?: boolean;
|
|
343
|
+
publishedAt?: boolean;
|
|
344
|
+
integrity?: boolean;
|
|
345
|
+
downloadUrl?: boolean;
|
|
346
|
+
dependencies?: boolean;
|
|
347
|
+
createdAt?: boolean;
|
|
348
|
+
}, ExtArgs["result"]["registryVersionFact"]>;
|
|
349
|
+
export type RegistryVersionFactSelectScalar = {
|
|
350
|
+
ecosystem?: boolean;
|
|
351
|
+
name?: boolean;
|
|
352
|
+
version?: boolean;
|
|
353
|
+
publishedAt?: boolean;
|
|
354
|
+
integrity?: boolean;
|
|
355
|
+
downloadUrl?: boolean;
|
|
356
|
+
dependencies?: boolean;
|
|
357
|
+
createdAt?: boolean;
|
|
358
|
+
};
|
|
359
|
+
export type RegistryVersionFactOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"ecosystem" | "name" | "version" | "publishedAt" | "integrity" | "downloadUrl" | "dependencies" | "createdAt", ExtArgs["result"]["registryVersionFact"]>;
|
|
360
|
+
export type $RegistryVersionFactPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
361
|
+
name: "RegistryVersionFact";
|
|
362
|
+
objects: {};
|
|
363
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
364
|
+
ecosystem: string;
|
|
365
|
+
name: string;
|
|
366
|
+
version: string;
|
|
367
|
+
publishedAt: Date;
|
|
368
|
+
integrity: string;
|
|
369
|
+
downloadUrl: string;
|
|
370
|
+
dependencies: runtime.JsonValue;
|
|
371
|
+
createdAt: Date;
|
|
372
|
+
}, ExtArgs["result"]["registryVersionFact"]>;
|
|
373
|
+
composites: {};
|
|
374
|
+
};
|
|
375
|
+
export type RegistryVersionFactGetPayload<S extends boolean | null | undefined | RegistryVersionFactDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload, S>;
|
|
376
|
+
export type RegistryVersionFactCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RegistryVersionFactFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
377
|
+
select?: RegistryVersionFactCountAggregateInputType | true;
|
|
378
|
+
};
|
|
379
|
+
export interface RegistryVersionFactDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
380
|
+
[K: symbol]: {
|
|
381
|
+
types: Prisma.TypeMap<ExtArgs>['model']['RegistryVersionFact'];
|
|
382
|
+
meta: {
|
|
383
|
+
name: 'RegistryVersionFact';
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
/**
|
|
387
|
+
* Find zero or one RegistryVersionFact that matches the filter.
|
|
388
|
+
* @param {RegistryVersionFactFindUniqueArgs} args - Arguments to find a RegistryVersionFact
|
|
389
|
+
* @example
|
|
390
|
+
* // Get one RegistryVersionFact
|
|
391
|
+
* const registryVersionFact = await prisma.registryVersionFact.findUnique({
|
|
392
|
+
* where: {
|
|
393
|
+
* // ... provide filter here
|
|
394
|
+
* }
|
|
395
|
+
* })
|
|
396
|
+
*/
|
|
397
|
+
findUnique<T extends RegistryVersionFactFindUniqueArgs>(args: Prisma.SelectSubset<T, RegistryVersionFactFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RegistryVersionFactClient<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
398
|
+
/**
|
|
399
|
+
* Find one RegistryVersionFact that matches the filter or throw an error with `error.code='P2025'`
|
|
400
|
+
* if no matches were found.
|
|
401
|
+
* @param {RegistryVersionFactFindUniqueOrThrowArgs} args - Arguments to find a RegistryVersionFact
|
|
402
|
+
* @example
|
|
403
|
+
* // Get one RegistryVersionFact
|
|
404
|
+
* const registryVersionFact = await prisma.registryVersionFact.findUniqueOrThrow({
|
|
405
|
+
* where: {
|
|
406
|
+
* // ... provide filter here
|
|
407
|
+
* }
|
|
408
|
+
* })
|
|
409
|
+
*/
|
|
410
|
+
findUniqueOrThrow<T extends RegistryVersionFactFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RegistryVersionFactFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RegistryVersionFactClient<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
411
|
+
/**
|
|
412
|
+
* Find the first RegistryVersionFact that matches the filter.
|
|
413
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
414
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
415
|
+
* @param {RegistryVersionFactFindFirstArgs} args - Arguments to find a RegistryVersionFact
|
|
416
|
+
* @example
|
|
417
|
+
* // Get one RegistryVersionFact
|
|
418
|
+
* const registryVersionFact = await prisma.registryVersionFact.findFirst({
|
|
419
|
+
* where: {
|
|
420
|
+
* // ... provide filter here
|
|
421
|
+
* }
|
|
422
|
+
* })
|
|
423
|
+
*/
|
|
424
|
+
findFirst<T extends RegistryVersionFactFindFirstArgs>(args?: Prisma.SelectSubset<T, RegistryVersionFactFindFirstArgs<ExtArgs>>): Prisma.Prisma__RegistryVersionFactClient<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
425
|
+
/**
|
|
426
|
+
* Find the first RegistryVersionFact that matches the filter or
|
|
427
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
428
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
429
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
430
|
+
* @param {RegistryVersionFactFindFirstOrThrowArgs} args - Arguments to find a RegistryVersionFact
|
|
431
|
+
* @example
|
|
432
|
+
* // Get one RegistryVersionFact
|
|
433
|
+
* const registryVersionFact = await prisma.registryVersionFact.findFirstOrThrow({
|
|
434
|
+
* where: {
|
|
435
|
+
* // ... provide filter here
|
|
436
|
+
* }
|
|
437
|
+
* })
|
|
438
|
+
*/
|
|
439
|
+
findFirstOrThrow<T extends RegistryVersionFactFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RegistryVersionFactFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RegistryVersionFactClient<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
440
|
+
/**
|
|
441
|
+
* Find zero or more RegistryVersionFacts that matches the filter.
|
|
442
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
443
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
444
|
+
* @param {RegistryVersionFactFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
445
|
+
* @example
|
|
446
|
+
* // Get all RegistryVersionFacts
|
|
447
|
+
* const registryVersionFacts = await prisma.registryVersionFact.findMany()
|
|
448
|
+
*
|
|
449
|
+
* // Get first 10 RegistryVersionFacts
|
|
450
|
+
* const registryVersionFacts = await prisma.registryVersionFact.findMany({ take: 10 })
|
|
451
|
+
*
|
|
452
|
+
* // Only select the `ecosystem`
|
|
453
|
+
* const registryVersionFactWithEcosystemOnly = await prisma.registryVersionFact.findMany({ select: { ecosystem: true } })
|
|
454
|
+
*
|
|
455
|
+
*/
|
|
456
|
+
findMany<T extends RegistryVersionFactFindManyArgs>(args?: Prisma.SelectSubset<T, RegistryVersionFactFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
457
|
+
/**
|
|
458
|
+
* Create a RegistryVersionFact.
|
|
459
|
+
* @param {RegistryVersionFactCreateArgs} args - Arguments to create a RegistryVersionFact.
|
|
460
|
+
* @example
|
|
461
|
+
* // Create one RegistryVersionFact
|
|
462
|
+
* const RegistryVersionFact = await prisma.registryVersionFact.create({
|
|
463
|
+
* data: {
|
|
464
|
+
* // ... data to create a RegistryVersionFact
|
|
465
|
+
* }
|
|
466
|
+
* })
|
|
467
|
+
*
|
|
468
|
+
*/
|
|
469
|
+
create<T extends RegistryVersionFactCreateArgs>(args: Prisma.SelectSubset<T, RegistryVersionFactCreateArgs<ExtArgs>>): Prisma.Prisma__RegistryVersionFactClient<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
470
|
+
/**
|
|
471
|
+
* Create many RegistryVersionFacts.
|
|
472
|
+
* @param {RegistryVersionFactCreateManyArgs} args - Arguments to create many RegistryVersionFacts.
|
|
473
|
+
* @example
|
|
474
|
+
* // Create many RegistryVersionFacts
|
|
475
|
+
* const registryVersionFact = await prisma.registryVersionFact.createMany({
|
|
476
|
+
* data: [
|
|
477
|
+
* // ... provide data here
|
|
478
|
+
* ]
|
|
479
|
+
* })
|
|
480
|
+
*
|
|
481
|
+
*/
|
|
482
|
+
createMany<T extends RegistryVersionFactCreateManyArgs>(args?: Prisma.SelectSubset<T, RegistryVersionFactCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
483
|
+
/**
|
|
484
|
+
* Create many RegistryVersionFacts and returns the data saved in the database.
|
|
485
|
+
* @param {RegistryVersionFactCreateManyAndReturnArgs} args - Arguments to create many RegistryVersionFacts.
|
|
486
|
+
* @example
|
|
487
|
+
* // Create many RegistryVersionFacts
|
|
488
|
+
* const registryVersionFact = await prisma.registryVersionFact.createManyAndReturn({
|
|
489
|
+
* data: [
|
|
490
|
+
* // ... provide data here
|
|
491
|
+
* ]
|
|
492
|
+
* })
|
|
493
|
+
*
|
|
494
|
+
* // Create many RegistryVersionFacts and only return the `ecosystem`
|
|
495
|
+
* const registryVersionFactWithEcosystemOnly = await prisma.registryVersionFact.createManyAndReturn({
|
|
496
|
+
* select: { ecosystem: true },
|
|
497
|
+
* data: [
|
|
498
|
+
* // ... provide data here
|
|
499
|
+
* ]
|
|
500
|
+
* })
|
|
501
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
502
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
503
|
+
*
|
|
504
|
+
*/
|
|
505
|
+
createManyAndReturn<T extends RegistryVersionFactCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RegistryVersionFactCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
506
|
+
/**
|
|
507
|
+
* Delete a RegistryVersionFact.
|
|
508
|
+
* @param {RegistryVersionFactDeleteArgs} args - Arguments to delete one RegistryVersionFact.
|
|
509
|
+
* @example
|
|
510
|
+
* // Delete one RegistryVersionFact
|
|
511
|
+
* const RegistryVersionFact = await prisma.registryVersionFact.delete({
|
|
512
|
+
* where: {
|
|
513
|
+
* // ... filter to delete one RegistryVersionFact
|
|
514
|
+
* }
|
|
515
|
+
* })
|
|
516
|
+
*
|
|
517
|
+
*/
|
|
518
|
+
delete<T extends RegistryVersionFactDeleteArgs>(args: Prisma.SelectSubset<T, RegistryVersionFactDeleteArgs<ExtArgs>>): Prisma.Prisma__RegistryVersionFactClient<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
519
|
+
/**
|
|
520
|
+
* Update one RegistryVersionFact.
|
|
521
|
+
* @param {RegistryVersionFactUpdateArgs} args - Arguments to update one RegistryVersionFact.
|
|
522
|
+
* @example
|
|
523
|
+
* // Update one RegistryVersionFact
|
|
524
|
+
* const registryVersionFact = await prisma.registryVersionFact.update({
|
|
525
|
+
* where: {
|
|
526
|
+
* // ... provide filter here
|
|
527
|
+
* },
|
|
528
|
+
* data: {
|
|
529
|
+
* // ... provide data here
|
|
530
|
+
* }
|
|
531
|
+
* })
|
|
532
|
+
*
|
|
533
|
+
*/
|
|
534
|
+
update<T extends RegistryVersionFactUpdateArgs>(args: Prisma.SelectSubset<T, RegistryVersionFactUpdateArgs<ExtArgs>>): Prisma.Prisma__RegistryVersionFactClient<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
535
|
+
/**
|
|
536
|
+
* Delete zero or more RegistryVersionFacts.
|
|
537
|
+
* @param {RegistryVersionFactDeleteManyArgs} args - Arguments to filter RegistryVersionFacts to delete.
|
|
538
|
+
* @example
|
|
539
|
+
* // Delete a few RegistryVersionFacts
|
|
540
|
+
* const { count } = await prisma.registryVersionFact.deleteMany({
|
|
541
|
+
* where: {
|
|
542
|
+
* // ... provide filter here
|
|
543
|
+
* }
|
|
544
|
+
* })
|
|
545
|
+
*
|
|
546
|
+
*/
|
|
547
|
+
deleteMany<T extends RegistryVersionFactDeleteManyArgs>(args?: Prisma.SelectSubset<T, RegistryVersionFactDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
548
|
+
/**
|
|
549
|
+
* Update zero or more RegistryVersionFacts.
|
|
550
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
551
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
552
|
+
* @param {RegistryVersionFactUpdateManyArgs} args - Arguments to update one or more rows.
|
|
553
|
+
* @example
|
|
554
|
+
* // Update many RegistryVersionFacts
|
|
555
|
+
* const registryVersionFact = await prisma.registryVersionFact.updateMany({
|
|
556
|
+
* where: {
|
|
557
|
+
* // ... provide filter here
|
|
558
|
+
* },
|
|
559
|
+
* data: {
|
|
560
|
+
* // ... provide data here
|
|
561
|
+
* }
|
|
562
|
+
* })
|
|
563
|
+
*
|
|
564
|
+
*/
|
|
565
|
+
updateMany<T extends RegistryVersionFactUpdateManyArgs>(args: Prisma.SelectSubset<T, RegistryVersionFactUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
566
|
+
/**
|
|
567
|
+
* Update zero or more RegistryVersionFacts and returns the data updated in the database.
|
|
568
|
+
* @param {RegistryVersionFactUpdateManyAndReturnArgs} args - Arguments to update many RegistryVersionFacts.
|
|
569
|
+
* @example
|
|
570
|
+
* // Update many RegistryVersionFacts
|
|
571
|
+
* const registryVersionFact = await prisma.registryVersionFact.updateManyAndReturn({
|
|
572
|
+
* where: {
|
|
573
|
+
* // ... provide filter here
|
|
574
|
+
* },
|
|
575
|
+
* data: [
|
|
576
|
+
* // ... provide data here
|
|
577
|
+
* ]
|
|
578
|
+
* })
|
|
579
|
+
*
|
|
580
|
+
* // Update zero or more RegistryVersionFacts and only return the `ecosystem`
|
|
581
|
+
* const registryVersionFactWithEcosystemOnly = await prisma.registryVersionFact.updateManyAndReturn({
|
|
582
|
+
* select: { ecosystem: true },
|
|
583
|
+
* where: {
|
|
584
|
+
* // ... provide filter here
|
|
585
|
+
* },
|
|
586
|
+
* data: [
|
|
587
|
+
* // ... provide data here
|
|
588
|
+
* ]
|
|
589
|
+
* })
|
|
590
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
591
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
592
|
+
*
|
|
593
|
+
*/
|
|
594
|
+
updateManyAndReturn<T extends RegistryVersionFactUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RegistryVersionFactUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
595
|
+
/**
|
|
596
|
+
* Create or update one RegistryVersionFact.
|
|
597
|
+
* @param {RegistryVersionFactUpsertArgs} args - Arguments to update or create a RegistryVersionFact.
|
|
598
|
+
* @example
|
|
599
|
+
* // Update or create a RegistryVersionFact
|
|
600
|
+
* const registryVersionFact = await prisma.registryVersionFact.upsert({
|
|
601
|
+
* create: {
|
|
602
|
+
* // ... data to create a RegistryVersionFact
|
|
603
|
+
* },
|
|
604
|
+
* update: {
|
|
605
|
+
* // ... in case it already exists, update
|
|
606
|
+
* },
|
|
607
|
+
* where: {
|
|
608
|
+
* // ... the filter for the RegistryVersionFact we want to update
|
|
609
|
+
* }
|
|
610
|
+
* })
|
|
611
|
+
*/
|
|
612
|
+
upsert<T extends RegistryVersionFactUpsertArgs>(args: Prisma.SelectSubset<T, RegistryVersionFactUpsertArgs<ExtArgs>>): Prisma.Prisma__RegistryVersionFactClient<runtime.Types.Result.GetResult<Prisma.$RegistryVersionFactPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
613
|
+
/**
|
|
614
|
+
* Count the number of RegistryVersionFacts.
|
|
615
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
616
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
617
|
+
* @param {RegistryVersionFactCountArgs} args - Arguments to filter RegistryVersionFacts to count.
|
|
618
|
+
* @example
|
|
619
|
+
* // Count the number of RegistryVersionFacts
|
|
620
|
+
* const count = await prisma.registryVersionFact.count({
|
|
621
|
+
* where: {
|
|
622
|
+
* // ... the filter for the RegistryVersionFacts we want to count
|
|
623
|
+
* }
|
|
624
|
+
* })
|
|
625
|
+
**/
|
|
626
|
+
count<T extends RegistryVersionFactCountArgs>(args?: Prisma.Subset<T, RegistryVersionFactCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RegistryVersionFactCountAggregateOutputType> : number>;
|
|
627
|
+
/**
|
|
628
|
+
* Allows you to perform aggregations operations on a RegistryVersionFact.
|
|
629
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
630
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
631
|
+
* @param {RegistryVersionFactAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
632
|
+
* @example
|
|
633
|
+
* // Ordered by age ascending
|
|
634
|
+
* // Where email contains prisma.io
|
|
635
|
+
* // Limited to the 10 users
|
|
636
|
+
* const aggregations = await prisma.user.aggregate({
|
|
637
|
+
* _avg: {
|
|
638
|
+
* age: true,
|
|
639
|
+
* },
|
|
640
|
+
* where: {
|
|
641
|
+
* email: {
|
|
642
|
+
* contains: "prisma.io",
|
|
643
|
+
* },
|
|
644
|
+
* },
|
|
645
|
+
* orderBy: {
|
|
646
|
+
* age: "asc",
|
|
647
|
+
* },
|
|
648
|
+
* take: 10,
|
|
649
|
+
* })
|
|
650
|
+
**/
|
|
651
|
+
aggregate<T extends RegistryVersionFactAggregateArgs>(args: Prisma.Subset<T, RegistryVersionFactAggregateArgs>): Prisma.PrismaPromise<GetRegistryVersionFactAggregateType<T>>;
|
|
652
|
+
/**
|
|
653
|
+
* Group by RegistryVersionFact.
|
|
654
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
655
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
656
|
+
* @param {RegistryVersionFactGroupByArgs} args - Group by arguments.
|
|
657
|
+
* @example
|
|
658
|
+
* // Group by city, order by createdAt, get count
|
|
659
|
+
* const result = await prisma.user.groupBy({
|
|
660
|
+
* by: ['city', 'createdAt'],
|
|
661
|
+
* orderBy: {
|
|
662
|
+
* createdAt: true
|
|
663
|
+
* },
|
|
664
|
+
* _count: {
|
|
665
|
+
* _all: true
|
|
666
|
+
* },
|
|
667
|
+
* })
|
|
668
|
+
*
|
|
669
|
+
**/
|
|
670
|
+
groupBy<T extends RegistryVersionFactGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
671
|
+
orderBy: RegistryVersionFactGroupByArgs['orderBy'];
|
|
672
|
+
} : {
|
|
673
|
+
orderBy?: RegistryVersionFactGroupByArgs['orderBy'];
|
|
674
|
+
}, 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 ? {
|
|
675
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
676
|
+
Error,
|
|
677
|
+
'Field ',
|
|
678
|
+
P,
|
|
679
|
+
` in "having" needs to be provided in "by"`
|
|
680
|
+
];
|
|
681
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
682
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
683
|
+
}[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 ? {} : {
|
|
684
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
685
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
686
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
687
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, RegistryVersionFactGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRegistryVersionFactGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
688
|
+
/**
|
|
689
|
+
* Fields of the RegistryVersionFact model
|
|
690
|
+
*/
|
|
691
|
+
readonly fields: RegistryVersionFactFieldRefs;
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* The delegate class that acts as a "Promise-like" for RegistryVersionFact.
|
|
695
|
+
* Why is this prefixed with `Prisma__`?
|
|
696
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
697
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
698
|
+
*/
|
|
699
|
+
export interface Prisma__RegistryVersionFactClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
700
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
701
|
+
/**
|
|
702
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
703
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
704
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
705
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
706
|
+
*/
|
|
707
|
+
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>;
|
|
708
|
+
/**
|
|
709
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
710
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
711
|
+
* @returns A Promise for the completion of the callback.
|
|
712
|
+
*/
|
|
713
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
714
|
+
/**
|
|
715
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
716
|
+
* resolved value cannot be modified from the callback.
|
|
717
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
718
|
+
* @returns A Promise for the completion of the callback.
|
|
719
|
+
*/
|
|
720
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Fields of the RegistryVersionFact model
|
|
724
|
+
*/
|
|
725
|
+
export interface RegistryVersionFactFieldRefs {
|
|
726
|
+
readonly ecosystem: Prisma.FieldRef<"RegistryVersionFact", 'String'>;
|
|
727
|
+
readonly name: Prisma.FieldRef<"RegistryVersionFact", 'String'>;
|
|
728
|
+
readonly version: Prisma.FieldRef<"RegistryVersionFact", 'String'>;
|
|
729
|
+
readonly publishedAt: Prisma.FieldRef<"RegistryVersionFact", 'DateTime'>;
|
|
730
|
+
readonly integrity: Prisma.FieldRef<"RegistryVersionFact", 'String'>;
|
|
731
|
+
readonly downloadUrl: Prisma.FieldRef<"RegistryVersionFact", 'String'>;
|
|
732
|
+
readonly dependencies: Prisma.FieldRef<"RegistryVersionFact", 'Json'>;
|
|
733
|
+
readonly createdAt: Prisma.FieldRef<"RegistryVersionFact", 'DateTime'>;
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* RegistryVersionFact findUnique
|
|
737
|
+
*/
|
|
738
|
+
export type RegistryVersionFactFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
739
|
+
/**
|
|
740
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
741
|
+
*/
|
|
742
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
743
|
+
/**
|
|
744
|
+
* Omit specific fields from the RegistryVersionFact
|
|
745
|
+
*/
|
|
746
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
747
|
+
/**
|
|
748
|
+
* Filter, which RegistryVersionFact to fetch.
|
|
749
|
+
*/
|
|
750
|
+
where: Prisma.RegistryVersionFactWhereUniqueInput;
|
|
751
|
+
};
|
|
752
|
+
/**
|
|
753
|
+
* RegistryVersionFact findUniqueOrThrow
|
|
754
|
+
*/
|
|
755
|
+
export type RegistryVersionFactFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
756
|
+
/**
|
|
757
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
758
|
+
*/
|
|
759
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
760
|
+
/**
|
|
761
|
+
* Omit specific fields from the RegistryVersionFact
|
|
762
|
+
*/
|
|
763
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
764
|
+
/**
|
|
765
|
+
* Filter, which RegistryVersionFact to fetch.
|
|
766
|
+
*/
|
|
767
|
+
where: Prisma.RegistryVersionFactWhereUniqueInput;
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* RegistryVersionFact findFirst
|
|
771
|
+
*/
|
|
772
|
+
export type RegistryVersionFactFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
773
|
+
/**
|
|
774
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
775
|
+
*/
|
|
776
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
777
|
+
/**
|
|
778
|
+
* Omit specific fields from the RegistryVersionFact
|
|
779
|
+
*/
|
|
780
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
781
|
+
/**
|
|
782
|
+
* Filter, which RegistryVersionFact to fetch.
|
|
783
|
+
*/
|
|
784
|
+
where?: Prisma.RegistryVersionFactWhereInput;
|
|
785
|
+
/**
|
|
786
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
787
|
+
*
|
|
788
|
+
* Determine the order of RegistryVersionFacts to fetch.
|
|
789
|
+
*/
|
|
790
|
+
orderBy?: Prisma.RegistryVersionFactOrderByWithRelationInput | Prisma.RegistryVersionFactOrderByWithRelationInput[];
|
|
791
|
+
/**
|
|
792
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
793
|
+
*
|
|
794
|
+
* Sets the position for searching for RegistryVersionFacts.
|
|
795
|
+
*/
|
|
796
|
+
cursor?: Prisma.RegistryVersionFactWhereUniqueInput;
|
|
797
|
+
/**
|
|
798
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
799
|
+
*
|
|
800
|
+
* Take `±n` RegistryVersionFacts from the position of the cursor.
|
|
801
|
+
*/
|
|
802
|
+
take?: number;
|
|
803
|
+
/**
|
|
804
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
805
|
+
*
|
|
806
|
+
* Skip the first `n` RegistryVersionFacts.
|
|
807
|
+
*/
|
|
808
|
+
skip?: number;
|
|
809
|
+
/**
|
|
810
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
811
|
+
*
|
|
812
|
+
* Filter by unique combinations of RegistryVersionFacts.
|
|
813
|
+
*/
|
|
814
|
+
distinct?: Prisma.RegistryVersionFactScalarFieldEnum | Prisma.RegistryVersionFactScalarFieldEnum[];
|
|
815
|
+
};
|
|
816
|
+
/**
|
|
817
|
+
* RegistryVersionFact findFirstOrThrow
|
|
818
|
+
*/
|
|
819
|
+
export type RegistryVersionFactFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
820
|
+
/**
|
|
821
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
822
|
+
*/
|
|
823
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
824
|
+
/**
|
|
825
|
+
* Omit specific fields from the RegistryVersionFact
|
|
826
|
+
*/
|
|
827
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
828
|
+
/**
|
|
829
|
+
* Filter, which RegistryVersionFact to fetch.
|
|
830
|
+
*/
|
|
831
|
+
where?: Prisma.RegistryVersionFactWhereInput;
|
|
832
|
+
/**
|
|
833
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
834
|
+
*
|
|
835
|
+
* Determine the order of RegistryVersionFacts to fetch.
|
|
836
|
+
*/
|
|
837
|
+
orderBy?: Prisma.RegistryVersionFactOrderByWithRelationInput | Prisma.RegistryVersionFactOrderByWithRelationInput[];
|
|
838
|
+
/**
|
|
839
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
840
|
+
*
|
|
841
|
+
* Sets the position for searching for RegistryVersionFacts.
|
|
842
|
+
*/
|
|
843
|
+
cursor?: Prisma.RegistryVersionFactWhereUniqueInput;
|
|
844
|
+
/**
|
|
845
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
846
|
+
*
|
|
847
|
+
* Take `±n` RegistryVersionFacts from the position of the cursor.
|
|
848
|
+
*/
|
|
849
|
+
take?: number;
|
|
850
|
+
/**
|
|
851
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
852
|
+
*
|
|
853
|
+
* Skip the first `n` RegistryVersionFacts.
|
|
854
|
+
*/
|
|
855
|
+
skip?: number;
|
|
856
|
+
/**
|
|
857
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
858
|
+
*
|
|
859
|
+
* Filter by unique combinations of RegistryVersionFacts.
|
|
860
|
+
*/
|
|
861
|
+
distinct?: Prisma.RegistryVersionFactScalarFieldEnum | Prisma.RegistryVersionFactScalarFieldEnum[];
|
|
862
|
+
};
|
|
863
|
+
/**
|
|
864
|
+
* RegistryVersionFact findMany
|
|
865
|
+
*/
|
|
866
|
+
export type RegistryVersionFactFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
867
|
+
/**
|
|
868
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
869
|
+
*/
|
|
870
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
871
|
+
/**
|
|
872
|
+
* Omit specific fields from the RegistryVersionFact
|
|
873
|
+
*/
|
|
874
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
875
|
+
/**
|
|
876
|
+
* Filter, which RegistryVersionFacts to fetch.
|
|
877
|
+
*/
|
|
878
|
+
where?: Prisma.RegistryVersionFactWhereInput;
|
|
879
|
+
/**
|
|
880
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
881
|
+
*
|
|
882
|
+
* Determine the order of RegistryVersionFacts to fetch.
|
|
883
|
+
*/
|
|
884
|
+
orderBy?: Prisma.RegistryVersionFactOrderByWithRelationInput | Prisma.RegistryVersionFactOrderByWithRelationInput[];
|
|
885
|
+
/**
|
|
886
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
887
|
+
*
|
|
888
|
+
* Sets the position for listing RegistryVersionFacts.
|
|
889
|
+
*/
|
|
890
|
+
cursor?: Prisma.RegistryVersionFactWhereUniqueInput;
|
|
891
|
+
/**
|
|
892
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
893
|
+
*
|
|
894
|
+
* Take `±n` RegistryVersionFacts from the position of the cursor.
|
|
895
|
+
*/
|
|
896
|
+
take?: number;
|
|
897
|
+
/**
|
|
898
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
899
|
+
*
|
|
900
|
+
* Skip the first `n` RegistryVersionFacts.
|
|
901
|
+
*/
|
|
902
|
+
skip?: number;
|
|
903
|
+
/**
|
|
904
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
905
|
+
*
|
|
906
|
+
* Filter by unique combinations of RegistryVersionFacts.
|
|
907
|
+
*/
|
|
908
|
+
distinct?: Prisma.RegistryVersionFactScalarFieldEnum | Prisma.RegistryVersionFactScalarFieldEnum[];
|
|
909
|
+
};
|
|
910
|
+
/**
|
|
911
|
+
* RegistryVersionFact create
|
|
912
|
+
*/
|
|
913
|
+
export type RegistryVersionFactCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
914
|
+
/**
|
|
915
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
916
|
+
*/
|
|
917
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
918
|
+
/**
|
|
919
|
+
* Omit specific fields from the RegistryVersionFact
|
|
920
|
+
*/
|
|
921
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
922
|
+
/**
|
|
923
|
+
* The data needed to create a RegistryVersionFact.
|
|
924
|
+
*/
|
|
925
|
+
data: Prisma.XOR<Prisma.RegistryVersionFactCreateInput, Prisma.RegistryVersionFactUncheckedCreateInput>;
|
|
926
|
+
};
|
|
927
|
+
/**
|
|
928
|
+
* RegistryVersionFact createMany
|
|
929
|
+
*/
|
|
930
|
+
export type RegistryVersionFactCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
931
|
+
/**
|
|
932
|
+
* The data used to create many RegistryVersionFacts.
|
|
933
|
+
*/
|
|
934
|
+
data: Prisma.RegistryVersionFactCreateManyInput | Prisma.RegistryVersionFactCreateManyInput[];
|
|
935
|
+
skipDuplicates?: boolean;
|
|
936
|
+
};
|
|
937
|
+
/**
|
|
938
|
+
* RegistryVersionFact createManyAndReturn
|
|
939
|
+
*/
|
|
940
|
+
export type RegistryVersionFactCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
941
|
+
/**
|
|
942
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
943
|
+
*/
|
|
944
|
+
select?: Prisma.RegistryVersionFactSelectCreateManyAndReturn<ExtArgs> | null;
|
|
945
|
+
/**
|
|
946
|
+
* Omit specific fields from the RegistryVersionFact
|
|
947
|
+
*/
|
|
948
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
949
|
+
/**
|
|
950
|
+
* The data used to create many RegistryVersionFacts.
|
|
951
|
+
*/
|
|
952
|
+
data: Prisma.RegistryVersionFactCreateManyInput | Prisma.RegistryVersionFactCreateManyInput[];
|
|
953
|
+
skipDuplicates?: boolean;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* RegistryVersionFact update
|
|
957
|
+
*/
|
|
958
|
+
export type RegistryVersionFactUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
/**
|
|
960
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
961
|
+
*/
|
|
962
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
963
|
+
/**
|
|
964
|
+
* Omit specific fields from the RegistryVersionFact
|
|
965
|
+
*/
|
|
966
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
967
|
+
/**
|
|
968
|
+
* The data needed to update a RegistryVersionFact.
|
|
969
|
+
*/
|
|
970
|
+
data: Prisma.XOR<Prisma.RegistryVersionFactUpdateInput, Prisma.RegistryVersionFactUncheckedUpdateInput>;
|
|
971
|
+
/**
|
|
972
|
+
* Choose, which RegistryVersionFact to update.
|
|
973
|
+
*/
|
|
974
|
+
where: Prisma.RegistryVersionFactWhereUniqueInput;
|
|
975
|
+
};
|
|
976
|
+
/**
|
|
977
|
+
* RegistryVersionFact updateMany
|
|
978
|
+
*/
|
|
979
|
+
export type RegistryVersionFactUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
980
|
+
/**
|
|
981
|
+
* The data used to update RegistryVersionFacts.
|
|
982
|
+
*/
|
|
983
|
+
data: Prisma.XOR<Prisma.RegistryVersionFactUpdateManyMutationInput, Prisma.RegistryVersionFactUncheckedUpdateManyInput>;
|
|
984
|
+
/**
|
|
985
|
+
* Filter which RegistryVersionFacts to update
|
|
986
|
+
*/
|
|
987
|
+
where?: Prisma.RegistryVersionFactWhereInput;
|
|
988
|
+
/**
|
|
989
|
+
* Limit how many RegistryVersionFacts to update.
|
|
990
|
+
*/
|
|
991
|
+
limit?: number;
|
|
992
|
+
};
|
|
993
|
+
/**
|
|
994
|
+
* RegistryVersionFact updateManyAndReturn
|
|
995
|
+
*/
|
|
996
|
+
export type RegistryVersionFactUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
997
|
+
/**
|
|
998
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
999
|
+
*/
|
|
1000
|
+
select?: Prisma.RegistryVersionFactSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* Omit specific fields from the RegistryVersionFact
|
|
1003
|
+
*/
|
|
1004
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
1005
|
+
/**
|
|
1006
|
+
* The data used to update RegistryVersionFacts.
|
|
1007
|
+
*/
|
|
1008
|
+
data: Prisma.XOR<Prisma.RegistryVersionFactUpdateManyMutationInput, Prisma.RegistryVersionFactUncheckedUpdateManyInput>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Filter which RegistryVersionFacts to update
|
|
1011
|
+
*/
|
|
1012
|
+
where?: Prisma.RegistryVersionFactWhereInput;
|
|
1013
|
+
/**
|
|
1014
|
+
* Limit how many RegistryVersionFacts to update.
|
|
1015
|
+
*/
|
|
1016
|
+
limit?: number;
|
|
1017
|
+
};
|
|
1018
|
+
/**
|
|
1019
|
+
* RegistryVersionFact upsert
|
|
1020
|
+
*/
|
|
1021
|
+
export type RegistryVersionFactUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1022
|
+
/**
|
|
1023
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
1024
|
+
*/
|
|
1025
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* Omit specific fields from the RegistryVersionFact
|
|
1028
|
+
*/
|
|
1029
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* The filter to search for the RegistryVersionFact to update in case it exists.
|
|
1032
|
+
*/
|
|
1033
|
+
where: Prisma.RegistryVersionFactWhereUniqueInput;
|
|
1034
|
+
/**
|
|
1035
|
+
* In case the RegistryVersionFact found by the `where` argument doesn't exist, create a new RegistryVersionFact with this data.
|
|
1036
|
+
*/
|
|
1037
|
+
create: Prisma.XOR<Prisma.RegistryVersionFactCreateInput, Prisma.RegistryVersionFactUncheckedCreateInput>;
|
|
1038
|
+
/**
|
|
1039
|
+
* In case the RegistryVersionFact was found with the provided `where` argument, update it with this data.
|
|
1040
|
+
*/
|
|
1041
|
+
update: Prisma.XOR<Prisma.RegistryVersionFactUpdateInput, Prisma.RegistryVersionFactUncheckedUpdateInput>;
|
|
1042
|
+
};
|
|
1043
|
+
/**
|
|
1044
|
+
* RegistryVersionFact delete
|
|
1045
|
+
*/
|
|
1046
|
+
export type RegistryVersionFactDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1047
|
+
/**
|
|
1048
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
1049
|
+
*/
|
|
1050
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
1051
|
+
/**
|
|
1052
|
+
* Omit specific fields from the RegistryVersionFact
|
|
1053
|
+
*/
|
|
1054
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
1055
|
+
/**
|
|
1056
|
+
* Filter which RegistryVersionFact to delete.
|
|
1057
|
+
*/
|
|
1058
|
+
where: Prisma.RegistryVersionFactWhereUniqueInput;
|
|
1059
|
+
};
|
|
1060
|
+
/**
|
|
1061
|
+
* RegistryVersionFact deleteMany
|
|
1062
|
+
*/
|
|
1063
|
+
export type RegistryVersionFactDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1064
|
+
/**
|
|
1065
|
+
* Filter which RegistryVersionFacts to delete
|
|
1066
|
+
*/
|
|
1067
|
+
where?: Prisma.RegistryVersionFactWhereInput;
|
|
1068
|
+
/**
|
|
1069
|
+
* Limit how many RegistryVersionFacts to delete.
|
|
1070
|
+
*/
|
|
1071
|
+
limit?: number;
|
|
1072
|
+
};
|
|
1073
|
+
/**
|
|
1074
|
+
* RegistryVersionFact without action
|
|
1075
|
+
*/
|
|
1076
|
+
export type RegistryVersionFactDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1077
|
+
/**
|
|
1078
|
+
* Select specific fields to fetch from the RegistryVersionFact
|
|
1079
|
+
*/
|
|
1080
|
+
select?: Prisma.RegistryVersionFactSelect<ExtArgs> | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* Omit specific fields from the RegistryVersionFact
|
|
1083
|
+
*/
|
|
1084
|
+
omit?: Prisma.RegistryVersionFactOmit<ExtArgs> | null;
|
|
1085
|
+
};
|