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