@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,1239 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model RunHostCheck
|
|
5
|
+
* The host check a run owns, so the review tool can complete it and the
|
|
6
|
+
* run finalizer can close it if the run ends without publishing.
|
|
7
|
+
*/
|
|
8
|
+
export type RunHostCheckModel = runtime.Types.Result.DefaultSelection<Prisma.$RunHostCheckPayload>;
|
|
9
|
+
export type AggregateRunHostCheck = {
|
|
10
|
+
_count: RunHostCheckCountAggregateOutputType | null;
|
|
11
|
+
_avg: RunHostCheckAvgAggregateOutputType | null;
|
|
12
|
+
_sum: RunHostCheckSumAggregateOutputType | null;
|
|
13
|
+
_min: RunHostCheckMinAggregateOutputType | null;
|
|
14
|
+
_max: RunHostCheckMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type RunHostCheckAvgAggregateOutputType = {
|
|
17
|
+
prNumber: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type RunHostCheckSumAggregateOutputType = {
|
|
20
|
+
prNumber: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type RunHostCheckMinAggregateOutputType = {
|
|
23
|
+
runId: string | null;
|
|
24
|
+
provider: string | null;
|
|
25
|
+
repository: string | null;
|
|
26
|
+
checkId: string | null;
|
|
27
|
+
headSha: string | null;
|
|
28
|
+
prNumber: number | null;
|
|
29
|
+
completedAt: Date | null;
|
|
30
|
+
};
|
|
31
|
+
export type RunHostCheckMaxAggregateOutputType = {
|
|
32
|
+
runId: string | null;
|
|
33
|
+
provider: string | null;
|
|
34
|
+
repository: string | null;
|
|
35
|
+
checkId: string | null;
|
|
36
|
+
headSha: string | null;
|
|
37
|
+
prNumber: number | null;
|
|
38
|
+
completedAt: Date | null;
|
|
39
|
+
};
|
|
40
|
+
export type RunHostCheckCountAggregateOutputType = {
|
|
41
|
+
runId: number;
|
|
42
|
+
provider: number;
|
|
43
|
+
repository: number;
|
|
44
|
+
checkId: number;
|
|
45
|
+
headSha: number;
|
|
46
|
+
prNumber: number;
|
|
47
|
+
completedAt: number;
|
|
48
|
+
_all: number;
|
|
49
|
+
};
|
|
50
|
+
export type RunHostCheckAvgAggregateInputType = {
|
|
51
|
+
prNumber?: true;
|
|
52
|
+
};
|
|
53
|
+
export type RunHostCheckSumAggregateInputType = {
|
|
54
|
+
prNumber?: true;
|
|
55
|
+
};
|
|
56
|
+
export type RunHostCheckMinAggregateInputType = {
|
|
57
|
+
runId?: true;
|
|
58
|
+
provider?: true;
|
|
59
|
+
repository?: true;
|
|
60
|
+
checkId?: true;
|
|
61
|
+
headSha?: true;
|
|
62
|
+
prNumber?: true;
|
|
63
|
+
completedAt?: true;
|
|
64
|
+
};
|
|
65
|
+
export type RunHostCheckMaxAggregateInputType = {
|
|
66
|
+
runId?: true;
|
|
67
|
+
provider?: true;
|
|
68
|
+
repository?: true;
|
|
69
|
+
checkId?: true;
|
|
70
|
+
headSha?: true;
|
|
71
|
+
prNumber?: true;
|
|
72
|
+
completedAt?: true;
|
|
73
|
+
};
|
|
74
|
+
export type RunHostCheckCountAggregateInputType = {
|
|
75
|
+
runId?: true;
|
|
76
|
+
provider?: true;
|
|
77
|
+
repository?: true;
|
|
78
|
+
checkId?: true;
|
|
79
|
+
headSha?: true;
|
|
80
|
+
prNumber?: true;
|
|
81
|
+
completedAt?: true;
|
|
82
|
+
_all?: true;
|
|
83
|
+
};
|
|
84
|
+
export type RunHostCheckAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
85
|
+
/**
|
|
86
|
+
* Filter which RunHostCheck to aggregate.
|
|
87
|
+
*/
|
|
88
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
91
|
+
*
|
|
92
|
+
* Determine the order of RunHostChecks to fetch.
|
|
93
|
+
*/
|
|
94
|
+
orderBy?: Prisma.RunHostCheckOrderByWithRelationInput | Prisma.RunHostCheckOrderByWithRelationInput[];
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
97
|
+
*
|
|
98
|
+
* Sets the start position
|
|
99
|
+
*/
|
|
100
|
+
cursor?: Prisma.RunHostCheckWhereUniqueInput;
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
103
|
+
*
|
|
104
|
+
* Take `±n` RunHostChecks from the position of the cursor.
|
|
105
|
+
*/
|
|
106
|
+
take?: number;
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
+
*
|
|
110
|
+
* Skip the first `n` RunHostChecks.
|
|
111
|
+
*/
|
|
112
|
+
skip?: number;
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Count returned RunHostChecks
|
|
117
|
+
**/
|
|
118
|
+
_count?: true | RunHostCheckCountAggregateInputType;
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Select which fields to average
|
|
123
|
+
**/
|
|
124
|
+
_avg?: RunHostCheckAvgAggregateInputType;
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Select which fields to sum
|
|
129
|
+
**/
|
|
130
|
+
_sum?: RunHostCheckSumAggregateInputType;
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to find the minimum value
|
|
135
|
+
**/
|
|
136
|
+
_min?: RunHostCheckMinAggregateInputType;
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to find the maximum value
|
|
141
|
+
**/
|
|
142
|
+
_max?: RunHostCheckMaxAggregateInputType;
|
|
143
|
+
};
|
|
144
|
+
export type GetRunHostCheckAggregateType<T extends RunHostCheckAggregateArgs> = {
|
|
145
|
+
[P in keyof T & keyof AggregateRunHostCheck]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRunHostCheck[P]> : Prisma.GetScalarType<T[P], AggregateRunHostCheck[P]>;
|
|
146
|
+
};
|
|
147
|
+
export type RunHostCheckGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
148
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
149
|
+
orderBy?: Prisma.RunHostCheckOrderByWithAggregationInput | Prisma.RunHostCheckOrderByWithAggregationInput[];
|
|
150
|
+
by: Prisma.RunHostCheckScalarFieldEnum[] | Prisma.RunHostCheckScalarFieldEnum;
|
|
151
|
+
having?: Prisma.RunHostCheckScalarWhereWithAggregatesInput;
|
|
152
|
+
take?: number;
|
|
153
|
+
skip?: number;
|
|
154
|
+
_count?: RunHostCheckCountAggregateInputType | true;
|
|
155
|
+
_avg?: RunHostCheckAvgAggregateInputType;
|
|
156
|
+
_sum?: RunHostCheckSumAggregateInputType;
|
|
157
|
+
_min?: RunHostCheckMinAggregateInputType;
|
|
158
|
+
_max?: RunHostCheckMaxAggregateInputType;
|
|
159
|
+
};
|
|
160
|
+
export type RunHostCheckGroupByOutputType = {
|
|
161
|
+
runId: string;
|
|
162
|
+
provider: string;
|
|
163
|
+
repository: string;
|
|
164
|
+
checkId: string;
|
|
165
|
+
headSha: string;
|
|
166
|
+
prNumber: number | null;
|
|
167
|
+
completedAt: Date | null;
|
|
168
|
+
_count: RunHostCheckCountAggregateOutputType | null;
|
|
169
|
+
_avg: RunHostCheckAvgAggregateOutputType | null;
|
|
170
|
+
_sum: RunHostCheckSumAggregateOutputType | null;
|
|
171
|
+
_min: RunHostCheckMinAggregateOutputType | null;
|
|
172
|
+
_max: RunHostCheckMaxAggregateOutputType | null;
|
|
173
|
+
};
|
|
174
|
+
export type GetRunHostCheckGroupByPayload<T extends RunHostCheckGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RunHostCheckGroupByOutputType, T['by']> & {
|
|
175
|
+
[P in ((keyof T) & (keyof RunHostCheckGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RunHostCheckGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RunHostCheckGroupByOutputType[P]>;
|
|
176
|
+
}>>;
|
|
177
|
+
export type RunHostCheckWhereInput = {
|
|
178
|
+
AND?: Prisma.RunHostCheckWhereInput | Prisma.RunHostCheckWhereInput[];
|
|
179
|
+
OR?: Prisma.RunHostCheckWhereInput[];
|
|
180
|
+
NOT?: Prisma.RunHostCheckWhereInput | Prisma.RunHostCheckWhereInput[];
|
|
181
|
+
runId?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
182
|
+
provider?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
183
|
+
repository?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
184
|
+
checkId?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
185
|
+
headSha?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
186
|
+
prNumber?: Prisma.IntNullableFilter<"RunHostCheck"> | number | null;
|
|
187
|
+
completedAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
188
|
+
run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
|
|
189
|
+
};
|
|
190
|
+
export type RunHostCheckOrderByWithRelationInput = {
|
|
191
|
+
runId?: Prisma.SortOrder;
|
|
192
|
+
provider?: Prisma.SortOrder;
|
|
193
|
+
repository?: Prisma.SortOrder;
|
|
194
|
+
checkId?: Prisma.SortOrder;
|
|
195
|
+
headSha?: Prisma.SortOrder;
|
|
196
|
+
prNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
197
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
198
|
+
run?: Prisma.RunOrderByWithRelationInput;
|
|
199
|
+
};
|
|
200
|
+
export type RunHostCheckWhereUniqueInput = Prisma.AtLeast<{
|
|
201
|
+
runId?: string;
|
|
202
|
+
AND?: Prisma.RunHostCheckWhereInput | Prisma.RunHostCheckWhereInput[];
|
|
203
|
+
OR?: Prisma.RunHostCheckWhereInput[];
|
|
204
|
+
NOT?: Prisma.RunHostCheckWhereInput | Prisma.RunHostCheckWhereInput[];
|
|
205
|
+
provider?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
206
|
+
repository?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
207
|
+
checkId?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
208
|
+
headSha?: Prisma.StringFilter<"RunHostCheck"> | string;
|
|
209
|
+
prNumber?: Prisma.IntNullableFilter<"RunHostCheck"> | number | null;
|
|
210
|
+
completedAt?: Prisma.DateTimeNullableFilter<"RunHostCheck"> | Date | string | null;
|
|
211
|
+
run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
|
|
212
|
+
}, "runId">;
|
|
213
|
+
export type RunHostCheckOrderByWithAggregationInput = {
|
|
214
|
+
runId?: Prisma.SortOrder;
|
|
215
|
+
provider?: Prisma.SortOrder;
|
|
216
|
+
repository?: Prisma.SortOrder;
|
|
217
|
+
checkId?: Prisma.SortOrder;
|
|
218
|
+
headSha?: Prisma.SortOrder;
|
|
219
|
+
prNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
220
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
221
|
+
_count?: Prisma.RunHostCheckCountOrderByAggregateInput;
|
|
222
|
+
_avg?: Prisma.RunHostCheckAvgOrderByAggregateInput;
|
|
223
|
+
_max?: Prisma.RunHostCheckMaxOrderByAggregateInput;
|
|
224
|
+
_min?: Prisma.RunHostCheckMinOrderByAggregateInput;
|
|
225
|
+
_sum?: Prisma.RunHostCheckSumOrderByAggregateInput;
|
|
226
|
+
};
|
|
227
|
+
export type RunHostCheckScalarWhereWithAggregatesInput = {
|
|
228
|
+
AND?: Prisma.RunHostCheckScalarWhereWithAggregatesInput | Prisma.RunHostCheckScalarWhereWithAggregatesInput[];
|
|
229
|
+
OR?: Prisma.RunHostCheckScalarWhereWithAggregatesInput[];
|
|
230
|
+
NOT?: Prisma.RunHostCheckScalarWhereWithAggregatesInput | Prisma.RunHostCheckScalarWhereWithAggregatesInput[];
|
|
231
|
+
runId?: Prisma.StringWithAggregatesFilter<"RunHostCheck"> | string;
|
|
232
|
+
provider?: Prisma.StringWithAggregatesFilter<"RunHostCheck"> | string;
|
|
233
|
+
repository?: Prisma.StringWithAggregatesFilter<"RunHostCheck"> | string;
|
|
234
|
+
checkId?: Prisma.StringWithAggregatesFilter<"RunHostCheck"> | string;
|
|
235
|
+
headSha?: Prisma.StringWithAggregatesFilter<"RunHostCheck"> | string;
|
|
236
|
+
prNumber?: Prisma.IntNullableWithAggregatesFilter<"RunHostCheck"> | number | null;
|
|
237
|
+
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RunHostCheck"> | Date | string | null;
|
|
238
|
+
};
|
|
239
|
+
export type RunHostCheckCreateInput = {
|
|
240
|
+
provider: string;
|
|
241
|
+
repository: string;
|
|
242
|
+
checkId: string;
|
|
243
|
+
headSha: string;
|
|
244
|
+
prNumber?: number | null;
|
|
245
|
+
completedAt?: Date | string | null;
|
|
246
|
+
run: Prisma.RunCreateNestedOneWithoutHostCheckInput;
|
|
247
|
+
};
|
|
248
|
+
export type RunHostCheckUncheckedCreateInput = {
|
|
249
|
+
runId: string;
|
|
250
|
+
provider: string;
|
|
251
|
+
repository: string;
|
|
252
|
+
checkId: string;
|
|
253
|
+
headSha: string;
|
|
254
|
+
prNumber?: number | null;
|
|
255
|
+
completedAt?: Date | string | null;
|
|
256
|
+
};
|
|
257
|
+
export type RunHostCheckUpdateInput = {
|
|
258
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
259
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
260
|
+
checkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
261
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
262
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
263
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
264
|
+
run?: Prisma.RunUpdateOneRequiredWithoutHostCheckNestedInput;
|
|
265
|
+
};
|
|
266
|
+
export type RunHostCheckUncheckedUpdateInput = {
|
|
267
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
268
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
269
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
270
|
+
checkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
271
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
273
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
274
|
+
};
|
|
275
|
+
export type RunHostCheckCreateManyInput = {
|
|
276
|
+
runId: string;
|
|
277
|
+
provider: string;
|
|
278
|
+
repository: string;
|
|
279
|
+
checkId: string;
|
|
280
|
+
headSha: string;
|
|
281
|
+
prNumber?: number | null;
|
|
282
|
+
completedAt?: Date | string | null;
|
|
283
|
+
};
|
|
284
|
+
export type RunHostCheckUpdateManyMutationInput = {
|
|
285
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
286
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
287
|
+
checkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
288
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
290
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
291
|
+
};
|
|
292
|
+
export type RunHostCheckUncheckedUpdateManyInput = {
|
|
293
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
294
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
295
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
296
|
+
checkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
297
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
298
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
299
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
300
|
+
};
|
|
301
|
+
export type RunHostCheckNullableScalarRelationFilter = {
|
|
302
|
+
is?: Prisma.RunHostCheckWhereInput | null;
|
|
303
|
+
isNot?: Prisma.RunHostCheckWhereInput | null;
|
|
304
|
+
};
|
|
305
|
+
export type RunHostCheckCountOrderByAggregateInput = {
|
|
306
|
+
runId?: Prisma.SortOrder;
|
|
307
|
+
provider?: Prisma.SortOrder;
|
|
308
|
+
repository?: Prisma.SortOrder;
|
|
309
|
+
checkId?: Prisma.SortOrder;
|
|
310
|
+
headSha?: Prisma.SortOrder;
|
|
311
|
+
prNumber?: Prisma.SortOrder;
|
|
312
|
+
completedAt?: Prisma.SortOrder;
|
|
313
|
+
};
|
|
314
|
+
export type RunHostCheckAvgOrderByAggregateInput = {
|
|
315
|
+
prNumber?: Prisma.SortOrder;
|
|
316
|
+
};
|
|
317
|
+
export type RunHostCheckMaxOrderByAggregateInput = {
|
|
318
|
+
runId?: Prisma.SortOrder;
|
|
319
|
+
provider?: Prisma.SortOrder;
|
|
320
|
+
repository?: Prisma.SortOrder;
|
|
321
|
+
checkId?: Prisma.SortOrder;
|
|
322
|
+
headSha?: Prisma.SortOrder;
|
|
323
|
+
prNumber?: Prisma.SortOrder;
|
|
324
|
+
completedAt?: Prisma.SortOrder;
|
|
325
|
+
};
|
|
326
|
+
export type RunHostCheckMinOrderByAggregateInput = {
|
|
327
|
+
runId?: Prisma.SortOrder;
|
|
328
|
+
provider?: Prisma.SortOrder;
|
|
329
|
+
repository?: Prisma.SortOrder;
|
|
330
|
+
checkId?: Prisma.SortOrder;
|
|
331
|
+
headSha?: Prisma.SortOrder;
|
|
332
|
+
prNumber?: Prisma.SortOrder;
|
|
333
|
+
completedAt?: Prisma.SortOrder;
|
|
334
|
+
};
|
|
335
|
+
export type RunHostCheckSumOrderByAggregateInput = {
|
|
336
|
+
prNumber?: Prisma.SortOrder;
|
|
337
|
+
};
|
|
338
|
+
export type RunHostCheckCreateNestedOneWithoutRunInput = {
|
|
339
|
+
create?: Prisma.XOR<Prisma.RunHostCheckCreateWithoutRunInput, Prisma.RunHostCheckUncheckedCreateWithoutRunInput>;
|
|
340
|
+
connectOrCreate?: Prisma.RunHostCheckCreateOrConnectWithoutRunInput;
|
|
341
|
+
connect?: Prisma.RunHostCheckWhereUniqueInput;
|
|
342
|
+
};
|
|
343
|
+
export type RunHostCheckUncheckedCreateNestedOneWithoutRunInput = {
|
|
344
|
+
create?: Prisma.XOR<Prisma.RunHostCheckCreateWithoutRunInput, Prisma.RunHostCheckUncheckedCreateWithoutRunInput>;
|
|
345
|
+
connectOrCreate?: Prisma.RunHostCheckCreateOrConnectWithoutRunInput;
|
|
346
|
+
connect?: Prisma.RunHostCheckWhereUniqueInput;
|
|
347
|
+
};
|
|
348
|
+
export type RunHostCheckUpdateOneWithoutRunNestedInput = {
|
|
349
|
+
create?: Prisma.XOR<Prisma.RunHostCheckCreateWithoutRunInput, Prisma.RunHostCheckUncheckedCreateWithoutRunInput>;
|
|
350
|
+
connectOrCreate?: Prisma.RunHostCheckCreateOrConnectWithoutRunInput;
|
|
351
|
+
upsert?: Prisma.RunHostCheckUpsertWithoutRunInput;
|
|
352
|
+
disconnect?: Prisma.RunHostCheckWhereInput | boolean;
|
|
353
|
+
delete?: Prisma.RunHostCheckWhereInput | boolean;
|
|
354
|
+
connect?: Prisma.RunHostCheckWhereUniqueInput;
|
|
355
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.RunHostCheckUpdateToOneWithWhereWithoutRunInput, Prisma.RunHostCheckUpdateWithoutRunInput>, Prisma.RunHostCheckUncheckedUpdateWithoutRunInput>;
|
|
356
|
+
};
|
|
357
|
+
export type RunHostCheckUncheckedUpdateOneWithoutRunNestedInput = {
|
|
358
|
+
create?: Prisma.XOR<Prisma.RunHostCheckCreateWithoutRunInput, Prisma.RunHostCheckUncheckedCreateWithoutRunInput>;
|
|
359
|
+
connectOrCreate?: Prisma.RunHostCheckCreateOrConnectWithoutRunInput;
|
|
360
|
+
upsert?: Prisma.RunHostCheckUpsertWithoutRunInput;
|
|
361
|
+
disconnect?: Prisma.RunHostCheckWhereInput | boolean;
|
|
362
|
+
delete?: Prisma.RunHostCheckWhereInput | boolean;
|
|
363
|
+
connect?: Prisma.RunHostCheckWhereUniqueInput;
|
|
364
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.RunHostCheckUpdateToOneWithWhereWithoutRunInput, Prisma.RunHostCheckUpdateWithoutRunInput>, Prisma.RunHostCheckUncheckedUpdateWithoutRunInput>;
|
|
365
|
+
};
|
|
366
|
+
export type RunHostCheckCreateWithoutRunInput = {
|
|
367
|
+
provider: string;
|
|
368
|
+
repository: string;
|
|
369
|
+
checkId: string;
|
|
370
|
+
headSha: string;
|
|
371
|
+
prNumber?: number | null;
|
|
372
|
+
completedAt?: Date | string | null;
|
|
373
|
+
};
|
|
374
|
+
export type RunHostCheckUncheckedCreateWithoutRunInput = {
|
|
375
|
+
provider: string;
|
|
376
|
+
repository: string;
|
|
377
|
+
checkId: string;
|
|
378
|
+
headSha: string;
|
|
379
|
+
prNumber?: number | null;
|
|
380
|
+
completedAt?: Date | string | null;
|
|
381
|
+
};
|
|
382
|
+
export type RunHostCheckCreateOrConnectWithoutRunInput = {
|
|
383
|
+
where: Prisma.RunHostCheckWhereUniqueInput;
|
|
384
|
+
create: Prisma.XOR<Prisma.RunHostCheckCreateWithoutRunInput, Prisma.RunHostCheckUncheckedCreateWithoutRunInput>;
|
|
385
|
+
};
|
|
386
|
+
export type RunHostCheckUpsertWithoutRunInput = {
|
|
387
|
+
update: Prisma.XOR<Prisma.RunHostCheckUpdateWithoutRunInput, Prisma.RunHostCheckUncheckedUpdateWithoutRunInput>;
|
|
388
|
+
create: Prisma.XOR<Prisma.RunHostCheckCreateWithoutRunInput, Prisma.RunHostCheckUncheckedCreateWithoutRunInput>;
|
|
389
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
390
|
+
};
|
|
391
|
+
export type RunHostCheckUpdateToOneWithWhereWithoutRunInput = {
|
|
392
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
393
|
+
data: Prisma.XOR<Prisma.RunHostCheckUpdateWithoutRunInput, Prisma.RunHostCheckUncheckedUpdateWithoutRunInput>;
|
|
394
|
+
};
|
|
395
|
+
export type RunHostCheckUpdateWithoutRunInput = {
|
|
396
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
checkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
401
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
402
|
+
};
|
|
403
|
+
export type RunHostCheckUncheckedUpdateWithoutRunInput = {
|
|
404
|
+
provider?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
405
|
+
repository?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
406
|
+
checkId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
407
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
408
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
409
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
410
|
+
};
|
|
411
|
+
export type RunHostCheckSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
412
|
+
runId?: boolean;
|
|
413
|
+
provider?: boolean;
|
|
414
|
+
repository?: boolean;
|
|
415
|
+
checkId?: boolean;
|
|
416
|
+
headSha?: boolean;
|
|
417
|
+
prNumber?: boolean;
|
|
418
|
+
completedAt?: boolean;
|
|
419
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
420
|
+
}, ExtArgs["result"]["runHostCheck"]>;
|
|
421
|
+
export type RunHostCheckSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
422
|
+
runId?: boolean;
|
|
423
|
+
provider?: boolean;
|
|
424
|
+
repository?: boolean;
|
|
425
|
+
checkId?: boolean;
|
|
426
|
+
headSha?: boolean;
|
|
427
|
+
prNumber?: boolean;
|
|
428
|
+
completedAt?: boolean;
|
|
429
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
430
|
+
}, ExtArgs["result"]["runHostCheck"]>;
|
|
431
|
+
export type RunHostCheckSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
432
|
+
runId?: boolean;
|
|
433
|
+
provider?: boolean;
|
|
434
|
+
repository?: boolean;
|
|
435
|
+
checkId?: boolean;
|
|
436
|
+
headSha?: boolean;
|
|
437
|
+
prNumber?: boolean;
|
|
438
|
+
completedAt?: boolean;
|
|
439
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
440
|
+
}, ExtArgs["result"]["runHostCheck"]>;
|
|
441
|
+
export type RunHostCheckSelectScalar = {
|
|
442
|
+
runId?: boolean;
|
|
443
|
+
provider?: boolean;
|
|
444
|
+
repository?: boolean;
|
|
445
|
+
checkId?: boolean;
|
|
446
|
+
headSha?: boolean;
|
|
447
|
+
prNumber?: boolean;
|
|
448
|
+
completedAt?: boolean;
|
|
449
|
+
};
|
|
450
|
+
export type RunHostCheckOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"runId" | "provider" | "repository" | "checkId" | "headSha" | "prNumber" | "completedAt", ExtArgs["result"]["runHostCheck"]>;
|
|
451
|
+
export type RunHostCheckInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
452
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
453
|
+
};
|
|
454
|
+
export type RunHostCheckIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
455
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
456
|
+
};
|
|
457
|
+
export type RunHostCheckIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
458
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
459
|
+
};
|
|
460
|
+
export type $RunHostCheckPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
461
|
+
name: "RunHostCheck";
|
|
462
|
+
objects: {
|
|
463
|
+
run: Prisma.$RunPayload<ExtArgs>;
|
|
464
|
+
};
|
|
465
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
466
|
+
runId: string;
|
|
467
|
+
provider: string;
|
|
468
|
+
repository: string;
|
|
469
|
+
checkId: string;
|
|
470
|
+
headSha: string;
|
|
471
|
+
/**
|
|
472
|
+
* The pull request the run was dispatched for. The review tool only
|
|
473
|
+
* completes or creates a check for this PR. Null on rows written before it
|
|
474
|
+
* existed: such a run publishes without a check.
|
|
475
|
+
*/
|
|
476
|
+
prNumber: number | null;
|
|
477
|
+
completedAt: Date | null;
|
|
478
|
+
}, ExtArgs["result"]["runHostCheck"]>;
|
|
479
|
+
composites: {};
|
|
480
|
+
};
|
|
481
|
+
export type RunHostCheckGetPayload<S extends boolean | null | undefined | RunHostCheckDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload, S>;
|
|
482
|
+
export type RunHostCheckCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RunHostCheckFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
483
|
+
select?: RunHostCheckCountAggregateInputType | true;
|
|
484
|
+
};
|
|
485
|
+
export interface RunHostCheckDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
486
|
+
[K: symbol]: {
|
|
487
|
+
types: Prisma.TypeMap<ExtArgs>['model']['RunHostCheck'];
|
|
488
|
+
meta: {
|
|
489
|
+
name: 'RunHostCheck';
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* Find zero or one RunHostCheck that matches the filter.
|
|
494
|
+
* @param {RunHostCheckFindUniqueArgs} args - Arguments to find a RunHostCheck
|
|
495
|
+
* @example
|
|
496
|
+
* // Get one RunHostCheck
|
|
497
|
+
* const runHostCheck = await prisma.runHostCheck.findUnique({
|
|
498
|
+
* where: {
|
|
499
|
+
* // ... provide filter here
|
|
500
|
+
* }
|
|
501
|
+
* })
|
|
502
|
+
*/
|
|
503
|
+
findUnique<T extends RunHostCheckFindUniqueArgs>(args: Prisma.SelectSubset<T, RunHostCheckFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RunHostCheckClient<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
504
|
+
/**
|
|
505
|
+
* Find one RunHostCheck that matches the filter or throw an error with `error.code='P2025'`
|
|
506
|
+
* if no matches were found.
|
|
507
|
+
* @param {RunHostCheckFindUniqueOrThrowArgs} args - Arguments to find a RunHostCheck
|
|
508
|
+
* @example
|
|
509
|
+
* // Get one RunHostCheck
|
|
510
|
+
* const runHostCheck = await prisma.runHostCheck.findUniqueOrThrow({
|
|
511
|
+
* where: {
|
|
512
|
+
* // ... provide filter here
|
|
513
|
+
* }
|
|
514
|
+
* })
|
|
515
|
+
*/
|
|
516
|
+
findUniqueOrThrow<T extends RunHostCheckFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RunHostCheckFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RunHostCheckClient<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
517
|
+
/**
|
|
518
|
+
* Find the first RunHostCheck that matches the filter.
|
|
519
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
520
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
521
|
+
* @param {RunHostCheckFindFirstArgs} args - Arguments to find a RunHostCheck
|
|
522
|
+
* @example
|
|
523
|
+
* // Get one RunHostCheck
|
|
524
|
+
* const runHostCheck = await prisma.runHostCheck.findFirst({
|
|
525
|
+
* where: {
|
|
526
|
+
* // ... provide filter here
|
|
527
|
+
* }
|
|
528
|
+
* })
|
|
529
|
+
*/
|
|
530
|
+
findFirst<T extends RunHostCheckFindFirstArgs>(args?: Prisma.SelectSubset<T, RunHostCheckFindFirstArgs<ExtArgs>>): Prisma.Prisma__RunHostCheckClient<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
531
|
+
/**
|
|
532
|
+
* Find the first RunHostCheck that matches the filter or
|
|
533
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
534
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
535
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
536
|
+
* @param {RunHostCheckFindFirstOrThrowArgs} args - Arguments to find a RunHostCheck
|
|
537
|
+
* @example
|
|
538
|
+
* // Get one RunHostCheck
|
|
539
|
+
* const runHostCheck = await prisma.runHostCheck.findFirstOrThrow({
|
|
540
|
+
* where: {
|
|
541
|
+
* // ... provide filter here
|
|
542
|
+
* }
|
|
543
|
+
* })
|
|
544
|
+
*/
|
|
545
|
+
findFirstOrThrow<T extends RunHostCheckFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RunHostCheckFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RunHostCheckClient<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
546
|
+
/**
|
|
547
|
+
* Find zero or more RunHostChecks that matches the filter.
|
|
548
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
549
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
550
|
+
* @param {RunHostCheckFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
551
|
+
* @example
|
|
552
|
+
* // Get all RunHostChecks
|
|
553
|
+
* const runHostChecks = await prisma.runHostCheck.findMany()
|
|
554
|
+
*
|
|
555
|
+
* // Get first 10 RunHostChecks
|
|
556
|
+
* const runHostChecks = await prisma.runHostCheck.findMany({ take: 10 })
|
|
557
|
+
*
|
|
558
|
+
* // Only select the `runId`
|
|
559
|
+
* const runHostCheckWithRunIdOnly = await prisma.runHostCheck.findMany({ select: { runId: true } })
|
|
560
|
+
*
|
|
561
|
+
*/
|
|
562
|
+
findMany<T extends RunHostCheckFindManyArgs>(args?: Prisma.SelectSubset<T, RunHostCheckFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
563
|
+
/**
|
|
564
|
+
* Create a RunHostCheck.
|
|
565
|
+
* @param {RunHostCheckCreateArgs} args - Arguments to create a RunHostCheck.
|
|
566
|
+
* @example
|
|
567
|
+
* // Create one RunHostCheck
|
|
568
|
+
* const RunHostCheck = await prisma.runHostCheck.create({
|
|
569
|
+
* data: {
|
|
570
|
+
* // ... data to create a RunHostCheck
|
|
571
|
+
* }
|
|
572
|
+
* })
|
|
573
|
+
*
|
|
574
|
+
*/
|
|
575
|
+
create<T extends RunHostCheckCreateArgs>(args: Prisma.SelectSubset<T, RunHostCheckCreateArgs<ExtArgs>>): Prisma.Prisma__RunHostCheckClient<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
576
|
+
/**
|
|
577
|
+
* Create many RunHostChecks.
|
|
578
|
+
* @param {RunHostCheckCreateManyArgs} args - Arguments to create many RunHostChecks.
|
|
579
|
+
* @example
|
|
580
|
+
* // Create many RunHostChecks
|
|
581
|
+
* const runHostCheck = await prisma.runHostCheck.createMany({
|
|
582
|
+
* data: [
|
|
583
|
+
* // ... provide data here
|
|
584
|
+
* ]
|
|
585
|
+
* })
|
|
586
|
+
*
|
|
587
|
+
*/
|
|
588
|
+
createMany<T extends RunHostCheckCreateManyArgs>(args?: Prisma.SelectSubset<T, RunHostCheckCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
589
|
+
/**
|
|
590
|
+
* Create many RunHostChecks and returns the data saved in the database.
|
|
591
|
+
* @param {RunHostCheckCreateManyAndReturnArgs} args - Arguments to create many RunHostChecks.
|
|
592
|
+
* @example
|
|
593
|
+
* // Create many RunHostChecks
|
|
594
|
+
* const runHostCheck = await prisma.runHostCheck.createManyAndReturn({
|
|
595
|
+
* data: [
|
|
596
|
+
* // ... provide data here
|
|
597
|
+
* ]
|
|
598
|
+
* })
|
|
599
|
+
*
|
|
600
|
+
* // Create many RunHostChecks and only return the `runId`
|
|
601
|
+
* const runHostCheckWithRunIdOnly = await prisma.runHostCheck.createManyAndReturn({
|
|
602
|
+
* select: { runId: true },
|
|
603
|
+
* data: [
|
|
604
|
+
* // ... provide data here
|
|
605
|
+
* ]
|
|
606
|
+
* })
|
|
607
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
608
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
609
|
+
*
|
|
610
|
+
*/
|
|
611
|
+
createManyAndReturn<T extends RunHostCheckCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RunHostCheckCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
612
|
+
/**
|
|
613
|
+
* Delete a RunHostCheck.
|
|
614
|
+
* @param {RunHostCheckDeleteArgs} args - Arguments to delete one RunHostCheck.
|
|
615
|
+
* @example
|
|
616
|
+
* // Delete one RunHostCheck
|
|
617
|
+
* const RunHostCheck = await prisma.runHostCheck.delete({
|
|
618
|
+
* where: {
|
|
619
|
+
* // ... filter to delete one RunHostCheck
|
|
620
|
+
* }
|
|
621
|
+
* })
|
|
622
|
+
*
|
|
623
|
+
*/
|
|
624
|
+
delete<T extends RunHostCheckDeleteArgs>(args: Prisma.SelectSubset<T, RunHostCheckDeleteArgs<ExtArgs>>): Prisma.Prisma__RunHostCheckClient<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
625
|
+
/**
|
|
626
|
+
* Update one RunHostCheck.
|
|
627
|
+
* @param {RunHostCheckUpdateArgs} args - Arguments to update one RunHostCheck.
|
|
628
|
+
* @example
|
|
629
|
+
* // Update one RunHostCheck
|
|
630
|
+
* const runHostCheck = await prisma.runHostCheck.update({
|
|
631
|
+
* where: {
|
|
632
|
+
* // ... provide filter here
|
|
633
|
+
* },
|
|
634
|
+
* data: {
|
|
635
|
+
* // ... provide data here
|
|
636
|
+
* }
|
|
637
|
+
* })
|
|
638
|
+
*
|
|
639
|
+
*/
|
|
640
|
+
update<T extends RunHostCheckUpdateArgs>(args: Prisma.SelectSubset<T, RunHostCheckUpdateArgs<ExtArgs>>): Prisma.Prisma__RunHostCheckClient<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
641
|
+
/**
|
|
642
|
+
* Delete zero or more RunHostChecks.
|
|
643
|
+
* @param {RunHostCheckDeleteManyArgs} args - Arguments to filter RunHostChecks to delete.
|
|
644
|
+
* @example
|
|
645
|
+
* // Delete a few RunHostChecks
|
|
646
|
+
* const { count } = await prisma.runHostCheck.deleteMany({
|
|
647
|
+
* where: {
|
|
648
|
+
* // ... provide filter here
|
|
649
|
+
* }
|
|
650
|
+
* })
|
|
651
|
+
*
|
|
652
|
+
*/
|
|
653
|
+
deleteMany<T extends RunHostCheckDeleteManyArgs>(args?: Prisma.SelectSubset<T, RunHostCheckDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
654
|
+
/**
|
|
655
|
+
* Update zero or more RunHostChecks.
|
|
656
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
657
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
658
|
+
* @param {RunHostCheckUpdateManyArgs} args - Arguments to update one or more rows.
|
|
659
|
+
* @example
|
|
660
|
+
* // Update many RunHostChecks
|
|
661
|
+
* const runHostCheck = await prisma.runHostCheck.updateMany({
|
|
662
|
+
* where: {
|
|
663
|
+
* // ... provide filter here
|
|
664
|
+
* },
|
|
665
|
+
* data: {
|
|
666
|
+
* // ... provide data here
|
|
667
|
+
* }
|
|
668
|
+
* })
|
|
669
|
+
*
|
|
670
|
+
*/
|
|
671
|
+
updateMany<T extends RunHostCheckUpdateManyArgs>(args: Prisma.SelectSubset<T, RunHostCheckUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
672
|
+
/**
|
|
673
|
+
* Update zero or more RunHostChecks and returns the data updated in the database.
|
|
674
|
+
* @param {RunHostCheckUpdateManyAndReturnArgs} args - Arguments to update many RunHostChecks.
|
|
675
|
+
* @example
|
|
676
|
+
* // Update many RunHostChecks
|
|
677
|
+
* const runHostCheck = await prisma.runHostCheck.updateManyAndReturn({
|
|
678
|
+
* where: {
|
|
679
|
+
* // ... provide filter here
|
|
680
|
+
* },
|
|
681
|
+
* data: [
|
|
682
|
+
* // ... provide data here
|
|
683
|
+
* ]
|
|
684
|
+
* })
|
|
685
|
+
*
|
|
686
|
+
* // Update zero or more RunHostChecks and only return the `runId`
|
|
687
|
+
* const runHostCheckWithRunIdOnly = await prisma.runHostCheck.updateManyAndReturn({
|
|
688
|
+
* select: { runId: true },
|
|
689
|
+
* where: {
|
|
690
|
+
* // ... provide filter here
|
|
691
|
+
* },
|
|
692
|
+
* data: [
|
|
693
|
+
* // ... provide data here
|
|
694
|
+
* ]
|
|
695
|
+
* })
|
|
696
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
697
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
698
|
+
*
|
|
699
|
+
*/
|
|
700
|
+
updateManyAndReturn<T extends RunHostCheckUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RunHostCheckUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
701
|
+
/**
|
|
702
|
+
* Create or update one RunHostCheck.
|
|
703
|
+
* @param {RunHostCheckUpsertArgs} args - Arguments to update or create a RunHostCheck.
|
|
704
|
+
* @example
|
|
705
|
+
* // Update or create a RunHostCheck
|
|
706
|
+
* const runHostCheck = await prisma.runHostCheck.upsert({
|
|
707
|
+
* create: {
|
|
708
|
+
* // ... data to create a RunHostCheck
|
|
709
|
+
* },
|
|
710
|
+
* update: {
|
|
711
|
+
* // ... in case it already exists, update
|
|
712
|
+
* },
|
|
713
|
+
* where: {
|
|
714
|
+
* // ... the filter for the RunHostCheck we want to update
|
|
715
|
+
* }
|
|
716
|
+
* })
|
|
717
|
+
*/
|
|
718
|
+
upsert<T extends RunHostCheckUpsertArgs>(args: Prisma.SelectSubset<T, RunHostCheckUpsertArgs<ExtArgs>>): Prisma.Prisma__RunHostCheckClient<runtime.Types.Result.GetResult<Prisma.$RunHostCheckPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
719
|
+
/**
|
|
720
|
+
* Count the number of RunHostChecks.
|
|
721
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
722
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
723
|
+
* @param {RunHostCheckCountArgs} args - Arguments to filter RunHostChecks to count.
|
|
724
|
+
* @example
|
|
725
|
+
* // Count the number of RunHostChecks
|
|
726
|
+
* const count = await prisma.runHostCheck.count({
|
|
727
|
+
* where: {
|
|
728
|
+
* // ... the filter for the RunHostChecks we want to count
|
|
729
|
+
* }
|
|
730
|
+
* })
|
|
731
|
+
**/
|
|
732
|
+
count<T extends RunHostCheckCountArgs>(args?: Prisma.Subset<T, RunHostCheckCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RunHostCheckCountAggregateOutputType> : number>;
|
|
733
|
+
/**
|
|
734
|
+
* Allows you to perform aggregations operations on a RunHostCheck.
|
|
735
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
736
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
737
|
+
* @param {RunHostCheckAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
738
|
+
* @example
|
|
739
|
+
* // Ordered by age ascending
|
|
740
|
+
* // Where email contains prisma.io
|
|
741
|
+
* // Limited to the 10 users
|
|
742
|
+
* const aggregations = await prisma.user.aggregate({
|
|
743
|
+
* _avg: {
|
|
744
|
+
* age: true,
|
|
745
|
+
* },
|
|
746
|
+
* where: {
|
|
747
|
+
* email: {
|
|
748
|
+
* contains: "prisma.io",
|
|
749
|
+
* },
|
|
750
|
+
* },
|
|
751
|
+
* orderBy: {
|
|
752
|
+
* age: "asc",
|
|
753
|
+
* },
|
|
754
|
+
* take: 10,
|
|
755
|
+
* })
|
|
756
|
+
**/
|
|
757
|
+
aggregate<T extends RunHostCheckAggregateArgs>(args: Prisma.Subset<T, RunHostCheckAggregateArgs>): Prisma.PrismaPromise<GetRunHostCheckAggregateType<T>>;
|
|
758
|
+
/**
|
|
759
|
+
* Group by RunHostCheck.
|
|
760
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
761
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
762
|
+
* @param {RunHostCheckGroupByArgs} args - Group by arguments.
|
|
763
|
+
* @example
|
|
764
|
+
* // Group by city, order by createdAt, get count
|
|
765
|
+
* const result = await prisma.user.groupBy({
|
|
766
|
+
* by: ['city', 'createdAt'],
|
|
767
|
+
* orderBy: {
|
|
768
|
+
* createdAt: true
|
|
769
|
+
* },
|
|
770
|
+
* _count: {
|
|
771
|
+
* _all: true
|
|
772
|
+
* },
|
|
773
|
+
* })
|
|
774
|
+
*
|
|
775
|
+
**/
|
|
776
|
+
groupBy<T extends RunHostCheckGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
777
|
+
orderBy: RunHostCheckGroupByArgs['orderBy'];
|
|
778
|
+
} : {
|
|
779
|
+
orderBy?: RunHostCheckGroupByArgs['orderBy'];
|
|
780
|
+
}, 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 ? {
|
|
781
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
782
|
+
Error,
|
|
783
|
+
'Field ',
|
|
784
|
+
P,
|
|
785
|
+
` in "having" needs to be provided in "by"`
|
|
786
|
+
];
|
|
787
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
788
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
789
|
+
}[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 ? {} : {
|
|
790
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
791
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
792
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
793
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, RunHostCheckGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRunHostCheckGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
794
|
+
/**
|
|
795
|
+
* Fields of the RunHostCheck model
|
|
796
|
+
*/
|
|
797
|
+
readonly fields: RunHostCheckFieldRefs;
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* The delegate class that acts as a "Promise-like" for RunHostCheck.
|
|
801
|
+
* Why is this prefixed with `Prisma__`?
|
|
802
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
803
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
804
|
+
*/
|
|
805
|
+
export interface Prisma__RunHostCheckClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
806
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
807
|
+
run<T extends Prisma.RunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RunDefaultArgs<ExtArgs>>): Prisma.Prisma__RunClient<runtime.Types.Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
808
|
+
/**
|
|
809
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
810
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
811
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
812
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
813
|
+
*/
|
|
814
|
+
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>;
|
|
815
|
+
/**
|
|
816
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
817
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
818
|
+
* @returns A Promise for the completion of the callback.
|
|
819
|
+
*/
|
|
820
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
821
|
+
/**
|
|
822
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
823
|
+
* resolved value cannot be modified from the callback.
|
|
824
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
825
|
+
* @returns A Promise for the completion of the callback.
|
|
826
|
+
*/
|
|
827
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* Fields of the RunHostCheck model
|
|
831
|
+
*/
|
|
832
|
+
export interface RunHostCheckFieldRefs {
|
|
833
|
+
readonly runId: Prisma.FieldRef<"RunHostCheck", 'String'>;
|
|
834
|
+
readonly provider: Prisma.FieldRef<"RunHostCheck", 'String'>;
|
|
835
|
+
readonly repository: Prisma.FieldRef<"RunHostCheck", 'String'>;
|
|
836
|
+
readonly checkId: Prisma.FieldRef<"RunHostCheck", 'String'>;
|
|
837
|
+
readonly headSha: Prisma.FieldRef<"RunHostCheck", 'String'>;
|
|
838
|
+
readonly prNumber: Prisma.FieldRef<"RunHostCheck", 'Int'>;
|
|
839
|
+
readonly completedAt: Prisma.FieldRef<"RunHostCheck", 'DateTime'>;
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* RunHostCheck findUnique
|
|
843
|
+
*/
|
|
844
|
+
export type RunHostCheckFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
845
|
+
/**
|
|
846
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
847
|
+
*/
|
|
848
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
849
|
+
/**
|
|
850
|
+
* Omit specific fields from the RunHostCheck
|
|
851
|
+
*/
|
|
852
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
853
|
+
/**
|
|
854
|
+
* Choose, which related nodes to fetch as well
|
|
855
|
+
*/
|
|
856
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
857
|
+
/**
|
|
858
|
+
* Filter, which RunHostCheck to fetch.
|
|
859
|
+
*/
|
|
860
|
+
where: Prisma.RunHostCheckWhereUniqueInput;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* RunHostCheck findUniqueOrThrow
|
|
864
|
+
*/
|
|
865
|
+
export type RunHostCheckFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
866
|
+
/**
|
|
867
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
868
|
+
*/
|
|
869
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
870
|
+
/**
|
|
871
|
+
* Omit specific fields from the RunHostCheck
|
|
872
|
+
*/
|
|
873
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
874
|
+
/**
|
|
875
|
+
* Choose, which related nodes to fetch as well
|
|
876
|
+
*/
|
|
877
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
878
|
+
/**
|
|
879
|
+
* Filter, which RunHostCheck to fetch.
|
|
880
|
+
*/
|
|
881
|
+
where: Prisma.RunHostCheckWhereUniqueInput;
|
|
882
|
+
};
|
|
883
|
+
/**
|
|
884
|
+
* RunHostCheck findFirst
|
|
885
|
+
*/
|
|
886
|
+
export type RunHostCheckFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
887
|
+
/**
|
|
888
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
889
|
+
*/
|
|
890
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
891
|
+
/**
|
|
892
|
+
* Omit specific fields from the RunHostCheck
|
|
893
|
+
*/
|
|
894
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
895
|
+
/**
|
|
896
|
+
* Choose, which related nodes to fetch as well
|
|
897
|
+
*/
|
|
898
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
899
|
+
/**
|
|
900
|
+
* Filter, which RunHostCheck to fetch.
|
|
901
|
+
*/
|
|
902
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
903
|
+
/**
|
|
904
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
905
|
+
*
|
|
906
|
+
* Determine the order of RunHostChecks to fetch.
|
|
907
|
+
*/
|
|
908
|
+
orderBy?: Prisma.RunHostCheckOrderByWithRelationInput | Prisma.RunHostCheckOrderByWithRelationInput[];
|
|
909
|
+
/**
|
|
910
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
911
|
+
*
|
|
912
|
+
* Sets the position for searching for RunHostChecks.
|
|
913
|
+
*/
|
|
914
|
+
cursor?: Prisma.RunHostCheckWhereUniqueInput;
|
|
915
|
+
/**
|
|
916
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
917
|
+
*
|
|
918
|
+
* Take `±n` RunHostChecks from the position of the cursor.
|
|
919
|
+
*/
|
|
920
|
+
take?: number;
|
|
921
|
+
/**
|
|
922
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
923
|
+
*
|
|
924
|
+
* Skip the first `n` RunHostChecks.
|
|
925
|
+
*/
|
|
926
|
+
skip?: number;
|
|
927
|
+
/**
|
|
928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
929
|
+
*
|
|
930
|
+
* Filter by unique combinations of RunHostChecks.
|
|
931
|
+
*/
|
|
932
|
+
distinct?: Prisma.RunHostCheckScalarFieldEnum | Prisma.RunHostCheckScalarFieldEnum[];
|
|
933
|
+
};
|
|
934
|
+
/**
|
|
935
|
+
* RunHostCheck findFirstOrThrow
|
|
936
|
+
*/
|
|
937
|
+
export type RunHostCheckFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
938
|
+
/**
|
|
939
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
940
|
+
*/
|
|
941
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
942
|
+
/**
|
|
943
|
+
* Omit specific fields from the RunHostCheck
|
|
944
|
+
*/
|
|
945
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
946
|
+
/**
|
|
947
|
+
* Choose, which related nodes to fetch as well
|
|
948
|
+
*/
|
|
949
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
950
|
+
/**
|
|
951
|
+
* Filter, which RunHostCheck to fetch.
|
|
952
|
+
*/
|
|
953
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
954
|
+
/**
|
|
955
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
956
|
+
*
|
|
957
|
+
* Determine the order of RunHostChecks to fetch.
|
|
958
|
+
*/
|
|
959
|
+
orderBy?: Prisma.RunHostCheckOrderByWithRelationInput | Prisma.RunHostCheckOrderByWithRelationInput[];
|
|
960
|
+
/**
|
|
961
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
962
|
+
*
|
|
963
|
+
* Sets the position for searching for RunHostChecks.
|
|
964
|
+
*/
|
|
965
|
+
cursor?: Prisma.RunHostCheckWhereUniqueInput;
|
|
966
|
+
/**
|
|
967
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
968
|
+
*
|
|
969
|
+
* Take `±n` RunHostChecks from the position of the cursor.
|
|
970
|
+
*/
|
|
971
|
+
take?: number;
|
|
972
|
+
/**
|
|
973
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
974
|
+
*
|
|
975
|
+
* Skip the first `n` RunHostChecks.
|
|
976
|
+
*/
|
|
977
|
+
skip?: number;
|
|
978
|
+
/**
|
|
979
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
980
|
+
*
|
|
981
|
+
* Filter by unique combinations of RunHostChecks.
|
|
982
|
+
*/
|
|
983
|
+
distinct?: Prisma.RunHostCheckScalarFieldEnum | Prisma.RunHostCheckScalarFieldEnum[];
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* RunHostCheck findMany
|
|
987
|
+
*/
|
|
988
|
+
export type RunHostCheckFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
989
|
+
/**
|
|
990
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
991
|
+
*/
|
|
992
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
993
|
+
/**
|
|
994
|
+
* Omit specific fields from the RunHostCheck
|
|
995
|
+
*/
|
|
996
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
997
|
+
/**
|
|
998
|
+
* Choose, which related nodes to fetch as well
|
|
999
|
+
*/
|
|
1000
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* Filter, which RunHostChecks to fetch.
|
|
1003
|
+
*/
|
|
1004
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
1005
|
+
/**
|
|
1006
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1007
|
+
*
|
|
1008
|
+
* Determine the order of RunHostChecks to fetch.
|
|
1009
|
+
*/
|
|
1010
|
+
orderBy?: Prisma.RunHostCheckOrderByWithRelationInput | Prisma.RunHostCheckOrderByWithRelationInput[];
|
|
1011
|
+
/**
|
|
1012
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1013
|
+
*
|
|
1014
|
+
* Sets the position for listing RunHostChecks.
|
|
1015
|
+
*/
|
|
1016
|
+
cursor?: Prisma.RunHostCheckWhereUniqueInput;
|
|
1017
|
+
/**
|
|
1018
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1019
|
+
*
|
|
1020
|
+
* Take `±n` RunHostChecks from the position of the cursor.
|
|
1021
|
+
*/
|
|
1022
|
+
take?: number;
|
|
1023
|
+
/**
|
|
1024
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1025
|
+
*
|
|
1026
|
+
* Skip the first `n` RunHostChecks.
|
|
1027
|
+
*/
|
|
1028
|
+
skip?: number;
|
|
1029
|
+
/**
|
|
1030
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1031
|
+
*
|
|
1032
|
+
* Filter by unique combinations of RunHostChecks.
|
|
1033
|
+
*/
|
|
1034
|
+
distinct?: Prisma.RunHostCheckScalarFieldEnum | Prisma.RunHostCheckScalarFieldEnum[];
|
|
1035
|
+
};
|
|
1036
|
+
/**
|
|
1037
|
+
* RunHostCheck create
|
|
1038
|
+
*/
|
|
1039
|
+
export type RunHostCheckCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1040
|
+
/**
|
|
1041
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
1042
|
+
*/
|
|
1043
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
1044
|
+
/**
|
|
1045
|
+
* Omit specific fields from the RunHostCheck
|
|
1046
|
+
*/
|
|
1047
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Choose, which related nodes to fetch as well
|
|
1050
|
+
*/
|
|
1051
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* The data needed to create a RunHostCheck.
|
|
1054
|
+
*/
|
|
1055
|
+
data: Prisma.XOR<Prisma.RunHostCheckCreateInput, Prisma.RunHostCheckUncheckedCreateInput>;
|
|
1056
|
+
};
|
|
1057
|
+
/**
|
|
1058
|
+
* RunHostCheck createMany
|
|
1059
|
+
*/
|
|
1060
|
+
export type RunHostCheckCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1061
|
+
/**
|
|
1062
|
+
* The data used to create many RunHostChecks.
|
|
1063
|
+
*/
|
|
1064
|
+
data: Prisma.RunHostCheckCreateManyInput | Prisma.RunHostCheckCreateManyInput[];
|
|
1065
|
+
skipDuplicates?: boolean;
|
|
1066
|
+
};
|
|
1067
|
+
/**
|
|
1068
|
+
* RunHostCheck createManyAndReturn
|
|
1069
|
+
*/
|
|
1070
|
+
export type RunHostCheckCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1071
|
+
/**
|
|
1072
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
1073
|
+
*/
|
|
1074
|
+
select?: Prisma.RunHostCheckSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1075
|
+
/**
|
|
1076
|
+
* Omit specific fields from the RunHostCheck
|
|
1077
|
+
*/
|
|
1078
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
1079
|
+
/**
|
|
1080
|
+
* The data used to create many RunHostChecks.
|
|
1081
|
+
*/
|
|
1082
|
+
data: Prisma.RunHostCheckCreateManyInput | Prisma.RunHostCheckCreateManyInput[];
|
|
1083
|
+
skipDuplicates?: boolean;
|
|
1084
|
+
/**
|
|
1085
|
+
* Choose, which related nodes to fetch as well
|
|
1086
|
+
*/
|
|
1087
|
+
include?: Prisma.RunHostCheckIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1088
|
+
};
|
|
1089
|
+
/**
|
|
1090
|
+
* RunHostCheck update
|
|
1091
|
+
*/
|
|
1092
|
+
export type RunHostCheckUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1093
|
+
/**
|
|
1094
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
1095
|
+
*/
|
|
1096
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
1097
|
+
/**
|
|
1098
|
+
* Omit specific fields from the RunHostCheck
|
|
1099
|
+
*/
|
|
1100
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
1101
|
+
/**
|
|
1102
|
+
* Choose, which related nodes to fetch as well
|
|
1103
|
+
*/
|
|
1104
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
1105
|
+
/**
|
|
1106
|
+
* The data needed to update a RunHostCheck.
|
|
1107
|
+
*/
|
|
1108
|
+
data: Prisma.XOR<Prisma.RunHostCheckUpdateInput, Prisma.RunHostCheckUncheckedUpdateInput>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Choose, which RunHostCheck to update.
|
|
1111
|
+
*/
|
|
1112
|
+
where: Prisma.RunHostCheckWhereUniqueInput;
|
|
1113
|
+
};
|
|
1114
|
+
/**
|
|
1115
|
+
* RunHostCheck updateMany
|
|
1116
|
+
*/
|
|
1117
|
+
export type RunHostCheckUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1118
|
+
/**
|
|
1119
|
+
* The data used to update RunHostChecks.
|
|
1120
|
+
*/
|
|
1121
|
+
data: Prisma.XOR<Prisma.RunHostCheckUpdateManyMutationInput, Prisma.RunHostCheckUncheckedUpdateManyInput>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Filter which RunHostChecks to update
|
|
1124
|
+
*/
|
|
1125
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
1126
|
+
/**
|
|
1127
|
+
* Limit how many RunHostChecks to update.
|
|
1128
|
+
*/
|
|
1129
|
+
limit?: number;
|
|
1130
|
+
};
|
|
1131
|
+
/**
|
|
1132
|
+
* RunHostCheck updateManyAndReturn
|
|
1133
|
+
*/
|
|
1134
|
+
export type RunHostCheckUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1135
|
+
/**
|
|
1136
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
1137
|
+
*/
|
|
1138
|
+
select?: Prisma.RunHostCheckSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1139
|
+
/**
|
|
1140
|
+
* Omit specific fields from the RunHostCheck
|
|
1141
|
+
*/
|
|
1142
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
1143
|
+
/**
|
|
1144
|
+
* The data used to update RunHostChecks.
|
|
1145
|
+
*/
|
|
1146
|
+
data: Prisma.XOR<Prisma.RunHostCheckUpdateManyMutationInput, Prisma.RunHostCheckUncheckedUpdateManyInput>;
|
|
1147
|
+
/**
|
|
1148
|
+
* Filter which RunHostChecks to update
|
|
1149
|
+
*/
|
|
1150
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
1151
|
+
/**
|
|
1152
|
+
* Limit how many RunHostChecks to update.
|
|
1153
|
+
*/
|
|
1154
|
+
limit?: number;
|
|
1155
|
+
/**
|
|
1156
|
+
* Choose, which related nodes to fetch as well
|
|
1157
|
+
*/
|
|
1158
|
+
include?: Prisma.RunHostCheckIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1159
|
+
};
|
|
1160
|
+
/**
|
|
1161
|
+
* RunHostCheck upsert
|
|
1162
|
+
*/
|
|
1163
|
+
export type RunHostCheckUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1164
|
+
/**
|
|
1165
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
1166
|
+
*/
|
|
1167
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
1168
|
+
/**
|
|
1169
|
+
* Omit specific fields from the RunHostCheck
|
|
1170
|
+
*/
|
|
1171
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* Choose, which related nodes to fetch as well
|
|
1174
|
+
*/
|
|
1175
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
1176
|
+
/**
|
|
1177
|
+
* The filter to search for the RunHostCheck to update in case it exists.
|
|
1178
|
+
*/
|
|
1179
|
+
where: Prisma.RunHostCheckWhereUniqueInput;
|
|
1180
|
+
/**
|
|
1181
|
+
* In case the RunHostCheck found by the `where` argument doesn't exist, create a new RunHostCheck with this data.
|
|
1182
|
+
*/
|
|
1183
|
+
create: Prisma.XOR<Prisma.RunHostCheckCreateInput, Prisma.RunHostCheckUncheckedCreateInput>;
|
|
1184
|
+
/**
|
|
1185
|
+
* In case the RunHostCheck was found with the provided `where` argument, update it with this data.
|
|
1186
|
+
*/
|
|
1187
|
+
update: Prisma.XOR<Prisma.RunHostCheckUpdateInput, Prisma.RunHostCheckUncheckedUpdateInput>;
|
|
1188
|
+
};
|
|
1189
|
+
/**
|
|
1190
|
+
* RunHostCheck delete
|
|
1191
|
+
*/
|
|
1192
|
+
export type RunHostCheckDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1193
|
+
/**
|
|
1194
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
1195
|
+
*/
|
|
1196
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
1197
|
+
/**
|
|
1198
|
+
* Omit specific fields from the RunHostCheck
|
|
1199
|
+
*/
|
|
1200
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
1201
|
+
/**
|
|
1202
|
+
* Choose, which related nodes to fetch as well
|
|
1203
|
+
*/
|
|
1204
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
1205
|
+
/**
|
|
1206
|
+
* Filter which RunHostCheck to delete.
|
|
1207
|
+
*/
|
|
1208
|
+
where: Prisma.RunHostCheckWhereUniqueInput;
|
|
1209
|
+
};
|
|
1210
|
+
/**
|
|
1211
|
+
* RunHostCheck deleteMany
|
|
1212
|
+
*/
|
|
1213
|
+
export type RunHostCheckDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1214
|
+
/**
|
|
1215
|
+
* Filter which RunHostChecks to delete
|
|
1216
|
+
*/
|
|
1217
|
+
where?: Prisma.RunHostCheckWhereInput;
|
|
1218
|
+
/**
|
|
1219
|
+
* Limit how many RunHostChecks to delete.
|
|
1220
|
+
*/
|
|
1221
|
+
limit?: number;
|
|
1222
|
+
};
|
|
1223
|
+
/**
|
|
1224
|
+
* RunHostCheck without action
|
|
1225
|
+
*/
|
|
1226
|
+
export type RunHostCheckDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1227
|
+
/**
|
|
1228
|
+
* Select specific fields to fetch from the RunHostCheck
|
|
1229
|
+
*/
|
|
1230
|
+
select?: Prisma.RunHostCheckSelect<ExtArgs> | null;
|
|
1231
|
+
/**
|
|
1232
|
+
* Omit specific fields from the RunHostCheck
|
|
1233
|
+
*/
|
|
1234
|
+
omit?: Prisma.RunHostCheckOmit<ExtArgs> | null;
|
|
1235
|
+
/**
|
|
1236
|
+
* Choose, which related nodes to fetch as well
|
|
1237
|
+
*/
|
|
1238
|
+
include?: Prisma.RunHostCheckInclude<ExtArgs> | null;
|
|
1239
|
+
};
|