@wardby/cli 0.4.1 → 0.5.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 +8 -1
- package/README.md +3 -1
- package/deploy/local/docker-compose.quickstart-coding.yml +27 -0
- package/dist/claude-coding-worker/driver.d.ts +2 -0
- package/dist/claude-coding-worker/driver.js +19 -3
- package/dist/claude-coding-worker/sdk.js +1 -1
- package/dist/cli.js +41 -22
- package/dist/coding/continuation-wording.d.ts +10 -0
- package/dist/coding/continuation-wording.js +13 -0
- package/dist/coding/docker-preflight.d.ts +12 -0
- package/dist/coding/docker-preflight.js +40 -0
- package/dist/coding/local-git.d.ts +22 -0
- package/dist/coding/local-git.js +102 -0
- package/dist/coding/local-repo-status.d.ts +7 -0
- package/dist/coding/local-repo-status.js +56 -0
- package/dist/coding/local-repo.d.ts +17 -0
- package/dist/coding/local-repo.js +65 -0
- package/dist/coding/observability.d.ts +1 -1
- package/dist/coding/observability.js +1 -0
- package/dist/coding/profile.d.ts +6 -0
- package/dist/coding/profile.js +13 -4
- package/dist/coding/protocol.d.ts +32 -7
- package/dist/coding/protocol.js +66 -4
- package/dist/coding-worker/artifact.d.ts +1 -0
- package/dist/coding-worker/errors.js +2 -0
- package/dist/config/providers.d.ts +13 -0
- package/dist/config/providers.js +21 -9
- package/dist/core/attribution.d.ts +13 -0
- package/dist/core/attribution.js +30 -0
- package/dist/core/budget-groups.d.ts +3 -1
- package/dist/core/budget-groups.js +53 -5
- package/dist/core/ci-context.d.ts +8 -0
- package/dist/core/ci-context.js +59 -0
- package/dist/core/delegation-siblings.d.ts +22 -0
- package/dist/core/delegation-siblings.js +40 -0
- package/dist/core/dispatch.d.ts +28 -4
- package/dist/core/dispatch.js +57 -15
- package/dist/core/engine-native.d.ts +16 -0
- package/dist/core/engine-native.js +49 -2
- package/dist/core/host-events.d.ts +25 -2
- package/dist/core/host-events.js +361 -19
- package/dist/core/host-status.d.ts +8 -3
- package/dist/core/host-status.js +38 -7
- package/dist/core/issue-events.d.ts +2 -6
- package/dist/core/issue-events.js +13 -19
- package/dist/core/pull-request-state-sync.d.ts +17 -0
- package/dist/core/pull-request-state-sync.js +53 -0
- package/dist/core/reconciler.d.ts +10 -1
- package/dist/core/reconciler.js +15 -2
- package/dist/core/related-pull-requests.d.ts +95 -0
- package/dist/core/related-pull-requests.js +338 -0
- package/dist/core/repo-access.d.ts +5 -1
- package/dist/core/repo-access.js +17 -1
- package/dist/core/review-fix-ledger.d.ts +20 -0
- package/dist/core/review-fix-ledger.js +41 -0
- package/dist/core/review-fix.d.ts +60 -0
- package/dist/core/review-fix.js +155 -0
- package/dist/core/review-host-tools.d.ts +13 -2
- package/dist/core/review-host-tools.js +72 -11
- package/dist/core/runner.d.ts +2 -2
- package/dist/core/runner.js +379 -184
- package/dist/core/serial-gate.d.ts +11 -0
- package/dist/core/serial-gate.js +19 -0
- package/dist/core/timing.d.ts +7 -0
- package/dist/core/timing.js +7 -0
- package/dist/generated/prisma/browser.d.ts +23 -0
- package/dist/generated/prisma/client.d.ts +23 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +22 -0
- package/dist/generated/prisma/internal/class.d.ts +33 -0
- package/dist/generated/prisma/internal/class.js +4 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +274 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +47 -2
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +48 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +47 -2
- package/dist/generated/prisma/models/Agent.d.ts +422 -1
- package/dist/generated/prisma/models/AgentRepository.d.ts +120 -2
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +42 -1
- package/dist/generated/prisma/models/CodingRun.d.ts +205 -1
- package/dist/generated/prisma/models/DeferredReview.d.ts +1336 -0
- package/dist/generated/prisma/models/DeferredReview.js +1 -0
- package/dist/generated/prisma/models/LocalPullRequest.d.ts +1384 -0
- package/dist/generated/prisma/models/LocalPullRequest.js +1 -0
- package/dist/generated/prisma/models/LocalReview.d.ts +1315 -0
- package/dist/generated/prisma/models/LocalReview.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +223 -0
- package/dist/generated/prisma/models/RunHostCheck.d.ts +148 -1
- package/dist/generated/prisma/models.d.ts +3 -0
- package/dist/help-index.json +486 -37
- package/dist/import/neutral-schema.d.ts +2 -2
- package/dist/mcp/auth/access.d.ts +3 -1
- package/dist/mcp/auth/host-account-cli.js +2 -2
- package/dist/mcp/auth/repo-authorization.d.ts +6 -7
- package/dist/mcp/auth/repo-authorization.js +21 -0
- package/dist/mcp/index.js +4 -1
- package/dist/mcp/tools/agents.js +46 -4
- package/dist/mcp/tools/host-accounts.js +2 -2
- package/dist/mcp/tools/repositories.js +71 -12
- package/dist/mcp/tools/runs.js +23 -0
- package/dist/mcp/tools/trigger.js +153 -24
- package/dist/providers/engine/types.d.ts +11 -0
- package/dist/providers/executor/composition.js +12 -7
- package/dist/providers/executor/container.d.ts +40 -3
- package/dist/providers/executor/container.js +140 -9
- package/dist/providers/executor/types.d.ts +1 -1
- package/dist/providers/jobs/fake-kubernetes-api.d.ts +3 -2
- package/dist/providers/jobs/fake-kubernetes-api.js +3 -0
- package/dist/providers/jobs/kubernetes-api.d.ts +3 -1
- package/dist/providers/jobs/kubernetes-client.d.ts +2 -1
- package/dist/providers/jobs/kubernetes-client.js +3 -0
- package/dist/providers/jobs/kubernetes-isolation.d.ts +7 -0
- package/dist/providers/jobs/kubernetes-isolation.js +8 -3
- package/dist/providers/jobs/kubernetes-preflight.d.ts +8 -0
- package/dist/providers/jobs/kubernetes-preflight.js +7 -0
- package/dist/providers/jobs/kubernetes-quota.d.ts +31 -0
- package/dist/providers/jobs/kubernetes-quota.js +110 -0
- package/dist/providers/jobs/kubernetes.d.ts +9 -0
- package/dist/providers/jobs/kubernetes.js +50 -0
- package/dist/providers/jobs/types.d.ts +7 -0
- package/dist/providers/review-host/ci.d.ts +7 -0
- package/dist/providers/review-host/ci.js +20 -0
- package/dist/providers/review-host/github-events.d.ts +7 -0
- package/dist/providers/review-host/github-events.js +31 -7
- package/dist/providers/review-host/github.d.ts +19 -2
- package/dist/providers/review-host/github.js +145 -2
- package/dist/providers/review-host/index.d.ts +8 -2
- package/dist/providers/review-host/index.js +14 -3
- package/dist/providers/review-host/local.d.ts +72 -0
- package/dist/providers/review-host/local.js +434 -0
- package/dist/providers/review-host/types.d.ts +65 -3
- package/dist/providers/review-host/types.js +5 -3
- package/dist/providers/vcs/git.d.ts +10 -20
- package/dist/providers/vcs/git.js +71 -127
- package/dist/providers/vcs/github-remote.d.ts +67 -0
- package/dist/providers/vcs/github-remote.js +201 -0
- package/dist/providers/vcs/github.d.ts +81 -0
- package/dist/providers/vcs/github.js +203 -6
- package/dist/providers/vcs/index.d.ts +16 -1
- package/dist/providers/vcs/index.js +43 -15
- package/dist/providers/vcs/local-remote.d.ts +44 -0
- package/dist/providers/vcs/local-remote.js +108 -0
- package/dist/providers/vcs/remote.d.ts +58 -0
- package/dist/providers/vcs/remote.js +1 -0
- package/dist/providers/vcs/routing.d.ts +33 -0
- package/dist/providers/vcs/routing.js +52 -0
- package/dist/providers/vcs/types.d.ts +12 -1
- package/dist/quickstart/coding-db.d.ts +11 -0
- package/dist/quickstart/coding-db.js +75 -0
- package/dist/quickstart/coding-doctor.d.ts +13 -0
- package/dist/quickstart/coding-doctor.js +88 -0
- package/dist/quickstart/coding-images.d.ts +15 -0
- package/dist/quickstart/coding-images.js +79 -0
- package/dist/quickstart/coding-seed.d.ts +63 -0
- package/dist/quickstart/coding-seed.js +85 -0
- package/dist/quickstart/coding.d.ts +66 -0
- package/dist/quickstart/coding.js +430 -0
- package/dist/quickstart/images.d.ts +19 -0
- package/dist/quickstart/images.js +63 -0
- package/dist/quickstart/index.js +61 -12
- package/dist/quickstart/starter-services.d.ts +45 -0
- package/dist/quickstart/starter-services.js +186 -0
- package/dist/quickstart-images.json +1 -0
- package/dist/serve.js +14 -1
- package/dist/viewer/api-schema.d.ts +176 -0
- package/dist/viewer/api-schema.js +27 -2
- package/dist/viewer/graph.d.ts +7 -2
- package/dist/viewer/graph.js +25 -11
- package/dist/viewer/http.d.ts +7 -1
- package/dist/viewer/http.js +8 -3
- package/dist/viewer/infra.d.ts +2 -0
- package/dist/viewer/infra.js +23 -0
- package/dist/viewer/run-detail.d.ts +2 -1
- package/dist/viewer/run-detail.js +2 -2
- package/docs/agent-recipes.md +127 -5
- package/docs/code-review-agents.md +293 -38
- package/docs/coding-agent-setup.md +141 -2
- package/docs/coding-packages.md +21 -0
- package/docs/coding-services.md +3 -0
- package/docs/coding-worker-isolation.md +56 -20
- package/docs/getting-started-gke.md +24 -0
- package/docs/getting-started.md +196 -10
- package/docs/jira-agents.md +26 -5
- package/docs/security-deployment.md +9 -0
- package/docs/viewer-api.md +21 -2
- package/help/admin-viewer.md +11 -1
- package/help/agent-recipes.md +30 -4
- package/help/builder-agent.md +4 -0
- package/help/code-review-agents.md +82 -2
- package/help/coding-packages.md +12 -1
- package/help/coding-services.md +4 -0
- package/help/cost-attribution.md +3 -1
- package/help/creating-agents.md +3 -0
- package/help/deploy-gke.md +2 -1
- package/help/errors/coding-provider-not-configured.md +60 -0
- package/help/errors/coding-turn-limit.md +25 -0
- package/help/errors/continuation-closed.md +75 -0
- package/help/errors/local-branch-conflict.md +37 -0
- package/help/errors/local-path-invalid.md +30 -0
- package/help/errors/local-ref-invalid.md +36 -0
- package/help/errors/local-ref-not-found.md +41 -0
- package/help/errors/local-repo-not-allowed.md +46 -0
- package/help/errors/local-repo-not-found.md +39 -0
- package/help/errors/model-unavailable.md +7 -6
- package/help/errors/vcs-github-not-configured.md +34 -0
- package/help/getting-started.md +28 -0
- package/help/github.md +22 -5
- package/help/jira.md +9 -2
- package/help/local-repositories.md +182 -0
- package/help/related-pull-requests.md +89 -0
- package/help/review-fix-rounds.md +69 -0
- package/help/troubleshooting/budgets.md +11 -0
- package/help/troubleshooting/coding-workers.md +22 -0
- package/help/troubleshooting/repository-access.md +5 -0
- package/package.json +3 -2
- package/prisma/migrations/20261004100000_delegations_and_coding_turns/migration.sql +12 -0
- package/prisma/migrations/20261005000000_review_fix_rounds/migration.sql +5 -0
- package/prisma/migrations/20261006000000_parallel_delegations/migration.sql +6 -0
- package/prisma/migrations/20261007000000_ci_rereview/migration.sql +4 -0
- package/prisma/migrations/20261008000000_review_after_ci/migration.sql +33 -0
- package/prisma/migrations/20261009000001_coding_run_local_branch/migration.sql +7 -0
- package/prisma/migrations/20261009000002_local_review/migration.sql +50 -0
- package/prisma/schema.prisma +98 -1
|
@@ -0,0 +1,1315 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model LocalReview
|
|
5
|
+
* A review (or a plain comment, verdict COMMENT) published on a LocalPullRequest.
|
|
6
|
+
*/
|
|
7
|
+
export type LocalReviewModel = runtime.Types.Result.DefaultSelection<Prisma.$LocalReviewPayload>;
|
|
8
|
+
export type AggregateLocalReview = {
|
|
9
|
+
_count: LocalReviewCountAggregateOutputType | null;
|
|
10
|
+
_min: LocalReviewMinAggregateOutputType | null;
|
|
11
|
+
_max: LocalReviewMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type LocalReviewMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
pullRequestId: string | null;
|
|
16
|
+
agentId: string | null;
|
|
17
|
+
headSha: string | null;
|
|
18
|
+
verdict: string | null;
|
|
19
|
+
summary: string | null;
|
|
20
|
+
body: string | null;
|
|
21
|
+
createdAt: Date | null;
|
|
22
|
+
};
|
|
23
|
+
export type LocalReviewMaxAggregateOutputType = {
|
|
24
|
+
id: string | null;
|
|
25
|
+
pullRequestId: string | null;
|
|
26
|
+
agentId: string | null;
|
|
27
|
+
headSha: string | null;
|
|
28
|
+
verdict: string | null;
|
|
29
|
+
summary: string | null;
|
|
30
|
+
body: string | null;
|
|
31
|
+
createdAt: Date | null;
|
|
32
|
+
};
|
|
33
|
+
export type LocalReviewCountAggregateOutputType = {
|
|
34
|
+
id: number;
|
|
35
|
+
pullRequestId: number;
|
|
36
|
+
agentId: number;
|
|
37
|
+
headSha: number;
|
|
38
|
+
verdict: number;
|
|
39
|
+
summary: number;
|
|
40
|
+
body: number;
|
|
41
|
+
comments: number;
|
|
42
|
+
createdAt: number;
|
|
43
|
+
_all: number;
|
|
44
|
+
};
|
|
45
|
+
export type LocalReviewMinAggregateInputType = {
|
|
46
|
+
id?: true;
|
|
47
|
+
pullRequestId?: true;
|
|
48
|
+
agentId?: true;
|
|
49
|
+
headSha?: true;
|
|
50
|
+
verdict?: true;
|
|
51
|
+
summary?: true;
|
|
52
|
+
body?: true;
|
|
53
|
+
createdAt?: true;
|
|
54
|
+
};
|
|
55
|
+
export type LocalReviewMaxAggregateInputType = {
|
|
56
|
+
id?: true;
|
|
57
|
+
pullRequestId?: true;
|
|
58
|
+
agentId?: true;
|
|
59
|
+
headSha?: true;
|
|
60
|
+
verdict?: true;
|
|
61
|
+
summary?: true;
|
|
62
|
+
body?: true;
|
|
63
|
+
createdAt?: true;
|
|
64
|
+
};
|
|
65
|
+
export type LocalReviewCountAggregateInputType = {
|
|
66
|
+
id?: true;
|
|
67
|
+
pullRequestId?: true;
|
|
68
|
+
agentId?: true;
|
|
69
|
+
headSha?: true;
|
|
70
|
+
verdict?: true;
|
|
71
|
+
summary?: true;
|
|
72
|
+
body?: true;
|
|
73
|
+
comments?: true;
|
|
74
|
+
createdAt?: true;
|
|
75
|
+
_all?: true;
|
|
76
|
+
};
|
|
77
|
+
export type LocalReviewAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
78
|
+
/**
|
|
79
|
+
* Filter which LocalReview to aggregate.
|
|
80
|
+
*/
|
|
81
|
+
where?: Prisma.LocalReviewWhereInput;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
84
|
+
*
|
|
85
|
+
* Determine the order of LocalReviews to fetch.
|
|
86
|
+
*/
|
|
87
|
+
orderBy?: Prisma.LocalReviewOrderByWithRelationInput | Prisma.LocalReviewOrderByWithRelationInput[];
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
90
|
+
*
|
|
91
|
+
* Sets the start position
|
|
92
|
+
*/
|
|
93
|
+
cursor?: Prisma.LocalReviewWhereUniqueInput;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
96
|
+
*
|
|
97
|
+
* Take `±n` LocalReviews from the position of the cursor.
|
|
98
|
+
*/
|
|
99
|
+
take?: number;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
102
|
+
*
|
|
103
|
+
* Skip the first `n` LocalReviews.
|
|
104
|
+
*/
|
|
105
|
+
skip?: number;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Count returned LocalReviews
|
|
110
|
+
**/
|
|
111
|
+
_count?: true | LocalReviewCountAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to find the minimum value
|
|
116
|
+
**/
|
|
117
|
+
_min?: LocalReviewMinAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to find the maximum value
|
|
122
|
+
**/
|
|
123
|
+
_max?: LocalReviewMaxAggregateInputType;
|
|
124
|
+
};
|
|
125
|
+
export type GetLocalReviewAggregateType<T extends LocalReviewAggregateArgs> = {
|
|
126
|
+
[P in keyof T & keyof AggregateLocalReview]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateLocalReview[P]> : Prisma.GetScalarType<T[P], AggregateLocalReview[P]>;
|
|
127
|
+
};
|
|
128
|
+
export type LocalReviewGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
129
|
+
where?: Prisma.LocalReviewWhereInput;
|
|
130
|
+
orderBy?: Prisma.LocalReviewOrderByWithAggregationInput | Prisma.LocalReviewOrderByWithAggregationInput[];
|
|
131
|
+
by: Prisma.LocalReviewScalarFieldEnum[] | Prisma.LocalReviewScalarFieldEnum;
|
|
132
|
+
having?: Prisma.LocalReviewScalarWhereWithAggregatesInput;
|
|
133
|
+
take?: number;
|
|
134
|
+
skip?: number;
|
|
135
|
+
_count?: LocalReviewCountAggregateInputType | true;
|
|
136
|
+
_min?: LocalReviewMinAggregateInputType;
|
|
137
|
+
_max?: LocalReviewMaxAggregateInputType;
|
|
138
|
+
};
|
|
139
|
+
export type LocalReviewGroupByOutputType = {
|
|
140
|
+
id: string;
|
|
141
|
+
pullRequestId: string;
|
|
142
|
+
agentId: string;
|
|
143
|
+
headSha: string;
|
|
144
|
+
verdict: string;
|
|
145
|
+
summary: string;
|
|
146
|
+
body: string;
|
|
147
|
+
comments: runtime.JsonValue;
|
|
148
|
+
createdAt: Date;
|
|
149
|
+
_count: LocalReviewCountAggregateOutputType | null;
|
|
150
|
+
_min: LocalReviewMinAggregateOutputType | null;
|
|
151
|
+
_max: LocalReviewMaxAggregateOutputType | null;
|
|
152
|
+
};
|
|
153
|
+
export type GetLocalReviewGroupByPayload<T extends LocalReviewGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<LocalReviewGroupByOutputType, T['by']> & {
|
|
154
|
+
[P in ((keyof T) & (keyof LocalReviewGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], LocalReviewGroupByOutputType[P]> : Prisma.GetScalarType<T[P], LocalReviewGroupByOutputType[P]>;
|
|
155
|
+
}>>;
|
|
156
|
+
export type LocalReviewWhereInput = {
|
|
157
|
+
AND?: Prisma.LocalReviewWhereInput | Prisma.LocalReviewWhereInput[];
|
|
158
|
+
OR?: Prisma.LocalReviewWhereInput[];
|
|
159
|
+
NOT?: Prisma.LocalReviewWhereInput | Prisma.LocalReviewWhereInput[];
|
|
160
|
+
id?: Prisma.StringFilter<"LocalReview"> | string;
|
|
161
|
+
pullRequestId?: Prisma.StringFilter<"LocalReview"> | string;
|
|
162
|
+
agentId?: Prisma.StringFilter<"LocalReview"> | string;
|
|
163
|
+
headSha?: Prisma.StringFilter<"LocalReview"> | string;
|
|
164
|
+
verdict?: Prisma.StringFilter<"LocalReview"> | string;
|
|
165
|
+
summary?: Prisma.StringFilter<"LocalReview"> | string;
|
|
166
|
+
body?: Prisma.StringFilter<"LocalReview"> | string;
|
|
167
|
+
comments?: Prisma.JsonFilter<"LocalReview">;
|
|
168
|
+
createdAt?: Prisma.DateTimeFilter<"LocalReview"> | Date | string;
|
|
169
|
+
pullRequest?: Prisma.XOR<Prisma.LocalPullRequestScalarRelationFilter, Prisma.LocalPullRequestWhereInput>;
|
|
170
|
+
};
|
|
171
|
+
export type LocalReviewOrderByWithRelationInput = {
|
|
172
|
+
id?: Prisma.SortOrder;
|
|
173
|
+
pullRequestId?: Prisma.SortOrder;
|
|
174
|
+
agentId?: Prisma.SortOrder;
|
|
175
|
+
headSha?: Prisma.SortOrder;
|
|
176
|
+
verdict?: Prisma.SortOrder;
|
|
177
|
+
summary?: Prisma.SortOrder;
|
|
178
|
+
body?: Prisma.SortOrder;
|
|
179
|
+
comments?: Prisma.SortOrder;
|
|
180
|
+
createdAt?: Prisma.SortOrder;
|
|
181
|
+
pullRequest?: Prisma.LocalPullRequestOrderByWithRelationInput;
|
|
182
|
+
};
|
|
183
|
+
export type LocalReviewWhereUniqueInput = Prisma.AtLeast<{
|
|
184
|
+
id?: string;
|
|
185
|
+
AND?: Prisma.LocalReviewWhereInput | Prisma.LocalReviewWhereInput[];
|
|
186
|
+
OR?: Prisma.LocalReviewWhereInput[];
|
|
187
|
+
NOT?: Prisma.LocalReviewWhereInput | Prisma.LocalReviewWhereInput[];
|
|
188
|
+
pullRequestId?: Prisma.StringFilter<"LocalReview"> | string;
|
|
189
|
+
agentId?: Prisma.StringFilter<"LocalReview"> | string;
|
|
190
|
+
headSha?: Prisma.StringFilter<"LocalReview"> | string;
|
|
191
|
+
verdict?: Prisma.StringFilter<"LocalReview"> | string;
|
|
192
|
+
summary?: Prisma.StringFilter<"LocalReview"> | string;
|
|
193
|
+
body?: Prisma.StringFilter<"LocalReview"> | string;
|
|
194
|
+
comments?: Prisma.JsonFilter<"LocalReview">;
|
|
195
|
+
createdAt?: Prisma.DateTimeFilter<"LocalReview"> | Date | string;
|
|
196
|
+
pullRequest?: Prisma.XOR<Prisma.LocalPullRequestScalarRelationFilter, Prisma.LocalPullRequestWhereInput>;
|
|
197
|
+
}, "id">;
|
|
198
|
+
export type LocalReviewOrderByWithAggregationInput = {
|
|
199
|
+
id?: Prisma.SortOrder;
|
|
200
|
+
pullRequestId?: Prisma.SortOrder;
|
|
201
|
+
agentId?: Prisma.SortOrder;
|
|
202
|
+
headSha?: Prisma.SortOrder;
|
|
203
|
+
verdict?: Prisma.SortOrder;
|
|
204
|
+
summary?: Prisma.SortOrder;
|
|
205
|
+
body?: Prisma.SortOrder;
|
|
206
|
+
comments?: Prisma.SortOrder;
|
|
207
|
+
createdAt?: Prisma.SortOrder;
|
|
208
|
+
_count?: Prisma.LocalReviewCountOrderByAggregateInput;
|
|
209
|
+
_max?: Prisma.LocalReviewMaxOrderByAggregateInput;
|
|
210
|
+
_min?: Prisma.LocalReviewMinOrderByAggregateInput;
|
|
211
|
+
};
|
|
212
|
+
export type LocalReviewScalarWhereWithAggregatesInput = {
|
|
213
|
+
AND?: Prisma.LocalReviewScalarWhereWithAggregatesInput | Prisma.LocalReviewScalarWhereWithAggregatesInput[];
|
|
214
|
+
OR?: Prisma.LocalReviewScalarWhereWithAggregatesInput[];
|
|
215
|
+
NOT?: Prisma.LocalReviewScalarWhereWithAggregatesInput | Prisma.LocalReviewScalarWhereWithAggregatesInput[];
|
|
216
|
+
id?: Prisma.StringWithAggregatesFilter<"LocalReview"> | string;
|
|
217
|
+
pullRequestId?: Prisma.StringWithAggregatesFilter<"LocalReview"> | string;
|
|
218
|
+
agentId?: Prisma.StringWithAggregatesFilter<"LocalReview"> | string;
|
|
219
|
+
headSha?: Prisma.StringWithAggregatesFilter<"LocalReview"> | string;
|
|
220
|
+
verdict?: Prisma.StringWithAggregatesFilter<"LocalReview"> | string;
|
|
221
|
+
summary?: Prisma.StringWithAggregatesFilter<"LocalReview"> | string;
|
|
222
|
+
body?: Prisma.StringWithAggregatesFilter<"LocalReview"> | string;
|
|
223
|
+
comments?: Prisma.JsonWithAggregatesFilter<"LocalReview">;
|
|
224
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"LocalReview"> | Date | string;
|
|
225
|
+
};
|
|
226
|
+
export type LocalReviewCreateInput = {
|
|
227
|
+
id?: string;
|
|
228
|
+
agentId: string;
|
|
229
|
+
headSha: string;
|
|
230
|
+
verdict: string;
|
|
231
|
+
summary: string;
|
|
232
|
+
body: string;
|
|
233
|
+
comments: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
234
|
+
createdAt?: Date | string;
|
|
235
|
+
pullRequest: Prisma.LocalPullRequestCreateNestedOneWithoutReviewsInput;
|
|
236
|
+
};
|
|
237
|
+
export type LocalReviewUncheckedCreateInput = {
|
|
238
|
+
id?: string;
|
|
239
|
+
pullRequestId: string;
|
|
240
|
+
agentId: string;
|
|
241
|
+
headSha: string;
|
|
242
|
+
verdict: string;
|
|
243
|
+
summary: string;
|
|
244
|
+
body: string;
|
|
245
|
+
comments: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
246
|
+
createdAt?: Date | string;
|
|
247
|
+
};
|
|
248
|
+
export type LocalReviewUpdateInput = {
|
|
249
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
250
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
251
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
252
|
+
verdict?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
253
|
+
summary?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
254
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
255
|
+
comments?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
256
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
257
|
+
pullRequest?: Prisma.LocalPullRequestUpdateOneRequiredWithoutReviewsNestedInput;
|
|
258
|
+
};
|
|
259
|
+
export type LocalReviewUncheckedUpdateInput = {
|
|
260
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
261
|
+
pullRequestId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
262
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
264
|
+
verdict?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
265
|
+
summary?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
266
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
267
|
+
comments?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
268
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
269
|
+
};
|
|
270
|
+
export type LocalReviewCreateManyInput = {
|
|
271
|
+
id?: string;
|
|
272
|
+
pullRequestId: string;
|
|
273
|
+
agentId: string;
|
|
274
|
+
headSha: string;
|
|
275
|
+
verdict: string;
|
|
276
|
+
summary: string;
|
|
277
|
+
body: string;
|
|
278
|
+
comments: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
279
|
+
createdAt?: Date | string;
|
|
280
|
+
};
|
|
281
|
+
export type LocalReviewUpdateManyMutationInput = {
|
|
282
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
283
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
284
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
285
|
+
verdict?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
286
|
+
summary?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
287
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
288
|
+
comments?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
289
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
290
|
+
};
|
|
291
|
+
export type LocalReviewUncheckedUpdateManyInput = {
|
|
292
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
293
|
+
pullRequestId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
294
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
295
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
296
|
+
verdict?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
297
|
+
summary?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
298
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
299
|
+
comments?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
300
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
301
|
+
};
|
|
302
|
+
export type LocalReviewListRelationFilter = {
|
|
303
|
+
every?: Prisma.LocalReviewWhereInput;
|
|
304
|
+
some?: Prisma.LocalReviewWhereInput;
|
|
305
|
+
none?: Prisma.LocalReviewWhereInput;
|
|
306
|
+
};
|
|
307
|
+
export type LocalReviewOrderByRelationAggregateInput = {
|
|
308
|
+
_count?: Prisma.SortOrder;
|
|
309
|
+
};
|
|
310
|
+
export type LocalReviewCountOrderByAggregateInput = {
|
|
311
|
+
id?: Prisma.SortOrder;
|
|
312
|
+
pullRequestId?: Prisma.SortOrder;
|
|
313
|
+
agentId?: Prisma.SortOrder;
|
|
314
|
+
headSha?: Prisma.SortOrder;
|
|
315
|
+
verdict?: Prisma.SortOrder;
|
|
316
|
+
summary?: Prisma.SortOrder;
|
|
317
|
+
body?: Prisma.SortOrder;
|
|
318
|
+
comments?: Prisma.SortOrder;
|
|
319
|
+
createdAt?: Prisma.SortOrder;
|
|
320
|
+
};
|
|
321
|
+
export type LocalReviewMaxOrderByAggregateInput = {
|
|
322
|
+
id?: Prisma.SortOrder;
|
|
323
|
+
pullRequestId?: Prisma.SortOrder;
|
|
324
|
+
agentId?: Prisma.SortOrder;
|
|
325
|
+
headSha?: Prisma.SortOrder;
|
|
326
|
+
verdict?: Prisma.SortOrder;
|
|
327
|
+
summary?: Prisma.SortOrder;
|
|
328
|
+
body?: Prisma.SortOrder;
|
|
329
|
+
createdAt?: Prisma.SortOrder;
|
|
330
|
+
};
|
|
331
|
+
export type LocalReviewMinOrderByAggregateInput = {
|
|
332
|
+
id?: Prisma.SortOrder;
|
|
333
|
+
pullRequestId?: Prisma.SortOrder;
|
|
334
|
+
agentId?: Prisma.SortOrder;
|
|
335
|
+
headSha?: Prisma.SortOrder;
|
|
336
|
+
verdict?: Prisma.SortOrder;
|
|
337
|
+
summary?: Prisma.SortOrder;
|
|
338
|
+
body?: Prisma.SortOrder;
|
|
339
|
+
createdAt?: Prisma.SortOrder;
|
|
340
|
+
};
|
|
341
|
+
export type LocalReviewCreateNestedManyWithoutPullRequestInput = {
|
|
342
|
+
create?: Prisma.XOR<Prisma.LocalReviewCreateWithoutPullRequestInput, Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput> | Prisma.LocalReviewCreateWithoutPullRequestInput[] | Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput[];
|
|
343
|
+
connectOrCreate?: Prisma.LocalReviewCreateOrConnectWithoutPullRequestInput | Prisma.LocalReviewCreateOrConnectWithoutPullRequestInput[];
|
|
344
|
+
createMany?: Prisma.LocalReviewCreateManyPullRequestInputEnvelope;
|
|
345
|
+
connect?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
346
|
+
};
|
|
347
|
+
export type LocalReviewUncheckedCreateNestedManyWithoutPullRequestInput = {
|
|
348
|
+
create?: Prisma.XOR<Prisma.LocalReviewCreateWithoutPullRequestInput, Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput> | Prisma.LocalReviewCreateWithoutPullRequestInput[] | Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput[];
|
|
349
|
+
connectOrCreate?: Prisma.LocalReviewCreateOrConnectWithoutPullRequestInput | Prisma.LocalReviewCreateOrConnectWithoutPullRequestInput[];
|
|
350
|
+
createMany?: Prisma.LocalReviewCreateManyPullRequestInputEnvelope;
|
|
351
|
+
connect?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
352
|
+
};
|
|
353
|
+
export type LocalReviewUpdateManyWithoutPullRequestNestedInput = {
|
|
354
|
+
create?: Prisma.XOR<Prisma.LocalReviewCreateWithoutPullRequestInput, Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput> | Prisma.LocalReviewCreateWithoutPullRequestInput[] | Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput[];
|
|
355
|
+
connectOrCreate?: Prisma.LocalReviewCreateOrConnectWithoutPullRequestInput | Prisma.LocalReviewCreateOrConnectWithoutPullRequestInput[];
|
|
356
|
+
upsert?: Prisma.LocalReviewUpsertWithWhereUniqueWithoutPullRequestInput | Prisma.LocalReviewUpsertWithWhereUniqueWithoutPullRequestInput[];
|
|
357
|
+
createMany?: Prisma.LocalReviewCreateManyPullRequestInputEnvelope;
|
|
358
|
+
set?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
359
|
+
disconnect?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
360
|
+
delete?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
361
|
+
connect?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
362
|
+
update?: Prisma.LocalReviewUpdateWithWhereUniqueWithoutPullRequestInput | Prisma.LocalReviewUpdateWithWhereUniqueWithoutPullRequestInput[];
|
|
363
|
+
updateMany?: Prisma.LocalReviewUpdateManyWithWhereWithoutPullRequestInput | Prisma.LocalReviewUpdateManyWithWhereWithoutPullRequestInput[];
|
|
364
|
+
deleteMany?: Prisma.LocalReviewScalarWhereInput | Prisma.LocalReviewScalarWhereInput[];
|
|
365
|
+
};
|
|
366
|
+
export type LocalReviewUncheckedUpdateManyWithoutPullRequestNestedInput = {
|
|
367
|
+
create?: Prisma.XOR<Prisma.LocalReviewCreateWithoutPullRequestInput, Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput> | Prisma.LocalReviewCreateWithoutPullRequestInput[] | Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput[];
|
|
368
|
+
connectOrCreate?: Prisma.LocalReviewCreateOrConnectWithoutPullRequestInput | Prisma.LocalReviewCreateOrConnectWithoutPullRequestInput[];
|
|
369
|
+
upsert?: Prisma.LocalReviewUpsertWithWhereUniqueWithoutPullRequestInput | Prisma.LocalReviewUpsertWithWhereUniqueWithoutPullRequestInput[];
|
|
370
|
+
createMany?: Prisma.LocalReviewCreateManyPullRequestInputEnvelope;
|
|
371
|
+
set?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
372
|
+
disconnect?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
373
|
+
delete?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
374
|
+
connect?: Prisma.LocalReviewWhereUniqueInput | Prisma.LocalReviewWhereUniqueInput[];
|
|
375
|
+
update?: Prisma.LocalReviewUpdateWithWhereUniqueWithoutPullRequestInput | Prisma.LocalReviewUpdateWithWhereUniqueWithoutPullRequestInput[];
|
|
376
|
+
updateMany?: Prisma.LocalReviewUpdateManyWithWhereWithoutPullRequestInput | Prisma.LocalReviewUpdateManyWithWhereWithoutPullRequestInput[];
|
|
377
|
+
deleteMany?: Prisma.LocalReviewScalarWhereInput | Prisma.LocalReviewScalarWhereInput[];
|
|
378
|
+
};
|
|
379
|
+
export type LocalReviewCreateWithoutPullRequestInput = {
|
|
380
|
+
id?: string;
|
|
381
|
+
agentId: string;
|
|
382
|
+
headSha: string;
|
|
383
|
+
verdict: string;
|
|
384
|
+
summary: string;
|
|
385
|
+
body: string;
|
|
386
|
+
comments: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
387
|
+
createdAt?: Date | string;
|
|
388
|
+
};
|
|
389
|
+
export type LocalReviewUncheckedCreateWithoutPullRequestInput = {
|
|
390
|
+
id?: string;
|
|
391
|
+
agentId: string;
|
|
392
|
+
headSha: string;
|
|
393
|
+
verdict: string;
|
|
394
|
+
summary: string;
|
|
395
|
+
body: string;
|
|
396
|
+
comments: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
397
|
+
createdAt?: Date | string;
|
|
398
|
+
};
|
|
399
|
+
export type LocalReviewCreateOrConnectWithoutPullRequestInput = {
|
|
400
|
+
where: Prisma.LocalReviewWhereUniqueInput;
|
|
401
|
+
create: Prisma.XOR<Prisma.LocalReviewCreateWithoutPullRequestInput, Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput>;
|
|
402
|
+
};
|
|
403
|
+
export type LocalReviewCreateManyPullRequestInputEnvelope = {
|
|
404
|
+
data: Prisma.LocalReviewCreateManyPullRequestInput | Prisma.LocalReviewCreateManyPullRequestInput[];
|
|
405
|
+
skipDuplicates?: boolean;
|
|
406
|
+
};
|
|
407
|
+
export type LocalReviewUpsertWithWhereUniqueWithoutPullRequestInput = {
|
|
408
|
+
where: Prisma.LocalReviewWhereUniqueInput;
|
|
409
|
+
update: Prisma.XOR<Prisma.LocalReviewUpdateWithoutPullRequestInput, Prisma.LocalReviewUncheckedUpdateWithoutPullRequestInput>;
|
|
410
|
+
create: Prisma.XOR<Prisma.LocalReviewCreateWithoutPullRequestInput, Prisma.LocalReviewUncheckedCreateWithoutPullRequestInput>;
|
|
411
|
+
};
|
|
412
|
+
export type LocalReviewUpdateWithWhereUniqueWithoutPullRequestInput = {
|
|
413
|
+
where: Prisma.LocalReviewWhereUniqueInput;
|
|
414
|
+
data: Prisma.XOR<Prisma.LocalReviewUpdateWithoutPullRequestInput, Prisma.LocalReviewUncheckedUpdateWithoutPullRequestInput>;
|
|
415
|
+
};
|
|
416
|
+
export type LocalReviewUpdateManyWithWhereWithoutPullRequestInput = {
|
|
417
|
+
where: Prisma.LocalReviewScalarWhereInput;
|
|
418
|
+
data: Prisma.XOR<Prisma.LocalReviewUpdateManyMutationInput, Prisma.LocalReviewUncheckedUpdateManyWithoutPullRequestInput>;
|
|
419
|
+
};
|
|
420
|
+
export type LocalReviewScalarWhereInput = {
|
|
421
|
+
AND?: Prisma.LocalReviewScalarWhereInput | Prisma.LocalReviewScalarWhereInput[];
|
|
422
|
+
OR?: Prisma.LocalReviewScalarWhereInput[];
|
|
423
|
+
NOT?: Prisma.LocalReviewScalarWhereInput | Prisma.LocalReviewScalarWhereInput[];
|
|
424
|
+
id?: Prisma.StringFilter<"LocalReview"> | string;
|
|
425
|
+
pullRequestId?: Prisma.StringFilter<"LocalReview"> | string;
|
|
426
|
+
agentId?: Prisma.StringFilter<"LocalReview"> | string;
|
|
427
|
+
headSha?: Prisma.StringFilter<"LocalReview"> | string;
|
|
428
|
+
verdict?: Prisma.StringFilter<"LocalReview"> | string;
|
|
429
|
+
summary?: Prisma.StringFilter<"LocalReview"> | string;
|
|
430
|
+
body?: Prisma.StringFilter<"LocalReview"> | string;
|
|
431
|
+
comments?: Prisma.JsonFilter<"LocalReview">;
|
|
432
|
+
createdAt?: Prisma.DateTimeFilter<"LocalReview"> | Date | string;
|
|
433
|
+
};
|
|
434
|
+
export type LocalReviewCreateManyPullRequestInput = {
|
|
435
|
+
id?: string;
|
|
436
|
+
agentId: string;
|
|
437
|
+
headSha: string;
|
|
438
|
+
verdict: string;
|
|
439
|
+
summary: string;
|
|
440
|
+
body: string;
|
|
441
|
+
comments: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
442
|
+
createdAt?: Date | string;
|
|
443
|
+
};
|
|
444
|
+
export type LocalReviewUpdateWithoutPullRequestInput = {
|
|
445
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
446
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
447
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
448
|
+
verdict?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
449
|
+
summary?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
450
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
451
|
+
comments?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
452
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
453
|
+
};
|
|
454
|
+
export type LocalReviewUncheckedUpdateWithoutPullRequestInput = {
|
|
455
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
456
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
457
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
458
|
+
verdict?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
459
|
+
summary?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
460
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
461
|
+
comments?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
462
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
463
|
+
};
|
|
464
|
+
export type LocalReviewUncheckedUpdateManyWithoutPullRequestInput = {
|
|
465
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
466
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
467
|
+
headSha?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
468
|
+
verdict?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
469
|
+
summary?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
470
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
471
|
+
comments?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
|
|
472
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
473
|
+
};
|
|
474
|
+
export type LocalReviewSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
475
|
+
id?: boolean;
|
|
476
|
+
pullRequestId?: boolean;
|
|
477
|
+
agentId?: boolean;
|
|
478
|
+
headSha?: boolean;
|
|
479
|
+
verdict?: boolean;
|
|
480
|
+
summary?: boolean;
|
|
481
|
+
body?: boolean;
|
|
482
|
+
comments?: boolean;
|
|
483
|
+
createdAt?: boolean;
|
|
484
|
+
pullRequest?: boolean | Prisma.LocalPullRequestDefaultArgs<ExtArgs>;
|
|
485
|
+
}, ExtArgs["result"]["localReview"]>;
|
|
486
|
+
export type LocalReviewSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
487
|
+
id?: boolean;
|
|
488
|
+
pullRequestId?: boolean;
|
|
489
|
+
agentId?: boolean;
|
|
490
|
+
headSha?: boolean;
|
|
491
|
+
verdict?: boolean;
|
|
492
|
+
summary?: boolean;
|
|
493
|
+
body?: boolean;
|
|
494
|
+
comments?: boolean;
|
|
495
|
+
createdAt?: boolean;
|
|
496
|
+
pullRequest?: boolean | Prisma.LocalPullRequestDefaultArgs<ExtArgs>;
|
|
497
|
+
}, ExtArgs["result"]["localReview"]>;
|
|
498
|
+
export type LocalReviewSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
499
|
+
id?: boolean;
|
|
500
|
+
pullRequestId?: boolean;
|
|
501
|
+
agentId?: boolean;
|
|
502
|
+
headSha?: boolean;
|
|
503
|
+
verdict?: boolean;
|
|
504
|
+
summary?: boolean;
|
|
505
|
+
body?: boolean;
|
|
506
|
+
comments?: boolean;
|
|
507
|
+
createdAt?: boolean;
|
|
508
|
+
pullRequest?: boolean | Prisma.LocalPullRequestDefaultArgs<ExtArgs>;
|
|
509
|
+
}, ExtArgs["result"]["localReview"]>;
|
|
510
|
+
export type LocalReviewSelectScalar = {
|
|
511
|
+
id?: boolean;
|
|
512
|
+
pullRequestId?: boolean;
|
|
513
|
+
agentId?: boolean;
|
|
514
|
+
headSha?: boolean;
|
|
515
|
+
verdict?: boolean;
|
|
516
|
+
summary?: boolean;
|
|
517
|
+
body?: boolean;
|
|
518
|
+
comments?: boolean;
|
|
519
|
+
createdAt?: boolean;
|
|
520
|
+
};
|
|
521
|
+
export type LocalReviewOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "pullRequestId" | "agentId" | "headSha" | "verdict" | "summary" | "body" | "comments" | "createdAt", ExtArgs["result"]["localReview"]>;
|
|
522
|
+
export type LocalReviewInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
523
|
+
pullRequest?: boolean | Prisma.LocalPullRequestDefaultArgs<ExtArgs>;
|
|
524
|
+
};
|
|
525
|
+
export type LocalReviewIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
526
|
+
pullRequest?: boolean | Prisma.LocalPullRequestDefaultArgs<ExtArgs>;
|
|
527
|
+
};
|
|
528
|
+
export type LocalReviewIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
529
|
+
pullRequest?: boolean | Prisma.LocalPullRequestDefaultArgs<ExtArgs>;
|
|
530
|
+
};
|
|
531
|
+
export type $LocalReviewPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
532
|
+
name: "LocalReview";
|
|
533
|
+
objects: {
|
|
534
|
+
pullRequest: Prisma.$LocalPullRequestPayload<ExtArgs>;
|
|
535
|
+
};
|
|
536
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
537
|
+
id: string;
|
|
538
|
+
pullRequestId: string;
|
|
539
|
+
agentId: string;
|
|
540
|
+
headSha: string;
|
|
541
|
+
/**
|
|
542
|
+
* APPROVE | CHANGES_REQUESTED | COMMENT
|
|
543
|
+
*/
|
|
544
|
+
verdict: string;
|
|
545
|
+
summary: string;
|
|
546
|
+
body: string;
|
|
547
|
+
/**
|
|
548
|
+
* [{path, line, side, severity, body}]
|
|
549
|
+
*/
|
|
550
|
+
comments: runtime.JsonValue;
|
|
551
|
+
createdAt: Date;
|
|
552
|
+
}, ExtArgs["result"]["localReview"]>;
|
|
553
|
+
composites: {};
|
|
554
|
+
};
|
|
555
|
+
export type LocalReviewGetPayload<S extends boolean | null | undefined | LocalReviewDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload, S>;
|
|
556
|
+
export type LocalReviewCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<LocalReviewFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
557
|
+
select?: LocalReviewCountAggregateInputType | true;
|
|
558
|
+
};
|
|
559
|
+
export interface LocalReviewDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
560
|
+
[K: symbol]: {
|
|
561
|
+
types: Prisma.TypeMap<ExtArgs>['model']['LocalReview'];
|
|
562
|
+
meta: {
|
|
563
|
+
name: 'LocalReview';
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
/**
|
|
567
|
+
* Find zero or one LocalReview that matches the filter.
|
|
568
|
+
* @param {LocalReviewFindUniqueArgs} args - Arguments to find a LocalReview
|
|
569
|
+
* @example
|
|
570
|
+
* // Get one LocalReview
|
|
571
|
+
* const localReview = await prisma.localReview.findUnique({
|
|
572
|
+
* where: {
|
|
573
|
+
* // ... provide filter here
|
|
574
|
+
* }
|
|
575
|
+
* })
|
|
576
|
+
*/
|
|
577
|
+
findUnique<T extends LocalReviewFindUniqueArgs>(args: Prisma.SelectSubset<T, LocalReviewFindUniqueArgs<ExtArgs>>): Prisma.Prisma__LocalReviewClient<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
578
|
+
/**
|
|
579
|
+
* Find one LocalReview that matches the filter or throw an error with `error.code='P2025'`
|
|
580
|
+
* if no matches were found.
|
|
581
|
+
* @param {LocalReviewFindUniqueOrThrowArgs} args - Arguments to find a LocalReview
|
|
582
|
+
* @example
|
|
583
|
+
* // Get one LocalReview
|
|
584
|
+
* const localReview = await prisma.localReview.findUniqueOrThrow({
|
|
585
|
+
* where: {
|
|
586
|
+
* // ... provide filter here
|
|
587
|
+
* }
|
|
588
|
+
* })
|
|
589
|
+
*/
|
|
590
|
+
findUniqueOrThrow<T extends LocalReviewFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, LocalReviewFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__LocalReviewClient<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
591
|
+
/**
|
|
592
|
+
* Find the first LocalReview that matches the filter.
|
|
593
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
594
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
595
|
+
* @param {LocalReviewFindFirstArgs} args - Arguments to find a LocalReview
|
|
596
|
+
* @example
|
|
597
|
+
* // Get one LocalReview
|
|
598
|
+
* const localReview = await prisma.localReview.findFirst({
|
|
599
|
+
* where: {
|
|
600
|
+
* // ... provide filter here
|
|
601
|
+
* }
|
|
602
|
+
* })
|
|
603
|
+
*/
|
|
604
|
+
findFirst<T extends LocalReviewFindFirstArgs>(args?: Prisma.SelectSubset<T, LocalReviewFindFirstArgs<ExtArgs>>): Prisma.Prisma__LocalReviewClient<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
605
|
+
/**
|
|
606
|
+
* Find the first LocalReview that matches the filter or
|
|
607
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
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 {LocalReviewFindFirstOrThrowArgs} args - Arguments to find a LocalReview
|
|
611
|
+
* @example
|
|
612
|
+
* // Get one LocalReview
|
|
613
|
+
* const localReview = await prisma.localReview.findFirstOrThrow({
|
|
614
|
+
* where: {
|
|
615
|
+
* // ... provide filter here
|
|
616
|
+
* }
|
|
617
|
+
* })
|
|
618
|
+
*/
|
|
619
|
+
findFirstOrThrow<T extends LocalReviewFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, LocalReviewFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__LocalReviewClient<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
620
|
+
/**
|
|
621
|
+
* Find zero or more LocalReviews that matches the filter.
|
|
622
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
623
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
624
|
+
* @param {LocalReviewFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
625
|
+
* @example
|
|
626
|
+
* // Get all LocalReviews
|
|
627
|
+
* const localReviews = await prisma.localReview.findMany()
|
|
628
|
+
*
|
|
629
|
+
* // Get first 10 LocalReviews
|
|
630
|
+
* const localReviews = await prisma.localReview.findMany({ take: 10 })
|
|
631
|
+
*
|
|
632
|
+
* // Only select the `id`
|
|
633
|
+
* const localReviewWithIdOnly = await prisma.localReview.findMany({ select: { id: true } })
|
|
634
|
+
*
|
|
635
|
+
*/
|
|
636
|
+
findMany<T extends LocalReviewFindManyArgs>(args?: Prisma.SelectSubset<T, LocalReviewFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
637
|
+
/**
|
|
638
|
+
* Create a LocalReview.
|
|
639
|
+
* @param {LocalReviewCreateArgs} args - Arguments to create a LocalReview.
|
|
640
|
+
* @example
|
|
641
|
+
* // Create one LocalReview
|
|
642
|
+
* const LocalReview = await prisma.localReview.create({
|
|
643
|
+
* data: {
|
|
644
|
+
* // ... data to create a LocalReview
|
|
645
|
+
* }
|
|
646
|
+
* })
|
|
647
|
+
*
|
|
648
|
+
*/
|
|
649
|
+
create<T extends LocalReviewCreateArgs>(args: Prisma.SelectSubset<T, LocalReviewCreateArgs<ExtArgs>>): Prisma.Prisma__LocalReviewClient<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
650
|
+
/**
|
|
651
|
+
* Create many LocalReviews.
|
|
652
|
+
* @param {LocalReviewCreateManyArgs} args - Arguments to create many LocalReviews.
|
|
653
|
+
* @example
|
|
654
|
+
* // Create many LocalReviews
|
|
655
|
+
* const localReview = await prisma.localReview.createMany({
|
|
656
|
+
* data: [
|
|
657
|
+
* // ... provide data here
|
|
658
|
+
* ]
|
|
659
|
+
* })
|
|
660
|
+
*
|
|
661
|
+
*/
|
|
662
|
+
createMany<T extends LocalReviewCreateManyArgs>(args?: Prisma.SelectSubset<T, LocalReviewCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
663
|
+
/**
|
|
664
|
+
* Create many LocalReviews and returns the data saved in the database.
|
|
665
|
+
* @param {LocalReviewCreateManyAndReturnArgs} args - Arguments to create many LocalReviews.
|
|
666
|
+
* @example
|
|
667
|
+
* // Create many LocalReviews
|
|
668
|
+
* const localReview = await prisma.localReview.createManyAndReturn({
|
|
669
|
+
* data: [
|
|
670
|
+
* // ... provide data here
|
|
671
|
+
* ]
|
|
672
|
+
* })
|
|
673
|
+
*
|
|
674
|
+
* // Create many LocalReviews and only return the `id`
|
|
675
|
+
* const localReviewWithIdOnly = await prisma.localReview.createManyAndReturn({
|
|
676
|
+
* select: { id: true },
|
|
677
|
+
* data: [
|
|
678
|
+
* // ... provide data here
|
|
679
|
+
* ]
|
|
680
|
+
* })
|
|
681
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
682
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
683
|
+
*
|
|
684
|
+
*/
|
|
685
|
+
createManyAndReturn<T extends LocalReviewCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, LocalReviewCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
686
|
+
/**
|
|
687
|
+
* Delete a LocalReview.
|
|
688
|
+
* @param {LocalReviewDeleteArgs} args - Arguments to delete one LocalReview.
|
|
689
|
+
* @example
|
|
690
|
+
* // Delete one LocalReview
|
|
691
|
+
* const LocalReview = await prisma.localReview.delete({
|
|
692
|
+
* where: {
|
|
693
|
+
* // ... filter to delete one LocalReview
|
|
694
|
+
* }
|
|
695
|
+
* })
|
|
696
|
+
*
|
|
697
|
+
*/
|
|
698
|
+
delete<T extends LocalReviewDeleteArgs>(args: Prisma.SelectSubset<T, LocalReviewDeleteArgs<ExtArgs>>): Prisma.Prisma__LocalReviewClient<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
699
|
+
/**
|
|
700
|
+
* Update one LocalReview.
|
|
701
|
+
* @param {LocalReviewUpdateArgs} args - Arguments to update one LocalReview.
|
|
702
|
+
* @example
|
|
703
|
+
* // Update one LocalReview
|
|
704
|
+
* const localReview = await prisma.localReview.update({
|
|
705
|
+
* where: {
|
|
706
|
+
* // ... provide filter here
|
|
707
|
+
* },
|
|
708
|
+
* data: {
|
|
709
|
+
* // ... provide data here
|
|
710
|
+
* }
|
|
711
|
+
* })
|
|
712
|
+
*
|
|
713
|
+
*/
|
|
714
|
+
update<T extends LocalReviewUpdateArgs>(args: Prisma.SelectSubset<T, LocalReviewUpdateArgs<ExtArgs>>): Prisma.Prisma__LocalReviewClient<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
715
|
+
/**
|
|
716
|
+
* Delete zero or more LocalReviews.
|
|
717
|
+
* @param {LocalReviewDeleteManyArgs} args - Arguments to filter LocalReviews to delete.
|
|
718
|
+
* @example
|
|
719
|
+
* // Delete a few LocalReviews
|
|
720
|
+
* const { count } = await prisma.localReview.deleteMany({
|
|
721
|
+
* where: {
|
|
722
|
+
* // ... provide filter here
|
|
723
|
+
* }
|
|
724
|
+
* })
|
|
725
|
+
*
|
|
726
|
+
*/
|
|
727
|
+
deleteMany<T extends LocalReviewDeleteManyArgs>(args?: Prisma.SelectSubset<T, LocalReviewDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
728
|
+
/**
|
|
729
|
+
* Update zero or more LocalReviews.
|
|
730
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
731
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
732
|
+
* @param {LocalReviewUpdateManyArgs} args - Arguments to update one or more rows.
|
|
733
|
+
* @example
|
|
734
|
+
* // Update many LocalReviews
|
|
735
|
+
* const localReview = await prisma.localReview.updateMany({
|
|
736
|
+
* where: {
|
|
737
|
+
* // ... provide filter here
|
|
738
|
+
* },
|
|
739
|
+
* data: {
|
|
740
|
+
* // ... provide data here
|
|
741
|
+
* }
|
|
742
|
+
* })
|
|
743
|
+
*
|
|
744
|
+
*/
|
|
745
|
+
updateMany<T extends LocalReviewUpdateManyArgs>(args: Prisma.SelectSubset<T, LocalReviewUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
746
|
+
/**
|
|
747
|
+
* Update zero or more LocalReviews and returns the data updated in the database.
|
|
748
|
+
* @param {LocalReviewUpdateManyAndReturnArgs} args - Arguments to update many LocalReviews.
|
|
749
|
+
* @example
|
|
750
|
+
* // Update many LocalReviews
|
|
751
|
+
* const localReview = await prisma.localReview.updateManyAndReturn({
|
|
752
|
+
* where: {
|
|
753
|
+
* // ... provide filter here
|
|
754
|
+
* },
|
|
755
|
+
* data: [
|
|
756
|
+
* // ... provide data here
|
|
757
|
+
* ]
|
|
758
|
+
* })
|
|
759
|
+
*
|
|
760
|
+
* // Update zero or more LocalReviews and only return the `id`
|
|
761
|
+
* const localReviewWithIdOnly = await prisma.localReview.updateManyAndReturn({
|
|
762
|
+
* select: { id: true },
|
|
763
|
+
* where: {
|
|
764
|
+
* // ... provide filter here
|
|
765
|
+
* },
|
|
766
|
+
* data: [
|
|
767
|
+
* // ... provide data here
|
|
768
|
+
* ]
|
|
769
|
+
* })
|
|
770
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
771
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
772
|
+
*
|
|
773
|
+
*/
|
|
774
|
+
updateManyAndReturn<T extends LocalReviewUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, LocalReviewUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
775
|
+
/**
|
|
776
|
+
* Create or update one LocalReview.
|
|
777
|
+
* @param {LocalReviewUpsertArgs} args - Arguments to update or create a LocalReview.
|
|
778
|
+
* @example
|
|
779
|
+
* // Update or create a LocalReview
|
|
780
|
+
* const localReview = await prisma.localReview.upsert({
|
|
781
|
+
* create: {
|
|
782
|
+
* // ... data to create a LocalReview
|
|
783
|
+
* },
|
|
784
|
+
* update: {
|
|
785
|
+
* // ... in case it already exists, update
|
|
786
|
+
* },
|
|
787
|
+
* where: {
|
|
788
|
+
* // ... the filter for the LocalReview we want to update
|
|
789
|
+
* }
|
|
790
|
+
* })
|
|
791
|
+
*/
|
|
792
|
+
upsert<T extends LocalReviewUpsertArgs>(args: Prisma.SelectSubset<T, LocalReviewUpsertArgs<ExtArgs>>): Prisma.Prisma__LocalReviewClient<runtime.Types.Result.GetResult<Prisma.$LocalReviewPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
793
|
+
/**
|
|
794
|
+
* Count the number of LocalReviews.
|
|
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 {LocalReviewCountArgs} args - Arguments to filter LocalReviews to count.
|
|
798
|
+
* @example
|
|
799
|
+
* // Count the number of LocalReviews
|
|
800
|
+
* const count = await prisma.localReview.count({
|
|
801
|
+
* where: {
|
|
802
|
+
* // ... the filter for the LocalReviews we want to count
|
|
803
|
+
* }
|
|
804
|
+
* })
|
|
805
|
+
**/
|
|
806
|
+
count<T extends LocalReviewCountArgs>(args?: Prisma.Subset<T, LocalReviewCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], LocalReviewCountAggregateOutputType> : number>;
|
|
807
|
+
/**
|
|
808
|
+
* Allows you to perform aggregations operations on a LocalReview.
|
|
809
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
810
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
811
|
+
* @param {LocalReviewAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
812
|
+
* @example
|
|
813
|
+
* // Ordered by age ascending
|
|
814
|
+
* // Where email contains prisma.io
|
|
815
|
+
* // Limited to the 10 users
|
|
816
|
+
* const aggregations = await prisma.user.aggregate({
|
|
817
|
+
* _avg: {
|
|
818
|
+
* age: true,
|
|
819
|
+
* },
|
|
820
|
+
* where: {
|
|
821
|
+
* email: {
|
|
822
|
+
* contains: "prisma.io",
|
|
823
|
+
* },
|
|
824
|
+
* },
|
|
825
|
+
* orderBy: {
|
|
826
|
+
* age: "asc",
|
|
827
|
+
* },
|
|
828
|
+
* take: 10,
|
|
829
|
+
* })
|
|
830
|
+
**/
|
|
831
|
+
aggregate<T extends LocalReviewAggregateArgs>(args: Prisma.Subset<T, LocalReviewAggregateArgs>): Prisma.PrismaPromise<GetLocalReviewAggregateType<T>>;
|
|
832
|
+
/**
|
|
833
|
+
* Group by LocalReview.
|
|
834
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
835
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
836
|
+
* @param {LocalReviewGroupByArgs} args - Group by arguments.
|
|
837
|
+
* @example
|
|
838
|
+
* // Group by city, order by createdAt, get count
|
|
839
|
+
* const result = await prisma.user.groupBy({
|
|
840
|
+
* by: ['city', 'createdAt'],
|
|
841
|
+
* orderBy: {
|
|
842
|
+
* createdAt: true
|
|
843
|
+
* },
|
|
844
|
+
* _count: {
|
|
845
|
+
* _all: true
|
|
846
|
+
* },
|
|
847
|
+
* })
|
|
848
|
+
*
|
|
849
|
+
**/
|
|
850
|
+
groupBy<T extends LocalReviewGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
851
|
+
orderBy: LocalReviewGroupByArgs['orderBy'];
|
|
852
|
+
} : {
|
|
853
|
+
orderBy?: LocalReviewGroupByArgs['orderBy'];
|
|
854
|
+
}, 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 ? {
|
|
855
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
856
|
+
Error,
|
|
857
|
+
'Field ',
|
|
858
|
+
P,
|
|
859
|
+
` in "having" needs to be provided in "by"`
|
|
860
|
+
];
|
|
861
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
862
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
863
|
+
}[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 ? {} : {
|
|
864
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
865
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
866
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
867
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, LocalReviewGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLocalReviewGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
868
|
+
/**
|
|
869
|
+
* Fields of the LocalReview model
|
|
870
|
+
*/
|
|
871
|
+
readonly fields: LocalReviewFieldRefs;
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* The delegate class that acts as a "Promise-like" for LocalReview.
|
|
875
|
+
* Why is this prefixed with `Prisma__`?
|
|
876
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
877
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
878
|
+
*/
|
|
879
|
+
export interface Prisma__LocalReviewClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
880
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
881
|
+
pullRequest<T extends Prisma.LocalPullRequestDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LocalPullRequestDefaultArgs<ExtArgs>>): Prisma.Prisma__LocalPullRequestClient<runtime.Types.Result.GetResult<Prisma.$LocalPullRequestPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
882
|
+
/**
|
|
883
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
884
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
885
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
886
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
887
|
+
*/
|
|
888
|
+
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>;
|
|
889
|
+
/**
|
|
890
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
891
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
892
|
+
* @returns A Promise for the completion of the callback.
|
|
893
|
+
*/
|
|
894
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
895
|
+
/**
|
|
896
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
897
|
+
* resolved value cannot be modified from the callback.
|
|
898
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
899
|
+
* @returns A Promise for the completion of the callback.
|
|
900
|
+
*/
|
|
901
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* Fields of the LocalReview model
|
|
905
|
+
*/
|
|
906
|
+
export interface LocalReviewFieldRefs {
|
|
907
|
+
readonly id: Prisma.FieldRef<"LocalReview", 'String'>;
|
|
908
|
+
readonly pullRequestId: Prisma.FieldRef<"LocalReview", 'String'>;
|
|
909
|
+
readonly agentId: Prisma.FieldRef<"LocalReview", 'String'>;
|
|
910
|
+
readonly headSha: Prisma.FieldRef<"LocalReview", 'String'>;
|
|
911
|
+
readonly verdict: Prisma.FieldRef<"LocalReview", 'String'>;
|
|
912
|
+
readonly summary: Prisma.FieldRef<"LocalReview", 'String'>;
|
|
913
|
+
readonly body: Prisma.FieldRef<"LocalReview", 'String'>;
|
|
914
|
+
readonly comments: Prisma.FieldRef<"LocalReview", 'Json'>;
|
|
915
|
+
readonly createdAt: Prisma.FieldRef<"LocalReview", 'DateTime'>;
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* LocalReview findUnique
|
|
919
|
+
*/
|
|
920
|
+
export type LocalReviewFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
921
|
+
/**
|
|
922
|
+
* Select specific fields to fetch from the LocalReview
|
|
923
|
+
*/
|
|
924
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
925
|
+
/**
|
|
926
|
+
* Omit specific fields from the LocalReview
|
|
927
|
+
*/
|
|
928
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
929
|
+
/**
|
|
930
|
+
* Choose, which related nodes to fetch as well
|
|
931
|
+
*/
|
|
932
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
933
|
+
/**
|
|
934
|
+
* Filter, which LocalReview to fetch.
|
|
935
|
+
*/
|
|
936
|
+
where: Prisma.LocalReviewWhereUniqueInput;
|
|
937
|
+
};
|
|
938
|
+
/**
|
|
939
|
+
* LocalReview findUniqueOrThrow
|
|
940
|
+
*/
|
|
941
|
+
export type LocalReviewFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
942
|
+
/**
|
|
943
|
+
* Select specific fields to fetch from the LocalReview
|
|
944
|
+
*/
|
|
945
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
946
|
+
/**
|
|
947
|
+
* Omit specific fields from the LocalReview
|
|
948
|
+
*/
|
|
949
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
950
|
+
/**
|
|
951
|
+
* Choose, which related nodes to fetch as well
|
|
952
|
+
*/
|
|
953
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
954
|
+
/**
|
|
955
|
+
* Filter, which LocalReview to fetch.
|
|
956
|
+
*/
|
|
957
|
+
where: Prisma.LocalReviewWhereUniqueInput;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* LocalReview findFirst
|
|
961
|
+
*/
|
|
962
|
+
export type LocalReviewFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
963
|
+
/**
|
|
964
|
+
* Select specific fields to fetch from the LocalReview
|
|
965
|
+
*/
|
|
966
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
967
|
+
/**
|
|
968
|
+
* Omit specific fields from the LocalReview
|
|
969
|
+
*/
|
|
970
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
971
|
+
/**
|
|
972
|
+
* Choose, which related nodes to fetch as well
|
|
973
|
+
*/
|
|
974
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
975
|
+
/**
|
|
976
|
+
* Filter, which LocalReview to fetch.
|
|
977
|
+
*/
|
|
978
|
+
where?: Prisma.LocalReviewWhereInput;
|
|
979
|
+
/**
|
|
980
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
981
|
+
*
|
|
982
|
+
* Determine the order of LocalReviews to fetch.
|
|
983
|
+
*/
|
|
984
|
+
orderBy?: Prisma.LocalReviewOrderByWithRelationInput | Prisma.LocalReviewOrderByWithRelationInput[];
|
|
985
|
+
/**
|
|
986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
987
|
+
*
|
|
988
|
+
* Sets the position for searching for LocalReviews.
|
|
989
|
+
*/
|
|
990
|
+
cursor?: Prisma.LocalReviewWhereUniqueInput;
|
|
991
|
+
/**
|
|
992
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
993
|
+
*
|
|
994
|
+
* Take `±n` LocalReviews from the position of the cursor.
|
|
995
|
+
*/
|
|
996
|
+
take?: number;
|
|
997
|
+
/**
|
|
998
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
999
|
+
*
|
|
1000
|
+
* Skip the first `n` LocalReviews.
|
|
1001
|
+
*/
|
|
1002
|
+
skip?: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1005
|
+
*
|
|
1006
|
+
* Filter by unique combinations of LocalReviews.
|
|
1007
|
+
*/
|
|
1008
|
+
distinct?: Prisma.LocalReviewScalarFieldEnum | Prisma.LocalReviewScalarFieldEnum[];
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* LocalReview findFirstOrThrow
|
|
1012
|
+
*/
|
|
1013
|
+
export type LocalReviewFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1014
|
+
/**
|
|
1015
|
+
* Select specific fields to fetch from the LocalReview
|
|
1016
|
+
*/
|
|
1017
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* Omit specific fields from the LocalReview
|
|
1020
|
+
*/
|
|
1021
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
1022
|
+
/**
|
|
1023
|
+
* Choose, which related nodes to fetch as well
|
|
1024
|
+
*/
|
|
1025
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* Filter, which LocalReview to fetch.
|
|
1028
|
+
*/
|
|
1029
|
+
where?: Prisma.LocalReviewWhereInput;
|
|
1030
|
+
/**
|
|
1031
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1032
|
+
*
|
|
1033
|
+
* Determine the order of LocalReviews to fetch.
|
|
1034
|
+
*/
|
|
1035
|
+
orderBy?: Prisma.LocalReviewOrderByWithRelationInput | Prisma.LocalReviewOrderByWithRelationInput[];
|
|
1036
|
+
/**
|
|
1037
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1038
|
+
*
|
|
1039
|
+
* Sets the position for searching for LocalReviews.
|
|
1040
|
+
*/
|
|
1041
|
+
cursor?: Prisma.LocalReviewWhereUniqueInput;
|
|
1042
|
+
/**
|
|
1043
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1044
|
+
*
|
|
1045
|
+
* Take `±n` LocalReviews from the position of the cursor.
|
|
1046
|
+
*/
|
|
1047
|
+
take?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1050
|
+
*
|
|
1051
|
+
* Skip the first `n` LocalReviews.
|
|
1052
|
+
*/
|
|
1053
|
+
skip?: number;
|
|
1054
|
+
/**
|
|
1055
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1056
|
+
*
|
|
1057
|
+
* Filter by unique combinations of LocalReviews.
|
|
1058
|
+
*/
|
|
1059
|
+
distinct?: Prisma.LocalReviewScalarFieldEnum | Prisma.LocalReviewScalarFieldEnum[];
|
|
1060
|
+
};
|
|
1061
|
+
/**
|
|
1062
|
+
* LocalReview findMany
|
|
1063
|
+
*/
|
|
1064
|
+
export type LocalReviewFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1065
|
+
/**
|
|
1066
|
+
* Select specific fields to fetch from the LocalReview
|
|
1067
|
+
*/
|
|
1068
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
1069
|
+
/**
|
|
1070
|
+
* Omit specific fields from the LocalReview
|
|
1071
|
+
*/
|
|
1072
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* Choose, which related nodes to fetch as well
|
|
1075
|
+
*/
|
|
1076
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
1077
|
+
/**
|
|
1078
|
+
* Filter, which LocalReviews to fetch.
|
|
1079
|
+
*/
|
|
1080
|
+
where?: Prisma.LocalReviewWhereInput;
|
|
1081
|
+
/**
|
|
1082
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1083
|
+
*
|
|
1084
|
+
* Determine the order of LocalReviews to fetch.
|
|
1085
|
+
*/
|
|
1086
|
+
orderBy?: Prisma.LocalReviewOrderByWithRelationInput | Prisma.LocalReviewOrderByWithRelationInput[];
|
|
1087
|
+
/**
|
|
1088
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1089
|
+
*
|
|
1090
|
+
* Sets the position for listing LocalReviews.
|
|
1091
|
+
*/
|
|
1092
|
+
cursor?: Prisma.LocalReviewWhereUniqueInput;
|
|
1093
|
+
/**
|
|
1094
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1095
|
+
*
|
|
1096
|
+
* Take `±n` LocalReviews from the position of the cursor.
|
|
1097
|
+
*/
|
|
1098
|
+
take?: number;
|
|
1099
|
+
/**
|
|
1100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1101
|
+
*
|
|
1102
|
+
* Skip the first `n` LocalReviews.
|
|
1103
|
+
*/
|
|
1104
|
+
skip?: number;
|
|
1105
|
+
/**
|
|
1106
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1107
|
+
*
|
|
1108
|
+
* Filter by unique combinations of LocalReviews.
|
|
1109
|
+
*/
|
|
1110
|
+
distinct?: Prisma.LocalReviewScalarFieldEnum | Prisma.LocalReviewScalarFieldEnum[];
|
|
1111
|
+
};
|
|
1112
|
+
/**
|
|
1113
|
+
* LocalReview create
|
|
1114
|
+
*/
|
|
1115
|
+
export type LocalReviewCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1116
|
+
/**
|
|
1117
|
+
* Select specific fields to fetch from the LocalReview
|
|
1118
|
+
*/
|
|
1119
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* Omit specific fields from the LocalReview
|
|
1122
|
+
*/
|
|
1123
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Choose, which related nodes to fetch as well
|
|
1126
|
+
*/
|
|
1127
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* The data needed to create a LocalReview.
|
|
1130
|
+
*/
|
|
1131
|
+
data: Prisma.XOR<Prisma.LocalReviewCreateInput, Prisma.LocalReviewUncheckedCreateInput>;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* LocalReview createMany
|
|
1135
|
+
*/
|
|
1136
|
+
export type LocalReviewCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1137
|
+
/**
|
|
1138
|
+
* The data used to create many LocalReviews.
|
|
1139
|
+
*/
|
|
1140
|
+
data: Prisma.LocalReviewCreateManyInput | Prisma.LocalReviewCreateManyInput[];
|
|
1141
|
+
skipDuplicates?: boolean;
|
|
1142
|
+
};
|
|
1143
|
+
/**
|
|
1144
|
+
* LocalReview createManyAndReturn
|
|
1145
|
+
*/
|
|
1146
|
+
export type LocalReviewCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1147
|
+
/**
|
|
1148
|
+
* Select specific fields to fetch from the LocalReview
|
|
1149
|
+
*/
|
|
1150
|
+
select?: Prisma.LocalReviewSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1151
|
+
/**
|
|
1152
|
+
* Omit specific fields from the LocalReview
|
|
1153
|
+
*/
|
|
1154
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
1155
|
+
/**
|
|
1156
|
+
* The data used to create many LocalReviews.
|
|
1157
|
+
*/
|
|
1158
|
+
data: Prisma.LocalReviewCreateManyInput | Prisma.LocalReviewCreateManyInput[];
|
|
1159
|
+
skipDuplicates?: boolean;
|
|
1160
|
+
/**
|
|
1161
|
+
* Choose, which related nodes to fetch as well
|
|
1162
|
+
*/
|
|
1163
|
+
include?: Prisma.LocalReviewIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1164
|
+
};
|
|
1165
|
+
/**
|
|
1166
|
+
* LocalReview update
|
|
1167
|
+
*/
|
|
1168
|
+
export type LocalReviewUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1169
|
+
/**
|
|
1170
|
+
* Select specific fields to fetch from the LocalReview
|
|
1171
|
+
*/
|
|
1172
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
1173
|
+
/**
|
|
1174
|
+
* Omit specific fields from the LocalReview
|
|
1175
|
+
*/
|
|
1176
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* Choose, which related nodes to fetch as well
|
|
1179
|
+
*/
|
|
1180
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
1181
|
+
/**
|
|
1182
|
+
* The data needed to update a LocalReview.
|
|
1183
|
+
*/
|
|
1184
|
+
data: Prisma.XOR<Prisma.LocalReviewUpdateInput, Prisma.LocalReviewUncheckedUpdateInput>;
|
|
1185
|
+
/**
|
|
1186
|
+
* Choose, which LocalReview to update.
|
|
1187
|
+
*/
|
|
1188
|
+
where: Prisma.LocalReviewWhereUniqueInput;
|
|
1189
|
+
};
|
|
1190
|
+
/**
|
|
1191
|
+
* LocalReview updateMany
|
|
1192
|
+
*/
|
|
1193
|
+
export type LocalReviewUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1194
|
+
/**
|
|
1195
|
+
* The data used to update LocalReviews.
|
|
1196
|
+
*/
|
|
1197
|
+
data: Prisma.XOR<Prisma.LocalReviewUpdateManyMutationInput, Prisma.LocalReviewUncheckedUpdateManyInput>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Filter which LocalReviews to update
|
|
1200
|
+
*/
|
|
1201
|
+
where?: Prisma.LocalReviewWhereInput;
|
|
1202
|
+
/**
|
|
1203
|
+
* Limit how many LocalReviews to update.
|
|
1204
|
+
*/
|
|
1205
|
+
limit?: number;
|
|
1206
|
+
};
|
|
1207
|
+
/**
|
|
1208
|
+
* LocalReview updateManyAndReturn
|
|
1209
|
+
*/
|
|
1210
|
+
export type LocalReviewUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1211
|
+
/**
|
|
1212
|
+
* Select specific fields to fetch from the LocalReview
|
|
1213
|
+
*/
|
|
1214
|
+
select?: Prisma.LocalReviewSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1215
|
+
/**
|
|
1216
|
+
* Omit specific fields from the LocalReview
|
|
1217
|
+
*/
|
|
1218
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
1219
|
+
/**
|
|
1220
|
+
* The data used to update LocalReviews.
|
|
1221
|
+
*/
|
|
1222
|
+
data: Prisma.XOR<Prisma.LocalReviewUpdateManyMutationInput, Prisma.LocalReviewUncheckedUpdateManyInput>;
|
|
1223
|
+
/**
|
|
1224
|
+
* Filter which LocalReviews to update
|
|
1225
|
+
*/
|
|
1226
|
+
where?: Prisma.LocalReviewWhereInput;
|
|
1227
|
+
/**
|
|
1228
|
+
* Limit how many LocalReviews to update.
|
|
1229
|
+
*/
|
|
1230
|
+
limit?: number;
|
|
1231
|
+
/**
|
|
1232
|
+
* Choose, which related nodes to fetch as well
|
|
1233
|
+
*/
|
|
1234
|
+
include?: Prisma.LocalReviewIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1235
|
+
};
|
|
1236
|
+
/**
|
|
1237
|
+
* LocalReview upsert
|
|
1238
|
+
*/
|
|
1239
|
+
export type LocalReviewUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1240
|
+
/**
|
|
1241
|
+
* Select specific fields to fetch from the LocalReview
|
|
1242
|
+
*/
|
|
1243
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
1244
|
+
/**
|
|
1245
|
+
* Omit specific fields from the LocalReview
|
|
1246
|
+
*/
|
|
1247
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
1248
|
+
/**
|
|
1249
|
+
* Choose, which related nodes to fetch as well
|
|
1250
|
+
*/
|
|
1251
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
1252
|
+
/**
|
|
1253
|
+
* The filter to search for the LocalReview to update in case it exists.
|
|
1254
|
+
*/
|
|
1255
|
+
where: Prisma.LocalReviewWhereUniqueInput;
|
|
1256
|
+
/**
|
|
1257
|
+
* In case the LocalReview found by the `where` argument doesn't exist, create a new LocalReview with this data.
|
|
1258
|
+
*/
|
|
1259
|
+
create: Prisma.XOR<Prisma.LocalReviewCreateInput, Prisma.LocalReviewUncheckedCreateInput>;
|
|
1260
|
+
/**
|
|
1261
|
+
* In case the LocalReview was found with the provided `where` argument, update it with this data.
|
|
1262
|
+
*/
|
|
1263
|
+
update: Prisma.XOR<Prisma.LocalReviewUpdateInput, Prisma.LocalReviewUncheckedUpdateInput>;
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* LocalReview delete
|
|
1267
|
+
*/
|
|
1268
|
+
export type LocalReviewDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1269
|
+
/**
|
|
1270
|
+
* Select specific fields to fetch from the LocalReview
|
|
1271
|
+
*/
|
|
1272
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* Omit specific fields from the LocalReview
|
|
1275
|
+
*/
|
|
1276
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
1277
|
+
/**
|
|
1278
|
+
* Choose, which related nodes to fetch as well
|
|
1279
|
+
*/
|
|
1280
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
1281
|
+
/**
|
|
1282
|
+
* Filter which LocalReview to delete.
|
|
1283
|
+
*/
|
|
1284
|
+
where: Prisma.LocalReviewWhereUniqueInput;
|
|
1285
|
+
};
|
|
1286
|
+
/**
|
|
1287
|
+
* LocalReview deleteMany
|
|
1288
|
+
*/
|
|
1289
|
+
export type LocalReviewDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1290
|
+
/**
|
|
1291
|
+
* Filter which LocalReviews to delete
|
|
1292
|
+
*/
|
|
1293
|
+
where?: Prisma.LocalReviewWhereInput;
|
|
1294
|
+
/**
|
|
1295
|
+
* Limit how many LocalReviews to delete.
|
|
1296
|
+
*/
|
|
1297
|
+
limit?: number;
|
|
1298
|
+
};
|
|
1299
|
+
/**
|
|
1300
|
+
* LocalReview without action
|
|
1301
|
+
*/
|
|
1302
|
+
export type LocalReviewDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1303
|
+
/**
|
|
1304
|
+
* Select specific fields to fetch from the LocalReview
|
|
1305
|
+
*/
|
|
1306
|
+
select?: Prisma.LocalReviewSelect<ExtArgs> | null;
|
|
1307
|
+
/**
|
|
1308
|
+
* Omit specific fields from the LocalReview
|
|
1309
|
+
*/
|
|
1310
|
+
omit?: Prisma.LocalReviewOmit<ExtArgs> | null;
|
|
1311
|
+
/**
|
|
1312
|
+
* Choose, which related nodes to fetch as well
|
|
1313
|
+
*/
|
|
1314
|
+
include?: Prisma.LocalReviewInclude<ExtArgs> | null;
|
|
1315
|
+
};
|