@wardby/cli 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +34 -4
- package/README.md +183 -71
- package/dist/claude-coding-worker/driver.d.ts +7 -1
- package/dist/claude-coding-worker/driver.js +31 -2
- package/dist/claude-coding-worker/main.js +5 -2
- package/dist/claude-coding-worker/tool-socket.d.ts +9 -0
- package/dist/claude-coding-worker/tool-socket.js +26 -0
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +13 -4
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +219 -29
- package/dist/coding/collect-exclude.d.ts +25 -0
- package/dist/coding/collect-exclude.js +76 -0
- package/dist/coding/profile.d.ts +67 -22
- package/dist/coding/profile.js +58 -25
- package/dist/coding/protected-path-wording.d.ts +24 -0
- package/dist/coding/protected-path-wording.js +55 -0
- package/dist/coding/protected-paths.d.ts +31 -0
- package/dist/coding/protected-paths.js +48 -0
- package/dist/coding/protocol.d.ts +99 -3
- package/dist/coding/protocol.js +155 -4
- package/dist/coding/registry/adapters.d.ts +2 -0
- package/dist/coding/registry/adapters.js +9 -0
- package/dist/coding/registry/allowlist.d.ts +9 -0
- package/dist/coding/registry/allowlist.js +28 -0
- package/dist/coding/registry/json-scan.d.ts +55 -0
- package/dist/coding/registry/json-scan.js +191 -0
- package/dist/coding/registry/lockfiles.d.ts +6 -0
- package/dist/coding/registry/lockfiles.js +89 -0
- package/dist/coding/registry/npm-lockfile.d.ts +9 -0
- package/dist/coding/registry/npm-lockfile.js +73 -0
- package/dist/coding/registry/npm-plan.d.ts +29 -0
- package/dist/coding/registry/npm-plan.js +289 -0
- package/dist/coding/registry/npm.d.ts +7 -0
- package/dist/coding/registry/npm.js +252 -0
- package/dist/coding/registry/pypi.d.ts +4 -0
- package/dist/coding/registry/pypi.js +210 -0
- package/dist/coding/registry/report.d.ts +37 -0
- package/dist/coding/registry/report.js +31 -0
- package/dist/coding/registry/token.d.ts +4 -0
- package/dist/coding/registry/token.js +7 -0
- package/dist/coding/registry/types.d.ts +286 -0
- package/dist/coding/registry/types.js +19 -0
- package/dist/coding/registry/worker-config.d.ts +14 -0
- package/dist/coding/registry/worker-config.js +31 -0
- package/dist/coding/services/builtins.d.ts +22 -0
- package/dist/coding/services/builtins.js +85 -0
- package/dist/coding/services/catalog.d.ts +443 -0
- package/dist/coding/services/catalog.js +159 -0
- package/dist/coding/services/declaration.d.ts +11 -0
- package/dist/coding/services/declaration.js +114 -0
- package/dist/coding/services/note.d.ts +8 -0
- package/dist/coding/services/note.js +15 -0
- package/dist/coding/services/resolve.d.ts +25 -0
- package/dist/coding/services/resolve.js +50 -0
- package/dist/coding/services/wording.d.ts +25 -0
- package/dist/coding/services/wording.js +70 -0
- package/dist/coding-proxy/main.js +24 -4
- package/dist/coding-worker/artifact.d.ts +18 -0
- package/dist/coding-worker/artifact.js +48 -6
- package/dist/coding-worker/debug-trace.d.ts +37 -0
- package/dist/coding-worker/debug-trace.js +117 -0
- package/dist/coding-worker/driver.d.ts +14 -1
- package/dist/coding-worker/driver.js +106 -14
- package/dist/coding-worker/errors.d.ts +7 -0
- package/dist/coding-worker/errors.js +26 -0
- package/dist/coding-worker/main.js +13 -4
- package/dist/coding-worker/sdk.d.ts +2 -2
- package/dist/coding-worker/sdk.js +7 -2
- package/dist/coding-worker/types.d.ts +3 -0
- package/dist/config/providers.d.ts +41 -0
- package/dist/config/providers.js +66 -0
- package/dist/core/budget-groups.d.ts +109 -6
- package/dist/core/budget-groups.js +125 -19
- package/dist/core/budget-wording.d.ts +22 -0
- package/dist/core/budget-wording.js +55 -0
- package/dist/core/coding-queue.d.ts +1 -1
- package/dist/core/datastores.d.ts +1 -1
- package/dist/core/datastores.js +18 -2
- package/dist/core/db.d.ts +40 -2
- package/dist/core/db.js +75 -2
- package/dist/core/dispatch.d.ts +49 -7
- package/dist/core/dispatch.js +290 -45
- package/dist/core/engine-native.js +27 -10
- package/dist/core/grants.d.ts +86 -0
- package/dist/core/grants.js +126 -0
- package/dist/core/host-events.d.ts +49 -0
- package/dist/core/host-events.js +257 -0
- package/dist/core/host-identity-links.d.ts +54 -0
- package/dist/core/host-identity-links.js +189 -0
- package/dist/core/host-status.d.ts +61 -0
- package/dist/core/host-status.js +211 -0
- package/dist/core/http-runtime.js +3 -4
- package/dist/core/in-flight-runs.d.ts +8 -0
- package/dist/core/in-flight-runs.js +56 -0
- package/dist/core/lease.d.ts +1 -1
- package/dist/core/private-directory.d.ts +20 -0
- package/dist/core/private-directory.js +36 -0
- package/dist/core/provider-wording.d.ts +12 -0
- package/dist/core/provider-wording.js +44 -0
- package/dist/core/reconciler.d.ts +39 -3
- package/dist/core/reconciler.js +86 -2
- package/dist/core/repo-access.d.ts +99 -0
- package/dist/core/repo-access.js +136 -0
- package/dist/core/review-host-checks.d.ts +11 -0
- package/dist/core/review-host-checks.js +41 -0
- package/dist/core/review-host-tools.d.ts +47 -0
- package/dist/core/review-host-tools.js +347 -0
- package/dist/core/run-heartbeat.d.ts +27 -0
- package/dist/core/run-heartbeat.js +54 -0
- package/dist/core/runner.d.ts +31 -9
- package/dist/core/runner.js +237 -40
- package/dist/core/scheduler.d.ts +1 -1
- package/dist/core/secrets.d.ts +12 -3
- package/dist/core/secrets.js +25 -6
- package/dist/core/subagent-memory-tools.d.ts +2 -2
- package/dist/core/subagent-memory-tools.js +16 -3
- package/dist/core/tool-admin.d.ts +81 -0
- package/dist/core/tool-admin.js +129 -0
- package/dist/core/tool-names.d.ts +42 -0
- package/dist/core/tool-names.js +64 -0
- package/dist/core/untrusted-content.d.ts +32 -0
- package/dist/core/untrusted-content.js +72 -0
- package/dist/core/webhooks.d.ts +9 -2
- package/dist/core/webhooks.js +23 -2
- package/dist/generated/prisma/browser.d.ts +328 -0
- package/dist/generated/prisma/browser.js +17 -0
- package/dist/generated/prisma/client.d.ts +347 -0
- package/dist/generated/prisma/client.js +34 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +839 -0
- package/dist/generated/prisma/commonInputTypes.js +10 -0
- package/dist/generated/prisma/enums.d.ts +59 -0
- package/dist/generated/prisma/enums.js +59 -0
- package/dist/generated/prisma/internal/class.d.ts +605 -0
- package/dist/generated/prisma/internal/class.js +49 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +4494 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +628 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +635 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +599 -0
- package/dist/generated/prisma/models/Agent.d.ts +3560 -0
- package/dist/generated/prisma/models/Agent.js +1 -0
- package/dist/generated/prisma/models/AgentDatastore.d.ts +1210 -0
- package/dist/generated/prisma/models/AgentDatastore.js +1 -0
- package/dist/generated/prisma/models/AgentMemory.d.ts +986 -0
- package/dist/generated/prisma/models/AgentMemory.js +1 -0
- package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
- package/dist/generated/prisma/models/AgentRepository.js +1 -0
- package/dist/generated/prisma/models/AgentSecret.d.ts +1212 -0
- package/dist/generated/prisma/models/AgentSecret.js +1 -0
- package/dist/generated/prisma/models/AgentSubAgent.d.ts +1217 -0
- package/dist/generated/prisma/models/AgentSubAgent.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +1403 -0
- package/dist/generated/prisma/models/AgentTool.js +1 -0
- package/dist/generated/prisma/models/AuthFormChallenge.d.ts +1298 -0
- package/dist/generated/prisma/models/AuthFormChallenge.js +1 -0
- package/dist/generated/prisma/models/AuthLoginKey.d.ts +1245 -0
- package/dist/generated/prisma/models/AuthLoginKey.js +1 -0
- package/dist/generated/prisma/models/AuthRateLimit.d.ts +979 -0
- package/dist/generated/prisma/models/AuthRateLimit.js +1 -0
- package/dist/generated/prisma/models/AuthSession.d.ts +1376 -0
- package/dist/generated/prisma/models/AuthSession.js +1 -0
- package/dist/generated/prisma/models/AuthUser.d.ts +1700 -0
- package/dist/generated/prisma/models/AuthUser.js +1 -0
- package/dist/generated/prisma/models/BudgetGroup.d.ts +1548 -0
- package/dist/generated/prisma/models/BudgetGroup.js +1 -0
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +1681 -0
- package/dist/generated/prisma/models/CodingAgentProfile.js +1 -0
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +1749 -0
- package/dist/generated/prisma/models/CodingProxyRequest.js +1 -0
- package/dist/generated/prisma/models/CodingProxySession.d.ts +1626 -0
- package/dist/generated/prisma/models/CodingProxySession.js +1 -0
- package/dist/generated/prisma/models/CodingRun.d.ts +3583 -0
- package/dist/generated/prisma/models/CodingRun.js +1 -0
- package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
- package/dist/generated/prisma/models/CodingService.js +1 -0
- package/dist/generated/prisma/models/Datastore.d.ts +1434 -0
- package/dist/generated/prisma/models/Datastore.js +1 -0
- package/dist/generated/prisma/models/DatastoreEntry.d.ts +1314 -0
- package/dist/generated/prisma/models/DatastoreEntry.js +1 -0
- package/dist/generated/prisma/models/HostEventDelivery.d.ts +946 -0
- package/dist/generated/prisma/models/HostEventDelivery.js +1 -0
- package/dist/generated/prisma/models/HostIdentity.d.ts +1232 -0
- package/dist/generated/prisma/models/HostIdentity.js +1 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.d.ts +1473 -0
- package/dist/generated/prisma/models/HostIdentityLinkRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.d.ts +1526 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.d.ts +1350 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthClient.d.ts +1289 -0
- package/dist/generated/prisma/models/OAuthClient.js +1 -0
- package/dist/generated/prisma/models/OAuthFamily.d.ts +1540 -0
- package/dist/generated/prisma/models/OAuthFamily.js +1 -0
- package/dist/generated/prisma/models/OAuthGrant.d.ts +1280 -0
- package/dist/generated/prisma/models/OAuthGrant.js +1 -0
- package/dist/generated/prisma/models/Principal.d.ts +2245 -0
- package/dist/generated/prisma/models/Principal.js +1 -0
- package/dist/generated/prisma/models/RegistryAllowance.d.ts +1148 -0
- package/dist/generated/prisma/models/RegistryAllowance.js +1 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +1219 -0
- package/dist/generated/prisma/models/RegistryApprovedVersion.js +1 -0
- package/dist/generated/prisma/models/RegistryFetch.d.ts +1428 -0
- package/dist/generated/prisma/models/RegistryFetch.js +1 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.d.ts +1294 -0
- package/dist/generated/prisma/models/RegistryPlanRefusal.js +1 -0
- package/dist/generated/prisma/models/RegistryVersionFact.d.ts +1085 -0
- package/dist/generated/prisma/models/RegistryVersionFact.js +1 -0
- package/dist/generated/prisma/models/ResourceGrant.d.ts +1437 -0
- package/dist/generated/prisma/models/ResourceGrant.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +2669 -0
- package/dist/generated/prisma/models/Run.js +1 -0
- package/dist/generated/prisma/models/RunHostCheck.d.ts +1239 -0
- package/dist/generated/prisma/models/RunHostCheck.js +1 -0
- package/dist/generated/prisma/models/RunHostStatus.d.ts +1315 -0
- package/dist/generated/prisma/models/RunHostStatus.js +1 -0
- package/dist/generated/prisma/models/SchedulerLease.d.ts +970 -0
- package/dist/generated/prisma/models/SchedulerLease.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +1399 -0
- package/dist/generated/prisma/models/Secret.js +1 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.d.ts +973 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.js +1 -0
- package/dist/generated/prisma/models/Task.d.ts +1176 -0
- package/dist/generated/prisma/models/Task.js +1 -0
- package/dist/generated/prisma/models/Tool.d.ts +1490 -0
- package/dist/generated/prisma/models/Tool.js +1 -0
- package/dist/generated/prisma/models/Webhook.d.ts +1386 -0
- package/dist/generated/prisma/models/Webhook.js +1 -0
- package/dist/generated/prisma/models.d.ts +45 -0
- package/dist/generated/prisma/models.js +1 -0
- package/dist/help/build.d.ts +1 -0
- package/dist/help/build.js +9 -0
- package/dist/help/catalog.d.ts +24 -0
- package/dist/help/catalog.js +160 -0
- package/dist/help/cli.d.ts +2 -0
- package/dist/help/cli.js +65 -0
- package/dist/help/runtime.d.ts +3 -0
- package/dist/help/runtime.js +44 -0
- package/dist/help/search.d.ts +9 -0
- package/dist/help/search.js +104 -0
- package/dist/help-index.json +660 -0
- package/dist/import/cli-args.js +3 -2
- package/dist/import/create.d.ts +6 -1
- package/dist/import/create.js +68 -14
- package/dist/import/index.d.ts +1 -1
- package/dist/import/index.js +19 -9
- package/dist/import/neutral-schema.d.ts +11 -11
- package/dist/mcp/auth/access.d.ts +70 -0
- package/dist/mcp/auth/access.js +58 -0
- package/dist/mcp/auth/grants-cli.d.ts +149 -0
- package/dist/mcp/auth/grants-cli.js +518 -0
- package/dist/mcp/auth/host-account-cli.d.ts +2 -0
- package/dist/mcp/auth/host-account-cli.js +47 -0
- package/dist/mcp/auth/ownership.d.ts +37 -63
- package/dist/mcp/auth/ownership.js +19 -14
- package/dist/mcp/auth/principal.d.ts +1 -1
- package/dist/mcp/auth/repo-authorization.d.ts +22 -0
- package/dist/mcp/auth/repo-authorization.js +51 -0
- package/dist/mcp/auth/resource-server.d.ts +32 -3
- package/dist/mcp/auth/resource-server.js +84 -3
- package/dist/mcp/auth/self-hosted/browser.js +22 -8
- package/dist/mcp/auth/self-hosted/cli.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/cli.js +47 -13
- package/dist/mcp/auth/self-hosted/credentials.d.ts +21 -3
- package/dist/mcp/auth/self-hosted/credentials.js +62 -4
- package/dist/mcp/auth/self-hosted/rate-limit.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/session.d.ts +3 -2
- package/dist/mcp/context.d.ts +28 -2
- package/dist/mcp/errors.d.ts +25 -6
- package/dist/mcp/errors.js +98 -0
- package/dist/mcp/host-events/github-ingress.d.ts +36 -0
- package/dist/mcp/host-events/github-ingress.js +92 -0
- package/dist/mcp/host-events/github-user-callback.d.ts +18 -0
- package/dist/mcp/host-events/github-user-callback.js +50 -0
- package/dist/mcp/index.d.ts +8 -1
- package/dist/mcp/index.js +106 -16
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/server.js +27 -9
- package/dist/mcp/shared/page-style.d.ts +16 -0
- package/dist/mcp/shared/page-style.js +129 -0
- package/dist/mcp/tasks/manager.d.ts +1 -1
- package/dist/mcp/tools/agents.js +447 -49
- package/dist/mcp/tools/budget-groups.js +3 -3
- package/dist/mcp/tools/datastore.js +23 -16
- package/dist/mcp/tools/grants.d.ts +2 -0
- package/dist/mcp/tools/grants.js +239 -0
- package/dist/mcp/tools/help.d.ts +5 -0
- package/dist/mcp/tools/help.js +67 -0
- package/dist/mcp/tools/host-accounts.d.ts +2 -0
- package/dist/mcp/tools/host-accounts.js +114 -0
- package/dist/mcp/tools/memory.d.ts +7 -1
- package/dist/mcp/tools/memory.js +5 -5
- package/dist/mcp/tools/repositories.d.ts +2 -0
- package/dist/mcp/tools/repositories.js +181 -0
- package/dist/mcp/tools/runs.d.ts +6 -0
- package/dist/mcp/tools/runs.js +60 -6
- package/dist/mcp/tools/scheduling.js +4 -7
- package/dist/mcp/tools/secret-elicitation-form.d.ts +1 -1
- package/dist/mcp/tools/secret-elicitation-form.js +10 -28
- package/dist/mcp/tools/secret-elicitation.d.ts +1 -1
- package/dist/mcp/tools/secrets.js +18 -6
- package/dist/mcp/tools/services.d.ts +2 -0
- package/dist/mcp/tools/services.js +222 -0
- package/dist/mcp/tools/subagents.js +53 -17
- package/dist/mcp/tools/tools.d.ts +41 -0
- package/dist/mcp/tools/tools.js +202 -41
- package/dist/mcp/tools/trigger.js +36 -6
- package/dist/mcp/tools/webhooks.js +15 -4
- package/dist/mcp/transport/streamable-http.d.ts +11 -1
- package/dist/mcp/transport/streamable-http.js +32 -2
- package/dist/mcp/unattended-schedules.d.ts +1 -1
- package/dist/mcp/webhooks/ingress.d.ts +1 -1
- package/dist/providers/auth/delegating.d.ts +19 -0
- package/dist/providers/auth/delegating.js +71 -0
- package/dist/providers/auth/index.d.ts +3 -1
- package/dist/providers/auth/index.js +11 -0
- package/dist/providers/auth/self-hosted.d.ts +4 -3
- package/dist/providers/auth/self-hosted.js +16 -4
- package/dist/providers/auth/types.d.ts +6 -0
- package/dist/providers/coding-proxy/memory-ledger.d.ts +3 -0
- package/dist/providers/coding-proxy/memory-ledger.js +21 -2
- package/dist/providers/coding-proxy/metering.d.ts +4 -0
- package/dist/providers/coding-proxy/metering.js +28 -2
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +18 -1
- package/dist/providers/coding-proxy/prisma-ledger.js +50 -5
- package/dist/providers/coding-proxy/proxy.d.ts +13 -0
- package/dist/providers/coding-proxy/proxy.js +479 -18
- package/dist/providers/coding-proxy/registry/audit.d.ts +131 -0
- package/dist/providers/coding-proxy/registry/audit.js +380 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.d.ts +16 -0
- package/dist/providers/coding-proxy/registry/bounded-fetch.js +77 -0
- package/dist/providers/coding-proxy/registry/plan.d.ts +58 -0
- package/dist/providers/coding-proxy/registry/plan.js +304 -0
- package/dist/providers/coding-proxy/registry/prisma-store.d.ts +34 -0
- package/dist/providers/coding-proxy/registry/prisma-store.js +151 -0
- package/dist/providers/coding-proxy/registry/service.d.ts +213 -0
- package/dist/providers/coding-proxy/registry/service.js +1137 -0
- package/dist/providers/coding-proxy/registry/store.d.ts +127 -0
- package/dist/providers/coding-proxy/registry/store.js +70 -0
- package/dist/providers/coding-proxy/runtime.d.ts +18 -1
- package/dist/providers/coding-proxy/runtime.js +63 -0
- package/dist/providers/coding-proxy/secure-fetch.js +0 -1
- package/dist/providers/coding-proxy/server.d.ts +11 -0
- package/dist/providers/coding-proxy/server.js +163 -0
- package/dist/providers/coding-proxy/types.d.ts +15 -0
- package/dist/providers/datastore/postgres.d.ts +1 -1
- package/dist/providers/engine/types.d.ts +10 -0
- package/dist/providers/executor/build.d.ts +3 -3
- package/dist/providers/executor/composition.d.ts +4 -1
- package/dist/providers/executor/composition.js +19 -0
- package/dist/providers/executor/container.d.ts +106 -4
- package/dist/providers/executor/container.js +305 -22
- package/dist/providers/executor/dbos.d.ts +3 -4
- package/dist/providers/executor/in-process.d.ts +2 -3
- package/dist/providers/executor/routing.d.ts +7 -0
- package/dist/providers/executor/routing.js +13 -0
- package/dist/providers/executor/types.d.ts +22 -0
- package/dist/providers/jobs/claude-tool-setup.d.ts +23 -0
- package/dist/providers/jobs/claude-tool-setup.js +50 -0
- package/dist/providers/jobs/collect-prune.d.ts +7 -0
- package/dist/providers/jobs/collect-prune.js +27 -0
- package/dist/providers/jobs/docker-isolation.d.ts +48 -3
- package/dist/providers/jobs/docker-isolation.js +213 -22
- package/dist/providers/jobs/docker-services.d.ts +35 -0
- package/dist/providers/jobs/docker-services.js +191 -0
- package/dist/providers/jobs/docker.d.ts +60 -2
- package/dist/providers/jobs/docker.js +313 -50
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +1 -0
- package/dist/providers/jobs/fake-kubernetes-api.js +12 -3
- package/dist/providers/jobs/kubernetes-isolation.d.ts +17 -2
- package/dist/providers/jobs/kubernetes-isolation.js +238 -57
- package/dist/providers/jobs/kubernetes-platform.d.ts +10 -4
- package/dist/providers/jobs/kubernetes-platform.js +11 -5
- package/dist/providers/jobs/kubernetes-preflight.js +3 -0
- package/dist/providers/jobs/kubernetes.d.ts +21 -2
- package/dist/providers/jobs/kubernetes.js +117 -31
- package/dist/providers/jobs/types.d.ts +20 -0
- package/dist/providers/llm/anthropic.js +6 -2
- package/dist/providers/llm/bedrock.js +2 -1
- package/dist/providers/llm/claude-messages.d.ts +5 -1
- package/dist/providers/llm/claude-messages.js +1 -0
- package/dist/providers/llm/claude-provider.d.ts +3 -1
- package/dist/providers/llm/claude-provider.js +5 -1
- package/dist/providers/llm/index.d.ts +1 -1
- package/dist/providers/llm/index.js +1 -1
- package/dist/providers/llm/pricing-anthropic.d.ts +10 -0
- package/dist/providers/llm/pricing-anthropic.js +32 -14
- package/dist/providers/llm/pricing-bedrock-claude.d.ts +8 -0
- package/dist/providers/llm/pricing-bedrock-claude.js +9 -0
- package/dist/providers/llm/routing.d.ts +10 -1
- package/dist/providers/llm/routing.js +18 -0
- package/dist/providers/llm/types.d.ts +12 -0
- package/dist/providers/llm/types.js +8 -1
- package/dist/providers/memory/postgres.d.ts +1 -1
- package/dist/providers/review-host/diff-lines.d.ts +16 -0
- package/dist/providers/review-host/diff-lines.js +59 -0
- package/dist/providers/review-host/github-events.d.ts +6 -0
- package/dist/providers/review-host/github-events.js +180 -0
- package/dist/providers/review-host/github-user-auth.d.ts +38 -0
- package/dist/providers/review-host/github-user-auth.js +128 -0
- package/dist/providers/review-host/github.d.ts +57 -0
- package/dist/providers/review-host/github.js +567 -0
- package/dist/providers/review-host/index.d.ts +12 -0
- package/dist/providers/review-host/index.js +30 -0
- package/dist/providers/review-host/review-format.d.ts +19 -0
- package/dist/providers/review-host/review-format.js +59 -0
- package/dist/providers/review-host/types.d.ts +284 -0
- package/dist/providers/review-host/types.js +24 -0
- package/dist/providers/vcs/git.d.ts +16 -6
- package/dist/providers/vcs/git.js +79 -14
- package/dist/providers/vcs/github.d.ts +74 -3
- package/dist/providers/vcs/github.js +195 -15
- package/dist/providers/vcs/types.d.ts +42 -4
- package/dist/quickstart/index.js +34 -32
- package/dist/quickstart/migrate.d.ts +23 -0
- package/dist/quickstart/migrate.js +125 -0
- package/dist/sandbox/fetch-policy.d.ts +20 -2
- package/dist/sandbox/fetch-policy.js +64 -3
- package/dist/sandbox/host-functions.d.ts +9 -1
- package/dist/sandbox/host-functions.js +12 -5
- package/dist/serve.js +1 -1
- package/dist/wardby-bin.js +6 -0
- package/docs/README.md +30 -0
- package/docs/architecture-runtime.md +90 -0
- package/docs/assets/brand/wardby-icon-512.png +0 -0
- package/docs/assets/brand/wardby-icon.svg +16 -0
- package/docs/assets/brand/wardby-mascot-profile-512.png +0 -0
- package/docs/assets/brand/wardby-mascot.png +0 -0
- package/docs/assets/brand/wardby-mascot.svg +5 -0
- package/docs/assets/wardby-workflow.svg +106 -0
- package/docs/code-review-agents.md +481 -0
- package/docs/coding-agent-setup.md +172 -0
- package/docs/coding-packages.md +455 -0
- package/docs/coding-services.md +300 -0
- package/docs/coding-worker-byo-images.md +98 -0
- package/docs/coding-worker-isolation.md +1061 -0
- package/docs/getting-started-gke.md +615 -0
- package/docs/getting-started-identity-provider.md +308 -0
- package/docs/getting-started.md +133 -0
- package/docs/observability.md +53 -0
- package/docs/release-verification.md +66 -0
- package/docs/security-deployment.md +657 -0
- package/help/code-review-agents.md +31 -0
- package/help/coding-packages.md +31 -0
- package/help/coding-services.md +71 -0
- package/help/creating-agents.md +68 -0
- package/help/deploy-gke.md +39 -0
- package/help/deployment-targets.md +39 -0
- package/help/errors/budget-group-exhausted.md +25 -0
- package/help/errors/docker-isolation-unsupported.md +26 -0
- package/help/errors/protected-path.md +45 -0
- package/help/errors/repo-access.md +27 -0
- package/help/errors/service-declaration-invalid.md +27 -0
- package/help/errors/service-declaration-unavailable.md +25 -0
- package/help/errors/service-launcher-unsupported.md +30 -0
- package/help/errors/service-not-allowed.md +27 -0
- package/help/errors/service-unknown.md +23 -0
- package/help/errors/service-unready.md +49 -0
- package/help/getting-started.md +31 -0
- package/help/github.md +30 -0
- package/help/identity-and-access.md +39 -0
- package/help/mcp.md +30 -0
- package/help/native-capabilities.md +30 -0
- package/help/observability.md +41 -0
- package/help/operating-agents.md +30 -0
- package/help/security.md +27 -0
- package/help/troubleshooting/budgets.md +26 -0
- package/help/troubleshooting/coding-workers.md +47 -0
- package/help/troubleshooting/repository-access.md +27 -0
- package/package.json +30 -11
- package/prisma/migrate.config.mjs +20 -0
- package/prisma/migrations/20260925010000_coding_collect_exclude/migration.sql +8 -0
- package/prisma/migrations/20260925015000_allowed_egress_default/migration.sql +8 -0
- package/prisma/migrations/20260925020000_coding_package_registry/migration.sql +55 -0
- package/prisma/migrations/20260925030000_tool_name_per_owner/migration.sql +11 -0
- package/prisma/migrations/20260926010000_run_trigger_host_event/migration.sql +7 -0
- package/prisma/migrations/20260926020000_code_review_hosts/migration.sql +53 -0
- package/prisma/migrations/20260926030000_auth_user_roles/migration.sql +9 -0
- package/prisma/migrations/20260926040000_agent_effort/migration.sql +6 -0
- package/prisma/migrations/20260926050000_registry_lockfile_plan/migration.sql +32 -0
- package/prisma/migrations/20260926050000_repo_access_authorization/migration.sql +82 -0
- package/prisma/migrations/20260926060000_registry_plan_refusal/migration.sql +19 -0
- package/prisma/migrations/20260926100000_registry_plan_refusal_published_at/migration.sql +5 -0
- package/prisma/migrations/20260926190000_run_host_status/migration.sql +18 -0
- package/prisma/migrations/20260926210000_run_host_status_at_dispatch/migration.sql +5 -0
- package/prisma/migrations/20260927010000_resource_grants/migration.sql +72 -0
- package/prisma/migrations/20260927020000_proxy_session_budget_exhausted/migration.sql +3 -0
- package/prisma/migrations/20260927030000_coding_debug_trace/migration.sql +4 -0
- package/prisma/migrations/20260927040000_proxy_session_upstream_failure/migration.sql +3 -0
- package/prisma/migrations/20260927050000_coding_run_services/migration.sql +74 -0
- package/prisma/migrations/20260928000000_coding_run_tool_image/migration.sql +5 -0
- package/prisma/schema.prisma +417 -23
|
@@ -0,0 +1,1434 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model Datastore
|
|
5
|
+
* Named, owned resource shared across agents via AgentDatastore (Un-phased
|
|
6
|
+
* roadmap item "Named / shared datastores"). Null ownerId = public/unowned,
|
|
7
|
+
* matching Tool's convention.
|
|
8
|
+
*/
|
|
9
|
+
export type DatastoreModel = runtime.Types.Result.DefaultSelection<Prisma.$DatastorePayload>;
|
|
10
|
+
export type AggregateDatastore = {
|
|
11
|
+
_count: DatastoreCountAggregateOutputType | null;
|
|
12
|
+
_min: DatastoreMinAggregateOutputType | null;
|
|
13
|
+
_max: DatastoreMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type DatastoreMinAggregateOutputType = {
|
|
16
|
+
id: string | null;
|
|
17
|
+
name: string | null;
|
|
18
|
+
ownerId: string | null;
|
|
19
|
+
createdAt: Date | null;
|
|
20
|
+
updatedAt: Date | null;
|
|
21
|
+
};
|
|
22
|
+
export type DatastoreMaxAggregateOutputType = {
|
|
23
|
+
id: string | null;
|
|
24
|
+
name: string | null;
|
|
25
|
+
ownerId: string | null;
|
|
26
|
+
createdAt: Date | null;
|
|
27
|
+
updatedAt: Date | null;
|
|
28
|
+
};
|
|
29
|
+
export type DatastoreCountAggregateOutputType = {
|
|
30
|
+
id: number;
|
|
31
|
+
name: number;
|
|
32
|
+
ownerId: number;
|
|
33
|
+
createdAt: number;
|
|
34
|
+
updatedAt: number;
|
|
35
|
+
_all: number;
|
|
36
|
+
};
|
|
37
|
+
export type DatastoreMinAggregateInputType = {
|
|
38
|
+
id?: true;
|
|
39
|
+
name?: true;
|
|
40
|
+
ownerId?: true;
|
|
41
|
+
createdAt?: true;
|
|
42
|
+
updatedAt?: true;
|
|
43
|
+
};
|
|
44
|
+
export type DatastoreMaxAggregateInputType = {
|
|
45
|
+
id?: true;
|
|
46
|
+
name?: true;
|
|
47
|
+
ownerId?: true;
|
|
48
|
+
createdAt?: true;
|
|
49
|
+
updatedAt?: true;
|
|
50
|
+
};
|
|
51
|
+
export type DatastoreCountAggregateInputType = {
|
|
52
|
+
id?: true;
|
|
53
|
+
name?: true;
|
|
54
|
+
ownerId?: true;
|
|
55
|
+
createdAt?: true;
|
|
56
|
+
updatedAt?: true;
|
|
57
|
+
_all?: true;
|
|
58
|
+
};
|
|
59
|
+
export type DatastoreAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
60
|
+
/**
|
|
61
|
+
* Filter which Datastore to aggregate.
|
|
62
|
+
*/
|
|
63
|
+
where?: Prisma.DatastoreWhereInput;
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
66
|
+
*
|
|
67
|
+
* Determine the order of Datastores to fetch.
|
|
68
|
+
*/
|
|
69
|
+
orderBy?: Prisma.DatastoreOrderByWithRelationInput | Prisma.DatastoreOrderByWithRelationInput[];
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
72
|
+
*
|
|
73
|
+
* Sets the start position
|
|
74
|
+
*/
|
|
75
|
+
cursor?: Prisma.DatastoreWhereUniqueInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
78
|
+
*
|
|
79
|
+
* Take `±n` Datastores from the position of the cursor.
|
|
80
|
+
*/
|
|
81
|
+
take?: number;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Skip the first `n` Datastores.
|
|
86
|
+
*/
|
|
87
|
+
skip?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Count returned Datastores
|
|
92
|
+
**/
|
|
93
|
+
_count?: true | DatastoreCountAggregateInputType;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Select which fields to find the minimum value
|
|
98
|
+
**/
|
|
99
|
+
_min?: DatastoreMinAggregateInputType;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to find the maximum value
|
|
104
|
+
**/
|
|
105
|
+
_max?: DatastoreMaxAggregateInputType;
|
|
106
|
+
};
|
|
107
|
+
export type GetDatastoreAggregateType<T extends DatastoreAggregateArgs> = {
|
|
108
|
+
[P in keyof T & keyof AggregateDatastore]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDatastore[P]> : Prisma.GetScalarType<T[P], AggregateDatastore[P]>;
|
|
109
|
+
};
|
|
110
|
+
export type DatastoreGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
111
|
+
where?: Prisma.DatastoreWhereInput;
|
|
112
|
+
orderBy?: Prisma.DatastoreOrderByWithAggregationInput | Prisma.DatastoreOrderByWithAggregationInput[];
|
|
113
|
+
by: Prisma.DatastoreScalarFieldEnum[] | Prisma.DatastoreScalarFieldEnum;
|
|
114
|
+
having?: Prisma.DatastoreScalarWhereWithAggregatesInput;
|
|
115
|
+
take?: number;
|
|
116
|
+
skip?: number;
|
|
117
|
+
_count?: DatastoreCountAggregateInputType | true;
|
|
118
|
+
_min?: DatastoreMinAggregateInputType;
|
|
119
|
+
_max?: DatastoreMaxAggregateInputType;
|
|
120
|
+
};
|
|
121
|
+
export type DatastoreGroupByOutputType = {
|
|
122
|
+
id: string;
|
|
123
|
+
name: string;
|
|
124
|
+
ownerId: string | null;
|
|
125
|
+
createdAt: Date;
|
|
126
|
+
updatedAt: Date;
|
|
127
|
+
_count: DatastoreCountAggregateOutputType | null;
|
|
128
|
+
_min: DatastoreMinAggregateOutputType | null;
|
|
129
|
+
_max: DatastoreMaxAggregateOutputType | null;
|
|
130
|
+
};
|
|
131
|
+
export type GetDatastoreGroupByPayload<T extends DatastoreGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DatastoreGroupByOutputType, T['by']> & {
|
|
132
|
+
[P in ((keyof T) & (keyof DatastoreGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DatastoreGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DatastoreGroupByOutputType[P]>;
|
|
133
|
+
}>>;
|
|
134
|
+
export type DatastoreWhereInput = {
|
|
135
|
+
AND?: Prisma.DatastoreWhereInput | Prisma.DatastoreWhereInput[];
|
|
136
|
+
OR?: Prisma.DatastoreWhereInput[];
|
|
137
|
+
NOT?: Prisma.DatastoreWhereInput | Prisma.DatastoreWhereInput[];
|
|
138
|
+
id?: Prisma.StringFilter<"Datastore"> | string;
|
|
139
|
+
name?: Prisma.StringFilter<"Datastore"> | string;
|
|
140
|
+
ownerId?: Prisma.StringNullableFilter<"Datastore"> | string | null;
|
|
141
|
+
createdAt?: Prisma.DateTimeFilter<"Datastore"> | Date | string;
|
|
142
|
+
updatedAt?: Prisma.DateTimeFilter<"Datastore"> | Date | string;
|
|
143
|
+
owner?: Prisma.XOR<Prisma.PrincipalNullableScalarRelationFilter, Prisma.PrincipalWhereInput> | null;
|
|
144
|
+
agents?: Prisma.AgentDatastoreListRelationFilter;
|
|
145
|
+
entries?: Prisma.DatastoreEntryListRelationFilter;
|
|
146
|
+
};
|
|
147
|
+
export type DatastoreOrderByWithRelationInput = {
|
|
148
|
+
id?: Prisma.SortOrder;
|
|
149
|
+
name?: Prisma.SortOrder;
|
|
150
|
+
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
151
|
+
createdAt?: Prisma.SortOrder;
|
|
152
|
+
updatedAt?: Prisma.SortOrder;
|
|
153
|
+
owner?: Prisma.PrincipalOrderByWithRelationInput;
|
|
154
|
+
agents?: Prisma.AgentDatastoreOrderByRelationAggregateInput;
|
|
155
|
+
entries?: Prisma.DatastoreEntryOrderByRelationAggregateInput;
|
|
156
|
+
};
|
|
157
|
+
export type DatastoreWhereUniqueInput = Prisma.AtLeast<{
|
|
158
|
+
id?: string;
|
|
159
|
+
ownerId_name?: Prisma.DatastoreOwnerIdNameCompoundUniqueInput;
|
|
160
|
+
AND?: Prisma.DatastoreWhereInput | Prisma.DatastoreWhereInput[];
|
|
161
|
+
OR?: Prisma.DatastoreWhereInput[];
|
|
162
|
+
NOT?: Prisma.DatastoreWhereInput | Prisma.DatastoreWhereInput[];
|
|
163
|
+
name?: Prisma.StringFilter<"Datastore"> | string;
|
|
164
|
+
ownerId?: Prisma.StringNullableFilter<"Datastore"> | string | null;
|
|
165
|
+
createdAt?: Prisma.DateTimeFilter<"Datastore"> | Date | string;
|
|
166
|
+
updatedAt?: Prisma.DateTimeFilter<"Datastore"> | Date | string;
|
|
167
|
+
owner?: Prisma.XOR<Prisma.PrincipalNullableScalarRelationFilter, Prisma.PrincipalWhereInput> | null;
|
|
168
|
+
agents?: Prisma.AgentDatastoreListRelationFilter;
|
|
169
|
+
entries?: Prisma.DatastoreEntryListRelationFilter;
|
|
170
|
+
}, "id" | "ownerId_name">;
|
|
171
|
+
export type DatastoreOrderByWithAggregationInput = {
|
|
172
|
+
id?: Prisma.SortOrder;
|
|
173
|
+
name?: Prisma.SortOrder;
|
|
174
|
+
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
175
|
+
createdAt?: Prisma.SortOrder;
|
|
176
|
+
updatedAt?: Prisma.SortOrder;
|
|
177
|
+
_count?: Prisma.DatastoreCountOrderByAggregateInput;
|
|
178
|
+
_max?: Prisma.DatastoreMaxOrderByAggregateInput;
|
|
179
|
+
_min?: Prisma.DatastoreMinOrderByAggregateInput;
|
|
180
|
+
};
|
|
181
|
+
export type DatastoreScalarWhereWithAggregatesInput = {
|
|
182
|
+
AND?: Prisma.DatastoreScalarWhereWithAggregatesInput | Prisma.DatastoreScalarWhereWithAggregatesInput[];
|
|
183
|
+
OR?: Prisma.DatastoreScalarWhereWithAggregatesInput[];
|
|
184
|
+
NOT?: Prisma.DatastoreScalarWhereWithAggregatesInput | Prisma.DatastoreScalarWhereWithAggregatesInput[];
|
|
185
|
+
id?: Prisma.StringWithAggregatesFilter<"Datastore"> | string;
|
|
186
|
+
name?: Prisma.StringWithAggregatesFilter<"Datastore"> | string;
|
|
187
|
+
ownerId?: Prisma.StringNullableWithAggregatesFilter<"Datastore"> | string | null;
|
|
188
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Datastore"> | Date | string;
|
|
189
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Datastore"> | Date | string;
|
|
190
|
+
};
|
|
191
|
+
export type DatastoreCreateInput = {
|
|
192
|
+
id?: string;
|
|
193
|
+
name: string;
|
|
194
|
+
createdAt?: Date | string;
|
|
195
|
+
updatedAt?: Date | string;
|
|
196
|
+
owner?: Prisma.PrincipalCreateNestedOneWithoutDatastoresInput;
|
|
197
|
+
agents?: Prisma.AgentDatastoreCreateNestedManyWithoutDatastoreInput;
|
|
198
|
+
entries?: Prisma.DatastoreEntryCreateNestedManyWithoutDatastoreInput;
|
|
199
|
+
};
|
|
200
|
+
export type DatastoreUncheckedCreateInput = {
|
|
201
|
+
id?: string;
|
|
202
|
+
name: string;
|
|
203
|
+
ownerId?: string | null;
|
|
204
|
+
createdAt?: Date | string;
|
|
205
|
+
updatedAt?: Date | string;
|
|
206
|
+
agents?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutDatastoreInput;
|
|
207
|
+
entries?: Prisma.DatastoreEntryUncheckedCreateNestedManyWithoutDatastoreInput;
|
|
208
|
+
};
|
|
209
|
+
export type DatastoreUpdateInput = {
|
|
210
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
211
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
212
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
213
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
214
|
+
owner?: Prisma.PrincipalUpdateOneWithoutDatastoresNestedInput;
|
|
215
|
+
agents?: Prisma.AgentDatastoreUpdateManyWithoutDatastoreNestedInput;
|
|
216
|
+
entries?: Prisma.DatastoreEntryUpdateManyWithoutDatastoreNestedInput;
|
|
217
|
+
};
|
|
218
|
+
export type DatastoreUncheckedUpdateInput = {
|
|
219
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
220
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
221
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
222
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
223
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
224
|
+
agents?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutDatastoreNestedInput;
|
|
225
|
+
entries?: Prisma.DatastoreEntryUncheckedUpdateManyWithoutDatastoreNestedInput;
|
|
226
|
+
};
|
|
227
|
+
export type DatastoreCreateManyInput = {
|
|
228
|
+
id?: string;
|
|
229
|
+
name: string;
|
|
230
|
+
ownerId?: string | null;
|
|
231
|
+
createdAt?: Date | string;
|
|
232
|
+
updatedAt?: Date | string;
|
|
233
|
+
};
|
|
234
|
+
export type DatastoreUpdateManyMutationInput = {
|
|
235
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
236
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
237
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
238
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
239
|
+
};
|
|
240
|
+
export type DatastoreUncheckedUpdateManyInput = {
|
|
241
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
242
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
243
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
244
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
245
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
246
|
+
};
|
|
247
|
+
export type DatastoreOwnerIdNameCompoundUniqueInput = {
|
|
248
|
+
ownerId: string;
|
|
249
|
+
name: string;
|
|
250
|
+
};
|
|
251
|
+
export type DatastoreCountOrderByAggregateInput = {
|
|
252
|
+
id?: Prisma.SortOrder;
|
|
253
|
+
name?: Prisma.SortOrder;
|
|
254
|
+
ownerId?: Prisma.SortOrder;
|
|
255
|
+
createdAt?: Prisma.SortOrder;
|
|
256
|
+
updatedAt?: Prisma.SortOrder;
|
|
257
|
+
};
|
|
258
|
+
export type DatastoreMaxOrderByAggregateInput = {
|
|
259
|
+
id?: Prisma.SortOrder;
|
|
260
|
+
name?: Prisma.SortOrder;
|
|
261
|
+
ownerId?: Prisma.SortOrder;
|
|
262
|
+
createdAt?: Prisma.SortOrder;
|
|
263
|
+
updatedAt?: Prisma.SortOrder;
|
|
264
|
+
};
|
|
265
|
+
export type DatastoreMinOrderByAggregateInput = {
|
|
266
|
+
id?: Prisma.SortOrder;
|
|
267
|
+
name?: Prisma.SortOrder;
|
|
268
|
+
ownerId?: Prisma.SortOrder;
|
|
269
|
+
createdAt?: Prisma.SortOrder;
|
|
270
|
+
updatedAt?: Prisma.SortOrder;
|
|
271
|
+
};
|
|
272
|
+
export type DatastoreScalarRelationFilter = {
|
|
273
|
+
is?: Prisma.DatastoreWhereInput;
|
|
274
|
+
isNot?: Prisma.DatastoreWhereInput;
|
|
275
|
+
};
|
|
276
|
+
export type DatastoreNullableScalarRelationFilter = {
|
|
277
|
+
is?: Prisma.DatastoreWhereInput | null;
|
|
278
|
+
isNot?: Prisma.DatastoreWhereInput | null;
|
|
279
|
+
};
|
|
280
|
+
export type DatastoreListRelationFilter = {
|
|
281
|
+
every?: Prisma.DatastoreWhereInput;
|
|
282
|
+
some?: Prisma.DatastoreWhereInput;
|
|
283
|
+
none?: Prisma.DatastoreWhereInput;
|
|
284
|
+
};
|
|
285
|
+
export type DatastoreOrderByRelationAggregateInput = {
|
|
286
|
+
_count?: Prisma.SortOrder;
|
|
287
|
+
};
|
|
288
|
+
export type DatastoreCreateNestedOneWithoutAgentsInput = {
|
|
289
|
+
create?: Prisma.XOR<Prisma.DatastoreCreateWithoutAgentsInput, Prisma.DatastoreUncheckedCreateWithoutAgentsInput>;
|
|
290
|
+
connectOrCreate?: Prisma.DatastoreCreateOrConnectWithoutAgentsInput;
|
|
291
|
+
connect?: Prisma.DatastoreWhereUniqueInput;
|
|
292
|
+
};
|
|
293
|
+
export type DatastoreUpdateOneRequiredWithoutAgentsNestedInput = {
|
|
294
|
+
create?: Prisma.XOR<Prisma.DatastoreCreateWithoutAgentsInput, Prisma.DatastoreUncheckedCreateWithoutAgentsInput>;
|
|
295
|
+
connectOrCreate?: Prisma.DatastoreCreateOrConnectWithoutAgentsInput;
|
|
296
|
+
upsert?: Prisma.DatastoreUpsertWithoutAgentsInput;
|
|
297
|
+
connect?: Prisma.DatastoreWhereUniqueInput;
|
|
298
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DatastoreUpdateToOneWithWhereWithoutAgentsInput, Prisma.DatastoreUpdateWithoutAgentsInput>, Prisma.DatastoreUncheckedUpdateWithoutAgentsInput>;
|
|
299
|
+
};
|
|
300
|
+
export type DatastoreCreateNestedOneWithoutEntriesInput = {
|
|
301
|
+
create?: Prisma.XOR<Prisma.DatastoreCreateWithoutEntriesInput, Prisma.DatastoreUncheckedCreateWithoutEntriesInput>;
|
|
302
|
+
connectOrCreate?: Prisma.DatastoreCreateOrConnectWithoutEntriesInput;
|
|
303
|
+
connect?: Prisma.DatastoreWhereUniqueInput;
|
|
304
|
+
};
|
|
305
|
+
export type DatastoreUpdateOneWithoutEntriesNestedInput = {
|
|
306
|
+
create?: Prisma.XOR<Prisma.DatastoreCreateWithoutEntriesInput, Prisma.DatastoreUncheckedCreateWithoutEntriesInput>;
|
|
307
|
+
connectOrCreate?: Prisma.DatastoreCreateOrConnectWithoutEntriesInput;
|
|
308
|
+
upsert?: Prisma.DatastoreUpsertWithoutEntriesInput;
|
|
309
|
+
disconnect?: Prisma.DatastoreWhereInput | boolean;
|
|
310
|
+
delete?: Prisma.DatastoreWhereInput | boolean;
|
|
311
|
+
connect?: Prisma.DatastoreWhereUniqueInput;
|
|
312
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DatastoreUpdateToOneWithWhereWithoutEntriesInput, Prisma.DatastoreUpdateWithoutEntriesInput>, Prisma.DatastoreUncheckedUpdateWithoutEntriesInput>;
|
|
313
|
+
};
|
|
314
|
+
export type DatastoreCreateNestedManyWithoutOwnerInput = {
|
|
315
|
+
create?: Prisma.XOR<Prisma.DatastoreCreateWithoutOwnerInput, Prisma.DatastoreUncheckedCreateWithoutOwnerInput> | Prisma.DatastoreCreateWithoutOwnerInput[] | Prisma.DatastoreUncheckedCreateWithoutOwnerInput[];
|
|
316
|
+
connectOrCreate?: Prisma.DatastoreCreateOrConnectWithoutOwnerInput | Prisma.DatastoreCreateOrConnectWithoutOwnerInput[];
|
|
317
|
+
createMany?: Prisma.DatastoreCreateManyOwnerInputEnvelope;
|
|
318
|
+
connect?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
319
|
+
};
|
|
320
|
+
export type DatastoreUncheckedCreateNestedManyWithoutOwnerInput = {
|
|
321
|
+
create?: Prisma.XOR<Prisma.DatastoreCreateWithoutOwnerInput, Prisma.DatastoreUncheckedCreateWithoutOwnerInput> | Prisma.DatastoreCreateWithoutOwnerInput[] | Prisma.DatastoreUncheckedCreateWithoutOwnerInput[];
|
|
322
|
+
connectOrCreate?: Prisma.DatastoreCreateOrConnectWithoutOwnerInput | Prisma.DatastoreCreateOrConnectWithoutOwnerInput[];
|
|
323
|
+
createMany?: Prisma.DatastoreCreateManyOwnerInputEnvelope;
|
|
324
|
+
connect?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
325
|
+
};
|
|
326
|
+
export type DatastoreUpdateManyWithoutOwnerNestedInput = {
|
|
327
|
+
create?: Prisma.XOR<Prisma.DatastoreCreateWithoutOwnerInput, Prisma.DatastoreUncheckedCreateWithoutOwnerInput> | Prisma.DatastoreCreateWithoutOwnerInput[] | Prisma.DatastoreUncheckedCreateWithoutOwnerInput[];
|
|
328
|
+
connectOrCreate?: Prisma.DatastoreCreateOrConnectWithoutOwnerInput | Prisma.DatastoreCreateOrConnectWithoutOwnerInput[];
|
|
329
|
+
upsert?: Prisma.DatastoreUpsertWithWhereUniqueWithoutOwnerInput | Prisma.DatastoreUpsertWithWhereUniqueWithoutOwnerInput[];
|
|
330
|
+
createMany?: Prisma.DatastoreCreateManyOwnerInputEnvelope;
|
|
331
|
+
set?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
332
|
+
disconnect?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
333
|
+
delete?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
334
|
+
connect?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
335
|
+
update?: Prisma.DatastoreUpdateWithWhereUniqueWithoutOwnerInput | Prisma.DatastoreUpdateWithWhereUniqueWithoutOwnerInput[];
|
|
336
|
+
updateMany?: Prisma.DatastoreUpdateManyWithWhereWithoutOwnerInput | Prisma.DatastoreUpdateManyWithWhereWithoutOwnerInput[];
|
|
337
|
+
deleteMany?: Prisma.DatastoreScalarWhereInput | Prisma.DatastoreScalarWhereInput[];
|
|
338
|
+
};
|
|
339
|
+
export type DatastoreUncheckedUpdateManyWithoutOwnerNestedInput = {
|
|
340
|
+
create?: Prisma.XOR<Prisma.DatastoreCreateWithoutOwnerInput, Prisma.DatastoreUncheckedCreateWithoutOwnerInput> | Prisma.DatastoreCreateWithoutOwnerInput[] | Prisma.DatastoreUncheckedCreateWithoutOwnerInput[];
|
|
341
|
+
connectOrCreate?: Prisma.DatastoreCreateOrConnectWithoutOwnerInput | Prisma.DatastoreCreateOrConnectWithoutOwnerInput[];
|
|
342
|
+
upsert?: Prisma.DatastoreUpsertWithWhereUniqueWithoutOwnerInput | Prisma.DatastoreUpsertWithWhereUniqueWithoutOwnerInput[];
|
|
343
|
+
createMany?: Prisma.DatastoreCreateManyOwnerInputEnvelope;
|
|
344
|
+
set?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
345
|
+
disconnect?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
346
|
+
delete?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
347
|
+
connect?: Prisma.DatastoreWhereUniqueInput | Prisma.DatastoreWhereUniqueInput[];
|
|
348
|
+
update?: Prisma.DatastoreUpdateWithWhereUniqueWithoutOwnerInput | Prisma.DatastoreUpdateWithWhereUniqueWithoutOwnerInput[];
|
|
349
|
+
updateMany?: Prisma.DatastoreUpdateManyWithWhereWithoutOwnerInput | Prisma.DatastoreUpdateManyWithWhereWithoutOwnerInput[];
|
|
350
|
+
deleteMany?: Prisma.DatastoreScalarWhereInput | Prisma.DatastoreScalarWhereInput[];
|
|
351
|
+
};
|
|
352
|
+
export type DatastoreCreateWithoutAgentsInput = {
|
|
353
|
+
id?: string;
|
|
354
|
+
name: string;
|
|
355
|
+
createdAt?: Date | string;
|
|
356
|
+
updatedAt?: Date | string;
|
|
357
|
+
owner?: Prisma.PrincipalCreateNestedOneWithoutDatastoresInput;
|
|
358
|
+
entries?: Prisma.DatastoreEntryCreateNestedManyWithoutDatastoreInput;
|
|
359
|
+
};
|
|
360
|
+
export type DatastoreUncheckedCreateWithoutAgentsInput = {
|
|
361
|
+
id?: string;
|
|
362
|
+
name: string;
|
|
363
|
+
ownerId?: string | null;
|
|
364
|
+
createdAt?: Date | string;
|
|
365
|
+
updatedAt?: Date | string;
|
|
366
|
+
entries?: Prisma.DatastoreEntryUncheckedCreateNestedManyWithoutDatastoreInput;
|
|
367
|
+
};
|
|
368
|
+
export type DatastoreCreateOrConnectWithoutAgentsInput = {
|
|
369
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
370
|
+
create: Prisma.XOR<Prisma.DatastoreCreateWithoutAgentsInput, Prisma.DatastoreUncheckedCreateWithoutAgentsInput>;
|
|
371
|
+
};
|
|
372
|
+
export type DatastoreUpsertWithoutAgentsInput = {
|
|
373
|
+
update: Prisma.XOR<Prisma.DatastoreUpdateWithoutAgentsInput, Prisma.DatastoreUncheckedUpdateWithoutAgentsInput>;
|
|
374
|
+
create: Prisma.XOR<Prisma.DatastoreCreateWithoutAgentsInput, Prisma.DatastoreUncheckedCreateWithoutAgentsInput>;
|
|
375
|
+
where?: Prisma.DatastoreWhereInput;
|
|
376
|
+
};
|
|
377
|
+
export type DatastoreUpdateToOneWithWhereWithoutAgentsInput = {
|
|
378
|
+
where?: Prisma.DatastoreWhereInput;
|
|
379
|
+
data: Prisma.XOR<Prisma.DatastoreUpdateWithoutAgentsInput, Prisma.DatastoreUncheckedUpdateWithoutAgentsInput>;
|
|
380
|
+
};
|
|
381
|
+
export type DatastoreUpdateWithoutAgentsInput = {
|
|
382
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
383
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
384
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
385
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
386
|
+
owner?: Prisma.PrincipalUpdateOneWithoutDatastoresNestedInput;
|
|
387
|
+
entries?: Prisma.DatastoreEntryUpdateManyWithoutDatastoreNestedInput;
|
|
388
|
+
};
|
|
389
|
+
export type DatastoreUncheckedUpdateWithoutAgentsInput = {
|
|
390
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
391
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
392
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
393
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
394
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
395
|
+
entries?: Prisma.DatastoreEntryUncheckedUpdateManyWithoutDatastoreNestedInput;
|
|
396
|
+
};
|
|
397
|
+
export type DatastoreCreateWithoutEntriesInput = {
|
|
398
|
+
id?: string;
|
|
399
|
+
name: string;
|
|
400
|
+
createdAt?: Date | string;
|
|
401
|
+
updatedAt?: Date | string;
|
|
402
|
+
owner?: Prisma.PrincipalCreateNestedOneWithoutDatastoresInput;
|
|
403
|
+
agents?: Prisma.AgentDatastoreCreateNestedManyWithoutDatastoreInput;
|
|
404
|
+
};
|
|
405
|
+
export type DatastoreUncheckedCreateWithoutEntriesInput = {
|
|
406
|
+
id?: string;
|
|
407
|
+
name: string;
|
|
408
|
+
ownerId?: string | null;
|
|
409
|
+
createdAt?: Date | string;
|
|
410
|
+
updatedAt?: Date | string;
|
|
411
|
+
agents?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutDatastoreInput;
|
|
412
|
+
};
|
|
413
|
+
export type DatastoreCreateOrConnectWithoutEntriesInput = {
|
|
414
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
415
|
+
create: Prisma.XOR<Prisma.DatastoreCreateWithoutEntriesInput, Prisma.DatastoreUncheckedCreateWithoutEntriesInput>;
|
|
416
|
+
};
|
|
417
|
+
export type DatastoreUpsertWithoutEntriesInput = {
|
|
418
|
+
update: Prisma.XOR<Prisma.DatastoreUpdateWithoutEntriesInput, Prisma.DatastoreUncheckedUpdateWithoutEntriesInput>;
|
|
419
|
+
create: Prisma.XOR<Prisma.DatastoreCreateWithoutEntriesInput, Prisma.DatastoreUncheckedCreateWithoutEntriesInput>;
|
|
420
|
+
where?: Prisma.DatastoreWhereInput;
|
|
421
|
+
};
|
|
422
|
+
export type DatastoreUpdateToOneWithWhereWithoutEntriesInput = {
|
|
423
|
+
where?: Prisma.DatastoreWhereInput;
|
|
424
|
+
data: Prisma.XOR<Prisma.DatastoreUpdateWithoutEntriesInput, Prisma.DatastoreUncheckedUpdateWithoutEntriesInput>;
|
|
425
|
+
};
|
|
426
|
+
export type DatastoreUpdateWithoutEntriesInput = {
|
|
427
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
428
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
429
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
430
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
431
|
+
owner?: Prisma.PrincipalUpdateOneWithoutDatastoresNestedInput;
|
|
432
|
+
agents?: Prisma.AgentDatastoreUpdateManyWithoutDatastoreNestedInput;
|
|
433
|
+
};
|
|
434
|
+
export type DatastoreUncheckedUpdateWithoutEntriesInput = {
|
|
435
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
436
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
437
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
438
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
439
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
440
|
+
agents?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutDatastoreNestedInput;
|
|
441
|
+
};
|
|
442
|
+
export type DatastoreCreateWithoutOwnerInput = {
|
|
443
|
+
id?: string;
|
|
444
|
+
name: string;
|
|
445
|
+
createdAt?: Date | string;
|
|
446
|
+
updatedAt?: Date | string;
|
|
447
|
+
agents?: Prisma.AgentDatastoreCreateNestedManyWithoutDatastoreInput;
|
|
448
|
+
entries?: Prisma.DatastoreEntryCreateNestedManyWithoutDatastoreInput;
|
|
449
|
+
};
|
|
450
|
+
export type DatastoreUncheckedCreateWithoutOwnerInput = {
|
|
451
|
+
id?: string;
|
|
452
|
+
name: string;
|
|
453
|
+
createdAt?: Date | string;
|
|
454
|
+
updatedAt?: Date | string;
|
|
455
|
+
agents?: Prisma.AgentDatastoreUncheckedCreateNestedManyWithoutDatastoreInput;
|
|
456
|
+
entries?: Prisma.DatastoreEntryUncheckedCreateNestedManyWithoutDatastoreInput;
|
|
457
|
+
};
|
|
458
|
+
export type DatastoreCreateOrConnectWithoutOwnerInput = {
|
|
459
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
460
|
+
create: Prisma.XOR<Prisma.DatastoreCreateWithoutOwnerInput, Prisma.DatastoreUncheckedCreateWithoutOwnerInput>;
|
|
461
|
+
};
|
|
462
|
+
export type DatastoreCreateManyOwnerInputEnvelope = {
|
|
463
|
+
data: Prisma.DatastoreCreateManyOwnerInput | Prisma.DatastoreCreateManyOwnerInput[];
|
|
464
|
+
skipDuplicates?: boolean;
|
|
465
|
+
};
|
|
466
|
+
export type DatastoreUpsertWithWhereUniqueWithoutOwnerInput = {
|
|
467
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
468
|
+
update: Prisma.XOR<Prisma.DatastoreUpdateWithoutOwnerInput, Prisma.DatastoreUncheckedUpdateWithoutOwnerInput>;
|
|
469
|
+
create: Prisma.XOR<Prisma.DatastoreCreateWithoutOwnerInput, Prisma.DatastoreUncheckedCreateWithoutOwnerInput>;
|
|
470
|
+
};
|
|
471
|
+
export type DatastoreUpdateWithWhereUniqueWithoutOwnerInput = {
|
|
472
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
473
|
+
data: Prisma.XOR<Prisma.DatastoreUpdateWithoutOwnerInput, Prisma.DatastoreUncheckedUpdateWithoutOwnerInput>;
|
|
474
|
+
};
|
|
475
|
+
export type DatastoreUpdateManyWithWhereWithoutOwnerInput = {
|
|
476
|
+
where: Prisma.DatastoreScalarWhereInput;
|
|
477
|
+
data: Prisma.XOR<Prisma.DatastoreUpdateManyMutationInput, Prisma.DatastoreUncheckedUpdateManyWithoutOwnerInput>;
|
|
478
|
+
};
|
|
479
|
+
export type DatastoreScalarWhereInput = {
|
|
480
|
+
AND?: Prisma.DatastoreScalarWhereInput | Prisma.DatastoreScalarWhereInput[];
|
|
481
|
+
OR?: Prisma.DatastoreScalarWhereInput[];
|
|
482
|
+
NOT?: Prisma.DatastoreScalarWhereInput | Prisma.DatastoreScalarWhereInput[];
|
|
483
|
+
id?: Prisma.StringFilter<"Datastore"> | string;
|
|
484
|
+
name?: Prisma.StringFilter<"Datastore"> | string;
|
|
485
|
+
ownerId?: Prisma.StringNullableFilter<"Datastore"> | string | null;
|
|
486
|
+
createdAt?: Prisma.DateTimeFilter<"Datastore"> | Date | string;
|
|
487
|
+
updatedAt?: Prisma.DateTimeFilter<"Datastore"> | Date | string;
|
|
488
|
+
};
|
|
489
|
+
export type DatastoreCreateManyOwnerInput = {
|
|
490
|
+
id?: string;
|
|
491
|
+
name: string;
|
|
492
|
+
createdAt?: Date | string;
|
|
493
|
+
updatedAt?: Date | string;
|
|
494
|
+
};
|
|
495
|
+
export type DatastoreUpdateWithoutOwnerInput = {
|
|
496
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
497
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
498
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
499
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
500
|
+
agents?: Prisma.AgentDatastoreUpdateManyWithoutDatastoreNestedInput;
|
|
501
|
+
entries?: Prisma.DatastoreEntryUpdateManyWithoutDatastoreNestedInput;
|
|
502
|
+
};
|
|
503
|
+
export type DatastoreUncheckedUpdateWithoutOwnerInput = {
|
|
504
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
505
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
506
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
507
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
508
|
+
agents?: Prisma.AgentDatastoreUncheckedUpdateManyWithoutDatastoreNestedInput;
|
|
509
|
+
entries?: Prisma.DatastoreEntryUncheckedUpdateManyWithoutDatastoreNestedInput;
|
|
510
|
+
};
|
|
511
|
+
export type DatastoreUncheckedUpdateManyWithoutOwnerInput = {
|
|
512
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
513
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
514
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
515
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
* Count Type DatastoreCountOutputType
|
|
519
|
+
*/
|
|
520
|
+
export type DatastoreCountOutputType = {
|
|
521
|
+
agents: number;
|
|
522
|
+
entries: number;
|
|
523
|
+
};
|
|
524
|
+
export type DatastoreCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
525
|
+
agents?: boolean | DatastoreCountOutputTypeCountAgentsArgs;
|
|
526
|
+
entries?: boolean | DatastoreCountOutputTypeCountEntriesArgs;
|
|
527
|
+
};
|
|
528
|
+
/**
|
|
529
|
+
* DatastoreCountOutputType without action
|
|
530
|
+
*/
|
|
531
|
+
export type DatastoreCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
532
|
+
/**
|
|
533
|
+
* Select specific fields to fetch from the DatastoreCountOutputType
|
|
534
|
+
*/
|
|
535
|
+
select?: Prisma.DatastoreCountOutputTypeSelect<ExtArgs> | null;
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* DatastoreCountOutputType without action
|
|
539
|
+
*/
|
|
540
|
+
export type DatastoreCountOutputTypeCountAgentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
541
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* DatastoreCountOutputType without action
|
|
545
|
+
*/
|
|
546
|
+
export type DatastoreCountOutputTypeCountEntriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
547
|
+
where?: Prisma.DatastoreEntryWhereInput;
|
|
548
|
+
};
|
|
549
|
+
export type DatastoreSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
550
|
+
id?: boolean;
|
|
551
|
+
name?: boolean;
|
|
552
|
+
ownerId?: boolean;
|
|
553
|
+
createdAt?: boolean;
|
|
554
|
+
updatedAt?: boolean;
|
|
555
|
+
owner?: boolean | Prisma.Datastore$ownerArgs<ExtArgs>;
|
|
556
|
+
agents?: boolean | Prisma.Datastore$agentsArgs<ExtArgs>;
|
|
557
|
+
entries?: boolean | Prisma.Datastore$entriesArgs<ExtArgs>;
|
|
558
|
+
_count?: boolean | Prisma.DatastoreCountOutputTypeDefaultArgs<ExtArgs>;
|
|
559
|
+
}, ExtArgs["result"]["datastore"]>;
|
|
560
|
+
export type DatastoreSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
561
|
+
id?: boolean;
|
|
562
|
+
name?: boolean;
|
|
563
|
+
ownerId?: boolean;
|
|
564
|
+
createdAt?: boolean;
|
|
565
|
+
updatedAt?: boolean;
|
|
566
|
+
owner?: boolean | Prisma.Datastore$ownerArgs<ExtArgs>;
|
|
567
|
+
}, ExtArgs["result"]["datastore"]>;
|
|
568
|
+
export type DatastoreSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
569
|
+
id?: boolean;
|
|
570
|
+
name?: boolean;
|
|
571
|
+
ownerId?: boolean;
|
|
572
|
+
createdAt?: boolean;
|
|
573
|
+
updatedAt?: boolean;
|
|
574
|
+
owner?: boolean | Prisma.Datastore$ownerArgs<ExtArgs>;
|
|
575
|
+
}, ExtArgs["result"]["datastore"]>;
|
|
576
|
+
export type DatastoreSelectScalar = {
|
|
577
|
+
id?: boolean;
|
|
578
|
+
name?: boolean;
|
|
579
|
+
ownerId?: boolean;
|
|
580
|
+
createdAt?: boolean;
|
|
581
|
+
updatedAt?: boolean;
|
|
582
|
+
};
|
|
583
|
+
export type DatastoreOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "ownerId" | "createdAt" | "updatedAt", ExtArgs["result"]["datastore"]>;
|
|
584
|
+
export type DatastoreInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
585
|
+
owner?: boolean | Prisma.Datastore$ownerArgs<ExtArgs>;
|
|
586
|
+
agents?: boolean | Prisma.Datastore$agentsArgs<ExtArgs>;
|
|
587
|
+
entries?: boolean | Prisma.Datastore$entriesArgs<ExtArgs>;
|
|
588
|
+
_count?: boolean | Prisma.DatastoreCountOutputTypeDefaultArgs<ExtArgs>;
|
|
589
|
+
};
|
|
590
|
+
export type DatastoreIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
591
|
+
owner?: boolean | Prisma.Datastore$ownerArgs<ExtArgs>;
|
|
592
|
+
};
|
|
593
|
+
export type DatastoreIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
594
|
+
owner?: boolean | Prisma.Datastore$ownerArgs<ExtArgs>;
|
|
595
|
+
};
|
|
596
|
+
export type $DatastorePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
597
|
+
name: "Datastore";
|
|
598
|
+
objects: {
|
|
599
|
+
owner: Prisma.$PrincipalPayload<ExtArgs> | null;
|
|
600
|
+
agents: Prisma.$AgentDatastorePayload<ExtArgs>[];
|
|
601
|
+
entries: Prisma.$DatastoreEntryPayload<ExtArgs>[];
|
|
602
|
+
};
|
|
603
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
604
|
+
id: string;
|
|
605
|
+
name: string;
|
|
606
|
+
ownerId: string | null;
|
|
607
|
+
createdAt: Date;
|
|
608
|
+
updatedAt: Date;
|
|
609
|
+
}, ExtArgs["result"]["datastore"]>;
|
|
610
|
+
composites: {};
|
|
611
|
+
};
|
|
612
|
+
export type DatastoreGetPayload<S extends boolean | null | undefined | DatastoreDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DatastorePayload, S>;
|
|
613
|
+
export type DatastoreCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DatastoreFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
614
|
+
select?: DatastoreCountAggregateInputType | true;
|
|
615
|
+
};
|
|
616
|
+
export interface DatastoreDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
617
|
+
[K: symbol]: {
|
|
618
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Datastore'];
|
|
619
|
+
meta: {
|
|
620
|
+
name: 'Datastore';
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
/**
|
|
624
|
+
* Find zero or one Datastore that matches the filter.
|
|
625
|
+
* @param {DatastoreFindUniqueArgs} args - Arguments to find a Datastore
|
|
626
|
+
* @example
|
|
627
|
+
* // Get one Datastore
|
|
628
|
+
* const datastore = await prisma.datastore.findUnique({
|
|
629
|
+
* where: {
|
|
630
|
+
* // ... provide filter here
|
|
631
|
+
* }
|
|
632
|
+
* })
|
|
633
|
+
*/
|
|
634
|
+
findUnique<T extends DatastoreFindUniqueArgs>(args: Prisma.SelectSubset<T, DatastoreFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DatastoreClient<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
635
|
+
/**
|
|
636
|
+
* Find one Datastore that matches the filter or throw an error with `error.code='P2025'`
|
|
637
|
+
* if no matches were found.
|
|
638
|
+
* @param {DatastoreFindUniqueOrThrowArgs} args - Arguments to find a Datastore
|
|
639
|
+
* @example
|
|
640
|
+
* // Get one Datastore
|
|
641
|
+
* const datastore = await prisma.datastore.findUniqueOrThrow({
|
|
642
|
+
* where: {
|
|
643
|
+
* // ... provide filter here
|
|
644
|
+
* }
|
|
645
|
+
* })
|
|
646
|
+
*/
|
|
647
|
+
findUniqueOrThrow<T extends DatastoreFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DatastoreFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DatastoreClient<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
648
|
+
/**
|
|
649
|
+
* Find the first Datastore that matches the filter.
|
|
650
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
651
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
652
|
+
* @param {DatastoreFindFirstArgs} args - Arguments to find a Datastore
|
|
653
|
+
* @example
|
|
654
|
+
* // Get one Datastore
|
|
655
|
+
* const datastore = await prisma.datastore.findFirst({
|
|
656
|
+
* where: {
|
|
657
|
+
* // ... provide filter here
|
|
658
|
+
* }
|
|
659
|
+
* })
|
|
660
|
+
*/
|
|
661
|
+
findFirst<T extends DatastoreFindFirstArgs>(args?: Prisma.SelectSubset<T, DatastoreFindFirstArgs<ExtArgs>>): Prisma.Prisma__DatastoreClient<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
662
|
+
/**
|
|
663
|
+
* Find the first Datastore that matches the filter or
|
|
664
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
665
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
666
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
667
|
+
* @param {DatastoreFindFirstOrThrowArgs} args - Arguments to find a Datastore
|
|
668
|
+
* @example
|
|
669
|
+
* // Get one Datastore
|
|
670
|
+
* const datastore = await prisma.datastore.findFirstOrThrow({
|
|
671
|
+
* where: {
|
|
672
|
+
* // ... provide filter here
|
|
673
|
+
* }
|
|
674
|
+
* })
|
|
675
|
+
*/
|
|
676
|
+
findFirstOrThrow<T extends DatastoreFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DatastoreFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DatastoreClient<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
677
|
+
/**
|
|
678
|
+
* Find zero or more Datastores that matches the filter.
|
|
679
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
680
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
681
|
+
* @param {DatastoreFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
682
|
+
* @example
|
|
683
|
+
* // Get all Datastores
|
|
684
|
+
* const datastores = await prisma.datastore.findMany()
|
|
685
|
+
*
|
|
686
|
+
* // Get first 10 Datastores
|
|
687
|
+
* const datastores = await prisma.datastore.findMany({ take: 10 })
|
|
688
|
+
*
|
|
689
|
+
* // Only select the `id`
|
|
690
|
+
* const datastoreWithIdOnly = await prisma.datastore.findMany({ select: { id: true } })
|
|
691
|
+
*
|
|
692
|
+
*/
|
|
693
|
+
findMany<T extends DatastoreFindManyArgs>(args?: Prisma.SelectSubset<T, DatastoreFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
694
|
+
/**
|
|
695
|
+
* Create a Datastore.
|
|
696
|
+
* @param {DatastoreCreateArgs} args - Arguments to create a Datastore.
|
|
697
|
+
* @example
|
|
698
|
+
* // Create one Datastore
|
|
699
|
+
* const Datastore = await prisma.datastore.create({
|
|
700
|
+
* data: {
|
|
701
|
+
* // ... data to create a Datastore
|
|
702
|
+
* }
|
|
703
|
+
* })
|
|
704
|
+
*
|
|
705
|
+
*/
|
|
706
|
+
create<T extends DatastoreCreateArgs>(args: Prisma.SelectSubset<T, DatastoreCreateArgs<ExtArgs>>): Prisma.Prisma__DatastoreClient<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
707
|
+
/**
|
|
708
|
+
* Create many Datastores.
|
|
709
|
+
* @param {DatastoreCreateManyArgs} args - Arguments to create many Datastores.
|
|
710
|
+
* @example
|
|
711
|
+
* // Create many Datastores
|
|
712
|
+
* const datastore = await prisma.datastore.createMany({
|
|
713
|
+
* data: [
|
|
714
|
+
* // ... provide data here
|
|
715
|
+
* ]
|
|
716
|
+
* })
|
|
717
|
+
*
|
|
718
|
+
*/
|
|
719
|
+
createMany<T extends DatastoreCreateManyArgs>(args?: Prisma.SelectSubset<T, DatastoreCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
720
|
+
/**
|
|
721
|
+
* Create many Datastores and returns the data saved in the database.
|
|
722
|
+
* @param {DatastoreCreateManyAndReturnArgs} args - Arguments to create many Datastores.
|
|
723
|
+
* @example
|
|
724
|
+
* // Create many Datastores
|
|
725
|
+
* const datastore = await prisma.datastore.createManyAndReturn({
|
|
726
|
+
* data: [
|
|
727
|
+
* // ... provide data here
|
|
728
|
+
* ]
|
|
729
|
+
* })
|
|
730
|
+
*
|
|
731
|
+
* // Create many Datastores and only return the `id`
|
|
732
|
+
* const datastoreWithIdOnly = await prisma.datastore.createManyAndReturn({
|
|
733
|
+
* select: { id: true },
|
|
734
|
+
* data: [
|
|
735
|
+
* // ... provide data here
|
|
736
|
+
* ]
|
|
737
|
+
* })
|
|
738
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
739
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
740
|
+
*
|
|
741
|
+
*/
|
|
742
|
+
createManyAndReturn<T extends DatastoreCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DatastoreCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
743
|
+
/**
|
|
744
|
+
* Delete a Datastore.
|
|
745
|
+
* @param {DatastoreDeleteArgs} args - Arguments to delete one Datastore.
|
|
746
|
+
* @example
|
|
747
|
+
* // Delete one Datastore
|
|
748
|
+
* const Datastore = await prisma.datastore.delete({
|
|
749
|
+
* where: {
|
|
750
|
+
* // ... filter to delete one Datastore
|
|
751
|
+
* }
|
|
752
|
+
* })
|
|
753
|
+
*
|
|
754
|
+
*/
|
|
755
|
+
delete<T extends DatastoreDeleteArgs>(args: Prisma.SelectSubset<T, DatastoreDeleteArgs<ExtArgs>>): Prisma.Prisma__DatastoreClient<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
756
|
+
/**
|
|
757
|
+
* Update one Datastore.
|
|
758
|
+
* @param {DatastoreUpdateArgs} args - Arguments to update one Datastore.
|
|
759
|
+
* @example
|
|
760
|
+
* // Update one Datastore
|
|
761
|
+
* const datastore = await prisma.datastore.update({
|
|
762
|
+
* where: {
|
|
763
|
+
* // ... provide filter here
|
|
764
|
+
* },
|
|
765
|
+
* data: {
|
|
766
|
+
* // ... provide data here
|
|
767
|
+
* }
|
|
768
|
+
* })
|
|
769
|
+
*
|
|
770
|
+
*/
|
|
771
|
+
update<T extends DatastoreUpdateArgs>(args: Prisma.SelectSubset<T, DatastoreUpdateArgs<ExtArgs>>): Prisma.Prisma__DatastoreClient<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
772
|
+
/**
|
|
773
|
+
* Delete zero or more Datastores.
|
|
774
|
+
* @param {DatastoreDeleteManyArgs} args - Arguments to filter Datastores to delete.
|
|
775
|
+
* @example
|
|
776
|
+
* // Delete a few Datastores
|
|
777
|
+
* const { count } = await prisma.datastore.deleteMany({
|
|
778
|
+
* where: {
|
|
779
|
+
* // ... provide filter here
|
|
780
|
+
* }
|
|
781
|
+
* })
|
|
782
|
+
*
|
|
783
|
+
*/
|
|
784
|
+
deleteMany<T extends DatastoreDeleteManyArgs>(args?: Prisma.SelectSubset<T, DatastoreDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
785
|
+
/**
|
|
786
|
+
* Update zero or more Datastores.
|
|
787
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
788
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
789
|
+
* @param {DatastoreUpdateManyArgs} args - Arguments to update one or more rows.
|
|
790
|
+
* @example
|
|
791
|
+
* // Update many Datastores
|
|
792
|
+
* const datastore = await prisma.datastore.updateMany({
|
|
793
|
+
* where: {
|
|
794
|
+
* // ... provide filter here
|
|
795
|
+
* },
|
|
796
|
+
* data: {
|
|
797
|
+
* // ... provide data here
|
|
798
|
+
* }
|
|
799
|
+
* })
|
|
800
|
+
*
|
|
801
|
+
*/
|
|
802
|
+
updateMany<T extends DatastoreUpdateManyArgs>(args: Prisma.SelectSubset<T, DatastoreUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
803
|
+
/**
|
|
804
|
+
* Update zero or more Datastores and returns the data updated in the database.
|
|
805
|
+
* @param {DatastoreUpdateManyAndReturnArgs} args - Arguments to update many Datastores.
|
|
806
|
+
* @example
|
|
807
|
+
* // Update many Datastores
|
|
808
|
+
* const datastore = await prisma.datastore.updateManyAndReturn({
|
|
809
|
+
* where: {
|
|
810
|
+
* // ... provide filter here
|
|
811
|
+
* },
|
|
812
|
+
* data: [
|
|
813
|
+
* // ... provide data here
|
|
814
|
+
* ]
|
|
815
|
+
* })
|
|
816
|
+
*
|
|
817
|
+
* // Update zero or more Datastores and only return the `id`
|
|
818
|
+
* const datastoreWithIdOnly = await prisma.datastore.updateManyAndReturn({
|
|
819
|
+
* select: { id: true },
|
|
820
|
+
* where: {
|
|
821
|
+
* // ... provide filter here
|
|
822
|
+
* },
|
|
823
|
+
* data: [
|
|
824
|
+
* // ... provide data here
|
|
825
|
+
* ]
|
|
826
|
+
* })
|
|
827
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
828
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
829
|
+
*
|
|
830
|
+
*/
|
|
831
|
+
updateManyAndReturn<T extends DatastoreUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DatastoreUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
832
|
+
/**
|
|
833
|
+
* Create or update one Datastore.
|
|
834
|
+
* @param {DatastoreUpsertArgs} args - Arguments to update or create a Datastore.
|
|
835
|
+
* @example
|
|
836
|
+
* // Update or create a Datastore
|
|
837
|
+
* const datastore = await prisma.datastore.upsert({
|
|
838
|
+
* create: {
|
|
839
|
+
* // ... data to create a Datastore
|
|
840
|
+
* },
|
|
841
|
+
* update: {
|
|
842
|
+
* // ... in case it already exists, update
|
|
843
|
+
* },
|
|
844
|
+
* where: {
|
|
845
|
+
* // ... the filter for the Datastore we want to update
|
|
846
|
+
* }
|
|
847
|
+
* })
|
|
848
|
+
*/
|
|
849
|
+
upsert<T extends DatastoreUpsertArgs>(args: Prisma.SelectSubset<T, DatastoreUpsertArgs<ExtArgs>>): Prisma.Prisma__DatastoreClient<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
850
|
+
/**
|
|
851
|
+
* Count the number of Datastores.
|
|
852
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
853
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
854
|
+
* @param {DatastoreCountArgs} args - Arguments to filter Datastores to count.
|
|
855
|
+
* @example
|
|
856
|
+
* // Count the number of Datastores
|
|
857
|
+
* const count = await prisma.datastore.count({
|
|
858
|
+
* where: {
|
|
859
|
+
* // ... the filter for the Datastores we want to count
|
|
860
|
+
* }
|
|
861
|
+
* })
|
|
862
|
+
**/
|
|
863
|
+
count<T extends DatastoreCountArgs>(args?: Prisma.Subset<T, DatastoreCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DatastoreCountAggregateOutputType> : number>;
|
|
864
|
+
/**
|
|
865
|
+
* Allows you to perform aggregations operations on a Datastore.
|
|
866
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
867
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
868
|
+
* @param {DatastoreAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
869
|
+
* @example
|
|
870
|
+
* // Ordered by age ascending
|
|
871
|
+
* // Where email contains prisma.io
|
|
872
|
+
* // Limited to the 10 users
|
|
873
|
+
* const aggregations = await prisma.user.aggregate({
|
|
874
|
+
* _avg: {
|
|
875
|
+
* age: true,
|
|
876
|
+
* },
|
|
877
|
+
* where: {
|
|
878
|
+
* email: {
|
|
879
|
+
* contains: "prisma.io",
|
|
880
|
+
* },
|
|
881
|
+
* },
|
|
882
|
+
* orderBy: {
|
|
883
|
+
* age: "asc",
|
|
884
|
+
* },
|
|
885
|
+
* take: 10,
|
|
886
|
+
* })
|
|
887
|
+
**/
|
|
888
|
+
aggregate<T extends DatastoreAggregateArgs>(args: Prisma.Subset<T, DatastoreAggregateArgs>): Prisma.PrismaPromise<GetDatastoreAggregateType<T>>;
|
|
889
|
+
/**
|
|
890
|
+
* Group by Datastore.
|
|
891
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
892
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
893
|
+
* @param {DatastoreGroupByArgs} args - Group by arguments.
|
|
894
|
+
* @example
|
|
895
|
+
* // Group by city, order by createdAt, get count
|
|
896
|
+
* const result = await prisma.user.groupBy({
|
|
897
|
+
* by: ['city', 'createdAt'],
|
|
898
|
+
* orderBy: {
|
|
899
|
+
* createdAt: true
|
|
900
|
+
* },
|
|
901
|
+
* _count: {
|
|
902
|
+
* _all: true
|
|
903
|
+
* },
|
|
904
|
+
* })
|
|
905
|
+
*
|
|
906
|
+
**/
|
|
907
|
+
groupBy<T extends DatastoreGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
908
|
+
orderBy: DatastoreGroupByArgs['orderBy'];
|
|
909
|
+
} : {
|
|
910
|
+
orderBy?: DatastoreGroupByArgs['orderBy'];
|
|
911
|
+
}, 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 ? {
|
|
912
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
913
|
+
Error,
|
|
914
|
+
'Field ',
|
|
915
|
+
P,
|
|
916
|
+
` in "having" needs to be provided in "by"`
|
|
917
|
+
];
|
|
918
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
919
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
920
|
+
}[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 ? {} : {
|
|
921
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
922
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
923
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
924
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, DatastoreGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDatastoreGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
925
|
+
/**
|
|
926
|
+
* Fields of the Datastore model
|
|
927
|
+
*/
|
|
928
|
+
readonly fields: DatastoreFieldRefs;
|
|
929
|
+
}
|
|
930
|
+
/**
|
|
931
|
+
* The delegate class that acts as a "Promise-like" for Datastore.
|
|
932
|
+
* Why is this prefixed with `Prisma__`?
|
|
933
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
934
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
935
|
+
*/
|
|
936
|
+
export interface Prisma__DatastoreClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
937
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
938
|
+
owner<T extends Prisma.Datastore$ownerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Datastore$ownerArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
939
|
+
agents<T extends Prisma.Datastore$agentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Datastore$agentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentDatastorePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
940
|
+
entries<T extends Prisma.Datastore$entriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Datastore$entriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatastoreEntryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
941
|
+
/**
|
|
942
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
943
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
944
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
945
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
946
|
+
*/
|
|
947
|
+
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>;
|
|
948
|
+
/**
|
|
949
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
950
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
951
|
+
* @returns A Promise for the completion of the callback.
|
|
952
|
+
*/
|
|
953
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
954
|
+
/**
|
|
955
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
956
|
+
* resolved value cannot be modified from the callback.
|
|
957
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
958
|
+
* @returns A Promise for the completion of the callback.
|
|
959
|
+
*/
|
|
960
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* Fields of the Datastore model
|
|
964
|
+
*/
|
|
965
|
+
export interface DatastoreFieldRefs {
|
|
966
|
+
readonly id: Prisma.FieldRef<"Datastore", 'String'>;
|
|
967
|
+
readonly name: Prisma.FieldRef<"Datastore", 'String'>;
|
|
968
|
+
readonly ownerId: Prisma.FieldRef<"Datastore", 'String'>;
|
|
969
|
+
readonly createdAt: Prisma.FieldRef<"Datastore", 'DateTime'>;
|
|
970
|
+
readonly updatedAt: Prisma.FieldRef<"Datastore", 'DateTime'>;
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* Datastore findUnique
|
|
974
|
+
*/
|
|
975
|
+
export type DatastoreFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
976
|
+
/**
|
|
977
|
+
* Select specific fields to fetch from the Datastore
|
|
978
|
+
*/
|
|
979
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
980
|
+
/**
|
|
981
|
+
* Omit specific fields from the Datastore
|
|
982
|
+
*/
|
|
983
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
984
|
+
/**
|
|
985
|
+
* Choose, which related nodes to fetch as well
|
|
986
|
+
*/
|
|
987
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
988
|
+
/**
|
|
989
|
+
* Filter, which Datastore to fetch.
|
|
990
|
+
*/
|
|
991
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
992
|
+
};
|
|
993
|
+
/**
|
|
994
|
+
* Datastore findUniqueOrThrow
|
|
995
|
+
*/
|
|
996
|
+
export type DatastoreFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
997
|
+
/**
|
|
998
|
+
* Select specific fields to fetch from the Datastore
|
|
999
|
+
*/
|
|
1000
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* Omit specific fields from the Datastore
|
|
1003
|
+
*/
|
|
1004
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1005
|
+
/**
|
|
1006
|
+
* Choose, which related nodes to fetch as well
|
|
1007
|
+
*/
|
|
1008
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1009
|
+
/**
|
|
1010
|
+
* Filter, which Datastore to fetch.
|
|
1011
|
+
*/
|
|
1012
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
1013
|
+
};
|
|
1014
|
+
/**
|
|
1015
|
+
* Datastore findFirst
|
|
1016
|
+
*/
|
|
1017
|
+
export type DatastoreFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1018
|
+
/**
|
|
1019
|
+
* Select specific fields to fetch from the Datastore
|
|
1020
|
+
*/
|
|
1021
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1022
|
+
/**
|
|
1023
|
+
* Omit specific fields from the Datastore
|
|
1024
|
+
*/
|
|
1025
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* Choose, which related nodes to fetch as well
|
|
1028
|
+
*/
|
|
1029
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* Filter, which Datastore to fetch.
|
|
1032
|
+
*/
|
|
1033
|
+
where?: Prisma.DatastoreWhereInput;
|
|
1034
|
+
/**
|
|
1035
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1036
|
+
*
|
|
1037
|
+
* Determine the order of Datastores to fetch.
|
|
1038
|
+
*/
|
|
1039
|
+
orderBy?: Prisma.DatastoreOrderByWithRelationInput | Prisma.DatastoreOrderByWithRelationInput[];
|
|
1040
|
+
/**
|
|
1041
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1042
|
+
*
|
|
1043
|
+
* Sets the position for searching for Datastores.
|
|
1044
|
+
*/
|
|
1045
|
+
cursor?: Prisma.DatastoreWhereUniqueInput;
|
|
1046
|
+
/**
|
|
1047
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1048
|
+
*
|
|
1049
|
+
* Take `±n` Datastores from the position of the cursor.
|
|
1050
|
+
*/
|
|
1051
|
+
take?: number;
|
|
1052
|
+
/**
|
|
1053
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1054
|
+
*
|
|
1055
|
+
* Skip the first `n` Datastores.
|
|
1056
|
+
*/
|
|
1057
|
+
skip?: number;
|
|
1058
|
+
/**
|
|
1059
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1060
|
+
*
|
|
1061
|
+
* Filter by unique combinations of Datastores.
|
|
1062
|
+
*/
|
|
1063
|
+
distinct?: Prisma.DatastoreScalarFieldEnum | Prisma.DatastoreScalarFieldEnum[];
|
|
1064
|
+
};
|
|
1065
|
+
/**
|
|
1066
|
+
* Datastore findFirstOrThrow
|
|
1067
|
+
*/
|
|
1068
|
+
export type DatastoreFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1069
|
+
/**
|
|
1070
|
+
* Select specific fields to fetch from the Datastore
|
|
1071
|
+
*/
|
|
1072
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* Omit specific fields from the Datastore
|
|
1075
|
+
*/
|
|
1076
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1077
|
+
/**
|
|
1078
|
+
* Choose, which related nodes to fetch as well
|
|
1079
|
+
*/
|
|
1080
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* Filter, which Datastore to fetch.
|
|
1083
|
+
*/
|
|
1084
|
+
where?: Prisma.DatastoreWhereInput;
|
|
1085
|
+
/**
|
|
1086
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1087
|
+
*
|
|
1088
|
+
* Determine the order of Datastores to fetch.
|
|
1089
|
+
*/
|
|
1090
|
+
orderBy?: Prisma.DatastoreOrderByWithRelationInput | Prisma.DatastoreOrderByWithRelationInput[];
|
|
1091
|
+
/**
|
|
1092
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1093
|
+
*
|
|
1094
|
+
* Sets the position for searching for Datastores.
|
|
1095
|
+
*/
|
|
1096
|
+
cursor?: Prisma.DatastoreWhereUniqueInput;
|
|
1097
|
+
/**
|
|
1098
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1099
|
+
*
|
|
1100
|
+
* Take `±n` Datastores from the position of the cursor.
|
|
1101
|
+
*/
|
|
1102
|
+
take?: number;
|
|
1103
|
+
/**
|
|
1104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1105
|
+
*
|
|
1106
|
+
* Skip the first `n` Datastores.
|
|
1107
|
+
*/
|
|
1108
|
+
skip?: number;
|
|
1109
|
+
/**
|
|
1110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1111
|
+
*
|
|
1112
|
+
* Filter by unique combinations of Datastores.
|
|
1113
|
+
*/
|
|
1114
|
+
distinct?: Prisma.DatastoreScalarFieldEnum | Prisma.DatastoreScalarFieldEnum[];
|
|
1115
|
+
};
|
|
1116
|
+
/**
|
|
1117
|
+
* Datastore findMany
|
|
1118
|
+
*/
|
|
1119
|
+
export type DatastoreFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1120
|
+
/**
|
|
1121
|
+
* Select specific fields to fetch from the Datastore
|
|
1122
|
+
*/
|
|
1123
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Omit specific fields from the Datastore
|
|
1126
|
+
*/
|
|
1127
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* Choose, which related nodes to fetch as well
|
|
1130
|
+
*/
|
|
1131
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1132
|
+
/**
|
|
1133
|
+
* Filter, which Datastores to fetch.
|
|
1134
|
+
*/
|
|
1135
|
+
where?: Prisma.DatastoreWhereInput;
|
|
1136
|
+
/**
|
|
1137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1138
|
+
*
|
|
1139
|
+
* Determine the order of Datastores to fetch.
|
|
1140
|
+
*/
|
|
1141
|
+
orderBy?: Prisma.DatastoreOrderByWithRelationInput | Prisma.DatastoreOrderByWithRelationInput[];
|
|
1142
|
+
/**
|
|
1143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1144
|
+
*
|
|
1145
|
+
* Sets the position for listing Datastores.
|
|
1146
|
+
*/
|
|
1147
|
+
cursor?: Prisma.DatastoreWhereUniqueInput;
|
|
1148
|
+
/**
|
|
1149
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1150
|
+
*
|
|
1151
|
+
* Take `±n` Datastores from the position of the cursor.
|
|
1152
|
+
*/
|
|
1153
|
+
take?: number;
|
|
1154
|
+
/**
|
|
1155
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1156
|
+
*
|
|
1157
|
+
* Skip the first `n` Datastores.
|
|
1158
|
+
*/
|
|
1159
|
+
skip?: number;
|
|
1160
|
+
/**
|
|
1161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1162
|
+
*
|
|
1163
|
+
* Filter by unique combinations of Datastores.
|
|
1164
|
+
*/
|
|
1165
|
+
distinct?: Prisma.DatastoreScalarFieldEnum | Prisma.DatastoreScalarFieldEnum[];
|
|
1166
|
+
};
|
|
1167
|
+
/**
|
|
1168
|
+
* Datastore create
|
|
1169
|
+
*/
|
|
1170
|
+
export type DatastoreCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1171
|
+
/**
|
|
1172
|
+
* Select specific fields to fetch from the Datastore
|
|
1173
|
+
*/
|
|
1174
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* Omit specific fields from the Datastore
|
|
1177
|
+
*/
|
|
1178
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1179
|
+
/**
|
|
1180
|
+
* Choose, which related nodes to fetch as well
|
|
1181
|
+
*/
|
|
1182
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1183
|
+
/**
|
|
1184
|
+
* The data needed to create a Datastore.
|
|
1185
|
+
*/
|
|
1186
|
+
data: Prisma.XOR<Prisma.DatastoreCreateInput, Prisma.DatastoreUncheckedCreateInput>;
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* Datastore createMany
|
|
1190
|
+
*/
|
|
1191
|
+
export type DatastoreCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1192
|
+
/**
|
|
1193
|
+
* The data used to create many Datastores.
|
|
1194
|
+
*/
|
|
1195
|
+
data: Prisma.DatastoreCreateManyInput | Prisma.DatastoreCreateManyInput[];
|
|
1196
|
+
skipDuplicates?: boolean;
|
|
1197
|
+
};
|
|
1198
|
+
/**
|
|
1199
|
+
* Datastore createManyAndReturn
|
|
1200
|
+
*/
|
|
1201
|
+
export type DatastoreCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1202
|
+
/**
|
|
1203
|
+
* Select specific fields to fetch from the Datastore
|
|
1204
|
+
*/
|
|
1205
|
+
select?: Prisma.DatastoreSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1206
|
+
/**
|
|
1207
|
+
* Omit specific fields from the Datastore
|
|
1208
|
+
*/
|
|
1209
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1210
|
+
/**
|
|
1211
|
+
* The data used to create many Datastores.
|
|
1212
|
+
*/
|
|
1213
|
+
data: Prisma.DatastoreCreateManyInput | Prisma.DatastoreCreateManyInput[];
|
|
1214
|
+
skipDuplicates?: boolean;
|
|
1215
|
+
/**
|
|
1216
|
+
* Choose, which related nodes to fetch as well
|
|
1217
|
+
*/
|
|
1218
|
+
include?: Prisma.DatastoreIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1219
|
+
};
|
|
1220
|
+
/**
|
|
1221
|
+
* Datastore update
|
|
1222
|
+
*/
|
|
1223
|
+
export type DatastoreUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1224
|
+
/**
|
|
1225
|
+
* Select specific fields to fetch from the Datastore
|
|
1226
|
+
*/
|
|
1227
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1228
|
+
/**
|
|
1229
|
+
* Omit specific fields from the Datastore
|
|
1230
|
+
*/
|
|
1231
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* Choose, which related nodes to fetch as well
|
|
1234
|
+
*/
|
|
1235
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1236
|
+
/**
|
|
1237
|
+
* The data needed to update a Datastore.
|
|
1238
|
+
*/
|
|
1239
|
+
data: Prisma.XOR<Prisma.DatastoreUpdateInput, Prisma.DatastoreUncheckedUpdateInput>;
|
|
1240
|
+
/**
|
|
1241
|
+
* Choose, which Datastore to update.
|
|
1242
|
+
*/
|
|
1243
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
1244
|
+
};
|
|
1245
|
+
/**
|
|
1246
|
+
* Datastore updateMany
|
|
1247
|
+
*/
|
|
1248
|
+
export type DatastoreUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1249
|
+
/**
|
|
1250
|
+
* The data used to update Datastores.
|
|
1251
|
+
*/
|
|
1252
|
+
data: Prisma.XOR<Prisma.DatastoreUpdateManyMutationInput, Prisma.DatastoreUncheckedUpdateManyInput>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Filter which Datastores to update
|
|
1255
|
+
*/
|
|
1256
|
+
where?: Prisma.DatastoreWhereInput;
|
|
1257
|
+
/**
|
|
1258
|
+
* Limit how many Datastores to update.
|
|
1259
|
+
*/
|
|
1260
|
+
limit?: number;
|
|
1261
|
+
};
|
|
1262
|
+
/**
|
|
1263
|
+
* Datastore updateManyAndReturn
|
|
1264
|
+
*/
|
|
1265
|
+
export type DatastoreUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1266
|
+
/**
|
|
1267
|
+
* Select specific fields to fetch from the Datastore
|
|
1268
|
+
*/
|
|
1269
|
+
select?: Prisma.DatastoreSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1270
|
+
/**
|
|
1271
|
+
* Omit specific fields from the Datastore
|
|
1272
|
+
*/
|
|
1273
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1274
|
+
/**
|
|
1275
|
+
* The data used to update Datastores.
|
|
1276
|
+
*/
|
|
1277
|
+
data: Prisma.XOR<Prisma.DatastoreUpdateManyMutationInput, Prisma.DatastoreUncheckedUpdateManyInput>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Filter which Datastores to update
|
|
1280
|
+
*/
|
|
1281
|
+
where?: Prisma.DatastoreWhereInput;
|
|
1282
|
+
/**
|
|
1283
|
+
* Limit how many Datastores to update.
|
|
1284
|
+
*/
|
|
1285
|
+
limit?: number;
|
|
1286
|
+
/**
|
|
1287
|
+
* Choose, which related nodes to fetch as well
|
|
1288
|
+
*/
|
|
1289
|
+
include?: Prisma.DatastoreIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1290
|
+
};
|
|
1291
|
+
/**
|
|
1292
|
+
* Datastore upsert
|
|
1293
|
+
*/
|
|
1294
|
+
export type DatastoreUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1295
|
+
/**
|
|
1296
|
+
* Select specific fields to fetch from the Datastore
|
|
1297
|
+
*/
|
|
1298
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1299
|
+
/**
|
|
1300
|
+
* Omit specific fields from the Datastore
|
|
1301
|
+
*/
|
|
1302
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* Choose, which related nodes to fetch as well
|
|
1305
|
+
*/
|
|
1306
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1307
|
+
/**
|
|
1308
|
+
* The filter to search for the Datastore to update in case it exists.
|
|
1309
|
+
*/
|
|
1310
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
1311
|
+
/**
|
|
1312
|
+
* In case the Datastore found by the `where` argument doesn't exist, create a new Datastore with this data.
|
|
1313
|
+
*/
|
|
1314
|
+
create: Prisma.XOR<Prisma.DatastoreCreateInput, Prisma.DatastoreUncheckedCreateInput>;
|
|
1315
|
+
/**
|
|
1316
|
+
* In case the Datastore was found with the provided `where` argument, update it with this data.
|
|
1317
|
+
*/
|
|
1318
|
+
update: Prisma.XOR<Prisma.DatastoreUpdateInput, Prisma.DatastoreUncheckedUpdateInput>;
|
|
1319
|
+
};
|
|
1320
|
+
/**
|
|
1321
|
+
* Datastore delete
|
|
1322
|
+
*/
|
|
1323
|
+
export type DatastoreDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1324
|
+
/**
|
|
1325
|
+
* Select specific fields to fetch from the Datastore
|
|
1326
|
+
*/
|
|
1327
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* Omit specific fields from the Datastore
|
|
1330
|
+
*/
|
|
1331
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1332
|
+
/**
|
|
1333
|
+
* Choose, which related nodes to fetch as well
|
|
1334
|
+
*/
|
|
1335
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1336
|
+
/**
|
|
1337
|
+
* Filter which Datastore to delete.
|
|
1338
|
+
*/
|
|
1339
|
+
where: Prisma.DatastoreWhereUniqueInput;
|
|
1340
|
+
};
|
|
1341
|
+
/**
|
|
1342
|
+
* Datastore deleteMany
|
|
1343
|
+
*/
|
|
1344
|
+
export type DatastoreDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1345
|
+
/**
|
|
1346
|
+
* Filter which Datastores to delete
|
|
1347
|
+
*/
|
|
1348
|
+
where?: Prisma.DatastoreWhereInput;
|
|
1349
|
+
/**
|
|
1350
|
+
* Limit how many Datastores to delete.
|
|
1351
|
+
*/
|
|
1352
|
+
limit?: number;
|
|
1353
|
+
};
|
|
1354
|
+
/**
|
|
1355
|
+
* Datastore.owner
|
|
1356
|
+
*/
|
|
1357
|
+
export type Datastore$ownerArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1358
|
+
/**
|
|
1359
|
+
* Select specific fields to fetch from the Principal
|
|
1360
|
+
*/
|
|
1361
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1362
|
+
/**
|
|
1363
|
+
* Omit specific fields from the Principal
|
|
1364
|
+
*/
|
|
1365
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1366
|
+
/**
|
|
1367
|
+
* Choose, which related nodes to fetch as well
|
|
1368
|
+
*/
|
|
1369
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1370
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1371
|
+
};
|
|
1372
|
+
/**
|
|
1373
|
+
* Datastore.agents
|
|
1374
|
+
*/
|
|
1375
|
+
export type Datastore$agentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1376
|
+
/**
|
|
1377
|
+
* Select specific fields to fetch from the AgentDatastore
|
|
1378
|
+
*/
|
|
1379
|
+
select?: Prisma.AgentDatastoreSelect<ExtArgs> | null;
|
|
1380
|
+
/**
|
|
1381
|
+
* Omit specific fields from the AgentDatastore
|
|
1382
|
+
*/
|
|
1383
|
+
omit?: Prisma.AgentDatastoreOmit<ExtArgs> | null;
|
|
1384
|
+
/**
|
|
1385
|
+
* Choose, which related nodes to fetch as well
|
|
1386
|
+
*/
|
|
1387
|
+
include?: Prisma.AgentDatastoreInclude<ExtArgs> | null;
|
|
1388
|
+
where?: Prisma.AgentDatastoreWhereInput;
|
|
1389
|
+
orderBy?: Prisma.AgentDatastoreOrderByWithRelationInput | Prisma.AgentDatastoreOrderByWithRelationInput[];
|
|
1390
|
+
cursor?: Prisma.AgentDatastoreWhereUniqueInput;
|
|
1391
|
+
take?: number;
|
|
1392
|
+
skip?: number;
|
|
1393
|
+
distinct?: Prisma.AgentDatastoreScalarFieldEnum | Prisma.AgentDatastoreScalarFieldEnum[];
|
|
1394
|
+
};
|
|
1395
|
+
/**
|
|
1396
|
+
* Datastore.entries
|
|
1397
|
+
*/
|
|
1398
|
+
export type Datastore$entriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1399
|
+
/**
|
|
1400
|
+
* Select specific fields to fetch from the DatastoreEntry
|
|
1401
|
+
*/
|
|
1402
|
+
select?: Prisma.DatastoreEntrySelect<ExtArgs> | null;
|
|
1403
|
+
/**
|
|
1404
|
+
* Omit specific fields from the DatastoreEntry
|
|
1405
|
+
*/
|
|
1406
|
+
omit?: Prisma.DatastoreEntryOmit<ExtArgs> | null;
|
|
1407
|
+
/**
|
|
1408
|
+
* Choose, which related nodes to fetch as well
|
|
1409
|
+
*/
|
|
1410
|
+
include?: Prisma.DatastoreEntryInclude<ExtArgs> | null;
|
|
1411
|
+
where?: Prisma.DatastoreEntryWhereInput;
|
|
1412
|
+
orderBy?: Prisma.DatastoreEntryOrderByWithRelationInput | Prisma.DatastoreEntryOrderByWithRelationInput[];
|
|
1413
|
+
cursor?: Prisma.DatastoreEntryWhereUniqueInput;
|
|
1414
|
+
take?: number;
|
|
1415
|
+
skip?: number;
|
|
1416
|
+
distinct?: Prisma.DatastoreEntryScalarFieldEnum | Prisma.DatastoreEntryScalarFieldEnum[];
|
|
1417
|
+
};
|
|
1418
|
+
/**
|
|
1419
|
+
* Datastore without action
|
|
1420
|
+
*/
|
|
1421
|
+
export type DatastoreDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1422
|
+
/**
|
|
1423
|
+
* Select specific fields to fetch from the Datastore
|
|
1424
|
+
*/
|
|
1425
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1426
|
+
/**
|
|
1427
|
+
* Omit specific fields from the Datastore
|
|
1428
|
+
*/
|
|
1429
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1430
|
+
/**
|
|
1431
|
+
* Choose, which related nodes to fetch as well
|
|
1432
|
+
*/
|
|
1433
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1434
|
+
};
|