@wardby/cli 0.5.3 → 0.6.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 +33 -0
- package/README.md +25 -14
- package/dist/claude-coding-worker/context.d.ts +22 -0
- package/dist/claude-coding-worker/context.js +92 -0
- package/dist/claude-coding-worker/driver.d.ts +7 -1
- package/dist/claude-coding-worker/driver.js +38 -5
- package/dist/claude-coding-worker/sdk.js +13 -4
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +5 -2
- package/dist/cli-native-mode.d.ts +9 -0
- package/dist/cli-native-mode.js +20 -0
- package/dist/cli.d.ts +3 -1
- package/dist/cli.js +141 -5
- package/dist/coding/claude-context.d.ts +45 -0
- package/dist/coding/claude-context.js +434 -0
- package/dist/coding/profile.d.ts +12 -0
- package/dist/coding/profile.js +6 -0
- package/dist/coding/protocol.d.ts +104 -0
- package/dist/coding/protocol.js +87 -3
- package/dist/coding-worker/artifact.d.ts +8 -0
- package/dist/coding-worker/artifact.js +2 -2
- package/dist/coding-worker/driver.js +2 -0
- package/dist/coding-worker/sdk.d.ts +6 -0
- package/dist/coding-worker/sdk.js +1 -0
- package/dist/coding-worker/skills.d.ts +23 -0
- package/dist/coding-worker/skills.js +117 -0
- package/dist/coding-worker/types.d.ts +2 -0
- package/dist/config/github-allowed-accounts.d.ts +15 -0
- package/dist/config/github-allowed-accounts.js +36 -0
- package/dist/config/low-power.d.ts +12 -0
- package/dist/config/low-power.js +18 -0
- package/dist/config/mobile.d.ts +12 -0
- package/dist/config/mobile.js +18 -0
- package/dist/config/providers.d.ts +53 -0
- package/dist/config/providers.js +92 -6
- package/dist/core/db.d.ts +16 -6
- package/dist/core/db.js +12 -10
- package/dist/core/dispatch.d.ts +11 -0
- package/dist/core/dispatch.js +36 -1
- package/dist/core/engine-native.js +9 -5
- package/dist/core/host-events.d.ts +49 -3
- package/dist/core/host-events.js +289 -15
- package/dist/core/issue-bridge.js +42 -2
- package/dist/core/issue-events.js +12 -1
- package/dist/core/issue-status.js +14 -3
- package/dist/core/merge-order-check.d.ts +129 -0
- package/dist/core/merge-order-check.js +336 -0
- package/dist/core/notification-dispatcher.d.ts +70 -0
- package/dist/core/notification-dispatcher.js +368 -0
- package/dist/core/notification-templates.d.ts +25 -0
- package/dist/core/notification-templates.js +105 -0
- package/dist/core/notifications.d.ts +10 -0
- package/dist/core/notifications.js +38 -0
- package/dist/core/pg-auth.d.ts +22 -0
- package/dist/core/pg-auth.js +152 -0
- package/dist/core/power-composition.d.ts +16 -0
- package/dist/core/power-composition.js +37 -0
- package/dist/core/power-idle.d.ts +14 -0
- package/dist/core/power-idle.js +30 -0
- package/dist/core/power.d.ts +71 -0
- package/dist/core/power.js +202 -0
- package/dist/core/reconciler.d.ts +4 -2
- package/dist/core/reconciler.js +29 -5
- package/dist/core/related-pull-requests.d.ts +48 -4
- package/dist/core/related-pull-requests.js +113 -11
- package/dist/core/repo-access.d.ts +15 -0
- package/dist/core/repo-access.js +66 -0
- package/dist/core/review-fix.d.ts +37 -0
- package/dist/core/review-fix.js +207 -6
- package/dist/core/review-host-tools.d.ts +20 -0
- package/dist/core/review-host-tools.js +58 -2
- package/dist/core/runner.d.ts +336 -3
- package/dist/core/runner.js +894 -317
- package/dist/core/secret-broker-config.d.ts +103 -0
- package/dist/core/secret-broker-config.js +112 -0
- package/dist/core/secrets.d.ts +39 -4
- package/dist/core/secrets.js +148 -40
- package/dist/core/workflow-event-recorder.d.ts +14 -0
- package/dist/core/workflow-event-recorder.js +120 -0
- package/dist/core/workflow-events.d.ts +82 -0
- package/dist/core/workflow-events.js +44 -0
- package/dist/core/workflow-run-events.d.ts +16 -0
- package/dist/core/workflow-run-events.js +40 -0
- package/dist/generated/prisma/browser.d.ts +58 -0
- package/dist/generated/prisma/client.d.ts +58 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +150 -0
- package/dist/generated/prisma/enums.d.ts +27 -0
- package/dist/generated/prisma/enums.js +23 -0
- package/dist/generated/prisma/internal/class.d.ts +88 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +772 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +135 -4
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +139 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +135 -4
- package/dist/generated/prisma/models/Agent.d.ts +360 -1
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +73 -1
- package/dist/generated/prisma/models/CodingRun.d.ts +205 -1
- package/dist/generated/prisma/models/DeferredReview.d.ts +78 -1
- package/dist/generated/prisma/models/NativeGatewayCall.d.ts +1675 -0
- package/dist/generated/prisma/models/NativeGatewayCall.js +1 -0
- package/dist/generated/prisma/models/NativeGatewaySession.d.ts +1517 -0
- package/dist/generated/prisma/models/NativeGatewaySession.js +1 -0
- package/dist/generated/prisma/models/NativeWarmWorker.d.ts +1296 -0
- package/dist/generated/prisma/models/NativeWarmWorker.js +1 -0
- package/dist/generated/prisma/models/NotificationChannel.d.ts +1543 -0
- package/dist/generated/prisma/models/NotificationChannel.js +1 -0
- package/dist/generated/prisma/models/NotificationDelivery.d.ts +1502 -0
- package/dist/generated/prisma/models/NotificationDelivery.js +1 -0
- package/dist/generated/prisma/models/NotificationThread.d.ts +1090 -0
- package/dist/generated/prisma/models/NotificationThread.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +826 -1
- package/dist/generated/prisma/models/RunHostCheck.d.ts +36 -1
- package/dist/generated/prisma/models/Secret.d.ts +37 -1
- package/dist/generated/prisma/models/SecretBrokerChange.d.ts +1101 -0
- package/dist/generated/prisma/models/SecretBrokerChange.js +1 -0
- package/dist/generated/prisma/models/WorkflowEvent.d.ts +1422 -0
- package/dist/generated/prisma/models/WorkflowEvent.js +1 -0
- package/dist/generated/prisma/models.d.ts +8 -0
- package/dist/help/build.js +4 -2
- package/dist/help/catalog.d.ts +1 -1
- package/dist/help/catalog.js +31 -6
- package/dist/help-index.json +1363 -176
- package/dist/import/create.js +17 -0
- package/dist/import/neutral-schema.d.ts +6 -2
- package/dist/import/neutral-schema.js +2 -0
- package/dist/mcp/auth/access.d.ts +1 -0
- package/dist/mcp/auth/repo-authorization.js +14 -0
- package/dist/mcp/auth/resource-server.d.ts +2 -1
- package/dist/mcp/auth/resource-server.js +7 -2
- package/dist/mcp/auth/self-hosted/browser.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/browser.js +19 -6
- package/dist/mcp/context.d.ts +6 -0
- package/dist/mcp/host-events/github-ingress.d.ts +23 -1
- package/dist/mcp/host-events/github-ingress.js +68 -0
- package/dist/mcp/index.d.ts +13 -0
- package/dist/mcp/index.js +59 -10
- package/dist/mcp/tools/agents.js +82 -11
- package/dist/mcp/tools/notification-channels.d.ts +2 -0
- package/dist/mcp/tools/notification-channels.js +293 -0
- package/dist/mcp/tools/power.d.ts +2 -0
- package/dist/mcp/tools/power.js +77 -0
- package/dist/mcp/tools/runs.d.ts +0 -6
- package/dist/mcp/tools/runs.js +7 -2
- package/dist/mcp/tools/secret-broker-compat.d.ts +12 -0
- package/dist/mcp/tools/secret-broker-compat.js +23 -0
- package/dist/mcp/tools/secret-elicitation-form.d.ts +22 -2
- package/dist/mcp/tools/secret-elicitation-form.js +200 -10
- package/dist/mcp/tools/secret-elicitation-server.js +8 -1
- package/dist/mcp/tools/secret-elicitation.d.ts +38 -3
- package/dist/mcp/tools/secret-elicitation.js +110 -12
- package/dist/mcp/tools/secrets.js +184 -7
- package/dist/mcp/tools/tools.d.ts +1 -1
- package/dist/mcp/tools/tools.js +22 -2
- package/dist/native-worker/composition.d.ts +23 -0
- package/dist/native-worker/composition.js +77 -0
- package/dist/native-worker/docker-isolation.d.ts +65 -0
- package/dist/native-worker/docker-isolation.js +183 -0
- package/dist/native-worker/docker-launcher.d.ts +74 -0
- package/dist/native-worker/docker-launcher.js +237 -0
- package/dist/native-worker/gateway-server.d.ts +39 -0
- package/dist/native-worker/gateway-server.js +315 -0
- package/dist/native-worker/gateway.d.ts +44 -0
- package/dist/native-worker/gateway.js +197 -0
- package/dist/native-worker/http-server.d.ts +22 -0
- package/dist/native-worker/http-server.js +109 -0
- package/dist/native-worker/http-transport.d.ts +17 -0
- package/dist/native-worker/http-transport.js +88 -0
- package/dist/native-worker/kubernetes-isolation.d.ts +90 -0
- package/dist/native-worker/kubernetes-isolation.js +218 -0
- package/dist/native-worker/kubernetes-launcher.d.ts +102 -0
- package/dist/native-worker/kubernetes-launcher.js +335 -0
- package/dist/native-worker/launch.d.ts +45 -0
- package/dist/native-worker/launch.js +44 -0
- package/dist/native-worker/ledger.d.ts +109 -0
- package/dist/native-worker/ledger.js +192 -0
- package/dist/native-worker/loopback.d.ts +12 -0
- package/dist/native-worker/loopback.js +49 -0
- package/dist/native-worker/main.d.ts +7 -0
- package/dist/native-worker/main.js +74 -0
- package/dist/native-worker/protocol.d.ts +744 -0
- package/dist/native-worker/protocol.js +200 -0
- package/dist/native-worker/sandbox-executor.d.ts +68 -0
- package/dist/native-worker/sandbox-executor.js +210 -0
- package/dist/native-worker/stdio.d.ts +29 -0
- package/dist/native-worker/stdio.js +188 -0
- package/dist/native-worker/warm-delivery.d.ts +16 -0
- package/dist/native-worker/warm-delivery.js +33 -0
- package/dist/native-worker/warm-pool-ledger.d.ts +39 -0
- package/dist/native-worker/warm-pool-ledger.js +73 -0
- package/dist/native-worker/warm-pool.d.ts +107 -0
- package/dist/native-worker/warm-pool.js +283 -0
- package/dist/native-worker/worker.d.ts +17 -0
- package/dist/native-worker/worker.js +115 -0
- package/dist/providers/auth/authorization-server.d.ts +3 -0
- package/dist/providers/auth/index.js +2 -0
- package/dist/providers/auth/self-hosted.d.ts +13 -1
- package/dist/providers/auth/self-hosted.js +54 -4
- package/dist/providers/chat/fake.d.ts +46 -0
- package/dist/providers/chat/fake.js +39 -0
- package/dist/providers/chat/index.d.ts +4 -0
- package/dist/providers/chat/index.js +8 -0
- package/dist/providers/chat/slack.d.ts +37 -0
- package/dist/providers/chat/slack.js +105 -0
- package/dist/providers/chat/types.d.ts +42 -0
- package/dist/providers/chat/types.js +19 -0
- package/dist/providers/engine/types.d.ts +19 -0
- package/dist/providers/engine/types.js +22 -0
- package/dist/providers/executor/composition.d.ts +24 -1
- package/dist/providers/executor/composition.js +39 -6
- package/dist/providers/executor/container.d.ts +24 -1
- package/dist/providers/executor/container.js +101 -11
- package/dist/providers/executor/dbos.d.ts +42 -0
- package/dist/providers/executor/dbos.js +118 -12
- package/dist/providers/executor/deferred.d.ts +56 -0
- package/dist/providers/executor/deferred.js +119 -0
- package/dist/providers/executor/routing.d.ts +37 -10
- package/dist/providers/executor/routing.js +73 -32
- package/dist/providers/executor/types.d.ts +12 -0
- package/dist/providers/jobs/docker.js +3 -3
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +21 -2
- package/dist/providers/jobs/fake-kubernetes-api.js +42 -1
- package/dist/providers/jobs/kubernetes-api.d.ts +17 -1
- package/dist/providers/jobs/kubernetes-api.js +7 -0
- package/dist/providers/jobs/kubernetes-client.d.ts +10 -1
- package/dist/providers/jobs/kubernetes-client.js +52 -3
- package/dist/providers/jobs/kubernetes-dry-run-fixture.d.ts +6 -1
- package/dist/providers/jobs/kubernetes-dry-run-fixture.js +6 -3
- package/dist/providers/jobs/kubernetes-isolation.d.ts +3 -1
- package/dist/providers/jobs/kubernetes-isolation.js +6 -0
- package/dist/providers/jobs/kubernetes-platform.d.ts +4 -1
- package/dist/providers/jobs/kubernetes-platform.js +38 -1
- package/dist/providers/jobs/kubernetes-preflight.d.ts +2 -1
- package/dist/providers/jobs/kubernetes-preflight.js +4 -2
- package/dist/providers/jobs/kubernetes.d.ts +36 -1
- package/dist/providers/jobs/kubernetes.js +74 -4
- package/dist/providers/jobs/metadata-probes.d.ts +11 -0
- package/dist/providers/jobs/metadata-probes.js +13 -0
- package/dist/providers/jobs/types.d.ts +9 -0
- package/dist/providers/review-host/github.d.ts +11 -1
- package/dist/providers/review-host/github.js +50 -0
- package/dist/providers/review-host/types.d.ts +23 -0
- package/dist/providers/vcs/github.d.ts +32 -6
- package/dist/providers/vcs/github.js +74 -16
- package/dist/quickstart/coding-seed.d.ts +10 -3
- package/dist/quickstart/coding-seed.js +74 -3
- package/dist/quickstart/images.d.ts +2 -0
- package/dist/quickstart/images.js +7 -1
- package/dist/quickstart/reviewer-prompt.d.ts +1 -1
- package/dist/quickstart/reviewer-prompt.js +1 -1
- package/dist/quickstart-images.json +1 -1
- package/dist/sandbox/brokered-fetch.d.ts +23 -0
- package/dist/sandbox/brokered-fetch.js +37 -0
- package/dist/sandbox/host-functions.d.ts +34 -0
- package/dist/sandbox/host-functions.js +144 -80
- package/dist/sandbox/prelude.js +7 -1
- package/dist/sandbox/run-in-sandbox.d.ts +19 -0
- package/dist/sandbox/run-in-sandbox.js +28 -10
- package/dist/sandbox/safe-fetch.d.ts +2 -0
- package/dist/sandbox/safe-fetch.js +3 -1
- package/dist/sandbox/secret-broker-sigv4.d.ts +2 -0
- package/dist/sandbox/secret-broker-sigv4.js +49 -0
- package/dist/sandbox/secret-broker.d.ts +34 -0
- package/dist/sandbox/secret-broker.js +162 -0
- package/dist/sandbox/user-tool.d.ts +14 -0
- package/dist/sandbox/user-tool.js +32 -0
- package/dist/serve.js +18 -0
- package/dist/viewer/api-schema.d.ts +210 -14
- package/dist/viewer/api-schema.js +22 -0
- package/dist/viewer/build-schemas.js +4 -1
- package/dist/viewer/event-bus.d.ts +6 -0
- package/dist/viewer/event-bus.js +16 -7
- package/dist/viewer/graph.d.ts +5 -2
- package/dist/viewer/graph.js +7 -2
- package/dist/viewer/http.d.ts +0 -1
- package/dist/viewer/http.js +2 -2
- package/dist/viewer/infra.js +25 -2
- package/dist/viewer/limits.d.ts +4 -0
- package/dist/viewer/limits.js +4 -0
- package/dist/viewer/openapi.d.ts +15 -0
- package/dist/viewer/openapi.js +172 -0
- package/docs/README.md +7 -0
- package/docs/agent-recipes.md +57 -8
- package/docs/architecture-runtime.md +16 -1
- package/docs/code-review-agents.md +139 -5
- package/docs/coding-agent-setup.md +113 -5
- package/docs/coding-packages.md +4 -2
- package/docs/coding-services.md +3 -1
- package/docs/coding-worker-byo-images.md +198 -6
- package/docs/coding-worker-isolation.md +68 -14
- package/docs/getting-started-gke.md +225 -9
- package/docs/getting-started-identity-provider.md +21 -10
- package/docs/getting-started.md +5 -4
- package/docs/jira-agents.md +5 -1
- package/docs/native-sandbox.md +635 -0
- package/docs/release-verification.md +9 -0
- package/docs/security-deployment.md +113 -12
- package/docs/slack-notifications.md +252 -0
- package/docs/tool-secrets.md +252 -0
- package/docs/viewer-api.md +46 -5
- package/docs/viewer-api.openapi.yml +1404 -0
- package/help/admin-viewer.md +6 -2
- package/help/agent-recipes.md +27 -0
- package/help/architecture-agent.md +1 -1
- package/help/brokered-secrets.md +79 -0
- package/help/build-claude-code-image.md +131 -0
- package/help/build-worker-image.md +3 -6
- package/help/code-review-agents.md +68 -6
- package/help/deploy-gke.md +8 -1
- package/help/deployment-targets.md +25 -14
- package/help/errors/coding-provider-not-configured.md +2 -2
- package/help/errors/database-auth-invalid.md +28 -0
- package/help/errors/github-account-not-allowed.md +25 -0
- package/help/errors/low-power-disabled.md +29 -0
- package/help/errors/low-power-scale-forbidden.md +35 -0
- package/help/errors/low-power-wake-timeout.md +30 -0
- package/help/errors/mobile-disabled.md +31 -0
- package/help/errors/native-sandbox-capacity.md +22 -0
- package/help/errors/native-sandbox-deadline-exceeded.md +19 -0
- package/help/errors/native-sandbox-docker-failed.md +20 -0
- package/help/errors/native-sandbox-gateway-unavailable.md +21 -0
- package/help/errors/native-sandbox-image-not-pinned.md +19 -0
- package/help/errors/native-sandbox-isolation-mismatch.md +20 -0
- package/help/errors/native-sandbox-network-unenforced.md +22 -0
- package/help/errors/native-sandbox-requires-catalog.md +31 -0
- package/help/errors/native-sandbox-unavailable.md +19 -0
- package/help/errors/native-sandbox-warm-delivery-failed.md +21 -0
- package/help/errors/native-sandbox-worker-exited.md +20 -0
- package/help/errors/native-sandbox-worker-lost.md +20 -0
- package/help/errors/native-sandbox-worker-unready.md +22 -0
- package/help/errors/secret-broker-body-invalid.md +26 -0
- package/help/errors/secret-broker-changed.md +20 -0
- package/help/errors/secret-broker-config-invalid.md +30 -0
- package/help/errors/secret-broker-conflict.md +27 -0
- package/help/errors/secret-broker-destination-denied.md +28 -0
- package/help/errors/secret-broker-value-invalid.md +28 -0
- package/help/errors/secret-brokered.md +24 -0
- package/help/errors/secret-not-brokered.md +25 -0
- package/help/errors/slack-auth-failed.md +48 -0
- package/help/errors/slack-channel-unreachable.md +39 -0
- package/help/errors/slack-not-configured.md +33 -0
- package/help/getting-started.md +4 -5
- package/help/github.md +18 -1
- package/help/identity-and-access.md +5 -1
- package/help/local-repositories.md +2 -3
- package/help/low-power-mode.md +125 -0
- package/help/merge-order-check.md +117 -0
- package/help/mobile-app.md +54 -0
- package/help/native-sandbox.md +136 -0
- package/help/observability.md +8 -0
- package/help/related-pull-requests.md +70 -9
- package/help/repo-instructions-and-skills.md +91 -0
- package/help/review-fix-rounds.md +10 -0
- package/help/slack-notifications.md +62 -0
- package/help/troubleshooting/coding-workers.md +21 -0
- package/package.json +11 -4
- package/prisma/migrations/20261009000003_native_execution_mode/migration.sql +12 -0
- package/prisma/migrations/20261009000004_native_gateway_ledger/migration.sql +65 -0
- package/prisma/migrations/20261009000005_native_gateway_call_child_agent/migration.sql +5 -0
- package/prisma/migrations/20261009000006_run_deferred_start_stop/migration.sql +14 -0
- package/prisma/migrations/20261009000007_native_gateway_network_ready/migration.sql +5 -0
- package/prisma/migrations/20261010000001_workflow_notifications/migration.sql +99 -0
- package/prisma/migrations/20261011000001_native_gateway_session_status_index/migration.sql +2 -0
- package/prisma/migrations/20261012000001_native_warm_worker/migration.sql +32 -0
- package/prisma/migrations/20261013000001_coding_run_merge_order/migration.sql +2 -0
- package/prisma/migrations/20261013000001_secret_broker/migration.sql +17 -0
- package/prisma/migrations/20261013000002_deferred_review_request/migration.sql +4 -0
- package/prisma/migrations/20261014000000_repo_skills/migration.sql +15 -0
- package/prisma/migrations/20261015000001_coding_run_merge_order_index/migration.sql +2 -0
- package/prisma/migrations/20261015000002_no_change_rereview/migration.sql +2 -0
- package/prisma/schema.prisma +362 -91
|
@@ -0,0 +1,1422 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model WorkflowEvent
|
|
5
|
+
* One workflow fact (a card picked up, a PR opened, ...). Written only when
|
|
6
|
+
* at least one channel matches. No FKs to Run/Agent: audit-style rows.
|
|
7
|
+
*/
|
|
8
|
+
export type WorkflowEventModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkflowEventPayload>;
|
|
9
|
+
export type AggregateWorkflowEvent = {
|
|
10
|
+
_count: WorkflowEventCountAggregateOutputType | null;
|
|
11
|
+
_avg: WorkflowEventAvgAggregateOutputType | null;
|
|
12
|
+
_sum: WorkflowEventSumAggregateOutputType | null;
|
|
13
|
+
_min: WorkflowEventMinAggregateOutputType | null;
|
|
14
|
+
_max: WorkflowEventMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type WorkflowEventAvgAggregateOutputType = {
|
|
17
|
+
prNumber: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type WorkflowEventSumAggregateOutputType = {
|
|
20
|
+
prNumber: number | null;
|
|
21
|
+
};
|
|
22
|
+
export type WorkflowEventMinAggregateOutputType = {
|
|
23
|
+
id: string | null;
|
|
24
|
+
kind: string | null;
|
|
25
|
+
dedupeKey: string | null;
|
|
26
|
+
runId: string | null;
|
|
27
|
+
agentId: string | null;
|
|
28
|
+
workItemProvider: string | null;
|
|
29
|
+
workItemKey: string | null;
|
|
30
|
+
codeProvider: string | null;
|
|
31
|
+
repository: string | null;
|
|
32
|
+
prNumber: number | null;
|
|
33
|
+
createdAt: Date | null;
|
|
34
|
+
};
|
|
35
|
+
export type WorkflowEventMaxAggregateOutputType = {
|
|
36
|
+
id: string | null;
|
|
37
|
+
kind: string | null;
|
|
38
|
+
dedupeKey: string | null;
|
|
39
|
+
runId: string | null;
|
|
40
|
+
agentId: string | null;
|
|
41
|
+
workItemProvider: string | null;
|
|
42
|
+
workItemKey: string | null;
|
|
43
|
+
codeProvider: string | null;
|
|
44
|
+
repository: string | null;
|
|
45
|
+
prNumber: number | null;
|
|
46
|
+
createdAt: Date | null;
|
|
47
|
+
};
|
|
48
|
+
export type WorkflowEventCountAggregateOutputType = {
|
|
49
|
+
id: number;
|
|
50
|
+
kind: number;
|
|
51
|
+
dedupeKey: number;
|
|
52
|
+
runId: number;
|
|
53
|
+
agentId: number;
|
|
54
|
+
workItemProvider: number;
|
|
55
|
+
workItemKey: number;
|
|
56
|
+
codeProvider: number;
|
|
57
|
+
repository: number;
|
|
58
|
+
prNumber: number;
|
|
59
|
+
payload: number;
|
|
60
|
+
createdAt: number;
|
|
61
|
+
_all: number;
|
|
62
|
+
};
|
|
63
|
+
export type WorkflowEventAvgAggregateInputType = {
|
|
64
|
+
prNumber?: true;
|
|
65
|
+
};
|
|
66
|
+
export type WorkflowEventSumAggregateInputType = {
|
|
67
|
+
prNumber?: true;
|
|
68
|
+
};
|
|
69
|
+
export type WorkflowEventMinAggregateInputType = {
|
|
70
|
+
id?: true;
|
|
71
|
+
kind?: true;
|
|
72
|
+
dedupeKey?: true;
|
|
73
|
+
runId?: true;
|
|
74
|
+
agentId?: true;
|
|
75
|
+
workItemProvider?: true;
|
|
76
|
+
workItemKey?: true;
|
|
77
|
+
codeProvider?: true;
|
|
78
|
+
repository?: true;
|
|
79
|
+
prNumber?: true;
|
|
80
|
+
createdAt?: true;
|
|
81
|
+
};
|
|
82
|
+
export type WorkflowEventMaxAggregateInputType = {
|
|
83
|
+
id?: true;
|
|
84
|
+
kind?: true;
|
|
85
|
+
dedupeKey?: true;
|
|
86
|
+
runId?: true;
|
|
87
|
+
agentId?: true;
|
|
88
|
+
workItemProvider?: true;
|
|
89
|
+
workItemKey?: true;
|
|
90
|
+
codeProvider?: true;
|
|
91
|
+
repository?: true;
|
|
92
|
+
prNumber?: true;
|
|
93
|
+
createdAt?: true;
|
|
94
|
+
};
|
|
95
|
+
export type WorkflowEventCountAggregateInputType = {
|
|
96
|
+
id?: true;
|
|
97
|
+
kind?: true;
|
|
98
|
+
dedupeKey?: true;
|
|
99
|
+
runId?: true;
|
|
100
|
+
agentId?: true;
|
|
101
|
+
workItemProvider?: true;
|
|
102
|
+
workItemKey?: true;
|
|
103
|
+
codeProvider?: true;
|
|
104
|
+
repository?: true;
|
|
105
|
+
prNumber?: true;
|
|
106
|
+
payload?: true;
|
|
107
|
+
createdAt?: true;
|
|
108
|
+
_all?: true;
|
|
109
|
+
};
|
|
110
|
+
export type WorkflowEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
111
|
+
/**
|
|
112
|
+
* Filter which WorkflowEvent to aggregate.
|
|
113
|
+
*/
|
|
114
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
117
|
+
*
|
|
118
|
+
* Determine the order of WorkflowEvents to fetch.
|
|
119
|
+
*/
|
|
120
|
+
orderBy?: Prisma.WorkflowEventOrderByWithRelationInput | Prisma.WorkflowEventOrderByWithRelationInput[];
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
123
|
+
*
|
|
124
|
+
* Sets the start position
|
|
125
|
+
*/
|
|
126
|
+
cursor?: Prisma.WorkflowEventWhereUniqueInput;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
129
|
+
*
|
|
130
|
+
* Take `±n` WorkflowEvents from the position of the cursor.
|
|
131
|
+
*/
|
|
132
|
+
take?: number;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
135
|
+
*
|
|
136
|
+
* Skip the first `n` WorkflowEvents.
|
|
137
|
+
*/
|
|
138
|
+
skip?: number;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Count returned WorkflowEvents
|
|
143
|
+
**/
|
|
144
|
+
_count?: true | WorkflowEventCountAggregateInputType;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Select which fields to average
|
|
149
|
+
**/
|
|
150
|
+
_avg?: WorkflowEventAvgAggregateInputType;
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
+
*
|
|
154
|
+
* Select which fields to sum
|
|
155
|
+
**/
|
|
156
|
+
_sum?: WorkflowEventSumAggregateInputType;
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
+
*
|
|
160
|
+
* Select which fields to find the minimum value
|
|
161
|
+
**/
|
|
162
|
+
_min?: WorkflowEventMinAggregateInputType;
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
+
*
|
|
166
|
+
* Select which fields to find the maximum value
|
|
167
|
+
**/
|
|
168
|
+
_max?: WorkflowEventMaxAggregateInputType;
|
|
169
|
+
};
|
|
170
|
+
export type GetWorkflowEventAggregateType<T extends WorkflowEventAggregateArgs> = {
|
|
171
|
+
[P in keyof T & keyof AggregateWorkflowEvent]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateWorkflowEvent[P]> : Prisma.GetScalarType<T[P], AggregateWorkflowEvent[P]>;
|
|
172
|
+
};
|
|
173
|
+
export type WorkflowEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
174
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
175
|
+
orderBy?: Prisma.WorkflowEventOrderByWithAggregationInput | Prisma.WorkflowEventOrderByWithAggregationInput[];
|
|
176
|
+
by: Prisma.WorkflowEventScalarFieldEnum[] | Prisma.WorkflowEventScalarFieldEnum;
|
|
177
|
+
having?: Prisma.WorkflowEventScalarWhereWithAggregatesInput;
|
|
178
|
+
take?: number;
|
|
179
|
+
skip?: number;
|
|
180
|
+
_count?: WorkflowEventCountAggregateInputType | true;
|
|
181
|
+
_avg?: WorkflowEventAvgAggregateInputType;
|
|
182
|
+
_sum?: WorkflowEventSumAggregateInputType;
|
|
183
|
+
_min?: WorkflowEventMinAggregateInputType;
|
|
184
|
+
_max?: WorkflowEventMaxAggregateInputType;
|
|
185
|
+
};
|
|
186
|
+
export type WorkflowEventGroupByOutputType = {
|
|
187
|
+
id: string;
|
|
188
|
+
kind: string;
|
|
189
|
+
dedupeKey: string;
|
|
190
|
+
runId: string | null;
|
|
191
|
+
agentId: string | null;
|
|
192
|
+
workItemProvider: string | null;
|
|
193
|
+
workItemKey: string | null;
|
|
194
|
+
codeProvider: string | null;
|
|
195
|
+
repository: string | null;
|
|
196
|
+
prNumber: number | null;
|
|
197
|
+
payload: runtime.JsonValue;
|
|
198
|
+
createdAt: Date;
|
|
199
|
+
_count: WorkflowEventCountAggregateOutputType | null;
|
|
200
|
+
_avg: WorkflowEventAvgAggregateOutputType | null;
|
|
201
|
+
_sum: WorkflowEventSumAggregateOutputType | null;
|
|
202
|
+
_min: WorkflowEventMinAggregateOutputType | null;
|
|
203
|
+
_max: WorkflowEventMaxAggregateOutputType | null;
|
|
204
|
+
};
|
|
205
|
+
export type GetWorkflowEventGroupByPayload<T extends WorkflowEventGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<WorkflowEventGroupByOutputType, T['by']> & {
|
|
206
|
+
[P in ((keyof T) & (keyof WorkflowEventGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], WorkflowEventGroupByOutputType[P]> : Prisma.GetScalarType<T[P], WorkflowEventGroupByOutputType[P]>;
|
|
207
|
+
}>>;
|
|
208
|
+
export type WorkflowEventWhereInput = {
|
|
209
|
+
AND?: Prisma.WorkflowEventWhereInput | Prisma.WorkflowEventWhereInput[];
|
|
210
|
+
OR?: Prisma.WorkflowEventWhereInput[];
|
|
211
|
+
NOT?: Prisma.WorkflowEventWhereInput | Prisma.WorkflowEventWhereInput[];
|
|
212
|
+
id?: Prisma.StringFilter<"WorkflowEvent"> | string;
|
|
213
|
+
kind?: Prisma.StringFilter<"WorkflowEvent"> | string;
|
|
214
|
+
dedupeKey?: Prisma.StringFilter<"WorkflowEvent"> | string;
|
|
215
|
+
runId?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
216
|
+
agentId?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
217
|
+
workItemProvider?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
218
|
+
workItemKey?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
219
|
+
codeProvider?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
220
|
+
repository?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
221
|
+
prNumber?: Prisma.IntNullableFilter<"WorkflowEvent"> | number | null;
|
|
222
|
+
payload?: Prisma.JsonFilter<"WorkflowEvent">;
|
|
223
|
+
createdAt?: Prisma.DateTimeFilter<"WorkflowEvent"> | Date | string;
|
|
224
|
+
deliveries?: Prisma.NotificationDeliveryListRelationFilter;
|
|
225
|
+
};
|
|
226
|
+
export type WorkflowEventOrderByWithRelationInput = {
|
|
227
|
+
id?: Prisma.SortOrder;
|
|
228
|
+
kind?: Prisma.SortOrder;
|
|
229
|
+
dedupeKey?: Prisma.SortOrder;
|
|
230
|
+
runId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
231
|
+
agentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
|
+
workItemProvider?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
233
|
+
workItemKey?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
234
|
+
codeProvider?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
235
|
+
repository?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
236
|
+
prNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
237
|
+
payload?: Prisma.SortOrder;
|
|
238
|
+
createdAt?: Prisma.SortOrder;
|
|
239
|
+
deliveries?: Prisma.NotificationDeliveryOrderByRelationAggregateInput;
|
|
240
|
+
};
|
|
241
|
+
export type WorkflowEventWhereUniqueInput = Prisma.AtLeast<{
|
|
242
|
+
id?: string;
|
|
243
|
+
dedupeKey?: string;
|
|
244
|
+
AND?: Prisma.WorkflowEventWhereInput | Prisma.WorkflowEventWhereInput[];
|
|
245
|
+
OR?: Prisma.WorkflowEventWhereInput[];
|
|
246
|
+
NOT?: Prisma.WorkflowEventWhereInput | Prisma.WorkflowEventWhereInput[];
|
|
247
|
+
kind?: Prisma.StringFilter<"WorkflowEvent"> | string;
|
|
248
|
+
runId?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
249
|
+
agentId?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
250
|
+
workItemProvider?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
251
|
+
workItemKey?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
252
|
+
codeProvider?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
253
|
+
repository?: Prisma.StringNullableFilter<"WorkflowEvent"> | string | null;
|
|
254
|
+
prNumber?: Prisma.IntNullableFilter<"WorkflowEvent"> | number | null;
|
|
255
|
+
payload?: Prisma.JsonFilter<"WorkflowEvent">;
|
|
256
|
+
createdAt?: Prisma.DateTimeFilter<"WorkflowEvent"> | Date | string;
|
|
257
|
+
deliveries?: Prisma.NotificationDeliveryListRelationFilter;
|
|
258
|
+
}, "id" | "dedupeKey">;
|
|
259
|
+
export type WorkflowEventOrderByWithAggregationInput = {
|
|
260
|
+
id?: Prisma.SortOrder;
|
|
261
|
+
kind?: Prisma.SortOrder;
|
|
262
|
+
dedupeKey?: Prisma.SortOrder;
|
|
263
|
+
runId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
264
|
+
agentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
265
|
+
workItemProvider?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
266
|
+
workItemKey?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
267
|
+
codeProvider?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
268
|
+
repository?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
269
|
+
prNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
270
|
+
payload?: Prisma.SortOrder;
|
|
271
|
+
createdAt?: Prisma.SortOrder;
|
|
272
|
+
_count?: Prisma.WorkflowEventCountOrderByAggregateInput;
|
|
273
|
+
_avg?: Prisma.WorkflowEventAvgOrderByAggregateInput;
|
|
274
|
+
_max?: Prisma.WorkflowEventMaxOrderByAggregateInput;
|
|
275
|
+
_min?: Prisma.WorkflowEventMinOrderByAggregateInput;
|
|
276
|
+
_sum?: Prisma.WorkflowEventSumOrderByAggregateInput;
|
|
277
|
+
};
|
|
278
|
+
export type WorkflowEventScalarWhereWithAggregatesInput = {
|
|
279
|
+
AND?: Prisma.WorkflowEventScalarWhereWithAggregatesInput | Prisma.WorkflowEventScalarWhereWithAggregatesInput[];
|
|
280
|
+
OR?: Prisma.WorkflowEventScalarWhereWithAggregatesInput[];
|
|
281
|
+
NOT?: Prisma.WorkflowEventScalarWhereWithAggregatesInput | Prisma.WorkflowEventScalarWhereWithAggregatesInput[];
|
|
282
|
+
id?: Prisma.StringWithAggregatesFilter<"WorkflowEvent"> | string;
|
|
283
|
+
kind?: Prisma.StringWithAggregatesFilter<"WorkflowEvent"> | string;
|
|
284
|
+
dedupeKey?: Prisma.StringWithAggregatesFilter<"WorkflowEvent"> | string;
|
|
285
|
+
runId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowEvent"> | string | null;
|
|
286
|
+
agentId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowEvent"> | string | null;
|
|
287
|
+
workItemProvider?: Prisma.StringNullableWithAggregatesFilter<"WorkflowEvent"> | string | null;
|
|
288
|
+
workItemKey?: Prisma.StringNullableWithAggregatesFilter<"WorkflowEvent"> | string | null;
|
|
289
|
+
codeProvider?: Prisma.StringNullableWithAggregatesFilter<"WorkflowEvent"> | string | null;
|
|
290
|
+
repository?: Prisma.StringNullableWithAggregatesFilter<"WorkflowEvent"> | string | null;
|
|
291
|
+
prNumber?: Prisma.IntNullableWithAggregatesFilter<"WorkflowEvent"> | number | null;
|
|
292
|
+
payload?: Prisma.JsonWithAggregatesFilter<"WorkflowEvent">;
|
|
293
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowEvent"> | Date | string;
|
|
294
|
+
};
|
|
295
|
+
export type WorkflowEventCreateInput = {
|
|
296
|
+
id?: string;
|
|
297
|
+
kind: string;
|
|
298
|
+
dedupeKey: string;
|
|
299
|
+
runId?: string | null;
|
|
300
|
+
agentId?: string | null;
|
|
301
|
+
workItemProvider?: string | null;
|
|
302
|
+
workItemKey?: string | null;
|
|
303
|
+
codeProvider?: string | null;
|
|
304
|
+
repository?: string | null;
|
|
305
|
+
prNumber?: number | null;
|
|
306
|
+
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
307
|
+
createdAt?: Date | string;
|
|
308
|
+
deliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutEventInput;
|
|
309
|
+
};
|
|
310
|
+
export type WorkflowEventUncheckedCreateInput = {
|
|
311
|
+
id?: string;
|
|
312
|
+
kind: string;
|
|
313
|
+
dedupeKey: string;
|
|
314
|
+
runId?: string | null;
|
|
315
|
+
agentId?: string | null;
|
|
316
|
+
workItemProvider?: string | null;
|
|
317
|
+
workItemKey?: string | null;
|
|
318
|
+
codeProvider?: string | null;
|
|
319
|
+
repository?: string | null;
|
|
320
|
+
prNumber?: number | null;
|
|
321
|
+
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
322
|
+
createdAt?: Date | string;
|
|
323
|
+
deliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutEventInput;
|
|
324
|
+
};
|
|
325
|
+
export type WorkflowEventUpdateInput = {
|
|
326
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
327
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
328
|
+
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
329
|
+
runId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
330
|
+
agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
331
|
+
workItemProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
332
|
+
workItemKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
333
|
+
codeProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
334
|
+
repository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
335
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
336
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
337
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
338
|
+
deliveries?: Prisma.NotificationDeliveryUpdateManyWithoutEventNestedInput;
|
|
339
|
+
};
|
|
340
|
+
export type WorkflowEventUncheckedUpdateInput = {
|
|
341
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
342
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
343
|
+
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
344
|
+
runId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
345
|
+
agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
346
|
+
workItemProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
347
|
+
workItemKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
348
|
+
codeProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
349
|
+
repository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
350
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
351
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
352
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
353
|
+
deliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutEventNestedInput;
|
|
354
|
+
};
|
|
355
|
+
export type WorkflowEventCreateManyInput = {
|
|
356
|
+
id?: string;
|
|
357
|
+
kind: string;
|
|
358
|
+
dedupeKey: string;
|
|
359
|
+
runId?: string | null;
|
|
360
|
+
agentId?: string | null;
|
|
361
|
+
workItemProvider?: string | null;
|
|
362
|
+
workItemKey?: string | null;
|
|
363
|
+
codeProvider?: string | null;
|
|
364
|
+
repository?: string | null;
|
|
365
|
+
prNumber?: number | null;
|
|
366
|
+
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
367
|
+
createdAt?: Date | string;
|
|
368
|
+
};
|
|
369
|
+
export type WorkflowEventUpdateManyMutationInput = {
|
|
370
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
371
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
+
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
373
|
+
runId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
374
|
+
agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
375
|
+
workItemProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
376
|
+
workItemKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
377
|
+
codeProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
378
|
+
repository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
379
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
380
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
381
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
382
|
+
};
|
|
383
|
+
export type WorkflowEventUncheckedUpdateManyInput = {
|
|
384
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
385
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
386
|
+
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
387
|
+
runId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
388
|
+
agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
389
|
+
workItemProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
390
|
+
workItemKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
391
|
+
codeProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
392
|
+
repository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
393
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
394
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
395
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
396
|
+
};
|
|
397
|
+
export type WorkflowEventCountOrderByAggregateInput = {
|
|
398
|
+
id?: Prisma.SortOrder;
|
|
399
|
+
kind?: Prisma.SortOrder;
|
|
400
|
+
dedupeKey?: Prisma.SortOrder;
|
|
401
|
+
runId?: Prisma.SortOrder;
|
|
402
|
+
agentId?: Prisma.SortOrder;
|
|
403
|
+
workItemProvider?: Prisma.SortOrder;
|
|
404
|
+
workItemKey?: Prisma.SortOrder;
|
|
405
|
+
codeProvider?: Prisma.SortOrder;
|
|
406
|
+
repository?: Prisma.SortOrder;
|
|
407
|
+
prNumber?: Prisma.SortOrder;
|
|
408
|
+
payload?: Prisma.SortOrder;
|
|
409
|
+
createdAt?: Prisma.SortOrder;
|
|
410
|
+
};
|
|
411
|
+
export type WorkflowEventAvgOrderByAggregateInput = {
|
|
412
|
+
prNumber?: Prisma.SortOrder;
|
|
413
|
+
};
|
|
414
|
+
export type WorkflowEventMaxOrderByAggregateInput = {
|
|
415
|
+
id?: Prisma.SortOrder;
|
|
416
|
+
kind?: Prisma.SortOrder;
|
|
417
|
+
dedupeKey?: Prisma.SortOrder;
|
|
418
|
+
runId?: Prisma.SortOrder;
|
|
419
|
+
agentId?: Prisma.SortOrder;
|
|
420
|
+
workItemProvider?: Prisma.SortOrder;
|
|
421
|
+
workItemKey?: Prisma.SortOrder;
|
|
422
|
+
codeProvider?: Prisma.SortOrder;
|
|
423
|
+
repository?: Prisma.SortOrder;
|
|
424
|
+
prNumber?: Prisma.SortOrder;
|
|
425
|
+
createdAt?: Prisma.SortOrder;
|
|
426
|
+
};
|
|
427
|
+
export type WorkflowEventMinOrderByAggregateInput = {
|
|
428
|
+
id?: Prisma.SortOrder;
|
|
429
|
+
kind?: Prisma.SortOrder;
|
|
430
|
+
dedupeKey?: Prisma.SortOrder;
|
|
431
|
+
runId?: Prisma.SortOrder;
|
|
432
|
+
agentId?: Prisma.SortOrder;
|
|
433
|
+
workItemProvider?: Prisma.SortOrder;
|
|
434
|
+
workItemKey?: Prisma.SortOrder;
|
|
435
|
+
codeProvider?: Prisma.SortOrder;
|
|
436
|
+
repository?: Prisma.SortOrder;
|
|
437
|
+
prNumber?: Prisma.SortOrder;
|
|
438
|
+
createdAt?: Prisma.SortOrder;
|
|
439
|
+
};
|
|
440
|
+
export type WorkflowEventSumOrderByAggregateInput = {
|
|
441
|
+
prNumber?: Prisma.SortOrder;
|
|
442
|
+
};
|
|
443
|
+
export type WorkflowEventScalarRelationFilter = {
|
|
444
|
+
is?: Prisma.WorkflowEventWhereInput;
|
|
445
|
+
isNot?: Prisma.WorkflowEventWhereInput;
|
|
446
|
+
};
|
|
447
|
+
export type WorkflowEventCreateNestedOneWithoutDeliveriesInput = {
|
|
448
|
+
create?: Prisma.XOR<Prisma.WorkflowEventCreateWithoutDeliveriesInput, Prisma.WorkflowEventUncheckedCreateWithoutDeliveriesInput>;
|
|
449
|
+
connectOrCreate?: Prisma.WorkflowEventCreateOrConnectWithoutDeliveriesInput;
|
|
450
|
+
connect?: Prisma.WorkflowEventWhereUniqueInput;
|
|
451
|
+
};
|
|
452
|
+
export type WorkflowEventUpdateOneRequiredWithoutDeliveriesNestedInput = {
|
|
453
|
+
create?: Prisma.XOR<Prisma.WorkflowEventCreateWithoutDeliveriesInput, Prisma.WorkflowEventUncheckedCreateWithoutDeliveriesInput>;
|
|
454
|
+
connectOrCreate?: Prisma.WorkflowEventCreateOrConnectWithoutDeliveriesInput;
|
|
455
|
+
upsert?: Prisma.WorkflowEventUpsertWithoutDeliveriesInput;
|
|
456
|
+
connect?: Prisma.WorkflowEventWhereUniqueInput;
|
|
457
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowEventUpdateToOneWithWhereWithoutDeliveriesInput, Prisma.WorkflowEventUpdateWithoutDeliveriesInput>, Prisma.WorkflowEventUncheckedUpdateWithoutDeliveriesInput>;
|
|
458
|
+
};
|
|
459
|
+
export type WorkflowEventCreateWithoutDeliveriesInput = {
|
|
460
|
+
id?: string;
|
|
461
|
+
kind: string;
|
|
462
|
+
dedupeKey: string;
|
|
463
|
+
runId?: string | null;
|
|
464
|
+
agentId?: string | null;
|
|
465
|
+
workItemProvider?: string | null;
|
|
466
|
+
workItemKey?: string | null;
|
|
467
|
+
codeProvider?: string | null;
|
|
468
|
+
repository?: string | null;
|
|
469
|
+
prNumber?: number | null;
|
|
470
|
+
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
471
|
+
createdAt?: Date | string;
|
|
472
|
+
};
|
|
473
|
+
export type WorkflowEventUncheckedCreateWithoutDeliveriesInput = {
|
|
474
|
+
id?: string;
|
|
475
|
+
kind: string;
|
|
476
|
+
dedupeKey: string;
|
|
477
|
+
runId?: string | null;
|
|
478
|
+
agentId?: string | null;
|
|
479
|
+
workItemProvider?: string | null;
|
|
480
|
+
workItemKey?: string | null;
|
|
481
|
+
codeProvider?: string | null;
|
|
482
|
+
repository?: string | null;
|
|
483
|
+
prNumber?: number | null;
|
|
484
|
+
payload: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
485
|
+
createdAt?: Date | string;
|
|
486
|
+
};
|
|
487
|
+
export type WorkflowEventCreateOrConnectWithoutDeliveriesInput = {
|
|
488
|
+
where: Prisma.WorkflowEventWhereUniqueInput;
|
|
489
|
+
create: Prisma.XOR<Prisma.WorkflowEventCreateWithoutDeliveriesInput, Prisma.WorkflowEventUncheckedCreateWithoutDeliveriesInput>;
|
|
490
|
+
};
|
|
491
|
+
export type WorkflowEventUpsertWithoutDeliveriesInput = {
|
|
492
|
+
update: Prisma.XOR<Prisma.WorkflowEventUpdateWithoutDeliveriesInput, Prisma.WorkflowEventUncheckedUpdateWithoutDeliveriesInput>;
|
|
493
|
+
create: Prisma.XOR<Prisma.WorkflowEventCreateWithoutDeliveriesInput, Prisma.WorkflowEventUncheckedCreateWithoutDeliveriesInput>;
|
|
494
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
495
|
+
};
|
|
496
|
+
export type WorkflowEventUpdateToOneWithWhereWithoutDeliveriesInput = {
|
|
497
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
498
|
+
data: Prisma.XOR<Prisma.WorkflowEventUpdateWithoutDeliveriesInput, Prisma.WorkflowEventUncheckedUpdateWithoutDeliveriesInput>;
|
|
499
|
+
};
|
|
500
|
+
export type WorkflowEventUpdateWithoutDeliveriesInput = {
|
|
501
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
502
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
503
|
+
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
504
|
+
runId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
505
|
+
agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
506
|
+
workItemProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
507
|
+
workItemKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
508
|
+
codeProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
509
|
+
repository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
510
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
511
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
512
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
513
|
+
};
|
|
514
|
+
export type WorkflowEventUncheckedUpdateWithoutDeliveriesInput = {
|
|
515
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
516
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
517
|
+
dedupeKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
518
|
+
runId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
519
|
+
agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
520
|
+
workItemProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
521
|
+
workItemKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
522
|
+
codeProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
523
|
+
repository?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
524
|
+
prNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
525
|
+
payload?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
526
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
527
|
+
};
|
|
528
|
+
/**
|
|
529
|
+
* Count Type WorkflowEventCountOutputType
|
|
530
|
+
*/
|
|
531
|
+
export type WorkflowEventCountOutputType = {
|
|
532
|
+
deliveries: number;
|
|
533
|
+
};
|
|
534
|
+
export type WorkflowEventCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
535
|
+
deliveries?: boolean | WorkflowEventCountOutputTypeCountDeliveriesArgs;
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* WorkflowEventCountOutputType without action
|
|
539
|
+
*/
|
|
540
|
+
export type WorkflowEventCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
541
|
+
/**
|
|
542
|
+
* Select specific fields to fetch from the WorkflowEventCountOutputType
|
|
543
|
+
*/
|
|
544
|
+
select?: Prisma.WorkflowEventCountOutputTypeSelect<ExtArgs> | null;
|
|
545
|
+
};
|
|
546
|
+
/**
|
|
547
|
+
* WorkflowEventCountOutputType without action
|
|
548
|
+
*/
|
|
549
|
+
export type WorkflowEventCountOutputTypeCountDeliveriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
550
|
+
where?: Prisma.NotificationDeliveryWhereInput;
|
|
551
|
+
};
|
|
552
|
+
export type WorkflowEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
553
|
+
id?: boolean;
|
|
554
|
+
kind?: boolean;
|
|
555
|
+
dedupeKey?: boolean;
|
|
556
|
+
runId?: boolean;
|
|
557
|
+
agentId?: boolean;
|
|
558
|
+
workItemProvider?: boolean;
|
|
559
|
+
workItemKey?: boolean;
|
|
560
|
+
codeProvider?: boolean;
|
|
561
|
+
repository?: boolean;
|
|
562
|
+
prNumber?: boolean;
|
|
563
|
+
payload?: boolean;
|
|
564
|
+
createdAt?: boolean;
|
|
565
|
+
deliveries?: boolean | Prisma.WorkflowEvent$deliveriesArgs<ExtArgs>;
|
|
566
|
+
_count?: boolean | Prisma.WorkflowEventCountOutputTypeDefaultArgs<ExtArgs>;
|
|
567
|
+
}, ExtArgs["result"]["workflowEvent"]>;
|
|
568
|
+
export type WorkflowEventSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
569
|
+
id?: boolean;
|
|
570
|
+
kind?: boolean;
|
|
571
|
+
dedupeKey?: boolean;
|
|
572
|
+
runId?: boolean;
|
|
573
|
+
agentId?: boolean;
|
|
574
|
+
workItemProvider?: boolean;
|
|
575
|
+
workItemKey?: boolean;
|
|
576
|
+
codeProvider?: boolean;
|
|
577
|
+
repository?: boolean;
|
|
578
|
+
prNumber?: boolean;
|
|
579
|
+
payload?: boolean;
|
|
580
|
+
createdAt?: boolean;
|
|
581
|
+
}, ExtArgs["result"]["workflowEvent"]>;
|
|
582
|
+
export type WorkflowEventSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
583
|
+
id?: boolean;
|
|
584
|
+
kind?: boolean;
|
|
585
|
+
dedupeKey?: boolean;
|
|
586
|
+
runId?: boolean;
|
|
587
|
+
agentId?: boolean;
|
|
588
|
+
workItemProvider?: boolean;
|
|
589
|
+
workItemKey?: boolean;
|
|
590
|
+
codeProvider?: boolean;
|
|
591
|
+
repository?: boolean;
|
|
592
|
+
prNumber?: boolean;
|
|
593
|
+
payload?: boolean;
|
|
594
|
+
createdAt?: boolean;
|
|
595
|
+
}, ExtArgs["result"]["workflowEvent"]>;
|
|
596
|
+
export type WorkflowEventSelectScalar = {
|
|
597
|
+
id?: boolean;
|
|
598
|
+
kind?: boolean;
|
|
599
|
+
dedupeKey?: boolean;
|
|
600
|
+
runId?: boolean;
|
|
601
|
+
agentId?: boolean;
|
|
602
|
+
workItemProvider?: boolean;
|
|
603
|
+
workItemKey?: boolean;
|
|
604
|
+
codeProvider?: boolean;
|
|
605
|
+
repository?: boolean;
|
|
606
|
+
prNumber?: boolean;
|
|
607
|
+
payload?: boolean;
|
|
608
|
+
createdAt?: boolean;
|
|
609
|
+
};
|
|
610
|
+
export type WorkflowEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "kind" | "dedupeKey" | "runId" | "agentId" | "workItemProvider" | "workItemKey" | "codeProvider" | "repository" | "prNumber" | "payload" | "createdAt", ExtArgs["result"]["workflowEvent"]>;
|
|
611
|
+
export type WorkflowEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
612
|
+
deliveries?: boolean | Prisma.WorkflowEvent$deliveriesArgs<ExtArgs>;
|
|
613
|
+
_count?: boolean | Prisma.WorkflowEventCountOutputTypeDefaultArgs<ExtArgs>;
|
|
614
|
+
};
|
|
615
|
+
export type WorkflowEventIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
616
|
+
export type WorkflowEventIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
617
|
+
export type $WorkflowEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
618
|
+
name: "WorkflowEvent";
|
|
619
|
+
objects: {
|
|
620
|
+
deliveries: Prisma.$NotificationDeliveryPayload<ExtArgs>[];
|
|
621
|
+
};
|
|
622
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
623
|
+
id: string;
|
|
624
|
+
kind: string;
|
|
625
|
+
/**
|
|
626
|
+
* Idempotency key: repeated recordings of the same fact are no-ops.
|
|
627
|
+
*/
|
|
628
|
+
dedupeKey: string;
|
|
629
|
+
runId: string | null;
|
|
630
|
+
agentId: string | null;
|
|
631
|
+
workItemProvider: string | null;
|
|
632
|
+
workItemKey: string | null;
|
|
633
|
+
codeProvider: string | null;
|
|
634
|
+
repository: string | null;
|
|
635
|
+
prNumber: number | null;
|
|
636
|
+
/**
|
|
637
|
+
* Template inputs only: never secrets, code, review bodies or run output.
|
|
638
|
+
*/
|
|
639
|
+
payload: runtime.JsonValue;
|
|
640
|
+
createdAt: Date;
|
|
641
|
+
}, ExtArgs["result"]["workflowEvent"]>;
|
|
642
|
+
composites: {};
|
|
643
|
+
};
|
|
644
|
+
export type WorkflowEventGetPayload<S extends boolean | null | undefined | WorkflowEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload, S>;
|
|
645
|
+
export type WorkflowEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<WorkflowEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
646
|
+
select?: WorkflowEventCountAggregateInputType | true;
|
|
647
|
+
};
|
|
648
|
+
export interface WorkflowEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
649
|
+
[K: symbol]: {
|
|
650
|
+
types: Prisma.TypeMap<ExtArgs>['model']['WorkflowEvent'];
|
|
651
|
+
meta: {
|
|
652
|
+
name: 'WorkflowEvent';
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
/**
|
|
656
|
+
* Find zero or one WorkflowEvent that matches the filter.
|
|
657
|
+
* @param {WorkflowEventFindUniqueArgs} args - Arguments to find a WorkflowEvent
|
|
658
|
+
* @example
|
|
659
|
+
* // Get one WorkflowEvent
|
|
660
|
+
* const workflowEvent = await prisma.workflowEvent.findUnique({
|
|
661
|
+
* where: {
|
|
662
|
+
* // ... provide filter here
|
|
663
|
+
* }
|
|
664
|
+
* })
|
|
665
|
+
*/
|
|
666
|
+
findUnique<T extends WorkflowEventFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
667
|
+
/**
|
|
668
|
+
* Find one WorkflowEvent that matches the filter or throw an error with `error.code='P2025'`
|
|
669
|
+
* if no matches were found.
|
|
670
|
+
* @param {WorkflowEventFindUniqueOrThrowArgs} args - Arguments to find a WorkflowEvent
|
|
671
|
+
* @example
|
|
672
|
+
* // Get one WorkflowEvent
|
|
673
|
+
* const workflowEvent = await prisma.workflowEvent.findUniqueOrThrow({
|
|
674
|
+
* where: {
|
|
675
|
+
* // ... provide filter here
|
|
676
|
+
* }
|
|
677
|
+
* })
|
|
678
|
+
*/
|
|
679
|
+
findUniqueOrThrow<T extends WorkflowEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
680
|
+
/**
|
|
681
|
+
* Find the first WorkflowEvent that matches the filter.
|
|
682
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
683
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
684
|
+
* @param {WorkflowEventFindFirstArgs} args - Arguments to find a WorkflowEvent
|
|
685
|
+
* @example
|
|
686
|
+
* // Get one WorkflowEvent
|
|
687
|
+
* const workflowEvent = await prisma.workflowEvent.findFirst({
|
|
688
|
+
* where: {
|
|
689
|
+
* // ... provide filter here
|
|
690
|
+
* }
|
|
691
|
+
* })
|
|
692
|
+
*/
|
|
693
|
+
findFirst<T extends WorkflowEventFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
694
|
+
/**
|
|
695
|
+
* Find the first WorkflowEvent that matches the filter or
|
|
696
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
697
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
698
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
699
|
+
* @param {WorkflowEventFindFirstOrThrowArgs} args - Arguments to find a WorkflowEvent
|
|
700
|
+
* @example
|
|
701
|
+
* // Get one WorkflowEvent
|
|
702
|
+
* const workflowEvent = await prisma.workflowEvent.findFirstOrThrow({
|
|
703
|
+
* where: {
|
|
704
|
+
* // ... provide filter here
|
|
705
|
+
* }
|
|
706
|
+
* })
|
|
707
|
+
*/
|
|
708
|
+
findFirstOrThrow<T extends WorkflowEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
709
|
+
/**
|
|
710
|
+
* Find zero or more WorkflowEvents that matches the filter.
|
|
711
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
712
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
713
|
+
* @param {WorkflowEventFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
714
|
+
* @example
|
|
715
|
+
* // Get all WorkflowEvents
|
|
716
|
+
* const workflowEvents = await prisma.workflowEvent.findMany()
|
|
717
|
+
*
|
|
718
|
+
* // Get first 10 WorkflowEvents
|
|
719
|
+
* const workflowEvents = await prisma.workflowEvent.findMany({ take: 10 })
|
|
720
|
+
*
|
|
721
|
+
* // Only select the `id`
|
|
722
|
+
* const workflowEventWithIdOnly = await prisma.workflowEvent.findMany({ select: { id: true } })
|
|
723
|
+
*
|
|
724
|
+
*/
|
|
725
|
+
findMany<T extends WorkflowEventFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
726
|
+
/**
|
|
727
|
+
* Create a WorkflowEvent.
|
|
728
|
+
* @param {WorkflowEventCreateArgs} args - Arguments to create a WorkflowEvent.
|
|
729
|
+
* @example
|
|
730
|
+
* // Create one WorkflowEvent
|
|
731
|
+
* const WorkflowEvent = await prisma.workflowEvent.create({
|
|
732
|
+
* data: {
|
|
733
|
+
* // ... data to create a WorkflowEvent
|
|
734
|
+
* }
|
|
735
|
+
* })
|
|
736
|
+
*
|
|
737
|
+
*/
|
|
738
|
+
create<T extends WorkflowEventCreateArgs>(args: Prisma.SelectSubset<T, WorkflowEventCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
739
|
+
/**
|
|
740
|
+
* Create many WorkflowEvents.
|
|
741
|
+
* @param {WorkflowEventCreateManyArgs} args - Arguments to create many WorkflowEvents.
|
|
742
|
+
* @example
|
|
743
|
+
* // Create many WorkflowEvents
|
|
744
|
+
* const workflowEvent = await prisma.workflowEvent.createMany({
|
|
745
|
+
* data: [
|
|
746
|
+
* // ... provide data here
|
|
747
|
+
* ]
|
|
748
|
+
* })
|
|
749
|
+
*
|
|
750
|
+
*/
|
|
751
|
+
createMany<T extends WorkflowEventCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
752
|
+
/**
|
|
753
|
+
* Create many WorkflowEvents and returns the data saved in the database.
|
|
754
|
+
* @param {WorkflowEventCreateManyAndReturnArgs} args - Arguments to create many WorkflowEvents.
|
|
755
|
+
* @example
|
|
756
|
+
* // Create many WorkflowEvents
|
|
757
|
+
* const workflowEvent = await prisma.workflowEvent.createManyAndReturn({
|
|
758
|
+
* data: [
|
|
759
|
+
* // ... provide data here
|
|
760
|
+
* ]
|
|
761
|
+
* })
|
|
762
|
+
*
|
|
763
|
+
* // Create many WorkflowEvents and only return the `id`
|
|
764
|
+
* const workflowEventWithIdOnly = await prisma.workflowEvent.createManyAndReturn({
|
|
765
|
+
* select: { id: true },
|
|
766
|
+
* data: [
|
|
767
|
+
* // ... provide data here
|
|
768
|
+
* ]
|
|
769
|
+
* })
|
|
770
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
771
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
772
|
+
*
|
|
773
|
+
*/
|
|
774
|
+
createManyAndReturn<T extends WorkflowEventCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowEventCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
775
|
+
/**
|
|
776
|
+
* Delete a WorkflowEvent.
|
|
777
|
+
* @param {WorkflowEventDeleteArgs} args - Arguments to delete one WorkflowEvent.
|
|
778
|
+
* @example
|
|
779
|
+
* // Delete one WorkflowEvent
|
|
780
|
+
* const WorkflowEvent = await prisma.workflowEvent.delete({
|
|
781
|
+
* where: {
|
|
782
|
+
* // ... filter to delete one WorkflowEvent
|
|
783
|
+
* }
|
|
784
|
+
* })
|
|
785
|
+
*
|
|
786
|
+
*/
|
|
787
|
+
delete<T extends WorkflowEventDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowEventDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
788
|
+
/**
|
|
789
|
+
* Update one WorkflowEvent.
|
|
790
|
+
* @param {WorkflowEventUpdateArgs} args - Arguments to update one WorkflowEvent.
|
|
791
|
+
* @example
|
|
792
|
+
* // Update one WorkflowEvent
|
|
793
|
+
* const workflowEvent = await prisma.workflowEvent.update({
|
|
794
|
+
* where: {
|
|
795
|
+
* // ... provide filter here
|
|
796
|
+
* },
|
|
797
|
+
* data: {
|
|
798
|
+
* // ... provide data here
|
|
799
|
+
* }
|
|
800
|
+
* })
|
|
801
|
+
*
|
|
802
|
+
*/
|
|
803
|
+
update<T extends WorkflowEventUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowEventUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
804
|
+
/**
|
|
805
|
+
* Delete zero or more WorkflowEvents.
|
|
806
|
+
* @param {WorkflowEventDeleteManyArgs} args - Arguments to filter WorkflowEvents to delete.
|
|
807
|
+
* @example
|
|
808
|
+
* // Delete a few WorkflowEvents
|
|
809
|
+
* const { count } = await prisma.workflowEvent.deleteMany({
|
|
810
|
+
* where: {
|
|
811
|
+
* // ... provide filter here
|
|
812
|
+
* }
|
|
813
|
+
* })
|
|
814
|
+
*
|
|
815
|
+
*/
|
|
816
|
+
deleteMany<T extends WorkflowEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
817
|
+
/**
|
|
818
|
+
* Update zero or more WorkflowEvents.
|
|
819
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
820
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
821
|
+
* @param {WorkflowEventUpdateManyArgs} args - Arguments to update one or more rows.
|
|
822
|
+
* @example
|
|
823
|
+
* // Update many WorkflowEvents
|
|
824
|
+
* const workflowEvent = await prisma.workflowEvent.updateMany({
|
|
825
|
+
* where: {
|
|
826
|
+
* // ... provide filter here
|
|
827
|
+
* },
|
|
828
|
+
* data: {
|
|
829
|
+
* // ... provide data here
|
|
830
|
+
* }
|
|
831
|
+
* })
|
|
832
|
+
*
|
|
833
|
+
*/
|
|
834
|
+
updateMany<T extends WorkflowEventUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
835
|
+
/**
|
|
836
|
+
* Update zero or more WorkflowEvents and returns the data updated in the database.
|
|
837
|
+
* @param {WorkflowEventUpdateManyAndReturnArgs} args - Arguments to update many WorkflowEvents.
|
|
838
|
+
* @example
|
|
839
|
+
* // Update many WorkflowEvents
|
|
840
|
+
* const workflowEvent = await prisma.workflowEvent.updateManyAndReturn({
|
|
841
|
+
* where: {
|
|
842
|
+
* // ... provide filter here
|
|
843
|
+
* },
|
|
844
|
+
* data: [
|
|
845
|
+
* // ... provide data here
|
|
846
|
+
* ]
|
|
847
|
+
* })
|
|
848
|
+
*
|
|
849
|
+
* // Update zero or more WorkflowEvents and only return the `id`
|
|
850
|
+
* const workflowEventWithIdOnly = await prisma.workflowEvent.updateManyAndReturn({
|
|
851
|
+
* select: { id: true },
|
|
852
|
+
* where: {
|
|
853
|
+
* // ... provide filter here
|
|
854
|
+
* },
|
|
855
|
+
* data: [
|
|
856
|
+
* // ... provide data here
|
|
857
|
+
* ]
|
|
858
|
+
* })
|
|
859
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
860
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
861
|
+
*
|
|
862
|
+
*/
|
|
863
|
+
updateManyAndReturn<T extends WorkflowEventUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowEventUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
864
|
+
/**
|
|
865
|
+
* Create or update one WorkflowEvent.
|
|
866
|
+
* @param {WorkflowEventUpsertArgs} args - Arguments to update or create a WorkflowEvent.
|
|
867
|
+
* @example
|
|
868
|
+
* // Update or create a WorkflowEvent
|
|
869
|
+
* const workflowEvent = await prisma.workflowEvent.upsert({
|
|
870
|
+
* create: {
|
|
871
|
+
* // ... data to create a WorkflowEvent
|
|
872
|
+
* },
|
|
873
|
+
* update: {
|
|
874
|
+
* // ... in case it already exists, update
|
|
875
|
+
* },
|
|
876
|
+
* where: {
|
|
877
|
+
* // ... the filter for the WorkflowEvent we want to update
|
|
878
|
+
* }
|
|
879
|
+
* })
|
|
880
|
+
*/
|
|
881
|
+
upsert<T extends WorkflowEventUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowEventUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowEventClient<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
882
|
+
/**
|
|
883
|
+
* Count the number of WorkflowEvents.
|
|
884
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
885
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
886
|
+
* @param {WorkflowEventCountArgs} args - Arguments to filter WorkflowEvents to count.
|
|
887
|
+
* @example
|
|
888
|
+
* // Count the number of WorkflowEvents
|
|
889
|
+
* const count = await prisma.workflowEvent.count({
|
|
890
|
+
* where: {
|
|
891
|
+
* // ... the filter for the WorkflowEvents we want to count
|
|
892
|
+
* }
|
|
893
|
+
* })
|
|
894
|
+
**/
|
|
895
|
+
count<T extends WorkflowEventCountArgs>(args?: Prisma.Subset<T, WorkflowEventCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], WorkflowEventCountAggregateOutputType> : number>;
|
|
896
|
+
/**
|
|
897
|
+
* Allows you to perform aggregations operations on a WorkflowEvent.
|
|
898
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
899
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
900
|
+
* @param {WorkflowEventAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
901
|
+
* @example
|
|
902
|
+
* // Ordered by age ascending
|
|
903
|
+
* // Where email contains prisma.io
|
|
904
|
+
* // Limited to the 10 users
|
|
905
|
+
* const aggregations = await prisma.user.aggregate({
|
|
906
|
+
* _avg: {
|
|
907
|
+
* age: true,
|
|
908
|
+
* },
|
|
909
|
+
* where: {
|
|
910
|
+
* email: {
|
|
911
|
+
* contains: "prisma.io",
|
|
912
|
+
* },
|
|
913
|
+
* },
|
|
914
|
+
* orderBy: {
|
|
915
|
+
* age: "asc",
|
|
916
|
+
* },
|
|
917
|
+
* take: 10,
|
|
918
|
+
* })
|
|
919
|
+
**/
|
|
920
|
+
aggregate<T extends WorkflowEventAggregateArgs>(args: Prisma.Subset<T, WorkflowEventAggregateArgs>): Prisma.PrismaPromise<GetWorkflowEventAggregateType<T>>;
|
|
921
|
+
/**
|
|
922
|
+
* Group by WorkflowEvent.
|
|
923
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
924
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
925
|
+
* @param {WorkflowEventGroupByArgs} args - Group by arguments.
|
|
926
|
+
* @example
|
|
927
|
+
* // Group by city, order by createdAt, get count
|
|
928
|
+
* const result = await prisma.user.groupBy({
|
|
929
|
+
* by: ['city', 'createdAt'],
|
|
930
|
+
* orderBy: {
|
|
931
|
+
* createdAt: true
|
|
932
|
+
* },
|
|
933
|
+
* _count: {
|
|
934
|
+
* _all: true
|
|
935
|
+
* },
|
|
936
|
+
* })
|
|
937
|
+
*
|
|
938
|
+
**/
|
|
939
|
+
groupBy<T extends WorkflowEventGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
940
|
+
orderBy: WorkflowEventGroupByArgs['orderBy'];
|
|
941
|
+
} : {
|
|
942
|
+
orderBy?: WorkflowEventGroupByArgs['orderBy'];
|
|
943
|
+
}, 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 ? {
|
|
944
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
945
|
+
Error,
|
|
946
|
+
'Field ',
|
|
947
|
+
P,
|
|
948
|
+
` in "having" needs to be provided in "by"`
|
|
949
|
+
];
|
|
950
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
951
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
952
|
+
}[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 ? {} : {
|
|
953
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
954
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
955
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
956
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, WorkflowEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
957
|
+
/**
|
|
958
|
+
* Fields of the WorkflowEvent model
|
|
959
|
+
*/
|
|
960
|
+
readonly fields: WorkflowEventFieldRefs;
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* The delegate class that acts as a "Promise-like" for WorkflowEvent.
|
|
964
|
+
* Why is this prefixed with `Prisma__`?
|
|
965
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
966
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
967
|
+
*/
|
|
968
|
+
export interface Prisma__WorkflowEventClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
969
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
970
|
+
deliveries<T extends Prisma.WorkflowEvent$deliveriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowEvent$deliveriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationDeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
971
|
+
/**
|
|
972
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
973
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
974
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
975
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
976
|
+
*/
|
|
977
|
+
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>;
|
|
978
|
+
/**
|
|
979
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
980
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
981
|
+
* @returns A Promise for the completion of the callback.
|
|
982
|
+
*/
|
|
983
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
984
|
+
/**
|
|
985
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
986
|
+
* resolved value cannot be modified from the callback.
|
|
987
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
988
|
+
* @returns A Promise for the completion of the callback.
|
|
989
|
+
*/
|
|
990
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
991
|
+
}
|
|
992
|
+
/**
|
|
993
|
+
* Fields of the WorkflowEvent model
|
|
994
|
+
*/
|
|
995
|
+
export interface WorkflowEventFieldRefs {
|
|
996
|
+
readonly id: Prisma.FieldRef<"WorkflowEvent", 'String'>;
|
|
997
|
+
readonly kind: Prisma.FieldRef<"WorkflowEvent", 'String'>;
|
|
998
|
+
readonly dedupeKey: Prisma.FieldRef<"WorkflowEvent", 'String'>;
|
|
999
|
+
readonly runId: Prisma.FieldRef<"WorkflowEvent", 'String'>;
|
|
1000
|
+
readonly agentId: Prisma.FieldRef<"WorkflowEvent", 'String'>;
|
|
1001
|
+
readonly workItemProvider: Prisma.FieldRef<"WorkflowEvent", 'String'>;
|
|
1002
|
+
readonly workItemKey: Prisma.FieldRef<"WorkflowEvent", 'String'>;
|
|
1003
|
+
readonly codeProvider: Prisma.FieldRef<"WorkflowEvent", 'String'>;
|
|
1004
|
+
readonly repository: Prisma.FieldRef<"WorkflowEvent", 'String'>;
|
|
1005
|
+
readonly prNumber: Prisma.FieldRef<"WorkflowEvent", 'Int'>;
|
|
1006
|
+
readonly payload: Prisma.FieldRef<"WorkflowEvent", 'Json'>;
|
|
1007
|
+
readonly createdAt: Prisma.FieldRef<"WorkflowEvent", 'DateTime'>;
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* WorkflowEvent findUnique
|
|
1011
|
+
*/
|
|
1012
|
+
export type WorkflowEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1013
|
+
/**
|
|
1014
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1015
|
+
*/
|
|
1016
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Omit specific fields from the WorkflowEvent
|
|
1019
|
+
*/
|
|
1020
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Choose, which related nodes to fetch as well
|
|
1023
|
+
*/
|
|
1024
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1025
|
+
/**
|
|
1026
|
+
* Filter, which WorkflowEvent to fetch.
|
|
1027
|
+
*/
|
|
1028
|
+
where: Prisma.WorkflowEventWhereUniqueInput;
|
|
1029
|
+
};
|
|
1030
|
+
/**
|
|
1031
|
+
* WorkflowEvent findUniqueOrThrow
|
|
1032
|
+
*/
|
|
1033
|
+
export type WorkflowEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1034
|
+
/**
|
|
1035
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1036
|
+
*/
|
|
1037
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1038
|
+
/**
|
|
1039
|
+
* Omit specific fields from the WorkflowEvent
|
|
1040
|
+
*/
|
|
1041
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1042
|
+
/**
|
|
1043
|
+
* Choose, which related nodes to fetch as well
|
|
1044
|
+
*/
|
|
1045
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1046
|
+
/**
|
|
1047
|
+
* Filter, which WorkflowEvent to fetch.
|
|
1048
|
+
*/
|
|
1049
|
+
where: Prisma.WorkflowEventWhereUniqueInput;
|
|
1050
|
+
};
|
|
1051
|
+
/**
|
|
1052
|
+
* WorkflowEvent findFirst
|
|
1053
|
+
*/
|
|
1054
|
+
export type WorkflowEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1055
|
+
/**
|
|
1056
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1057
|
+
*/
|
|
1058
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1059
|
+
/**
|
|
1060
|
+
* Omit specific fields from the WorkflowEvent
|
|
1061
|
+
*/
|
|
1062
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1063
|
+
/**
|
|
1064
|
+
* Choose, which related nodes to fetch as well
|
|
1065
|
+
*/
|
|
1066
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* Filter, which WorkflowEvent to fetch.
|
|
1069
|
+
*/
|
|
1070
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
1071
|
+
/**
|
|
1072
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1073
|
+
*
|
|
1074
|
+
* Determine the order of WorkflowEvents to fetch.
|
|
1075
|
+
*/
|
|
1076
|
+
orderBy?: Prisma.WorkflowEventOrderByWithRelationInput | Prisma.WorkflowEventOrderByWithRelationInput[];
|
|
1077
|
+
/**
|
|
1078
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1079
|
+
*
|
|
1080
|
+
* Sets the position for searching for WorkflowEvents.
|
|
1081
|
+
*/
|
|
1082
|
+
cursor?: Prisma.WorkflowEventWhereUniqueInput;
|
|
1083
|
+
/**
|
|
1084
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1085
|
+
*
|
|
1086
|
+
* Take `±n` WorkflowEvents from the position of the cursor.
|
|
1087
|
+
*/
|
|
1088
|
+
take?: number;
|
|
1089
|
+
/**
|
|
1090
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1091
|
+
*
|
|
1092
|
+
* Skip the first `n` WorkflowEvents.
|
|
1093
|
+
*/
|
|
1094
|
+
skip?: number;
|
|
1095
|
+
/**
|
|
1096
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1097
|
+
*
|
|
1098
|
+
* Filter by unique combinations of WorkflowEvents.
|
|
1099
|
+
*/
|
|
1100
|
+
distinct?: Prisma.WorkflowEventScalarFieldEnum | Prisma.WorkflowEventScalarFieldEnum[];
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* WorkflowEvent findFirstOrThrow
|
|
1104
|
+
*/
|
|
1105
|
+
export type WorkflowEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1106
|
+
/**
|
|
1107
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1108
|
+
*/
|
|
1109
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* Omit specific fields from the WorkflowEvent
|
|
1112
|
+
*/
|
|
1113
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1114
|
+
/**
|
|
1115
|
+
* Choose, which related nodes to fetch as well
|
|
1116
|
+
*/
|
|
1117
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1118
|
+
/**
|
|
1119
|
+
* Filter, which WorkflowEvent to fetch.
|
|
1120
|
+
*/
|
|
1121
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
1122
|
+
/**
|
|
1123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1124
|
+
*
|
|
1125
|
+
* Determine the order of WorkflowEvents to fetch.
|
|
1126
|
+
*/
|
|
1127
|
+
orderBy?: Prisma.WorkflowEventOrderByWithRelationInput | Prisma.WorkflowEventOrderByWithRelationInput[];
|
|
1128
|
+
/**
|
|
1129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1130
|
+
*
|
|
1131
|
+
* Sets the position for searching for WorkflowEvents.
|
|
1132
|
+
*/
|
|
1133
|
+
cursor?: Prisma.WorkflowEventWhereUniqueInput;
|
|
1134
|
+
/**
|
|
1135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1136
|
+
*
|
|
1137
|
+
* Take `±n` WorkflowEvents from the position of the cursor.
|
|
1138
|
+
*/
|
|
1139
|
+
take?: number;
|
|
1140
|
+
/**
|
|
1141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1142
|
+
*
|
|
1143
|
+
* Skip the first `n` WorkflowEvents.
|
|
1144
|
+
*/
|
|
1145
|
+
skip?: number;
|
|
1146
|
+
/**
|
|
1147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1148
|
+
*
|
|
1149
|
+
* Filter by unique combinations of WorkflowEvents.
|
|
1150
|
+
*/
|
|
1151
|
+
distinct?: Prisma.WorkflowEventScalarFieldEnum | Prisma.WorkflowEventScalarFieldEnum[];
|
|
1152
|
+
};
|
|
1153
|
+
/**
|
|
1154
|
+
* WorkflowEvent findMany
|
|
1155
|
+
*/
|
|
1156
|
+
export type WorkflowEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1157
|
+
/**
|
|
1158
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1159
|
+
*/
|
|
1160
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1161
|
+
/**
|
|
1162
|
+
* Omit specific fields from the WorkflowEvent
|
|
1163
|
+
*/
|
|
1164
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1165
|
+
/**
|
|
1166
|
+
* Choose, which related nodes to fetch as well
|
|
1167
|
+
*/
|
|
1168
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* Filter, which WorkflowEvents to fetch.
|
|
1171
|
+
*/
|
|
1172
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
1173
|
+
/**
|
|
1174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1175
|
+
*
|
|
1176
|
+
* Determine the order of WorkflowEvents to fetch.
|
|
1177
|
+
*/
|
|
1178
|
+
orderBy?: Prisma.WorkflowEventOrderByWithRelationInput | Prisma.WorkflowEventOrderByWithRelationInput[];
|
|
1179
|
+
/**
|
|
1180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1181
|
+
*
|
|
1182
|
+
* Sets the position for listing WorkflowEvents.
|
|
1183
|
+
*/
|
|
1184
|
+
cursor?: Prisma.WorkflowEventWhereUniqueInput;
|
|
1185
|
+
/**
|
|
1186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1187
|
+
*
|
|
1188
|
+
* Take `±n` WorkflowEvents from the position of the cursor.
|
|
1189
|
+
*/
|
|
1190
|
+
take?: number;
|
|
1191
|
+
/**
|
|
1192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1193
|
+
*
|
|
1194
|
+
* Skip the first `n` WorkflowEvents.
|
|
1195
|
+
*/
|
|
1196
|
+
skip?: number;
|
|
1197
|
+
/**
|
|
1198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1199
|
+
*
|
|
1200
|
+
* Filter by unique combinations of WorkflowEvents.
|
|
1201
|
+
*/
|
|
1202
|
+
distinct?: Prisma.WorkflowEventScalarFieldEnum | Prisma.WorkflowEventScalarFieldEnum[];
|
|
1203
|
+
};
|
|
1204
|
+
/**
|
|
1205
|
+
* WorkflowEvent create
|
|
1206
|
+
*/
|
|
1207
|
+
export type WorkflowEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1208
|
+
/**
|
|
1209
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1210
|
+
*/
|
|
1211
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1212
|
+
/**
|
|
1213
|
+
* Omit specific fields from the WorkflowEvent
|
|
1214
|
+
*/
|
|
1215
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1216
|
+
/**
|
|
1217
|
+
* Choose, which related nodes to fetch as well
|
|
1218
|
+
*/
|
|
1219
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* The data needed to create a WorkflowEvent.
|
|
1222
|
+
*/
|
|
1223
|
+
data: Prisma.XOR<Prisma.WorkflowEventCreateInput, Prisma.WorkflowEventUncheckedCreateInput>;
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* WorkflowEvent createMany
|
|
1227
|
+
*/
|
|
1228
|
+
export type WorkflowEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
+
/**
|
|
1230
|
+
* The data used to create many WorkflowEvents.
|
|
1231
|
+
*/
|
|
1232
|
+
data: Prisma.WorkflowEventCreateManyInput | Prisma.WorkflowEventCreateManyInput[];
|
|
1233
|
+
skipDuplicates?: boolean;
|
|
1234
|
+
};
|
|
1235
|
+
/**
|
|
1236
|
+
* WorkflowEvent createManyAndReturn
|
|
1237
|
+
*/
|
|
1238
|
+
export type WorkflowEventCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1239
|
+
/**
|
|
1240
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1241
|
+
*/
|
|
1242
|
+
select?: Prisma.WorkflowEventSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1243
|
+
/**
|
|
1244
|
+
* Omit specific fields from the WorkflowEvent
|
|
1245
|
+
*/
|
|
1246
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1247
|
+
/**
|
|
1248
|
+
* The data used to create many WorkflowEvents.
|
|
1249
|
+
*/
|
|
1250
|
+
data: Prisma.WorkflowEventCreateManyInput | Prisma.WorkflowEventCreateManyInput[];
|
|
1251
|
+
skipDuplicates?: boolean;
|
|
1252
|
+
};
|
|
1253
|
+
/**
|
|
1254
|
+
* WorkflowEvent update
|
|
1255
|
+
*/
|
|
1256
|
+
export type WorkflowEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1257
|
+
/**
|
|
1258
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1259
|
+
*/
|
|
1260
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Omit specific fields from the WorkflowEvent
|
|
1263
|
+
*/
|
|
1264
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1265
|
+
/**
|
|
1266
|
+
* Choose, which related nodes to fetch as well
|
|
1267
|
+
*/
|
|
1268
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* The data needed to update a WorkflowEvent.
|
|
1271
|
+
*/
|
|
1272
|
+
data: Prisma.XOR<Prisma.WorkflowEventUpdateInput, Prisma.WorkflowEventUncheckedUpdateInput>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Choose, which WorkflowEvent to update.
|
|
1275
|
+
*/
|
|
1276
|
+
where: Prisma.WorkflowEventWhereUniqueInput;
|
|
1277
|
+
};
|
|
1278
|
+
/**
|
|
1279
|
+
* WorkflowEvent updateMany
|
|
1280
|
+
*/
|
|
1281
|
+
export type WorkflowEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1282
|
+
/**
|
|
1283
|
+
* The data used to update WorkflowEvents.
|
|
1284
|
+
*/
|
|
1285
|
+
data: Prisma.XOR<Prisma.WorkflowEventUpdateManyMutationInput, Prisma.WorkflowEventUncheckedUpdateManyInput>;
|
|
1286
|
+
/**
|
|
1287
|
+
* Filter which WorkflowEvents to update
|
|
1288
|
+
*/
|
|
1289
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
1290
|
+
/**
|
|
1291
|
+
* Limit how many WorkflowEvents to update.
|
|
1292
|
+
*/
|
|
1293
|
+
limit?: number;
|
|
1294
|
+
};
|
|
1295
|
+
/**
|
|
1296
|
+
* WorkflowEvent updateManyAndReturn
|
|
1297
|
+
*/
|
|
1298
|
+
export type WorkflowEventUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1299
|
+
/**
|
|
1300
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1301
|
+
*/
|
|
1302
|
+
select?: Prisma.WorkflowEventSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* Omit specific fields from the WorkflowEvent
|
|
1305
|
+
*/
|
|
1306
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1307
|
+
/**
|
|
1308
|
+
* The data used to update WorkflowEvents.
|
|
1309
|
+
*/
|
|
1310
|
+
data: Prisma.XOR<Prisma.WorkflowEventUpdateManyMutationInput, Prisma.WorkflowEventUncheckedUpdateManyInput>;
|
|
1311
|
+
/**
|
|
1312
|
+
* Filter which WorkflowEvents to update
|
|
1313
|
+
*/
|
|
1314
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
1315
|
+
/**
|
|
1316
|
+
* Limit how many WorkflowEvents to update.
|
|
1317
|
+
*/
|
|
1318
|
+
limit?: number;
|
|
1319
|
+
};
|
|
1320
|
+
/**
|
|
1321
|
+
* WorkflowEvent upsert
|
|
1322
|
+
*/
|
|
1323
|
+
export type WorkflowEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1324
|
+
/**
|
|
1325
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1326
|
+
*/
|
|
1327
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* Omit specific fields from the WorkflowEvent
|
|
1330
|
+
*/
|
|
1331
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1332
|
+
/**
|
|
1333
|
+
* Choose, which related nodes to fetch as well
|
|
1334
|
+
*/
|
|
1335
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1336
|
+
/**
|
|
1337
|
+
* The filter to search for the WorkflowEvent to update in case it exists.
|
|
1338
|
+
*/
|
|
1339
|
+
where: Prisma.WorkflowEventWhereUniqueInput;
|
|
1340
|
+
/**
|
|
1341
|
+
* In case the WorkflowEvent found by the `where` argument doesn't exist, create a new WorkflowEvent with this data.
|
|
1342
|
+
*/
|
|
1343
|
+
create: Prisma.XOR<Prisma.WorkflowEventCreateInput, Prisma.WorkflowEventUncheckedCreateInput>;
|
|
1344
|
+
/**
|
|
1345
|
+
* In case the WorkflowEvent was found with the provided `where` argument, update it with this data.
|
|
1346
|
+
*/
|
|
1347
|
+
update: Prisma.XOR<Prisma.WorkflowEventUpdateInput, Prisma.WorkflowEventUncheckedUpdateInput>;
|
|
1348
|
+
};
|
|
1349
|
+
/**
|
|
1350
|
+
* WorkflowEvent delete
|
|
1351
|
+
*/
|
|
1352
|
+
export type WorkflowEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1353
|
+
/**
|
|
1354
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1355
|
+
*/
|
|
1356
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* Omit specific fields from the WorkflowEvent
|
|
1359
|
+
*/
|
|
1360
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1361
|
+
/**
|
|
1362
|
+
* Choose, which related nodes to fetch as well
|
|
1363
|
+
*/
|
|
1364
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1365
|
+
/**
|
|
1366
|
+
* Filter which WorkflowEvent to delete.
|
|
1367
|
+
*/
|
|
1368
|
+
where: Prisma.WorkflowEventWhereUniqueInput;
|
|
1369
|
+
};
|
|
1370
|
+
/**
|
|
1371
|
+
* WorkflowEvent deleteMany
|
|
1372
|
+
*/
|
|
1373
|
+
export type WorkflowEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
|
+
/**
|
|
1375
|
+
* Filter which WorkflowEvents to delete
|
|
1376
|
+
*/
|
|
1377
|
+
where?: Prisma.WorkflowEventWhereInput;
|
|
1378
|
+
/**
|
|
1379
|
+
* Limit how many WorkflowEvents to delete.
|
|
1380
|
+
*/
|
|
1381
|
+
limit?: number;
|
|
1382
|
+
};
|
|
1383
|
+
/**
|
|
1384
|
+
* WorkflowEvent.deliveries
|
|
1385
|
+
*/
|
|
1386
|
+
export type WorkflowEvent$deliveriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1387
|
+
/**
|
|
1388
|
+
* Select specific fields to fetch from the NotificationDelivery
|
|
1389
|
+
*/
|
|
1390
|
+
select?: Prisma.NotificationDeliverySelect<ExtArgs> | null;
|
|
1391
|
+
/**
|
|
1392
|
+
* Omit specific fields from the NotificationDelivery
|
|
1393
|
+
*/
|
|
1394
|
+
omit?: Prisma.NotificationDeliveryOmit<ExtArgs> | null;
|
|
1395
|
+
/**
|
|
1396
|
+
* Choose, which related nodes to fetch as well
|
|
1397
|
+
*/
|
|
1398
|
+
include?: Prisma.NotificationDeliveryInclude<ExtArgs> | null;
|
|
1399
|
+
where?: Prisma.NotificationDeliveryWhereInput;
|
|
1400
|
+
orderBy?: Prisma.NotificationDeliveryOrderByWithRelationInput | Prisma.NotificationDeliveryOrderByWithRelationInput[];
|
|
1401
|
+
cursor?: Prisma.NotificationDeliveryWhereUniqueInput;
|
|
1402
|
+
take?: number;
|
|
1403
|
+
skip?: number;
|
|
1404
|
+
distinct?: Prisma.NotificationDeliveryScalarFieldEnum | Prisma.NotificationDeliveryScalarFieldEnum[];
|
|
1405
|
+
};
|
|
1406
|
+
/**
|
|
1407
|
+
* WorkflowEvent without action
|
|
1408
|
+
*/
|
|
1409
|
+
export type WorkflowEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1410
|
+
/**
|
|
1411
|
+
* Select specific fields to fetch from the WorkflowEvent
|
|
1412
|
+
*/
|
|
1413
|
+
select?: Prisma.WorkflowEventSelect<ExtArgs> | null;
|
|
1414
|
+
/**
|
|
1415
|
+
* Omit specific fields from the WorkflowEvent
|
|
1416
|
+
*/
|
|
1417
|
+
omit?: Prisma.WorkflowEventOmit<ExtArgs> | null;
|
|
1418
|
+
/**
|
|
1419
|
+
* Choose, which related nodes to fetch as well
|
|
1420
|
+
*/
|
|
1421
|
+
include?: Prisma.WorkflowEventInclude<ExtArgs> | null;
|
|
1422
|
+
};
|