@wardby/cli 0.3.0 → 0.4.1
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 +22 -3
- package/README.md +11 -9
- package/dist/cli-help.d.ts +1 -1
- package/dist/cli-help.js +1 -0
- package/dist/cli.js +68 -10
- package/dist/coding/base-commit.d.ts +6 -0
- package/dist/coding/base-commit.js +12 -0
- package/dist/coding/protocol.d.ts +17 -1
- package/dist/coding/protocol.js +17 -6
- package/dist/coding/provider.d.ts +6 -1
- package/dist/coding/provider.js +16 -9
- package/dist/config/providers.d.ts +25 -0
- package/dist/config/providers.js +71 -0
- package/dist/core/attribution.d.ts +101 -0
- package/dist/core/attribution.js +208 -0
- package/dist/core/budget-groups.d.ts +17 -10
- package/dist/core/budget-groups.js +15 -12
- package/dist/core/coding-queue.d.ts +3 -0
- package/dist/core/coding-queue.js +6 -2
- package/dist/core/coding-service-status.d.ts +11 -0
- package/dist/core/coding-service-status.js +17 -0
- package/dist/core/cost-report.d.ts +88 -0
- package/dist/core/cost-report.js +248 -0
- package/dist/core/dispatch.d.ts +42 -2
- package/dist/core/dispatch.js +144 -26
- package/dist/core/engine-native.js +17 -4
- package/dist/core/glob.d.ts +10 -0
- package/dist/core/glob.js +33 -0
- package/dist/core/host-events.d.ts +24 -1
- package/dist/core/host-events.js +341 -1
- package/dist/core/host-status.d.ts +19 -2
- package/dist/core/host-status.js +47 -30
- package/dist/core/issue-bridge.d.ts +60 -0
- package/dist/core/issue-bridge.js +189 -0
- package/dist/core/issue-dedupe.d.ts +70 -0
- package/dist/core/issue-dedupe.js +255 -0
- package/dist/core/issue-events.d.ts +42 -0
- package/dist/core/issue-events.js +155 -0
- package/dist/core/issue-status.d.ts +29 -0
- package/dist/core/issue-status.js +241 -0
- package/dist/core/issue-tracker-tools.d.ts +64 -0
- package/dist/core/issue-tracker-tools.js +850 -0
- package/dist/core/model-usage.d.ts +10 -0
- package/dist/core/model-usage.js +24 -0
- package/dist/core/reconciler.d.ts +8 -4
- package/dist/core/reconciler.js +15 -4
- package/dist/core/review-host-tools.js +10 -3
- package/dist/core/run-pricing.d.ts +61 -0
- package/dist/core/run-pricing.js +56 -0
- package/dist/core/runner.d.ts +5 -2
- package/dist/core/runner.js +178 -27
- package/dist/core/scheduler.d.ts +4 -1
- package/dist/core/scheduler.js +3 -2
- package/dist/core/self-defects.d.ts +80 -0
- package/dist/core/self-defects.js +180 -0
- package/dist/core/tool-names.js +3 -0
- package/dist/core/webhooks.d.ts +9 -1
- package/dist/core/webhooks.js +19 -1
- package/dist/env.js +6 -1
- package/dist/generated/prisma/browser.d.ts +66 -0
- package/dist/generated/prisma/client.d.ts +66 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +122 -52
- package/dist/generated/prisma/enums.d.ts +7 -0
- package/dist/generated/prisma/enums.js +6 -0
- package/dist/generated/prisma/internal/class.d.ts +99 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +826 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +135 -2
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +142 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +135 -2
- package/dist/generated/prisma/models/Agent.d.ts +389 -1
- package/dist/generated/prisma/models/AgentIssueProject.d.ts +1838 -0
- package/dist/generated/prisma/models/AgentIssueProject.js +1 -0
- package/dist/generated/prisma/models/AgentRepository.d.ts +1 -1
- package/dist/generated/prisma/models/AuthUser.d.ts +1 -1
- package/dist/generated/prisma/models/CodingProxySession.d.ts +73 -1
- package/dist/generated/prisma/models/CodingRun.d.ts +130 -1
- package/dist/generated/prisma/models/CodingRunServiceStatus.d.ts +1404 -0
- package/dist/generated/prisma/models/CodingRunServiceStatus.js +1 -0
- package/dist/generated/prisma/models/IssueFingerprint.d.ts +1183 -0
- package/dist/generated/prisma/models/IssueFingerprint.js +1 -0
- package/dist/generated/prisma/models/IssuePullRequest.d.ts +1255 -0
- package/dist/generated/prisma/models/IssuePullRequest.js +1 -0
- package/dist/generated/prisma/models/ModelCatalogEntry.d.ts +1322 -0
- package/dist/generated/prisma/models/ModelCatalogEntry.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +933 -1
- package/dist/generated/prisma/models/RunAttribution.d.ts +1259 -0
- package/dist/generated/prisma/models/RunAttribution.js +1 -0
- package/dist/generated/prisma/models/RunIssueStatus.d.ts +1199 -0
- package/dist/generated/prisma/models/RunIssueStatus.js +1 -0
- package/dist/generated/prisma/models/RunModelUsage.d.ts +1316 -0
- package/dist/generated/prisma/models/RunModelUsage.js +1 -0
- package/dist/generated/prisma/models/WorkItem.d.ts +1408 -0
- package/dist/generated/prisma/models/WorkItem.js +1 -0
- package/dist/generated/prisma/models.d.ts +9 -0
- package/dist/help-index.json +355 -16
- package/dist/import/neutral-schema.d.ts +16 -16
- package/dist/knowledge/check.d.ts +13 -0
- package/dist/knowledge/check.js +69 -0
- package/dist/knowledge/cli.d.ts +14 -0
- package/dist/knowledge/cli.js +67 -0
- package/dist/knowledge/concept.d.ts +54 -0
- package/dist/knowledge/concept.js +78 -0
- package/dist/knowledge/note.d.ts +11 -0
- package/dist/knowledge/note.js +39 -0
- package/dist/knowledge/relevance.d.ts +11 -0
- package/dist/knowledge/relevance.js +14 -0
- package/dist/knowledge/span-hash.d.ts +3 -0
- package/dist/knowledge/span-hash.js +16 -0
- package/dist/mcp/auth/access.d.ts +4 -2
- package/dist/mcp/auth/ownership.d.ts +9 -9
- package/dist/mcp/auth/resource-server.d.ts +3 -1
- package/dist/mcp/auth/resource-server.js +18 -3
- package/dist/mcp/auth/self-hosted/credentials.d.ts +3 -3
- package/dist/mcp/auth/self-hosted/session.d.ts +5 -5
- package/dist/mcp/context.d.ts +3 -0
- package/dist/mcp/host-events/deliveries.d.ts +9 -0
- package/dist/mcp/host-events/deliveries.js +17 -0
- package/dist/mcp/host-events/github-ingress.d.ts +4 -2
- package/dist/mcp/host-events/github-ingress.js +4 -13
- package/dist/mcp/host-events/jira-ingress.d.ts +29 -0
- package/dist/mcp/host-events/jira-ingress.js +92 -0
- package/dist/mcp/index.d.ts +2 -0
- package/dist/mcp/index.js +87 -9
- package/dist/mcp/server.js +5 -2
- package/dist/mcp/tools/agents.js +74 -3
- package/dist/mcp/tools/cost-report.d.ts +8 -0
- package/dist/mcp/tools/cost-report.js +60 -0
- package/dist/mcp/tools/issue-projects.d.ts +2 -0
- package/dist/mcp/tools/issue-projects.js +238 -0
- package/dist/mcp/tools/model-catalog.d.ts +22 -0
- package/dist/mcp/tools/model-catalog.js +423 -0
- package/dist/mcp/tools/repositories.js +2 -1
- package/dist/mcp/tools/tools.d.ts +2 -2
- package/dist/mcp/tools/trigger.js +33 -5
- package/dist/mcp/transport/streamable-http.d.ts +5 -0
- package/dist/mcp/transport/streamable-http.js +23 -1
- package/dist/mcp/webhooks/ingress.d.ts +2 -1
- package/dist/mcp/webhooks/ingress.js +9 -2
- package/dist/providers/auth/self-hosted.d.ts +8 -1
- package/dist/providers/auth/self-hosted.js +39 -2
- package/dist/providers/coding-proxy/memory-ledger.d.ts +1 -1
- package/dist/providers/coding-proxy/memory-ledger.js +10 -1
- package/dist/providers/coding-proxy/metering.d.ts +2 -1
- package/dist/providers/coding-proxy/metering.js +13 -2
- package/dist/providers/coding-proxy/prisma-ledger.js +59 -6
- package/dist/providers/coding-proxy/proxy.d.ts +12 -2
- package/dist/providers/coding-proxy/proxy.js +92 -30
- package/dist/providers/coding-proxy/types.d.ts +18 -1
- package/dist/providers/coding-proxy/types.js +12 -1
- package/dist/providers/engine/types.d.ts +19 -0
- package/dist/providers/executor/composition.js +9 -1
- package/dist/providers/executor/container.d.ts +30 -2
- package/dist/providers/executor/container.js +98 -17
- package/dist/providers/executor/dbos.d.ts +2 -0
- package/dist/providers/executor/dbos.js +7 -5
- package/dist/providers/executor/routing.d.ts +6 -0
- package/dist/providers/executor/routing.js +5 -0
- package/dist/providers/executor/types.d.ts +12 -0
- package/dist/providers/issue-tracker/adf.d.ts +31 -0
- package/dist/providers/issue-tracker/adf.js +181 -0
- package/dist/providers/issue-tracker/index.d.ts +5 -0
- package/dist/providers/issue-tracker/index.js +12 -0
- package/dist/providers/issue-tracker/jira-client.d.ts +41 -0
- package/dist/providers/issue-tracker/jira-client.js +151 -0
- package/dist/providers/issue-tracker/jira-events.d.ts +3 -0
- package/dist/providers/issue-tracker/jira-events.js +98 -0
- package/dist/providers/issue-tracker/jira.d.ts +116 -0
- package/dist/providers/issue-tracker/jira.js +502 -0
- package/dist/providers/issue-tracker/types.d.ts +269 -0
- package/dist/providers/issue-tracker/types.js +16 -0
- package/dist/providers/jobs/docker.d.ts +5 -1
- package/dist/providers/jobs/docker.js +61 -33
- package/dist/providers/jobs/kubernetes.d.ts +3 -0
- package/dist/providers/jobs/kubernetes.js +44 -4
- package/dist/providers/jobs/service-state.d.ts +22 -0
- package/dist/providers/jobs/service-state.js +17 -0
- package/dist/providers/llm/anthropic.d.ts +3 -3
- package/dist/providers/llm/anthropic.js +3 -9
- package/dist/providers/llm/bedrock.d.ts +3 -3
- package/dist/providers/llm/bedrock.js +3 -9
- package/dist/providers/llm/catalog-lookup.d.ts +10 -0
- package/dist/providers/llm/catalog-lookup.js +15 -0
- package/dist/providers/llm/catalog-shipped.d.ts +18 -0
- package/dist/providers/llm/catalog-shipped.js +197 -0
- package/dist/providers/llm/catalog-store.d.ts +58 -0
- package/dist/providers/llm/catalog-store.js +138 -0
- package/dist/providers/llm/catalog-types.d.ts +66 -0
- package/dist/providers/llm/catalog-types.js +64 -0
- package/dist/providers/llm/catalog.d.ts +61 -0
- package/dist/providers/llm/catalog.js +147 -0
- package/dist/providers/llm/claude-provider.d.ts +10 -14
- package/dist/providers/llm/claude-provider.js +11 -6
- package/dist/providers/llm/index.d.ts +9 -6
- package/dist/providers/llm/index.js +8 -5
- package/dist/providers/llm/openai.d.ts +14 -5
- package/dist/providers/llm/openai.js +24 -14
- package/dist/providers/llm/pricing-core.d.ts +5 -3
- package/dist/providers/llm/registration.js +8 -12
- package/dist/providers/llm/routing.d.ts +18 -17
- package/dist/providers/llm/routing.js +40 -24
- package/dist/providers/review-host/github-events.js +47 -1
- package/dist/providers/review-host/github.js +7 -6
- package/dist/providers/review-host/types.d.ts +25 -0
- package/dist/providers/vcs/git.js +2 -22
- package/dist/providers/vcs/github.d.ts +20 -0
- package/dist/providers/vcs/github.js +28 -2
- package/dist/providers/vcs/types.d.ts +6 -0
- package/dist/quickstart/index.d.ts +8 -0
- package/dist/quickstart/index.js +34 -34
- package/dist/serve.js +8 -2
- package/dist/viewer/api-schema.d.ts +2757 -0
- package/dist/viewer/api-schema.js +165 -0
- package/dist/viewer/build-schemas.d.ts +2 -0
- package/dist/viewer/build-schemas.js +18 -0
- package/dist/viewer/event-bus.d.ts +38 -0
- package/dist/viewer/event-bus.js +232 -0
- package/dist/viewer/graph.d.ts +40 -0
- package/dist/viewer/graph.js +243 -0
- package/dist/viewer/http.d.ts +30 -0
- package/dist/viewer/http.js +133 -0
- package/dist/viewer/run-detail.d.ts +4 -0
- package/dist/viewer/run-detail.js +61 -0
- package/dist/wardby-bin.js +5 -0
- package/docs/README.md +10 -0
- package/docs/agent-recipes.md +383 -0
- package/docs/code-review-agents.md +29 -2
- package/docs/coding-agent-setup.md +3 -0
- package/docs/coding-worker-isolation.md +39 -5
- package/docs/getting-started-gke.md +28 -11
- package/docs/getting-started-identity-provider.md +49 -38
- package/docs/getting-started.md +14 -0
- package/docs/jira-agents.md +649 -0
- package/docs/knowledge.md +387 -0
- package/docs/models.md +221 -0
- package/docs/security-deployment.md +19 -9
- package/docs/viewer-api.md +142 -0
- package/help/admin-viewer.md +39 -0
- package/help/agent-recipes.md +173 -0
- package/help/architecture-agent.md +189 -0
- package/help/builder-agent.md +80 -0
- package/help/code-review-agents.md +6 -0
- package/help/cost-attribution.md +67 -0
- package/help/creating-agents.md +22 -0
- package/help/deploy-gke.md +6 -0
- package/help/errors/model-unavailable.md +63 -0
- package/help/getting-started.md +1 -0
- package/help/github.md +18 -0
- package/help/identity-and-access.md +8 -3
- package/help/jira.md +135 -0
- package/help/knowledge.md +47 -0
- package/help/models.md +90 -0
- package/help/operating-agents.md +7 -1
- package/help/troubleshooting/budgets.md +6 -0
- package/package.json +5 -2
- package/prisma/migrations/20260930000000_jira_issue_projects/migration.sql +34 -0
- package/prisma/migrations/20261001000000_jira_phase2_allowlists/migration.sql +3 -0
- package/prisma/migrations/20261001010000_jira_link_types_allowlist/migration.sql +2 -0
- package/prisma/migrations/20261002000000_jira_coding_bridge/migration.sql +28 -0
- package/prisma/migrations/20261002010000_jira_issue_creation/migration.sql +25 -0
- package/prisma/migrations/20261003000000_issue_cost_attribution/migration.sql +56 -0
- package/prisma/migrations/20261003010000_coding_run_service_status/migration.sql +23 -0
- package/prisma/migrations/20261003020000_viewer_notify/migration.sql +54 -0
- package/prisma/migrations/20261003030000_viewer_notify_fixes/migration.sql +47 -0
- package/prisma/migrations/20261003040000_viewer_indexes/migration.sql +12 -0
- package/prisma/migrations/20261004000000_model_catalog/migration.sql +26 -0
- package/prisma/schema.prisma +258 -2
- package/dist/mcp/tools/models.d.ts +0 -8
- package/dist/mcp/tools/models.js +0 -15
- package/dist/providers/llm/pricing-anthropic.d.ts +0 -14
- package/dist/providers/llm/pricing-anthropic.js +0 -48
- package/dist/providers/llm/pricing-bedrock-claude.d.ts +0 -20
- package/dist/providers/llm/pricing-bedrock-claude.js +0 -46
- package/dist/providers/llm/pricing.d.ts +0 -30
- package/dist/providers/llm/pricing.js +0 -74
|
@@ -0,0 +1,1259 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model RunAttribution
|
|
5
|
+
* Which work item a run's cost belongs to, with its parent frozen as of
|
|
6
|
+
* dispatch. Written in dispatchRun's persist transaction; child runs copy
|
|
7
|
+
* their parent's row (source "inherited"). Control-plane data only.
|
|
8
|
+
*/
|
|
9
|
+
export type RunAttributionModel = runtime.Types.Result.DefaultSelection<Prisma.$RunAttributionPayload>;
|
|
10
|
+
export type AggregateRunAttribution = {
|
|
11
|
+
_count: RunAttributionCountAggregateOutputType | null;
|
|
12
|
+
_min: RunAttributionMinAggregateOutputType | null;
|
|
13
|
+
_max: RunAttributionMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type RunAttributionMinAggregateOutputType = {
|
|
16
|
+
runId: string | null;
|
|
17
|
+
workItemId: string | null;
|
|
18
|
+
parentKeyAtRun: string | null;
|
|
19
|
+
source: string | null;
|
|
20
|
+
createdAt: Date | null;
|
|
21
|
+
};
|
|
22
|
+
export type RunAttributionMaxAggregateOutputType = {
|
|
23
|
+
runId: string | null;
|
|
24
|
+
workItemId: string | null;
|
|
25
|
+
parentKeyAtRun: string | null;
|
|
26
|
+
source: string | null;
|
|
27
|
+
createdAt: Date | null;
|
|
28
|
+
};
|
|
29
|
+
export type RunAttributionCountAggregateOutputType = {
|
|
30
|
+
runId: number;
|
|
31
|
+
workItemId: number;
|
|
32
|
+
parentKeyAtRun: number;
|
|
33
|
+
source: number;
|
|
34
|
+
createdAt: number;
|
|
35
|
+
_all: number;
|
|
36
|
+
};
|
|
37
|
+
export type RunAttributionMinAggregateInputType = {
|
|
38
|
+
runId?: true;
|
|
39
|
+
workItemId?: true;
|
|
40
|
+
parentKeyAtRun?: true;
|
|
41
|
+
source?: true;
|
|
42
|
+
createdAt?: true;
|
|
43
|
+
};
|
|
44
|
+
export type RunAttributionMaxAggregateInputType = {
|
|
45
|
+
runId?: true;
|
|
46
|
+
workItemId?: true;
|
|
47
|
+
parentKeyAtRun?: true;
|
|
48
|
+
source?: true;
|
|
49
|
+
createdAt?: true;
|
|
50
|
+
};
|
|
51
|
+
export type RunAttributionCountAggregateInputType = {
|
|
52
|
+
runId?: true;
|
|
53
|
+
workItemId?: true;
|
|
54
|
+
parentKeyAtRun?: true;
|
|
55
|
+
source?: true;
|
|
56
|
+
createdAt?: true;
|
|
57
|
+
_all?: true;
|
|
58
|
+
};
|
|
59
|
+
export type RunAttributionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
60
|
+
/**
|
|
61
|
+
* Filter which RunAttribution to aggregate.
|
|
62
|
+
*/
|
|
63
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
66
|
+
*
|
|
67
|
+
* Determine the order of RunAttributions to fetch.
|
|
68
|
+
*/
|
|
69
|
+
orderBy?: Prisma.RunAttributionOrderByWithRelationInput | Prisma.RunAttributionOrderByWithRelationInput[];
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
72
|
+
*
|
|
73
|
+
* Sets the start position
|
|
74
|
+
*/
|
|
75
|
+
cursor?: Prisma.RunAttributionWhereUniqueInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
78
|
+
*
|
|
79
|
+
* Take `±n` RunAttributions from the position of the cursor.
|
|
80
|
+
*/
|
|
81
|
+
take?: number;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Skip the first `n` RunAttributions.
|
|
86
|
+
*/
|
|
87
|
+
skip?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Count returned RunAttributions
|
|
92
|
+
**/
|
|
93
|
+
_count?: true | RunAttributionCountAggregateInputType;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Select which fields to find the minimum value
|
|
98
|
+
**/
|
|
99
|
+
_min?: RunAttributionMinAggregateInputType;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to find the maximum value
|
|
104
|
+
**/
|
|
105
|
+
_max?: RunAttributionMaxAggregateInputType;
|
|
106
|
+
};
|
|
107
|
+
export type GetRunAttributionAggregateType<T extends RunAttributionAggregateArgs> = {
|
|
108
|
+
[P in keyof T & keyof AggregateRunAttribution]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRunAttribution[P]> : Prisma.GetScalarType<T[P], AggregateRunAttribution[P]>;
|
|
109
|
+
};
|
|
110
|
+
export type RunAttributionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
111
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
112
|
+
orderBy?: Prisma.RunAttributionOrderByWithAggregationInput | Prisma.RunAttributionOrderByWithAggregationInput[];
|
|
113
|
+
by: Prisma.RunAttributionScalarFieldEnum[] | Prisma.RunAttributionScalarFieldEnum;
|
|
114
|
+
having?: Prisma.RunAttributionScalarWhereWithAggregatesInput;
|
|
115
|
+
take?: number;
|
|
116
|
+
skip?: number;
|
|
117
|
+
_count?: RunAttributionCountAggregateInputType | true;
|
|
118
|
+
_min?: RunAttributionMinAggregateInputType;
|
|
119
|
+
_max?: RunAttributionMaxAggregateInputType;
|
|
120
|
+
};
|
|
121
|
+
export type RunAttributionGroupByOutputType = {
|
|
122
|
+
runId: string;
|
|
123
|
+
workItemId: string;
|
|
124
|
+
parentKeyAtRun: string | null;
|
|
125
|
+
source: string;
|
|
126
|
+
createdAt: Date;
|
|
127
|
+
_count: RunAttributionCountAggregateOutputType | null;
|
|
128
|
+
_min: RunAttributionMinAggregateOutputType | null;
|
|
129
|
+
_max: RunAttributionMaxAggregateOutputType | null;
|
|
130
|
+
};
|
|
131
|
+
export type GetRunAttributionGroupByPayload<T extends RunAttributionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RunAttributionGroupByOutputType, T['by']> & {
|
|
132
|
+
[P in ((keyof T) & (keyof RunAttributionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RunAttributionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RunAttributionGroupByOutputType[P]>;
|
|
133
|
+
}>>;
|
|
134
|
+
export type RunAttributionWhereInput = {
|
|
135
|
+
AND?: Prisma.RunAttributionWhereInput | Prisma.RunAttributionWhereInput[];
|
|
136
|
+
OR?: Prisma.RunAttributionWhereInput[];
|
|
137
|
+
NOT?: Prisma.RunAttributionWhereInput | Prisma.RunAttributionWhereInput[];
|
|
138
|
+
runId?: Prisma.StringFilter<"RunAttribution"> | string;
|
|
139
|
+
workItemId?: Prisma.StringFilter<"RunAttribution"> | string;
|
|
140
|
+
parentKeyAtRun?: Prisma.StringNullableFilter<"RunAttribution"> | string | null;
|
|
141
|
+
source?: Prisma.StringFilter<"RunAttribution"> | string;
|
|
142
|
+
createdAt?: Prisma.DateTimeFilter<"RunAttribution"> | Date | string;
|
|
143
|
+
run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
|
|
144
|
+
workItem?: Prisma.XOR<Prisma.WorkItemScalarRelationFilter, Prisma.WorkItemWhereInput>;
|
|
145
|
+
};
|
|
146
|
+
export type RunAttributionOrderByWithRelationInput = {
|
|
147
|
+
runId?: Prisma.SortOrder;
|
|
148
|
+
workItemId?: Prisma.SortOrder;
|
|
149
|
+
parentKeyAtRun?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
150
|
+
source?: Prisma.SortOrder;
|
|
151
|
+
createdAt?: Prisma.SortOrder;
|
|
152
|
+
run?: Prisma.RunOrderByWithRelationInput;
|
|
153
|
+
workItem?: Prisma.WorkItemOrderByWithRelationInput;
|
|
154
|
+
};
|
|
155
|
+
export type RunAttributionWhereUniqueInput = Prisma.AtLeast<{
|
|
156
|
+
runId?: string;
|
|
157
|
+
AND?: Prisma.RunAttributionWhereInput | Prisma.RunAttributionWhereInput[];
|
|
158
|
+
OR?: Prisma.RunAttributionWhereInput[];
|
|
159
|
+
NOT?: Prisma.RunAttributionWhereInput | Prisma.RunAttributionWhereInput[];
|
|
160
|
+
workItemId?: Prisma.StringFilter<"RunAttribution"> | string;
|
|
161
|
+
parentKeyAtRun?: Prisma.StringNullableFilter<"RunAttribution"> | string | null;
|
|
162
|
+
source?: Prisma.StringFilter<"RunAttribution"> | string;
|
|
163
|
+
createdAt?: Prisma.DateTimeFilter<"RunAttribution"> | Date | string;
|
|
164
|
+
run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
|
|
165
|
+
workItem?: Prisma.XOR<Prisma.WorkItemScalarRelationFilter, Prisma.WorkItemWhereInput>;
|
|
166
|
+
}, "runId">;
|
|
167
|
+
export type RunAttributionOrderByWithAggregationInput = {
|
|
168
|
+
runId?: Prisma.SortOrder;
|
|
169
|
+
workItemId?: Prisma.SortOrder;
|
|
170
|
+
parentKeyAtRun?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
171
|
+
source?: Prisma.SortOrder;
|
|
172
|
+
createdAt?: Prisma.SortOrder;
|
|
173
|
+
_count?: Prisma.RunAttributionCountOrderByAggregateInput;
|
|
174
|
+
_max?: Prisma.RunAttributionMaxOrderByAggregateInput;
|
|
175
|
+
_min?: Prisma.RunAttributionMinOrderByAggregateInput;
|
|
176
|
+
};
|
|
177
|
+
export type RunAttributionScalarWhereWithAggregatesInput = {
|
|
178
|
+
AND?: Prisma.RunAttributionScalarWhereWithAggregatesInput | Prisma.RunAttributionScalarWhereWithAggregatesInput[];
|
|
179
|
+
OR?: Prisma.RunAttributionScalarWhereWithAggregatesInput[];
|
|
180
|
+
NOT?: Prisma.RunAttributionScalarWhereWithAggregatesInput | Prisma.RunAttributionScalarWhereWithAggregatesInput[];
|
|
181
|
+
runId?: Prisma.StringWithAggregatesFilter<"RunAttribution"> | string;
|
|
182
|
+
workItemId?: Prisma.StringWithAggregatesFilter<"RunAttribution"> | string;
|
|
183
|
+
parentKeyAtRun?: Prisma.StringNullableWithAggregatesFilter<"RunAttribution"> | string | null;
|
|
184
|
+
source?: Prisma.StringWithAggregatesFilter<"RunAttribution"> | string;
|
|
185
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"RunAttribution"> | Date | string;
|
|
186
|
+
};
|
|
187
|
+
export type RunAttributionCreateInput = {
|
|
188
|
+
parentKeyAtRun?: string | null;
|
|
189
|
+
source: string;
|
|
190
|
+
createdAt?: Date | string;
|
|
191
|
+
run: Prisma.RunCreateNestedOneWithoutAttributionInput;
|
|
192
|
+
workItem: Prisma.WorkItemCreateNestedOneWithoutAttributionsInput;
|
|
193
|
+
};
|
|
194
|
+
export type RunAttributionUncheckedCreateInput = {
|
|
195
|
+
runId: string;
|
|
196
|
+
workItemId: string;
|
|
197
|
+
parentKeyAtRun?: string | null;
|
|
198
|
+
source: string;
|
|
199
|
+
createdAt?: Date | string;
|
|
200
|
+
};
|
|
201
|
+
export type RunAttributionUpdateInput = {
|
|
202
|
+
parentKeyAtRun?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
203
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
204
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
205
|
+
run?: Prisma.RunUpdateOneRequiredWithoutAttributionNestedInput;
|
|
206
|
+
workItem?: Prisma.WorkItemUpdateOneRequiredWithoutAttributionsNestedInput;
|
|
207
|
+
};
|
|
208
|
+
export type RunAttributionUncheckedUpdateInput = {
|
|
209
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
210
|
+
workItemId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
211
|
+
parentKeyAtRun?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
212
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
213
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
214
|
+
};
|
|
215
|
+
export type RunAttributionCreateManyInput = {
|
|
216
|
+
runId: string;
|
|
217
|
+
workItemId: string;
|
|
218
|
+
parentKeyAtRun?: string | null;
|
|
219
|
+
source: string;
|
|
220
|
+
createdAt?: Date | string;
|
|
221
|
+
};
|
|
222
|
+
export type RunAttributionUpdateManyMutationInput = {
|
|
223
|
+
parentKeyAtRun?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
224
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
225
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
226
|
+
};
|
|
227
|
+
export type RunAttributionUncheckedUpdateManyInput = {
|
|
228
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
229
|
+
workItemId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
230
|
+
parentKeyAtRun?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
231
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
232
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
233
|
+
};
|
|
234
|
+
export type RunAttributionNullableScalarRelationFilter = {
|
|
235
|
+
is?: Prisma.RunAttributionWhereInput | null;
|
|
236
|
+
isNot?: Prisma.RunAttributionWhereInput | null;
|
|
237
|
+
};
|
|
238
|
+
export type RunAttributionListRelationFilter = {
|
|
239
|
+
every?: Prisma.RunAttributionWhereInput;
|
|
240
|
+
some?: Prisma.RunAttributionWhereInput;
|
|
241
|
+
none?: Prisma.RunAttributionWhereInput;
|
|
242
|
+
};
|
|
243
|
+
export type RunAttributionOrderByRelationAggregateInput = {
|
|
244
|
+
_count?: Prisma.SortOrder;
|
|
245
|
+
};
|
|
246
|
+
export type RunAttributionCountOrderByAggregateInput = {
|
|
247
|
+
runId?: Prisma.SortOrder;
|
|
248
|
+
workItemId?: Prisma.SortOrder;
|
|
249
|
+
parentKeyAtRun?: Prisma.SortOrder;
|
|
250
|
+
source?: Prisma.SortOrder;
|
|
251
|
+
createdAt?: Prisma.SortOrder;
|
|
252
|
+
};
|
|
253
|
+
export type RunAttributionMaxOrderByAggregateInput = {
|
|
254
|
+
runId?: Prisma.SortOrder;
|
|
255
|
+
workItemId?: Prisma.SortOrder;
|
|
256
|
+
parentKeyAtRun?: Prisma.SortOrder;
|
|
257
|
+
source?: Prisma.SortOrder;
|
|
258
|
+
createdAt?: Prisma.SortOrder;
|
|
259
|
+
};
|
|
260
|
+
export type RunAttributionMinOrderByAggregateInput = {
|
|
261
|
+
runId?: Prisma.SortOrder;
|
|
262
|
+
workItemId?: Prisma.SortOrder;
|
|
263
|
+
parentKeyAtRun?: Prisma.SortOrder;
|
|
264
|
+
source?: Prisma.SortOrder;
|
|
265
|
+
createdAt?: Prisma.SortOrder;
|
|
266
|
+
};
|
|
267
|
+
export type RunAttributionCreateNestedOneWithoutRunInput = {
|
|
268
|
+
create?: Prisma.XOR<Prisma.RunAttributionCreateWithoutRunInput, Prisma.RunAttributionUncheckedCreateWithoutRunInput>;
|
|
269
|
+
connectOrCreate?: Prisma.RunAttributionCreateOrConnectWithoutRunInput;
|
|
270
|
+
connect?: Prisma.RunAttributionWhereUniqueInput;
|
|
271
|
+
};
|
|
272
|
+
export type RunAttributionUncheckedCreateNestedOneWithoutRunInput = {
|
|
273
|
+
create?: Prisma.XOR<Prisma.RunAttributionCreateWithoutRunInput, Prisma.RunAttributionUncheckedCreateWithoutRunInput>;
|
|
274
|
+
connectOrCreate?: Prisma.RunAttributionCreateOrConnectWithoutRunInput;
|
|
275
|
+
connect?: Prisma.RunAttributionWhereUniqueInput;
|
|
276
|
+
};
|
|
277
|
+
export type RunAttributionUpdateOneWithoutRunNestedInput = {
|
|
278
|
+
create?: Prisma.XOR<Prisma.RunAttributionCreateWithoutRunInput, Prisma.RunAttributionUncheckedCreateWithoutRunInput>;
|
|
279
|
+
connectOrCreate?: Prisma.RunAttributionCreateOrConnectWithoutRunInput;
|
|
280
|
+
upsert?: Prisma.RunAttributionUpsertWithoutRunInput;
|
|
281
|
+
disconnect?: Prisma.RunAttributionWhereInput | boolean;
|
|
282
|
+
delete?: Prisma.RunAttributionWhereInput | boolean;
|
|
283
|
+
connect?: Prisma.RunAttributionWhereUniqueInput;
|
|
284
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.RunAttributionUpdateToOneWithWhereWithoutRunInput, Prisma.RunAttributionUpdateWithoutRunInput>, Prisma.RunAttributionUncheckedUpdateWithoutRunInput>;
|
|
285
|
+
};
|
|
286
|
+
export type RunAttributionUncheckedUpdateOneWithoutRunNestedInput = {
|
|
287
|
+
create?: Prisma.XOR<Prisma.RunAttributionCreateWithoutRunInput, Prisma.RunAttributionUncheckedCreateWithoutRunInput>;
|
|
288
|
+
connectOrCreate?: Prisma.RunAttributionCreateOrConnectWithoutRunInput;
|
|
289
|
+
upsert?: Prisma.RunAttributionUpsertWithoutRunInput;
|
|
290
|
+
disconnect?: Prisma.RunAttributionWhereInput | boolean;
|
|
291
|
+
delete?: Prisma.RunAttributionWhereInput | boolean;
|
|
292
|
+
connect?: Prisma.RunAttributionWhereUniqueInput;
|
|
293
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.RunAttributionUpdateToOneWithWhereWithoutRunInput, Prisma.RunAttributionUpdateWithoutRunInput>, Prisma.RunAttributionUncheckedUpdateWithoutRunInput>;
|
|
294
|
+
};
|
|
295
|
+
export type RunAttributionCreateNestedManyWithoutWorkItemInput = {
|
|
296
|
+
create?: Prisma.XOR<Prisma.RunAttributionCreateWithoutWorkItemInput, Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput> | Prisma.RunAttributionCreateWithoutWorkItemInput[] | Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput[];
|
|
297
|
+
connectOrCreate?: Prisma.RunAttributionCreateOrConnectWithoutWorkItemInput | Prisma.RunAttributionCreateOrConnectWithoutWorkItemInput[];
|
|
298
|
+
createMany?: Prisma.RunAttributionCreateManyWorkItemInputEnvelope;
|
|
299
|
+
connect?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
300
|
+
};
|
|
301
|
+
export type RunAttributionUncheckedCreateNestedManyWithoutWorkItemInput = {
|
|
302
|
+
create?: Prisma.XOR<Prisma.RunAttributionCreateWithoutWorkItemInput, Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput> | Prisma.RunAttributionCreateWithoutWorkItemInput[] | Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput[];
|
|
303
|
+
connectOrCreate?: Prisma.RunAttributionCreateOrConnectWithoutWorkItemInput | Prisma.RunAttributionCreateOrConnectWithoutWorkItemInput[];
|
|
304
|
+
createMany?: Prisma.RunAttributionCreateManyWorkItemInputEnvelope;
|
|
305
|
+
connect?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
306
|
+
};
|
|
307
|
+
export type RunAttributionUpdateManyWithoutWorkItemNestedInput = {
|
|
308
|
+
create?: Prisma.XOR<Prisma.RunAttributionCreateWithoutWorkItemInput, Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput> | Prisma.RunAttributionCreateWithoutWorkItemInput[] | Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput[];
|
|
309
|
+
connectOrCreate?: Prisma.RunAttributionCreateOrConnectWithoutWorkItemInput | Prisma.RunAttributionCreateOrConnectWithoutWorkItemInput[];
|
|
310
|
+
upsert?: Prisma.RunAttributionUpsertWithWhereUniqueWithoutWorkItemInput | Prisma.RunAttributionUpsertWithWhereUniqueWithoutWorkItemInput[];
|
|
311
|
+
createMany?: Prisma.RunAttributionCreateManyWorkItemInputEnvelope;
|
|
312
|
+
set?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
313
|
+
disconnect?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
314
|
+
delete?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
315
|
+
connect?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
316
|
+
update?: Prisma.RunAttributionUpdateWithWhereUniqueWithoutWorkItemInput | Prisma.RunAttributionUpdateWithWhereUniqueWithoutWorkItemInput[];
|
|
317
|
+
updateMany?: Prisma.RunAttributionUpdateManyWithWhereWithoutWorkItemInput | Prisma.RunAttributionUpdateManyWithWhereWithoutWorkItemInput[];
|
|
318
|
+
deleteMany?: Prisma.RunAttributionScalarWhereInput | Prisma.RunAttributionScalarWhereInput[];
|
|
319
|
+
};
|
|
320
|
+
export type RunAttributionUncheckedUpdateManyWithoutWorkItemNestedInput = {
|
|
321
|
+
create?: Prisma.XOR<Prisma.RunAttributionCreateWithoutWorkItemInput, Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput> | Prisma.RunAttributionCreateWithoutWorkItemInput[] | Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput[];
|
|
322
|
+
connectOrCreate?: Prisma.RunAttributionCreateOrConnectWithoutWorkItemInput | Prisma.RunAttributionCreateOrConnectWithoutWorkItemInput[];
|
|
323
|
+
upsert?: Prisma.RunAttributionUpsertWithWhereUniqueWithoutWorkItemInput | Prisma.RunAttributionUpsertWithWhereUniqueWithoutWorkItemInput[];
|
|
324
|
+
createMany?: Prisma.RunAttributionCreateManyWorkItemInputEnvelope;
|
|
325
|
+
set?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
326
|
+
disconnect?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
327
|
+
delete?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
328
|
+
connect?: Prisma.RunAttributionWhereUniqueInput | Prisma.RunAttributionWhereUniqueInput[];
|
|
329
|
+
update?: Prisma.RunAttributionUpdateWithWhereUniqueWithoutWorkItemInput | Prisma.RunAttributionUpdateWithWhereUniqueWithoutWorkItemInput[];
|
|
330
|
+
updateMany?: Prisma.RunAttributionUpdateManyWithWhereWithoutWorkItemInput | Prisma.RunAttributionUpdateManyWithWhereWithoutWorkItemInput[];
|
|
331
|
+
deleteMany?: Prisma.RunAttributionScalarWhereInput | Prisma.RunAttributionScalarWhereInput[];
|
|
332
|
+
};
|
|
333
|
+
export type RunAttributionCreateWithoutRunInput = {
|
|
334
|
+
parentKeyAtRun?: string | null;
|
|
335
|
+
source: string;
|
|
336
|
+
createdAt?: Date | string;
|
|
337
|
+
workItem: Prisma.WorkItemCreateNestedOneWithoutAttributionsInput;
|
|
338
|
+
};
|
|
339
|
+
export type RunAttributionUncheckedCreateWithoutRunInput = {
|
|
340
|
+
workItemId: string;
|
|
341
|
+
parentKeyAtRun?: string | null;
|
|
342
|
+
source: string;
|
|
343
|
+
createdAt?: Date | string;
|
|
344
|
+
};
|
|
345
|
+
export type RunAttributionCreateOrConnectWithoutRunInput = {
|
|
346
|
+
where: Prisma.RunAttributionWhereUniqueInput;
|
|
347
|
+
create: Prisma.XOR<Prisma.RunAttributionCreateWithoutRunInput, Prisma.RunAttributionUncheckedCreateWithoutRunInput>;
|
|
348
|
+
};
|
|
349
|
+
export type RunAttributionUpsertWithoutRunInput = {
|
|
350
|
+
update: Prisma.XOR<Prisma.RunAttributionUpdateWithoutRunInput, Prisma.RunAttributionUncheckedUpdateWithoutRunInput>;
|
|
351
|
+
create: Prisma.XOR<Prisma.RunAttributionCreateWithoutRunInput, Prisma.RunAttributionUncheckedCreateWithoutRunInput>;
|
|
352
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
353
|
+
};
|
|
354
|
+
export type RunAttributionUpdateToOneWithWhereWithoutRunInput = {
|
|
355
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
356
|
+
data: Prisma.XOR<Prisma.RunAttributionUpdateWithoutRunInput, Prisma.RunAttributionUncheckedUpdateWithoutRunInput>;
|
|
357
|
+
};
|
|
358
|
+
export type RunAttributionUpdateWithoutRunInput = {
|
|
359
|
+
parentKeyAtRun?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
360
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
361
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
362
|
+
workItem?: Prisma.WorkItemUpdateOneRequiredWithoutAttributionsNestedInput;
|
|
363
|
+
};
|
|
364
|
+
export type RunAttributionUncheckedUpdateWithoutRunInput = {
|
|
365
|
+
workItemId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
366
|
+
parentKeyAtRun?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
367
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
368
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
369
|
+
};
|
|
370
|
+
export type RunAttributionCreateWithoutWorkItemInput = {
|
|
371
|
+
parentKeyAtRun?: string | null;
|
|
372
|
+
source: string;
|
|
373
|
+
createdAt?: Date | string;
|
|
374
|
+
run: Prisma.RunCreateNestedOneWithoutAttributionInput;
|
|
375
|
+
};
|
|
376
|
+
export type RunAttributionUncheckedCreateWithoutWorkItemInput = {
|
|
377
|
+
runId: string;
|
|
378
|
+
parentKeyAtRun?: string | null;
|
|
379
|
+
source: string;
|
|
380
|
+
createdAt?: Date | string;
|
|
381
|
+
};
|
|
382
|
+
export type RunAttributionCreateOrConnectWithoutWorkItemInput = {
|
|
383
|
+
where: Prisma.RunAttributionWhereUniqueInput;
|
|
384
|
+
create: Prisma.XOR<Prisma.RunAttributionCreateWithoutWorkItemInput, Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput>;
|
|
385
|
+
};
|
|
386
|
+
export type RunAttributionCreateManyWorkItemInputEnvelope = {
|
|
387
|
+
data: Prisma.RunAttributionCreateManyWorkItemInput | Prisma.RunAttributionCreateManyWorkItemInput[];
|
|
388
|
+
skipDuplicates?: boolean;
|
|
389
|
+
};
|
|
390
|
+
export type RunAttributionUpsertWithWhereUniqueWithoutWorkItemInput = {
|
|
391
|
+
where: Prisma.RunAttributionWhereUniqueInput;
|
|
392
|
+
update: Prisma.XOR<Prisma.RunAttributionUpdateWithoutWorkItemInput, Prisma.RunAttributionUncheckedUpdateWithoutWorkItemInput>;
|
|
393
|
+
create: Prisma.XOR<Prisma.RunAttributionCreateWithoutWorkItemInput, Prisma.RunAttributionUncheckedCreateWithoutWorkItemInput>;
|
|
394
|
+
};
|
|
395
|
+
export type RunAttributionUpdateWithWhereUniqueWithoutWorkItemInput = {
|
|
396
|
+
where: Prisma.RunAttributionWhereUniqueInput;
|
|
397
|
+
data: Prisma.XOR<Prisma.RunAttributionUpdateWithoutWorkItemInput, Prisma.RunAttributionUncheckedUpdateWithoutWorkItemInput>;
|
|
398
|
+
};
|
|
399
|
+
export type RunAttributionUpdateManyWithWhereWithoutWorkItemInput = {
|
|
400
|
+
where: Prisma.RunAttributionScalarWhereInput;
|
|
401
|
+
data: Prisma.XOR<Prisma.RunAttributionUpdateManyMutationInput, Prisma.RunAttributionUncheckedUpdateManyWithoutWorkItemInput>;
|
|
402
|
+
};
|
|
403
|
+
export type RunAttributionScalarWhereInput = {
|
|
404
|
+
AND?: Prisma.RunAttributionScalarWhereInput | Prisma.RunAttributionScalarWhereInput[];
|
|
405
|
+
OR?: Prisma.RunAttributionScalarWhereInput[];
|
|
406
|
+
NOT?: Prisma.RunAttributionScalarWhereInput | Prisma.RunAttributionScalarWhereInput[];
|
|
407
|
+
runId?: Prisma.StringFilter<"RunAttribution"> | string;
|
|
408
|
+
workItemId?: Prisma.StringFilter<"RunAttribution"> | string;
|
|
409
|
+
parentKeyAtRun?: Prisma.StringNullableFilter<"RunAttribution"> | string | null;
|
|
410
|
+
source?: Prisma.StringFilter<"RunAttribution"> | string;
|
|
411
|
+
createdAt?: Prisma.DateTimeFilter<"RunAttribution"> | Date | string;
|
|
412
|
+
};
|
|
413
|
+
export type RunAttributionCreateManyWorkItemInput = {
|
|
414
|
+
runId: string;
|
|
415
|
+
parentKeyAtRun?: string | null;
|
|
416
|
+
source: string;
|
|
417
|
+
createdAt?: Date | string;
|
|
418
|
+
};
|
|
419
|
+
export type RunAttributionUpdateWithoutWorkItemInput = {
|
|
420
|
+
parentKeyAtRun?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
421
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
422
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
423
|
+
run?: Prisma.RunUpdateOneRequiredWithoutAttributionNestedInput;
|
|
424
|
+
};
|
|
425
|
+
export type RunAttributionUncheckedUpdateWithoutWorkItemInput = {
|
|
426
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
427
|
+
parentKeyAtRun?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
428
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
429
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
430
|
+
};
|
|
431
|
+
export type RunAttributionUncheckedUpdateManyWithoutWorkItemInput = {
|
|
432
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
433
|
+
parentKeyAtRun?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
434
|
+
source?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
435
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
436
|
+
};
|
|
437
|
+
export type RunAttributionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
438
|
+
runId?: boolean;
|
|
439
|
+
workItemId?: boolean;
|
|
440
|
+
parentKeyAtRun?: boolean;
|
|
441
|
+
source?: boolean;
|
|
442
|
+
createdAt?: boolean;
|
|
443
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
444
|
+
workItem?: boolean | Prisma.WorkItemDefaultArgs<ExtArgs>;
|
|
445
|
+
}, ExtArgs["result"]["runAttribution"]>;
|
|
446
|
+
export type RunAttributionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
447
|
+
runId?: boolean;
|
|
448
|
+
workItemId?: boolean;
|
|
449
|
+
parentKeyAtRun?: boolean;
|
|
450
|
+
source?: boolean;
|
|
451
|
+
createdAt?: boolean;
|
|
452
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
453
|
+
workItem?: boolean | Prisma.WorkItemDefaultArgs<ExtArgs>;
|
|
454
|
+
}, ExtArgs["result"]["runAttribution"]>;
|
|
455
|
+
export type RunAttributionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
456
|
+
runId?: boolean;
|
|
457
|
+
workItemId?: boolean;
|
|
458
|
+
parentKeyAtRun?: boolean;
|
|
459
|
+
source?: boolean;
|
|
460
|
+
createdAt?: boolean;
|
|
461
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
462
|
+
workItem?: boolean | Prisma.WorkItemDefaultArgs<ExtArgs>;
|
|
463
|
+
}, ExtArgs["result"]["runAttribution"]>;
|
|
464
|
+
export type RunAttributionSelectScalar = {
|
|
465
|
+
runId?: boolean;
|
|
466
|
+
workItemId?: boolean;
|
|
467
|
+
parentKeyAtRun?: boolean;
|
|
468
|
+
source?: boolean;
|
|
469
|
+
createdAt?: boolean;
|
|
470
|
+
};
|
|
471
|
+
export type RunAttributionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"runId" | "workItemId" | "parentKeyAtRun" | "source" | "createdAt", ExtArgs["result"]["runAttribution"]>;
|
|
472
|
+
export type RunAttributionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
473
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
474
|
+
workItem?: boolean | Prisma.WorkItemDefaultArgs<ExtArgs>;
|
|
475
|
+
};
|
|
476
|
+
export type RunAttributionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
477
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
478
|
+
workItem?: boolean | Prisma.WorkItemDefaultArgs<ExtArgs>;
|
|
479
|
+
};
|
|
480
|
+
export type RunAttributionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
481
|
+
run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
|
|
482
|
+
workItem?: boolean | Prisma.WorkItemDefaultArgs<ExtArgs>;
|
|
483
|
+
};
|
|
484
|
+
export type $RunAttributionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
485
|
+
name: "RunAttribution";
|
|
486
|
+
objects: {
|
|
487
|
+
run: Prisma.$RunPayload<ExtArgs>;
|
|
488
|
+
workItem: Prisma.$WorkItemPayload<ExtArgs>;
|
|
489
|
+
};
|
|
490
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
491
|
+
runId: string;
|
|
492
|
+
workItemId: string;
|
|
493
|
+
parentKeyAtRun: string | null;
|
|
494
|
+
/**
|
|
495
|
+
* issue_event | linked_pr | explicit | inherited
|
|
496
|
+
*/
|
|
497
|
+
source: string;
|
|
498
|
+
createdAt: Date;
|
|
499
|
+
}, ExtArgs["result"]["runAttribution"]>;
|
|
500
|
+
composites: {};
|
|
501
|
+
};
|
|
502
|
+
export type RunAttributionGetPayload<S extends boolean | null | undefined | RunAttributionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload, S>;
|
|
503
|
+
export type RunAttributionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RunAttributionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
504
|
+
select?: RunAttributionCountAggregateInputType | true;
|
|
505
|
+
};
|
|
506
|
+
export interface RunAttributionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
507
|
+
[K: symbol]: {
|
|
508
|
+
types: Prisma.TypeMap<ExtArgs>['model']['RunAttribution'];
|
|
509
|
+
meta: {
|
|
510
|
+
name: 'RunAttribution';
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* Find zero or one RunAttribution that matches the filter.
|
|
515
|
+
* @param {RunAttributionFindUniqueArgs} args - Arguments to find a RunAttribution
|
|
516
|
+
* @example
|
|
517
|
+
* // Get one RunAttribution
|
|
518
|
+
* const runAttribution = await prisma.runAttribution.findUnique({
|
|
519
|
+
* where: {
|
|
520
|
+
* // ... provide filter here
|
|
521
|
+
* }
|
|
522
|
+
* })
|
|
523
|
+
*/
|
|
524
|
+
findUnique<T extends RunAttributionFindUniqueArgs>(args: Prisma.SelectSubset<T, RunAttributionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RunAttributionClient<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
525
|
+
/**
|
|
526
|
+
* Find one RunAttribution that matches the filter or throw an error with `error.code='P2025'`
|
|
527
|
+
* if no matches were found.
|
|
528
|
+
* @param {RunAttributionFindUniqueOrThrowArgs} args - Arguments to find a RunAttribution
|
|
529
|
+
* @example
|
|
530
|
+
* // Get one RunAttribution
|
|
531
|
+
* const runAttribution = await prisma.runAttribution.findUniqueOrThrow({
|
|
532
|
+
* where: {
|
|
533
|
+
* // ... provide filter here
|
|
534
|
+
* }
|
|
535
|
+
* })
|
|
536
|
+
*/
|
|
537
|
+
findUniqueOrThrow<T extends RunAttributionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RunAttributionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RunAttributionClient<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
538
|
+
/**
|
|
539
|
+
* Find the first RunAttribution that matches the filter.
|
|
540
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
541
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
542
|
+
* @param {RunAttributionFindFirstArgs} args - Arguments to find a RunAttribution
|
|
543
|
+
* @example
|
|
544
|
+
* // Get one RunAttribution
|
|
545
|
+
* const runAttribution = await prisma.runAttribution.findFirst({
|
|
546
|
+
* where: {
|
|
547
|
+
* // ... provide filter here
|
|
548
|
+
* }
|
|
549
|
+
* })
|
|
550
|
+
*/
|
|
551
|
+
findFirst<T extends RunAttributionFindFirstArgs>(args?: Prisma.SelectSubset<T, RunAttributionFindFirstArgs<ExtArgs>>): Prisma.Prisma__RunAttributionClient<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
552
|
+
/**
|
|
553
|
+
* Find the first RunAttribution that matches the filter or
|
|
554
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
555
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
556
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
557
|
+
* @param {RunAttributionFindFirstOrThrowArgs} args - Arguments to find a RunAttribution
|
|
558
|
+
* @example
|
|
559
|
+
* // Get one RunAttribution
|
|
560
|
+
* const runAttribution = await prisma.runAttribution.findFirstOrThrow({
|
|
561
|
+
* where: {
|
|
562
|
+
* // ... provide filter here
|
|
563
|
+
* }
|
|
564
|
+
* })
|
|
565
|
+
*/
|
|
566
|
+
findFirstOrThrow<T extends RunAttributionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RunAttributionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RunAttributionClient<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
567
|
+
/**
|
|
568
|
+
* Find zero or more RunAttributions that matches the filter.
|
|
569
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
570
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
571
|
+
* @param {RunAttributionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
572
|
+
* @example
|
|
573
|
+
* // Get all RunAttributions
|
|
574
|
+
* const runAttributions = await prisma.runAttribution.findMany()
|
|
575
|
+
*
|
|
576
|
+
* // Get first 10 RunAttributions
|
|
577
|
+
* const runAttributions = await prisma.runAttribution.findMany({ take: 10 })
|
|
578
|
+
*
|
|
579
|
+
* // Only select the `runId`
|
|
580
|
+
* const runAttributionWithRunIdOnly = await prisma.runAttribution.findMany({ select: { runId: true } })
|
|
581
|
+
*
|
|
582
|
+
*/
|
|
583
|
+
findMany<T extends RunAttributionFindManyArgs>(args?: Prisma.SelectSubset<T, RunAttributionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
584
|
+
/**
|
|
585
|
+
* Create a RunAttribution.
|
|
586
|
+
* @param {RunAttributionCreateArgs} args - Arguments to create a RunAttribution.
|
|
587
|
+
* @example
|
|
588
|
+
* // Create one RunAttribution
|
|
589
|
+
* const RunAttribution = await prisma.runAttribution.create({
|
|
590
|
+
* data: {
|
|
591
|
+
* // ... data to create a RunAttribution
|
|
592
|
+
* }
|
|
593
|
+
* })
|
|
594
|
+
*
|
|
595
|
+
*/
|
|
596
|
+
create<T extends RunAttributionCreateArgs>(args: Prisma.SelectSubset<T, RunAttributionCreateArgs<ExtArgs>>): Prisma.Prisma__RunAttributionClient<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
597
|
+
/**
|
|
598
|
+
* Create many RunAttributions.
|
|
599
|
+
* @param {RunAttributionCreateManyArgs} args - Arguments to create many RunAttributions.
|
|
600
|
+
* @example
|
|
601
|
+
* // Create many RunAttributions
|
|
602
|
+
* const runAttribution = await prisma.runAttribution.createMany({
|
|
603
|
+
* data: [
|
|
604
|
+
* // ... provide data here
|
|
605
|
+
* ]
|
|
606
|
+
* })
|
|
607
|
+
*
|
|
608
|
+
*/
|
|
609
|
+
createMany<T extends RunAttributionCreateManyArgs>(args?: Prisma.SelectSubset<T, RunAttributionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
610
|
+
/**
|
|
611
|
+
* Create many RunAttributions and returns the data saved in the database.
|
|
612
|
+
* @param {RunAttributionCreateManyAndReturnArgs} args - Arguments to create many RunAttributions.
|
|
613
|
+
* @example
|
|
614
|
+
* // Create many RunAttributions
|
|
615
|
+
* const runAttribution = await prisma.runAttribution.createManyAndReturn({
|
|
616
|
+
* data: [
|
|
617
|
+
* // ... provide data here
|
|
618
|
+
* ]
|
|
619
|
+
* })
|
|
620
|
+
*
|
|
621
|
+
* // Create many RunAttributions and only return the `runId`
|
|
622
|
+
* const runAttributionWithRunIdOnly = await prisma.runAttribution.createManyAndReturn({
|
|
623
|
+
* select: { runId: true },
|
|
624
|
+
* data: [
|
|
625
|
+
* // ... provide data here
|
|
626
|
+
* ]
|
|
627
|
+
* })
|
|
628
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
629
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
630
|
+
*
|
|
631
|
+
*/
|
|
632
|
+
createManyAndReturn<T extends RunAttributionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RunAttributionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
633
|
+
/**
|
|
634
|
+
* Delete a RunAttribution.
|
|
635
|
+
* @param {RunAttributionDeleteArgs} args - Arguments to delete one RunAttribution.
|
|
636
|
+
* @example
|
|
637
|
+
* // Delete one RunAttribution
|
|
638
|
+
* const RunAttribution = await prisma.runAttribution.delete({
|
|
639
|
+
* where: {
|
|
640
|
+
* // ... filter to delete one RunAttribution
|
|
641
|
+
* }
|
|
642
|
+
* })
|
|
643
|
+
*
|
|
644
|
+
*/
|
|
645
|
+
delete<T extends RunAttributionDeleteArgs>(args: Prisma.SelectSubset<T, RunAttributionDeleteArgs<ExtArgs>>): Prisma.Prisma__RunAttributionClient<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
646
|
+
/**
|
|
647
|
+
* Update one RunAttribution.
|
|
648
|
+
* @param {RunAttributionUpdateArgs} args - Arguments to update one RunAttribution.
|
|
649
|
+
* @example
|
|
650
|
+
* // Update one RunAttribution
|
|
651
|
+
* const runAttribution = await prisma.runAttribution.update({
|
|
652
|
+
* where: {
|
|
653
|
+
* // ... provide filter here
|
|
654
|
+
* },
|
|
655
|
+
* data: {
|
|
656
|
+
* // ... provide data here
|
|
657
|
+
* }
|
|
658
|
+
* })
|
|
659
|
+
*
|
|
660
|
+
*/
|
|
661
|
+
update<T extends RunAttributionUpdateArgs>(args: Prisma.SelectSubset<T, RunAttributionUpdateArgs<ExtArgs>>): Prisma.Prisma__RunAttributionClient<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
662
|
+
/**
|
|
663
|
+
* Delete zero or more RunAttributions.
|
|
664
|
+
* @param {RunAttributionDeleteManyArgs} args - Arguments to filter RunAttributions to delete.
|
|
665
|
+
* @example
|
|
666
|
+
* // Delete a few RunAttributions
|
|
667
|
+
* const { count } = await prisma.runAttribution.deleteMany({
|
|
668
|
+
* where: {
|
|
669
|
+
* // ... provide filter here
|
|
670
|
+
* }
|
|
671
|
+
* })
|
|
672
|
+
*
|
|
673
|
+
*/
|
|
674
|
+
deleteMany<T extends RunAttributionDeleteManyArgs>(args?: Prisma.SelectSubset<T, RunAttributionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
675
|
+
/**
|
|
676
|
+
* Update zero or more RunAttributions.
|
|
677
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
678
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
679
|
+
* @param {RunAttributionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
680
|
+
* @example
|
|
681
|
+
* // Update many RunAttributions
|
|
682
|
+
* const runAttribution = await prisma.runAttribution.updateMany({
|
|
683
|
+
* where: {
|
|
684
|
+
* // ... provide filter here
|
|
685
|
+
* },
|
|
686
|
+
* data: {
|
|
687
|
+
* // ... provide data here
|
|
688
|
+
* }
|
|
689
|
+
* })
|
|
690
|
+
*
|
|
691
|
+
*/
|
|
692
|
+
updateMany<T extends RunAttributionUpdateManyArgs>(args: Prisma.SelectSubset<T, RunAttributionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
693
|
+
/**
|
|
694
|
+
* Update zero or more RunAttributions and returns the data updated in the database.
|
|
695
|
+
* @param {RunAttributionUpdateManyAndReturnArgs} args - Arguments to update many RunAttributions.
|
|
696
|
+
* @example
|
|
697
|
+
* // Update many RunAttributions
|
|
698
|
+
* const runAttribution = await prisma.runAttribution.updateManyAndReturn({
|
|
699
|
+
* where: {
|
|
700
|
+
* // ... provide filter here
|
|
701
|
+
* },
|
|
702
|
+
* data: [
|
|
703
|
+
* // ... provide data here
|
|
704
|
+
* ]
|
|
705
|
+
* })
|
|
706
|
+
*
|
|
707
|
+
* // Update zero or more RunAttributions and only return the `runId`
|
|
708
|
+
* const runAttributionWithRunIdOnly = await prisma.runAttribution.updateManyAndReturn({
|
|
709
|
+
* select: { runId: true },
|
|
710
|
+
* where: {
|
|
711
|
+
* // ... provide filter here
|
|
712
|
+
* },
|
|
713
|
+
* data: [
|
|
714
|
+
* // ... provide data here
|
|
715
|
+
* ]
|
|
716
|
+
* })
|
|
717
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
718
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
719
|
+
*
|
|
720
|
+
*/
|
|
721
|
+
updateManyAndReturn<T extends RunAttributionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RunAttributionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
722
|
+
/**
|
|
723
|
+
* Create or update one RunAttribution.
|
|
724
|
+
* @param {RunAttributionUpsertArgs} args - Arguments to update or create a RunAttribution.
|
|
725
|
+
* @example
|
|
726
|
+
* // Update or create a RunAttribution
|
|
727
|
+
* const runAttribution = await prisma.runAttribution.upsert({
|
|
728
|
+
* create: {
|
|
729
|
+
* // ... data to create a RunAttribution
|
|
730
|
+
* },
|
|
731
|
+
* update: {
|
|
732
|
+
* // ... in case it already exists, update
|
|
733
|
+
* },
|
|
734
|
+
* where: {
|
|
735
|
+
* // ... the filter for the RunAttribution we want to update
|
|
736
|
+
* }
|
|
737
|
+
* })
|
|
738
|
+
*/
|
|
739
|
+
upsert<T extends RunAttributionUpsertArgs>(args: Prisma.SelectSubset<T, RunAttributionUpsertArgs<ExtArgs>>): Prisma.Prisma__RunAttributionClient<runtime.Types.Result.GetResult<Prisma.$RunAttributionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
740
|
+
/**
|
|
741
|
+
* Count the number of RunAttributions.
|
|
742
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
743
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
744
|
+
* @param {RunAttributionCountArgs} args - Arguments to filter RunAttributions to count.
|
|
745
|
+
* @example
|
|
746
|
+
* // Count the number of RunAttributions
|
|
747
|
+
* const count = await prisma.runAttribution.count({
|
|
748
|
+
* where: {
|
|
749
|
+
* // ... the filter for the RunAttributions we want to count
|
|
750
|
+
* }
|
|
751
|
+
* })
|
|
752
|
+
**/
|
|
753
|
+
count<T extends RunAttributionCountArgs>(args?: Prisma.Subset<T, RunAttributionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RunAttributionCountAggregateOutputType> : number>;
|
|
754
|
+
/**
|
|
755
|
+
* Allows you to perform aggregations operations on a RunAttribution.
|
|
756
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
757
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
758
|
+
* @param {RunAttributionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
759
|
+
* @example
|
|
760
|
+
* // Ordered by age ascending
|
|
761
|
+
* // Where email contains prisma.io
|
|
762
|
+
* // Limited to the 10 users
|
|
763
|
+
* const aggregations = await prisma.user.aggregate({
|
|
764
|
+
* _avg: {
|
|
765
|
+
* age: true,
|
|
766
|
+
* },
|
|
767
|
+
* where: {
|
|
768
|
+
* email: {
|
|
769
|
+
* contains: "prisma.io",
|
|
770
|
+
* },
|
|
771
|
+
* },
|
|
772
|
+
* orderBy: {
|
|
773
|
+
* age: "asc",
|
|
774
|
+
* },
|
|
775
|
+
* take: 10,
|
|
776
|
+
* })
|
|
777
|
+
**/
|
|
778
|
+
aggregate<T extends RunAttributionAggregateArgs>(args: Prisma.Subset<T, RunAttributionAggregateArgs>): Prisma.PrismaPromise<GetRunAttributionAggregateType<T>>;
|
|
779
|
+
/**
|
|
780
|
+
* Group by RunAttribution.
|
|
781
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
782
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
783
|
+
* @param {RunAttributionGroupByArgs} args - Group by arguments.
|
|
784
|
+
* @example
|
|
785
|
+
* // Group by city, order by createdAt, get count
|
|
786
|
+
* const result = await prisma.user.groupBy({
|
|
787
|
+
* by: ['city', 'createdAt'],
|
|
788
|
+
* orderBy: {
|
|
789
|
+
* createdAt: true
|
|
790
|
+
* },
|
|
791
|
+
* _count: {
|
|
792
|
+
* _all: true
|
|
793
|
+
* },
|
|
794
|
+
* })
|
|
795
|
+
*
|
|
796
|
+
**/
|
|
797
|
+
groupBy<T extends RunAttributionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
798
|
+
orderBy: RunAttributionGroupByArgs['orderBy'];
|
|
799
|
+
} : {
|
|
800
|
+
orderBy?: RunAttributionGroupByArgs['orderBy'];
|
|
801
|
+
}, 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 ? {
|
|
802
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
803
|
+
Error,
|
|
804
|
+
'Field ',
|
|
805
|
+
P,
|
|
806
|
+
` in "having" needs to be provided in "by"`
|
|
807
|
+
];
|
|
808
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
809
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
810
|
+
}[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 ? {} : {
|
|
811
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
812
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
813
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
814
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, RunAttributionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRunAttributionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
815
|
+
/**
|
|
816
|
+
* Fields of the RunAttribution model
|
|
817
|
+
*/
|
|
818
|
+
readonly fields: RunAttributionFieldRefs;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* The delegate class that acts as a "Promise-like" for RunAttribution.
|
|
822
|
+
* Why is this prefixed with `Prisma__`?
|
|
823
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
824
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
825
|
+
*/
|
|
826
|
+
export interface Prisma__RunAttributionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
827
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
828
|
+
run<T extends Prisma.RunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RunDefaultArgs<ExtArgs>>): Prisma.Prisma__RunClient<runtime.Types.Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
829
|
+
workItem<T extends Prisma.WorkItemDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkItemDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkItemClient<runtime.Types.Result.GetResult<Prisma.$WorkItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
830
|
+
/**
|
|
831
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
832
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
833
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
834
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
835
|
+
*/
|
|
836
|
+
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>;
|
|
837
|
+
/**
|
|
838
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
839
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
840
|
+
* @returns A Promise for the completion of the callback.
|
|
841
|
+
*/
|
|
842
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
843
|
+
/**
|
|
844
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
845
|
+
* resolved value cannot be modified from the callback.
|
|
846
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
847
|
+
* @returns A Promise for the completion of the callback.
|
|
848
|
+
*/
|
|
849
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* Fields of the RunAttribution model
|
|
853
|
+
*/
|
|
854
|
+
export interface RunAttributionFieldRefs {
|
|
855
|
+
readonly runId: Prisma.FieldRef<"RunAttribution", 'String'>;
|
|
856
|
+
readonly workItemId: Prisma.FieldRef<"RunAttribution", 'String'>;
|
|
857
|
+
readonly parentKeyAtRun: Prisma.FieldRef<"RunAttribution", 'String'>;
|
|
858
|
+
readonly source: Prisma.FieldRef<"RunAttribution", 'String'>;
|
|
859
|
+
readonly createdAt: Prisma.FieldRef<"RunAttribution", 'DateTime'>;
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* RunAttribution findUnique
|
|
863
|
+
*/
|
|
864
|
+
export type RunAttributionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
865
|
+
/**
|
|
866
|
+
* Select specific fields to fetch from the RunAttribution
|
|
867
|
+
*/
|
|
868
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
869
|
+
/**
|
|
870
|
+
* Omit specific fields from the RunAttribution
|
|
871
|
+
*/
|
|
872
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
873
|
+
/**
|
|
874
|
+
* Choose, which related nodes to fetch as well
|
|
875
|
+
*/
|
|
876
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
877
|
+
/**
|
|
878
|
+
* Filter, which RunAttribution to fetch.
|
|
879
|
+
*/
|
|
880
|
+
where: Prisma.RunAttributionWhereUniqueInput;
|
|
881
|
+
};
|
|
882
|
+
/**
|
|
883
|
+
* RunAttribution findUniqueOrThrow
|
|
884
|
+
*/
|
|
885
|
+
export type RunAttributionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
886
|
+
/**
|
|
887
|
+
* Select specific fields to fetch from the RunAttribution
|
|
888
|
+
*/
|
|
889
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
890
|
+
/**
|
|
891
|
+
* Omit specific fields from the RunAttribution
|
|
892
|
+
*/
|
|
893
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
894
|
+
/**
|
|
895
|
+
* Choose, which related nodes to fetch as well
|
|
896
|
+
*/
|
|
897
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
898
|
+
/**
|
|
899
|
+
* Filter, which RunAttribution to fetch.
|
|
900
|
+
*/
|
|
901
|
+
where: Prisma.RunAttributionWhereUniqueInput;
|
|
902
|
+
};
|
|
903
|
+
/**
|
|
904
|
+
* RunAttribution findFirst
|
|
905
|
+
*/
|
|
906
|
+
export type RunAttributionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
907
|
+
/**
|
|
908
|
+
* Select specific fields to fetch from the RunAttribution
|
|
909
|
+
*/
|
|
910
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
911
|
+
/**
|
|
912
|
+
* Omit specific fields from the RunAttribution
|
|
913
|
+
*/
|
|
914
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
915
|
+
/**
|
|
916
|
+
* Choose, which related nodes to fetch as well
|
|
917
|
+
*/
|
|
918
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
919
|
+
/**
|
|
920
|
+
* Filter, which RunAttribution to fetch.
|
|
921
|
+
*/
|
|
922
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
923
|
+
/**
|
|
924
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
925
|
+
*
|
|
926
|
+
* Determine the order of RunAttributions to fetch.
|
|
927
|
+
*/
|
|
928
|
+
orderBy?: Prisma.RunAttributionOrderByWithRelationInput | Prisma.RunAttributionOrderByWithRelationInput[];
|
|
929
|
+
/**
|
|
930
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
931
|
+
*
|
|
932
|
+
* Sets the position for searching for RunAttributions.
|
|
933
|
+
*/
|
|
934
|
+
cursor?: Prisma.RunAttributionWhereUniqueInput;
|
|
935
|
+
/**
|
|
936
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
937
|
+
*
|
|
938
|
+
* Take `±n` RunAttributions from the position of the cursor.
|
|
939
|
+
*/
|
|
940
|
+
take?: number;
|
|
941
|
+
/**
|
|
942
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
943
|
+
*
|
|
944
|
+
* Skip the first `n` RunAttributions.
|
|
945
|
+
*/
|
|
946
|
+
skip?: number;
|
|
947
|
+
/**
|
|
948
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
949
|
+
*
|
|
950
|
+
* Filter by unique combinations of RunAttributions.
|
|
951
|
+
*/
|
|
952
|
+
distinct?: Prisma.RunAttributionScalarFieldEnum | Prisma.RunAttributionScalarFieldEnum[];
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* RunAttribution findFirstOrThrow
|
|
956
|
+
*/
|
|
957
|
+
export type RunAttributionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
958
|
+
/**
|
|
959
|
+
* Select specific fields to fetch from the RunAttribution
|
|
960
|
+
*/
|
|
961
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
962
|
+
/**
|
|
963
|
+
* Omit specific fields from the RunAttribution
|
|
964
|
+
*/
|
|
965
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
966
|
+
/**
|
|
967
|
+
* Choose, which related nodes to fetch as well
|
|
968
|
+
*/
|
|
969
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
970
|
+
/**
|
|
971
|
+
* Filter, which RunAttribution to fetch.
|
|
972
|
+
*/
|
|
973
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
974
|
+
/**
|
|
975
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
976
|
+
*
|
|
977
|
+
* Determine the order of RunAttributions to fetch.
|
|
978
|
+
*/
|
|
979
|
+
orderBy?: Prisma.RunAttributionOrderByWithRelationInput | Prisma.RunAttributionOrderByWithRelationInput[];
|
|
980
|
+
/**
|
|
981
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
982
|
+
*
|
|
983
|
+
* Sets the position for searching for RunAttributions.
|
|
984
|
+
*/
|
|
985
|
+
cursor?: Prisma.RunAttributionWhereUniqueInput;
|
|
986
|
+
/**
|
|
987
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
988
|
+
*
|
|
989
|
+
* Take `±n` RunAttributions from the position of the cursor.
|
|
990
|
+
*/
|
|
991
|
+
take?: number;
|
|
992
|
+
/**
|
|
993
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
994
|
+
*
|
|
995
|
+
* Skip the first `n` RunAttributions.
|
|
996
|
+
*/
|
|
997
|
+
skip?: number;
|
|
998
|
+
/**
|
|
999
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1000
|
+
*
|
|
1001
|
+
* Filter by unique combinations of RunAttributions.
|
|
1002
|
+
*/
|
|
1003
|
+
distinct?: Prisma.RunAttributionScalarFieldEnum | Prisma.RunAttributionScalarFieldEnum[];
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
* RunAttribution findMany
|
|
1007
|
+
*/
|
|
1008
|
+
export type RunAttributionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1009
|
+
/**
|
|
1010
|
+
* Select specific fields to fetch from the RunAttribution
|
|
1011
|
+
*/
|
|
1012
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
1013
|
+
/**
|
|
1014
|
+
* Omit specific fields from the RunAttribution
|
|
1015
|
+
*/
|
|
1016
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Choose, which related nodes to fetch as well
|
|
1019
|
+
*/
|
|
1020
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Filter, which RunAttributions to fetch.
|
|
1023
|
+
*/
|
|
1024
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
1025
|
+
/**
|
|
1026
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1027
|
+
*
|
|
1028
|
+
* Determine the order of RunAttributions to fetch.
|
|
1029
|
+
*/
|
|
1030
|
+
orderBy?: Prisma.RunAttributionOrderByWithRelationInput | Prisma.RunAttributionOrderByWithRelationInput[];
|
|
1031
|
+
/**
|
|
1032
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1033
|
+
*
|
|
1034
|
+
* Sets the position for listing RunAttributions.
|
|
1035
|
+
*/
|
|
1036
|
+
cursor?: Prisma.RunAttributionWhereUniqueInput;
|
|
1037
|
+
/**
|
|
1038
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1039
|
+
*
|
|
1040
|
+
* Take `±n` RunAttributions from the position of the cursor.
|
|
1041
|
+
*/
|
|
1042
|
+
take?: number;
|
|
1043
|
+
/**
|
|
1044
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1045
|
+
*
|
|
1046
|
+
* Skip the first `n` RunAttributions.
|
|
1047
|
+
*/
|
|
1048
|
+
skip?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1051
|
+
*
|
|
1052
|
+
* Filter by unique combinations of RunAttributions.
|
|
1053
|
+
*/
|
|
1054
|
+
distinct?: Prisma.RunAttributionScalarFieldEnum | Prisma.RunAttributionScalarFieldEnum[];
|
|
1055
|
+
};
|
|
1056
|
+
/**
|
|
1057
|
+
* RunAttribution create
|
|
1058
|
+
*/
|
|
1059
|
+
export type RunAttributionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
/**
|
|
1061
|
+
* Select specific fields to fetch from the RunAttribution
|
|
1062
|
+
*/
|
|
1063
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
1064
|
+
/**
|
|
1065
|
+
* Omit specific fields from the RunAttribution
|
|
1066
|
+
*/
|
|
1067
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
1068
|
+
/**
|
|
1069
|
+
* Choose, which related nodes to fetch as well
|
|
1070
|
+
*/
|
|
1071
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
1072
|
+
/**
|
|
1073
|
+
* The data needed to create a RunAttribution.
|
|
1074
|
+
*/
|
|
1075
|
+
data: Prisma.XOR<Prisma.RunAttributionCreateInput, Prisma.RunAttributionUncheckedCreateInput>;
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* RunAttribution createMany
|
|
1079
|
+
*/
|
|
1080
|
+
export type RunAttributionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1081
|
+
/**
|
|
1082
|
+
* The data used to create many RunAttributions.
|
|
1083
|
+
*/
|
|
1084
|
+
data: Prisma.RunAttributionCreateManyInput | Prisma.RunAttributionCreateManyInput[];
|
|
1085
|
+
skipDuplicates?: boolean;
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* RunAttribution createManyAndReturn
|
|
1089
|
+
*/
|
|
1090
|
+
export type RunAttributionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Select specific fields to fetch from the RunAttribution
|
|
1093
|
+
*/
|
|
1094
|
+
select?: Prisma.RunAttributionSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* Omit specific fields from the RunAttribution
|
|
1097
|
+
*/
|
|
1098
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* The data used to create many RunAttributions.
|
|
1101
|
+
*/
|
|
1102
|
+
data: Prisma.RunAttributionCreateManyInput | Prisma.RunAttributionCreateManyInput[];
|
|
1103
|
+
skipDuplicates?: boolean;
|
|
1104
|
+
/**
|
|
1105
|
+
* Choose, which related nodes to fetch as well
|
|
1106
|
+
*/
|
|
1107
|
+
include?: Prisma.RunAttributionIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1108
|
+
};
|
|
1109
|
+
/**
|
|
1110
|
+
* RunAttribution update
|
|
1111
|
+
*/
|
|
1112
|
+
export type RunAttributionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1113
|
+
/**
|
|
1114
|
+
* Select specific fields to fetch from the RunAttribution
|
|
1115
|
+
*/
|
|
1116
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
1117
|
+
/**
|
|
1118
|
+
* Omit specific fields from the RunAttribution
|
|
1119
|
+
*/
|
|
1120
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
1121
|
+
/**
|
|
1122
|
+
* Choose, which related nodes to fetch as well
|
|
1123
|
+
*/
|
|
1124
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* The data needed to update a RunAttribution.
|
|
1127
|
+
*/
|
|
1128
|
+
data: Prisma.XOR<Prisma.RunAttributionUpdateInput, Prisma.RunAttributionUncheckedUpdateInput>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Choose, which RunAttribution to update.
|
|
1131
|
+
*/
|
|
1132
|
+
where: Prisma.RunAttributionWhereUniqueInput;
|
|
1133
|
+
};
|
|
1134
|
+
/**
|
|
1135
|
+
* RunAttribution updateMany
|
|
1136
|
+
*/
|
|
1137
|
+
export type RunAttributionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1138
|
+
/**
|
|
1139
|
+
* The data used to update RunAttributions.
|
|
1140
|
+
*/
|
|
1141
|
+
data: Prisma.XOR<Prisma.RunAttributionUpdateManyMutationInput, Prisma.RunAttributionUncheckedUpdateManyInput>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Filter which RunAttributions to update
|
|
1144
|
+
*/
|
|
1145
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
1146
|
+
/**
|
|
1147
|
+
* Limit how many RunAttributions to update.
|
|
1148
|
+
*/
|
|
1149
|
+
limit?: number;
|
|
1150
|
+
};
|
|
1151
|
+
/**
|
|
1152
|
+
* RunAttribution updateManyAndReturn
|
|
1153
|
+
*/
|
|
1154
|
+
export type RunAttributionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1155
|
+
/**
|
|
1156
|
+
* Select specific fields to fetch from the RunAttribution
|
|
1157
|
+
*/
|
|
1158
|
+
select?: Prisma.RunAttributionSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1159
|
+
/**
|
|
1160
|
+
* Omit specific fields from the RunAttribution
|
|
1161
|
+
*/
|
|
1162
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
1163
|
+
/**
|
|
1164
|
+
* The data used to update RunAttributions.
|
|
1165
|
+
*/
|
|
1166
|
+
data: Prisma.XOR<Prisma.RunAttributionUpdateManyMutationInput, Prisma.RunAttributionUncheckedUpdateManyInput>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Filter which RunAttributions to update
|
|
1169
|
+
*/
|
|
1170
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
1171
|
+
/**
|
|
1172
|
+
* Limit how many RunAttributions to update.
|
|
1173
|
+
*/
|
|
1174
|
+
limit?: number;
|
|
1175
|
+
/**
|
|
1176
|
+
* Choose, which related nodes to fetch as well
|
|
1177
|
+
*/
|
|
1178
|
+
include?: Prisma.RunAttributionIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1179
|
+
};
|
|
1180
|
+
/**
|
|
1181
|
+
* RunAttribution upsert
|
|
1182
|
+
*/
|
|
1183
|
+
export type RunAttributionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1184
|
+
/**
|
|
1185
|
+
* Select specific fields to fetch from the RunAttribution
|
|
1186
|
+
*/
|
|
1187
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
1188
|
+
/**
|
|
1189
|
+
* Omit specific fields from the RunAttribution
|
|
1190
|
+
*/
|
|
1191
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
1192
|
+
/**
|
|
1193
|
+
* Choose, which related nodes to fetch as well
|
|
1194
|
+
*/
|
|
1195
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
1196
|
+
/**
|
|
1197
|
+
* The filter to search for the RunAttribution to update in case it exists.
|
|
1198
|
+
*/
|
|
1199
|
+
where: Prisma.RunAttributionWhereUniqueInput;
|
|
1200
|
+
/**
|
|
1201
|
+
* In case the RunAttribution found by the `where` argument doesn't exist, create a new RunAttribution with this data.
|
|
1202
|
+
*/
|
|
1203
|
+
create: Prisma.XOR<Prisma.RunAttributionCreateInput, Prisma.RunAttributionUncheckedCreateInput>;
|
|
1204
|
+
/**
|
|
1205
|
+
* In case the RunAttribution was found with the provided `where` argument, update it with this data.
|
|
1206
|
+
*/
|
|
1207
|
+
update: Prisma.XOR<Prisma.RunAttributionUpdateInput, Prisma.RunAttributionUncheckedUpdateInput>;
|
|
1208
|
+
};
|
|
1209
|
+
/**
|
|
1210
|
+
* RunAttribution delete
|
|
1211
|
+
*/
|
|
1212
|
+
export type RunAttributionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1213
|
+
/**
|
|
1214
|
+
* Select specific fields to fetch from the RunAttribution
|
|
1215
|
+
*/
|
|
1216
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
1217
|
+
/**
|
|
1218
|
+
* Omit specific fields from the RunAttribution
|
|
1219
|
+
*/
|
|
1220
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
1221
|
+
/**
|
|
1222
|
+
* Choose, which related nodes to fetch as well
|
|
1223
|
+
*/
|
|
1224
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
1225
|
+
/**
|
|
1226
|
+
* Filter which RunAttribution to delete.
|
|
1227
|
+
*/
|
|
1228
|
+
where: Prisma.RunAttributionWhereUniqueInput;
|
|
1229
|
+
};
|
|
1230
|
+
/**
|
|
1231
|
+
* RunAttribution deleteMany
|
|
1232
|
+
*/
|
|
1233
|
+
export type RunAttributionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1234
|
+
/**
|
|
1235
|
+
* Filter which RunAttributions to delete
|
|
1236
|
+
*/
|
|
1237
|
+
where?: Prisma.RunAttributionWhereInput;
|
|
1238
|
+
/**
|
|
1239
|
+
* Limit how many RunAttributions to delete.
|
|
1240
|
+
*/
|
|
1241
|
+
limit?: number;
|
|
1242
|
+
};
|
|
1243
|
+
/**
|
|
1244
|
+
* RunAttribution without action
|
|
1245
|
+
*/
|
|
1246
|
+
export type RunAttributionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1247
|
+
/**
|
|
1248
|
+
* Select specific fields to fetch from the RunAttribution
|
|
1249
|
+
*/
|
|
1250
|
+
select?: Prisma.RunAttributionSelect<ExtArgs> | null;
|
|
1251
|
+
/**
|
|
1252
|
+
* Omit specific fields from the RunAttribution
|
|
1253
|
+
*/
|
|
1254
|
+
omit?: Prisma.RunAttributionOmit<ExtArgs> | null;
|
|
1255
|
+
/**
|
|
1256
|
+
* Choose, which related nodes to fetch as well
|
|
1257
|
+
*/
|
|
1258
|
+
include?: Prisma.RunAttributionInclude<ExtArgs> | null;
|
|
1259
|
+
};
|