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