@wardby/cli 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. package/.env.example +34 -4
  2. package/README.md +41 -4
  3. package/dist/claude-coding-worker/driver.d.ts +6 -1
  4. package/dist/claude-coding-worker/driver.js +27 -1
  5. package/dist/claude-coding-worker/main.js +2 -0
  6. package/dist/claude-coding-worker/tool-socket.d.ts +9 -0
  7. package/dist/claude-coding-worker/tool-socket.js +26 -0
  8. package/dist/cli-help.d.ts +1 -1
  9. package/dist/cli-help.js +13 -4
  10. package/dist/cli.d.ts +1 -1
  11. package/dist/cli.js +219 -29
  12. package/dist/coding/collect-exclude.d.ts +25 -0
  13. package/dist/coding/collect-exclude.js +76 -0
  14. package/dist/coding/profile.d.ts +67 -22
  15. package/dist/coding/profile.js +58 -25
  16. package/dist/coding/protected-path-wording.d.ts +24 -0
  17. package/dist/coding/protected-path-wording.js +55 -0
  18. package/dist/coding/protected-paths.d.ts +31 -0
  19. package/dist/coding/protected-paths.js +48 -0
  20. package/dist/coding/protocol.d.ts +75 -4
  21. package/dist/coding/protocol.js +107 -7
  22. package/dist/coding/registry/adapters.d.ts +2 -0
  23. package/dist/coding/registry/adapters.js +9 -0
  24. package/dist/coding/registry/allowlist.d.ts +9 -0
  25. package/dist/coding/registry/allowlist.js +28 -0
  26. package/dist/coding/registry/json-scan.d.ts +55 -0
  27. package/dist/coding/registry/json-scan.js +191 -0
  28. package/dist/coding/registry/lockfiles.d.ts +6 -0
  29. package/dist/coding/registry/lockfiles.js +89 -0
  30. package/dist/coding/registry/npm-lockfile.d.ts +9 -0
  31. package/dist/coding/registry/npm-lockfile.js +73 -0
  32. package/dist/coding/registry/npm-plan.d.ts +29 -0
  33. package/dist/coding/registry/npm-plan.js +289 -0
  34. package/dist/coding/registry/npm.d.ts +7 -0
  35. package/dist/coding/registry/npm.js +252 -0
  36. package/dist/coding/registry/pypi.d.ts +4 -0
  37. package/dist/coding/registry/pypi.js +210 -0
  38. package/dist/coding/registry/report.d.ts +37 -0
  39. package/dist/coding/registry/report.js +31 -0
  40. package/dist/coding/registry/token.d.ts +4 -0
  41. package/dist/coding/registry/token.js +7 -0
  42. package/dist/coding/registry/types.d.ts +286 -0
  43. package/dist/coding/registry/types.js +19 -0
  44. package/dist/coding/registry/worker-config.d.ts +14 -0
  45. package/dist/coding/registry/worker-config.js +31 -0
  46. package/dist/coding/services/builtins.d.ts +22 -0
  47. package/dist/coding/services/builtins.js +85 -0
  48. package/dist/coding/services/catalog.d.ts +443 -0
  49. package/dist/coding/services/catalog.js +159 -0
  50. package/dist/coding/services/declaration.d.ts +11 -0
  51. package/dist/coding/services/declaration.js +114 -0
  52. package/dist/coding/services/note.d.ts +8 -0
  53. package/dist/coding/services/note.js +15 -0
  54. package/dist/coding/services/resolve.d.ts +25 -0
  55. package/dist/coding/services/resolve.js +50 -0
  56. package/dist/coding/services/wording.d.ts +25 -0
  57. package/dist/coding/services/wording.js +70 -0
  58. package/dist/coding-proxy/main.js +24 -4
  59. package/dist/coding-worker/artifact.d.ts +6 -0
  60. package/dist/coding-worker/debug-trace.d.ts +37 -0
  61. package/dist/coding-worker/debug-trace.js +117 -0
  62. package/dist/coding-worker/driver.d.ts +13 -1
  63. package/dist/coding-worker/driver.js +102 -13
  64. package/dist/coding-worker/errors.js +8 -0
  65. package/dist/coding-worker/main.js +10 -2
  66. package/dist/coding-worker/sdk.d.ts +2 -2
  67. package/dist/coding-worker/sdk.js +7 -2
  68. package/dist/coding-worker/types.d.ts +3 -0
  69. package/dist/config/providers.d.ts +41 -0
  70. package/dist/config/providers.js +66 -0
  71. package/dist/core/budget-groups.d.ts +108 -5
  72. package/dist/core/budget-groups.js +125 -19
  73. package/dist/core/budget-wording.d.ts +22 -0
  74. package/dist/core/budget-wording.js +55 -0
  75. package/dist/core/datastores.js +18 -2
  76. package/dist/core/db.d.ts +5 -1
  77. package/dist/core/db.js +8 -2
  78. package/dist/core/dispatch.d.ts +33 -6
  79. package/dist/core/dispatch.js +260 -43
  80. package/dist/core/engine-native.js +27 -10
  81. package/dist/core/grants.d.ts +86 -0
  82. package/dist/core/grants.js +126 -0
  83. package/dist/core/host-events.d.ts +49 -0
  84. package/dist/core/host-events.js +257 -0
  85. package/dist/core/host-identity-links.d.ts +54 -0
  86. package/dist/core/host-identity-links.js +189 -0
  87. package/dist/core/host-status.d.ts +61 -0
  88. package/dist/core/host-status.js +211 -0
  89. package/dist/core/in-flight-runs.d.ts +8 -0
  90. package/dist/core/in-flight-runs.js +56 -0
  91. package/dist/core/provider-wording.d.ts +12 -0
  92. package/dist/core/provider-wording.js +44 -0
  93. package/dist/core/reconciler.d.ts +38 -2
  94. package/dist/core/reconciler.js +86 -2
  95. package/dist/core/repo-access.d.ts +99 -0
  96. package/dist/core/repo-access.js +136 -0
  97. package/dist/core/review-host-checks.d.ts +11 -0
  98. package/dist/core/review-host-checks.js +41 -0
  99. package/dist/core/review-host-tools.d.ts +47 -0
  100. package/dist/core/review-host-tools.js +347 -0
  101. package/dist/core/run-heartbeat.d.ts +27 -0
  102. package/dist/core/run-heartbeat.js +54 -0
  103. package/dist/core/runner.d.ts +30 -8
  104. package/dist/core/runner.js +237 -40
  105. package/dist/core/secrets.d.ts +11 -2
  106. package/dist/core/secrets.js +25 -6
  107. package/dist/core/subagent-memory-tools.d.ts +1 -1
  108. package/dist/core/subagent-memory-tools.js +16 -3
  109. package/dist/core/tool-admin.d.ts +81 -0
  110. package/dist/core/tool-admin.js +129 -0
  111. package/dist/core/tool-names.d.ts +42 -0
  112. package/dist/core/tool-names.js +64 -0
  113. package/dist/core/untrusted-content.d.ts +32 -0
  114. package/dist/core/untrusted-content.js +72 -0
  115. package/dist/core/webhooks.d.ts +8 -1
  116. package/dist/core/webhooks.js +23 -2
  117. package/dist/generated/prisma/browser.d.ts +100 -0
  118. package/dist/generated/prisma/client.d.ts +100 -0
  119. package/dist/generated/prisma/commonInputTypes.d.ts +30 -0
  120. package/dist/generated/prisma/enums.d.ts +6 -0
  121. package/dist/generated/prisma/enums.js +6 -1
  122. package/dist/generated/prisma/internal/class.d.ts +143 -0
  123. package/dist/generated/prisma/internal/class.js +4 -4
  124. package/dist/generated/prisma/internal/prismaNamespace.d.ts +1746 -577
  125. package/dist/generated/prisma/internal/prismaNamespace.js +179 -6
  126. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +186 -0
  127. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +179 -6
  128. package/dist/generated/prisma/models/Agent.d.ts +294 -1
  129. package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
  130. package/dist/generated/prisma/models/AgentRepository.js +1 -0
  131. package/dist/generated/prisma/models/AgentTool.d.ts +95 -1
  132. package/dist/generated/prisma/models/AuthUser.d.ts +56 -1
  133. package/dist/generated/prisma/models/CodingAgentProfile.d.ts +258 -7
  134. package/dist/generated/prisma/models/CodingProxySession.d.ts +123 -2
  135. package/dist/generated/prisma/models/CodingRun.d.ts +1276 -95
  136. package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
  137. package/dist/generated/prisma/models/CodingService.js +1 -0
  138. package/dist/generated/prisma/models/HostEventDelivery.d.ts +946 -0
  139. package/dist/generated/prisma/models/HostEventDelivery.js +1 -0
  140. package/dist/generated/prisma/models/HostIdentity.d.ts +1232 -0
  141. package/dist/generated/prisma/models/HostIdentity.js +1 -0
  142. package/dist/generated/prisma/models/HostIdentityLinkRequest.d.ts +1473 -0
  143. package/dist/generated/prisma/models/HostIdentityLinkRequest.js +1 -0
  144. package/dist/generated/prisma/models/Principal.d.ts +455 -0
  145. package/dist/generated/prisma/models/RegistryAllowance.d.ts +1148 -0
  146. package/dist/generated/prisma/models/RegistryAllowance.js +1 -0
  147. package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +1219 -0
  148. package/dist/generated/prisma/models/RegistryApprovedVersion.js +1 -0
  149. package/dist/generated/prisma/models/RegistryFetch.d.ts +1428 -0
  150. package/dist/generated/prisma/models/RegistryFetch.js +1 -0
  151. package/dist/generated/prisma/models/RegistryPlanRefusal.d.ts +1294 -0
  152. package/dist/generated/prisma/models/RegistryPlanRefusal.js +1 -0
  153. package/dist/generated/prisma/models/RegistryVersionFact.d.ts +1085 -0
  154. package/dist/generated/prisma/models/RegistryVersionFact.js +1 -0
  155. package/dist/generated/prisma/models/ResourceGrant.d.ts +1437 -0
  156. package/dist/generated/prisma/models/ResourceGrant.js +1 -0
  157. package/dist/generated/prisma/models/Run.d.ts +389 -1
  158. package/dist/generated/prisma/models/RunHostCheck.d.ts +1239 -0
  159. package/dist/generated/prisma/models/RunHostCheck.js +1 -0
  160. package/dist/generated/prisma/models/RunHostStatus.d.ts +1315 -0
  161. package/dist/generated/prisma/models/RunHostStatus.js +1 -0
  162. package/dist/generated/prisma/models/Tool.d.ts +15 -3
  163. package/dist/generated/prisma/models.d.ts +13 -0
  164. package/dist/help/build.d.ts +1 -0
  165. package/dist/help/build.js +9 -0
  166. package/dist/help/catalog.d.ts +24 -0
  167. package/dist/help/catalog.js +160 -0
  168. package/dist/help/cli.d.ts +2 -0
  169. package/dist/help/cli.js +65 -0
  170. package/dist/help/runtime.d.ts +3 -0
  171. package/dist/help/runtime.js +44 -0
  172. package/dist/help/search.d.ts +9 -0
  173. package/dist/help/search.js +104 -0
  174. package/dist/help-index.json +660 -0
  175. package/dist/import/cli-args.js +3 -2
  176. package/dist/import/create.d.ts +5 -0
  177. package/dist/import/create.js +67 -13
  178. package/dist/import/index.js +19 -9
  179. package/dist/import/neutral-schema.d.ts +11 -11
  180. package/dist/mcp/auth/access.d.ts +70 -0
  181. package/dist/mcp/auth/access.js +58 -0
  182. package/dist/mcp/auth/grants-cli.d.ts +149 -0
  183. package/dist/mcp/auth/grants-cli.js +518 -0
  184. package/dist/mcp/auth/host-account-cli.d.ts +2 -0
  185. package/dist/mcp/auth/host-account-cli.js +47 -0
  186. package/dist/mcp/auth/ownership.d.ts +26 -52
  187. package/dist/mcp/auth/ownership.js +19 -14
  188. package/dist/mcp/auth/repo-authorization.d.ts +22 -0
  189. package/dist/mcp/auth/repo-authorization.js +51 -0
  190. package/dist/mcp/auth/resource-server.d.ts +31 -2
  191. package/dist/mcp/auth/resource-server.js +84 -3
  192. package/dist/mcp/auth/self-hosted/browser.js +2 -2
  193. package/dist/mcp/auth/self-hosted/cli.js +47 -13
  194. package/dist/mcp/auth/self-hosted/credentials.d.ts +20 -2
  195. package/dist/mcp/auth/self-hosted/credentials.js +62 -4
  196. package/dist/mcp/auth/self-hosted/session.d.ts +2 -1
  197. package/dist/mcp/context.d.ts +27 -1
  198. package/dist/mcp/errors.d.ts +25 -6
  199. package/dist/mcp/errors.js +98 -0
  200. package/dist/mcp/host-events/github-ingress.d.ts +36 -0
  201. package/dist/mcp/host-events/github-ingress.js +92 -0
  202. package/dist/mcp/host-events/github-user-callback.d.ts +18 -0
  203. package/dist/mcp/host-events/github-user-callback.js +50 -0
  204. package/dist/mcp/index.d.ts +8 -1
  205. package/dist/mcp/index.js +106 -16
  206. package/dist/mcp/server.js +27 -9
  207. package/dist/mcp/tools/agents.js +446 -48
  208. package/dist/mcp/tools/budget-groups.js +3 -3
  209. package/dist/mcp/tools/datastore.js +22 -15
  210. package/dist/mcp/tools/grants.d.ts +2 -0
  211. package/dist/mcp/tools/grants.js +239 -0
  212. package/dist/mcp/tools/help.d.ts +5 -0
  213. package/dist/mcp/tools/help.js +67 -0
  214. package/dist/mcp/tools/host-accounts.d.ts +2 -0
  215. package/dist/mcp/tools/host-accounts.js +114 -0
  216. package/dist/mcp/tools/memory.d.ts +7 -1
  217. package/dist/mcp/tools/memory.js +5 -5
  218. package/dist/mcp/tools/repositories.d.ts +2 -0
  219. package/dist/mcp/tools/repositories.js +181 -0
  220. package/dist/mcp/tools/runs.d.ts +6 -0
  221. package/dist/mcp/tools/runs.js +60 -6
  222. package/dist/mcp/tools/scheduling.js +3 -6
  223. package/dist/mcp/tools/secrets.js +18 -6
  224. package/dist/mcp/tools/services.d.ts +2 -0
  225. package/dist/mcp/tools/services.js +222 -0
  226. package/dist/mcp/tools/subagents.js +52 -16
  227. package/dist/mcp/tools/tools.d.ts +41 -0
  228. package/dist/mcp/tools/tools.js +201 -40
  229. package/dist/mcp/tools/trigger.js +36 -6
  230. package/dist/mcp/tools/webhooks.js +15 -4
  231. package/dist/mcp/transport/streamable-http.d.ts +10 -0
  232. package/dist/mcp/transport/streamable-http.js +32 -2
  233. package/dist/providers/auth/delegating.d.ts +19 -0
  234. package/dist/providers/auth/delegating.js +71 -0
  235. package/dist/providers/auth/index.d.ts +2 -0
  236. package/dist/providers/auth/index.js +11 -0
  237. package/dist/providers/auth/self-hosted.d.ts +2 -1
  238. package/dist/providers/auth/self-hosted.js +16 -4
  239. package/dist/providers/auth/types.d.ts +6 -0
  240. package/dist/providers/coding-proxy/memory-ledger.d.ts +3 -0
  241. package/dist/providers/coding-proxy/memory-ledger.js +21 -2
  242. package/dist/providers/coding-proxy/metering.d.ts +4 -0
  243. package/dist/providers/coding-proxy/metering.js +28 -2
  244. package/dist/providers/coding-proxy/prisma-ledger.d.ts +17 -0
  245. package/dist/providers/coding-proxy/prisma-ledger.js +50 -5
  246. package/dist/providers/coding-proxy/proxy.d.ts +13 -0
  247. package/dist/providers/coding-proxy/proxy.js +479 -18
  248. package/dist/providers/coding-proxy/registry/audit.d.ts +131 -0
  249. package/dist/providers/coding-proxy/registry/audit.js +380 -0
  250. package/dist/providers/coding-proxy/registry/bounded-fetch.d.ts +16 -0
  251. package/dist/providers/coding-proxy/registry/bounded-fetch.js +77 -0
  252. package/dist/providers/coding-proxy/registry/plan.d.ts +58 -0
  253. package/dist/providers/coding-proxy/registry/plan.js +304 -0
  254. package/dist/providers/coding-proxy/registry/prisma-store.d.ts +34 -0
  255. package/dist/providers/coding-proxy/registry/prisma-store.js +151 -0
  256. package/dist/providers/coding-proxy/registry/service.d.ts +213 -0
  257. package/dist/providers/coding-proxy/registry/service.js +1137 -0
  258. package/dist/providers/coding-proxy/registry/store.d.ts +127 -0
  259. package/dist/providers/coding-proxy/registry/store.js +70 -0
  260. package/dist/providers/coding-proxy/runtime.d.ts +17 -0
  261. package/dist/providers/coding-proxy/runtime.js +63 -0
  262. package/dist/providers/coding-proxy/secure-fetch.js +0 -1
  263. package/dist/providers/coding-proxy/server.d.ts +11 -0
  264. package/dist/providers/coding-proxy/server.js +163 -0
  265. package/dist/providers/coding-proxy/types.d.ts +15 -0
  266. package/dist/providers/engine/types.d.ts +10 -0
  267. package/dist/providers/executor/build.d.ts +2 -2
  268. package/dist/providers/executor/composition.d.ts +3 -0
  269. package/dist/providers/executor/composition.js +19 -0
  270. package/dist/providers/executor/container.d.ts +105 -3
  271. package/dist/providers/executor/container.js +296 -20
  272. package/dist/providers/executor/dbos.d.ts +2 -3
  273. package/dist/providers/executor/in-process.d.ts +2 -3
  274. package/dist/providers/executor/routing.d.ts +7 -0
  275. package/dist/providers/executor/routing.js +13 -0
  276. package/dist/providers/executor/types.d.ts +22 -0
  277. package/dist/providers/jobs/claude-tool-setup.d.ts +23 -0
  278. package/dist/providers/jobs/claude-tool-setup.js +50 -0
  279. package/dist/providers/jobs/collect-prune.d.ts +7 -0
  280. package/dist/providers/jobs/collect-prune.js +27 -0
  281. package/dist/providers/jobs/docker-isolation.d.ts +48 -3
  282. package/dist/providers/jobs/docker-isolation.js +213 -22
  283. package/dist/providers/jobs/docker-services.d.ts +35 -0
  284. package/dist/providers/jobs/docker-services.js +191 -0
  285. package/dist/providers/jobs/docker.d.ts +49 -2
  286. package/dist/providers/jobs/docker.js +279 -32
  287. package/dist/providers/jobs/fake-kubernetes-api.d.ts +1 -0
  288. package/dist/providers/jobs/fake-kubernetes-api.js +12 -3
  289. package/dist/providers/jobs/kubernetes-isolation.d.ts +17 -2
  290. package/dist/providers/jobs/kubernetes-isolation.js +238 -57
  291. package/dist/providers/jobs/kubernetes-platform.d.ts +10 -4
  292. package/dist/providers/jobs/kubernetes-platform.js +11 -5
  293. package/dist/providers/jobs/kubernetes-preflight.js +3 -0
  294. package/dist/providers/jobs/kubernetes.d.ts +21 -2
  295. package/dist/providers/jobs/kubernetes.js +112 -21
  296. package/dist/providers/jobs/types.d.ts +18 -0
  297. package/dist/providers/llm/anthropic.js +6 -2
  298. package/dist/providers/llm/bedrock.js +2 -1
  299. package/dist/providers/llm/claude-messages.d.ts +5 -1
  300. package/dist/providers/llm/claude-messages.js +1 -0
  301. package/dist/providers/llm/claude-provider.d.ts +3 -1
  302. package/dist/providers/llm/claude-provider.js +5 -1
  303. package/dist/providers/llm/index.d.ts +1 -1
  304. package/dist/providers/llm/index.js +1 -1
  305. package/dist/providers/llm/pricing-anthropic.d.ts +10 -0
  306. package/dist/providers/llm/pricing-anthropic.js +32 -14
  307. package/dist/providers/llm/pricing-bedrock-claude.d.ts +8 -0
  308. package/dist/providers/llm/pricing-bedrock-claude.js +9 -0
  309. package/dist/providers/llm/routing.d.ts +10 -1
  310. package/dist/providers/llm/routing.js +18 -0
  311. package/dist/providers/llm/types.d.ts +12 -0
  312. package/dist/providers/llm/types.js +8 -1
  313. package/dist/providers/review-host/diff-lines.d.ts +16 -0
  314. package/dist/providers/review-host/diff-lines.js +59 -0
  315. package/dist/providers/review-host/github-events.d.ts +6 -0
  316. package/dist/providers/review-host/github-events.js +180 -0
  317. package/dist/providers/review-host/github-user-auth.d.ts +38 -0
  318. package/dist/providers/review-host/github-user-auth.js +128 -0
  319. package/dist/providers/review-host/github.d.ts +57 -0
  320. package/dist/providers/review-host/github.js +567 -0
  321. package/dist/providers/review-host/index.d.ts +12 -0
  322. package/dist/providers/review-host/index.js +30 -0
  323. package/dist/providers/review-host/review-format.d.ts +19 -0
  324. package/dist/providers/review-host/review-format.js +59 -0
  325. package/dist/providers/review-host/types.d.ts +284 -0
  326. package/dist/providers/review-host/types.js +24 -0
  327. package/dist/providers/vcs/git.d.ts +16 -6
  328. package/dist/providers/vcs/git.js +77 -13
  329. package/dist/providers/vcs/github.d.ts +74 -3
  330. package/dist/providers/vcs/github.js +195 -15
  331. package/dist/providers/vcs/types.d.ts +42 -4
  332. package/dist/quickstart/index.js +13 -2
  333. package/dist/sandbox/fetch-policy.d.ts +20 -2
  334. package/dist/sandbox/fetch-policy.js +64 -3
  335. package/dist/sandbox/host-functions.d.ts +9 -1
  336. package/dist/sandbox/host-functions.js +12 -5
  337. package/dist/serve.js +1 -1
  338. package/dist/wardby-bin.js +6 -0
  339. package/docs/README.md +30 -0
  340. package/docs/architecture-runtime.md +90 -0
  341. package/docs/assets/brand/wardby-icon-512.png +0 -0
  342. package/docs/assets/brand/wardby-icon.svg +16 -0
  343. package/docs/assets/brand/wardby-mascot-profile-512.png +0 -0
  344. package/docs/assets/brand/wardby-mascot.png +0 -0
  345. package/docs/assets/brand/wardby-mascot.svg +5 -0
  346. package/docs/assets/wardby-workflow.svg +106 -0
  347. package/docs/code-review-agents.md +481 -0
  348. package/docs/coding-agent-setup.md +172 -0
  349. package/docs/coding-packages.md +455 -0
  350. package/docs/coding-services.md +300 -0
  351. package/docs/coding-worker-byo-images.md +98 -0
  352. package/docs/coding-worker-isolation.md +1061 -0
  353. package/docs/getting-started-gke.md +615 -0
  354. package/docs/getting-started-identity-provider.md +308 -0
  355. package/docs/getting-started.md +133 -0
  356. package/docs/observability.md +53 -0
  357. package/docs/release-verification.md +66 -0
  358. package/docs/security-deployment.md +657 -0
  359. package/help/code-review-agents.md +31 -0
  360. package/help/coding-packages.md +31 -0
  361. package/help/coding-services.md +71 -0
  362. package/help/creating-agents.md +68 -0
  363. package/help/deploy-gke.md +39 -0
  364. package/help/deployment-targets.md +39 -0
  365. package/help/errors/budget-group-exhausted.md +25 -0
  366. package/help/errors/docker-isolation-unsupported.md +26 -0
  367. package/help/errors/protected-path.md +45 -0
  368. package/help/errors/repo-access.md +27 -0
  369. package/help/errors/service-declaration-invalid.md +27 -0
  370. package/help/errors/service-declaration-unavailable.md +25 -0
  371. package/help/errors/service-launcher-unsupported.md +30 -0
  372. package/help/errors/service-not-allowed.md +27 -0
  373. package/help/errors/service-unknown.md +23 -0
  374. package/help/errors/service-unready.md +49 -0
  375. package/help/getting-started.md +31 -0
  376. package/help/github.md +30 -0
  377. package/help/identity-and-access.md +39 -0
  378. package/help/mcp.md +30 -0
  379. package/help/native-capabilities.md +30 -0
  380. package/help/observability.md +41 -0
  381. package/help/operating-agents.md +30 -0
  382. package/help/security.md +27 -0
  383. package/help/troubleshooting/budgets.md +26 -0
  384. package/help/troubleshooting/coding-workers.md +47 -0
  385. package/help/troubleshooting/repository-access.md +27 -0
  386. package/package.json +12 -3
  387. package/prisma/migrations/20260925010000_coding_collect_exclude/migration.sql +8 -0
  388. package/prisma/migrations/20260925015000_allowed_egress_default/migration.sql +8 -0
  389. package/prisma/migrations/20260925020000_coding_package_registry/migration.sql +55 -0
  390. package/prisma/migrations/20260925030000_tool_name_per_owner/migration.sql +11 -0
  391. package/prisma/migrations/20260926010000_run_trigger_host_event/migration.sql +7 -0
  392. package/prisma/migrations/20260926020000_code_review_hosts/migration.sql +53 -0
  393. package/prisma/migrations/20260926030000_auth_user_roles/migration.sql +9 -0
  394. package/prisma/migrations/20260926040000_agent_effort/migration.sql +6 -0
  395. package/prisma/migrations/20260926050000_registry_lockfile_plan/migration.sql +32 -0
  396. package/prisma/migrations/20260926050000_repo_access_authorization/migration.sql +82 -0
  397. package/prisma/migrations/20260926060000_registry_plan_refusal/migration.sql +19 -0
  398. package/prisma/migrations/20260926100000_registry_plan_refusal_published_at/migration.sql +5 -0
  399. package/prisma/migrations/20260926190000_run_host_status/migration.sql +18 -0
  400. package/prisma/migrations/20260926210000_run_host_status_at_dispatch/migration.sql +5 -0
  401. package/prisma/migrations/20260927010000_resource_grants/migration.sql +72 -0
  402. package/prisma/migrations/20260927020000_proxy_session_budget_exhausted/migration.sql +3 -0
  403. package/prisma/migrations/20260927030000_coding_debug_trace/migration.sql +4 -0
  404. package/prisma/migrations/20260927040000_proxy_session_upstream_failure/migration.sql +3 -0
  405. package/prisma/migrations/20260927050000_coding_run_services/migration.sql +74 -0
  406. package/prisma/migrations/20260928000000_coding_run_tool_image/migration.sql +5 -0
  407. package/prisma/schema.prisma +407 -21
@@ -0,0 +1,1428 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as $Enums from "../enums.js";
3
+ import type * as Prisma from "../internal/prismaNamespace.js";
4
+ /**
5
+ * Model RegistryFetch
6
+ * Audit ledger of every package fetch the registry proxy served or refused
7
+ * for a run.
8
+ */
9
+ export type RegistryFetchModel = runtime.Types.Result.DefaultSelection<Prisma.$RegistryFetchPayload>;
10
+ export type AggregateRegistryFetch = {
11
+ _count: RegistryFetchCountAggregateOutputType | null;
12
+ _avg: RegistryFetchAvgAggregateOutputType | null;
13
+ _sum: RegistryFetchSumAggregateOutputType | null;
14
+ _min: RegistryFetchMinAggregateOutputType | null;
15
+ _max: RegistryFetchMaxAggregateOutputType | null;
16
+ };
17
+ export type RegistryFetchAvgAggregateOutputType = {
18
+ sizeBytes: number | null;
19
+ };
20
+ export type RegistryFetchSumAggregateOutputType = {
21
+ sizeBytes: number | null;
22
+ };
23
+ export type RegistryFetchMinAggregateOutputType = {
24
+ id: string | null;
25
+ runId: string | null;
26
+ ecosystem: string | null;
27
+ name: string | null;
28
+ version: string | null;
29
+ filename: string | null;
30
+ integrity: string | null;
31
+ sizeBytes: number | null;
32
+ outcome: $Enums.RegistryFetchOutcome | null;
33
+ reason: string | null;
34
+ createdAt: Date | null;
35
+ };
36
+ export type RegistryFetchMaxAggregateOutputType = {
37
+ id: string | null;
38
+ runId: string | null;
39
+ ecosystem: string | null;
40
+ name: string | null;
41
+ version: string | null;
42
+ filename: string | null;
43
+ integrity: string | null;
44
+ sizeBytes: number | null;
45
+ outcome: $Enums.RegistryFetchOutcome | null;
46
+ reason: string | null;
47
+ createdAt: Date | null;
48
+ };
49
+ export type RegistryFetchCountAggregateOutputType = {
50
+ id: number;
51
+ runId: number;
52
+ ecosystem: number;
53
+ name: number;
54
+ version: number;
55
+ filename: number;
56
+ integrity: number;
57
+ sizeBytes: number;
58
+ outcome: number;
59
+ reason: number;
60
+ createdAt: number;
61
+ _all: number;
62
+ };
63
+ export type RegistryFetchAvgAggregateInputType = {
64
+ sizeBytes?: true;
65
+ };
66
+ export type RegistryFetchSumAggregateInputType = {
67
+ sizeBytes?: true;
68
+ };
69
+ export type RegistryFetchMinAggregateInputType = {
70
+ id?: true;
71
+ runId?: true;
72
+ ecosystem?: true;
73
+ name?: true;
74
+ version?: true;
75
+ filename?: true;
76
+ integrity?: true;
77
+ sizeBytes?: true;
78
+ outcome?: true;
79
+ reason?: true;
80
+ createdAt?: true;
81
+ };
82
+ export type RegistryFetchMaxAggregateInputType = {
83
+ id?: true;
84
+ runId?: true;
85
+ ecosystem?: true;
86
+ name?: true;
87
+ version?: true;
88
+ filename?: true;
89
+ integrity?: true;
90
+ sizeBytes?: true;
91
+ outcome?: true;
92
+ reason?: true;
93
+ createdAt?: true;
94
+ };
95
+ export type RegistryFetchCountAggregateInputType = {
96
+ id?: true;
97
+ runId?: true;
98
+ ecosystem?: true;
99
+ name?: true;
100
+ version?: true;
101
+ filename?: true;
102
+ integrity?: true;
103
+ sizeBytes?: true;
104
+ outcome?: true;
105
+ reason?: true;
106
+ createdAt?: true;
107
+ _all?: true;
108
+ };
109
+ export type RegistryFetchAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
110
+ /**
111
+ * Filter which RegistryFetch to aggregate.
112
+ */
113
+ where?: Prisma.RegistryFetchWhereInput;
114
+ /**
115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
116
+ *
117
+ * Determine the order of RegistryFetches to fetch.
118
+ */
119
+ orderBy?: Prisma.RegistryFetchOrderByWithRelationInput | Prisma.RegistryFetchOrderByWithRelationInput[];
120
+ /**
121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
122
+ *
123
+ * Sets the start position
124
+ */
125
+ cursor?: Prisma.RegistryFetchWhereUniqueInput;
126
+ /**
127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
128
+ *
129
+ * Take `±n` RegistryFetches from the position of the cursor.
130
+ */
131
+ take?: number;
132
+ /**
133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
134
+ *
135
+ * Skip the first `n` RegistryFetches.
136
+ */
137
+ skip?: number;
138
+ /**
139
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
140
+ *
141
+ * Count returned RegistryFetches
142
+ **/
143
+ _count?: true | RegistryFetchCountAggregateInputType;
144
+ /**
145
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
146
+ *
147
+ * Select which fields to average
148
+ **/
149
+ _avg?: RegistryFetchAvgAggregateInputType;
150
+ /**
151
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
152
+ *
153
+ * Select which fields to sum
154
+ **/
155
+ _sum?: RegistryFetchSumAggregateInputType;
156
+ /**
157
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
158
+ *
159
+ * Select which fields to find the minimum value
160
+ **/
161
+ _min?: RegistryFetchMinAggregateInputType;
162
+ /**
163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
164
+ *
165
+ * Select which fields to find the maximum value
166
+ **/
167
+ _max?: RegistryFetchMaxAggregateInputType;
168
+ };
169
+ export type GetRegistryFetchAggregateType<T extends RegistryFetchAggregateArgs> = {
170
+ [P in keyof T & keyof AggregateRegistryFetch]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRegistryFetch[P]> : Prisma.GetScalarType<T[P], AggregateRegistryFetch[P]>;
171
+ };
172
+ export type RegistryFetchGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
173
+ where?: Prisma.RegistryFetchWhereInput;
174
+ orderBy?: Prisma.RegistryFetchOrderByWithAggregationInput | Prisma.RegistryFetchOrderByWithAggregationInput[];
175
+ by: Prisma.RegistryFetchScalarFieldEnum[] | Prisma.RegistryFetchScalarFieldEnum;
176
+ having?: Prisma.RegistryFetchScalarWhereWithAggregatesInput;
177
+ take?: number;
178
+ skip?: number;
179
+ _count?: RegistryFetchCountAggregateInputType | true;
180
+ _avg?: RegistryFetchAvgAggregateInputType;
181
+ _sum?: RegistryFetchSumAggregateInputType;
182
+ _min?: RegistryFetchMinAggregateInputType;
183
+ _max?: RegistryFetchMaxAggregateInputType;
184
+ };
185
+ export type RegistryFetchGroupByOutputType = {
186
+ id: string;
187
+ runId: string;
188
+ ecosystem: string;
189
+ name: string;
190
+ version: string | null;
191
+ filename: string | null;
192
+ integrity: string | null;
193
+ sizeBytes: number | null;
194
+ outcome: $Enums.RegistryFetchOutcome;
195
+ reason: string | null;
196
+ createdAt: Date;
197
+ _count: RegistryFetchCountAggregateOutputType | null;
198
+ _avg: RegistryFetchAvgAggregateOutputType | null;
199
+ _sum: RegistryFetchSumAggregateOutputType | null;
200
+ _min: RegistryFetchMinAggregateOutputType | null;
201
+ _max: RegistryFetchMaxAggregateOutputType | null;
202
+ };
203
+ export type GetRegistryFetchGroupByPayload<T extends RegistryFetchGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RegistryFetchGroupByOutputType, T['by']> & {
204
+ [P in ((keyof T) & (keyof RegistryFetchGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RegistryFetchGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RegistryFetchGroupByOutputType[P]>;
205
+ }>>;
206
+ export type RegistryFetchWhereInput = {
207
+ AND?: Prisma.RegistryFetchWhereInput | Prisma.RegistryFetchWhereInput[];
208
+ OR?: Prisma.RegistryFetchWhereInput[];
209
+ NOT?: Prisma.RegistryFetchWhereInput | Prisma.RegistryFetchWhereInput[];
210
+ id?: Prisma.StringFilter<"RegistryFetch"> | string;
211
+ runId?: Prisma.StringFilter<"RegistryFetch"> | string;
212
+ ecosystem?: Prisma.StringFilter<"RegistryFetch"> | string;
213
+ name?: Prisma.StringFilter<"RegistryFetch"> | string;
214
+ version?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
215
+ filename?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
216
+ integrity?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
217
+ sizeBytes?: Prisma.IntNullableFilter<"RegistryFetch"> | number | null;
218
+ outcome?: Prisma.EnumRegistryFetchOutcomeFilter<"RegistryFetch"> | $Enums.RegistryFetchOutcome;
219
+ reason?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
220
+ createdAt?: Prisma.DateTimeFilter<"RegistryFetch"> | Date | string;
221
+ run?: Prisma.XOR<Prisma.CodingRunScalarRelationFilter, Prisma.CodingRunWhereInput>;
222
+ };
223
+ export type RegistryFetchOrderByWithRelationInput = {
224
+ id?: Prisma.SortOrder;
225
+ runId?: Prisma.SortOrder;
226
+ ecosystem?: Prisma.SortOrder;
227
+ name?: Prisma.SortOrder;
228
+ version?: Prisma.SortOrderInput | Prisma.SortOrder;
229
+ filename?: Prisma.SortOrderInput | Prisma.SortOrder;
230
+ integrity?: Prisma.SortOrderInput | Prisma.SortOrder;
231
+ sizeBytes?: Prisma.SortOrderInput | Prisma.SortOrder;
232
+ outcome?: Prisma.SortOrder;
233
+ reason?: Prisma.SortOrderInput | Prisma.SortOrder;
234
+ createdAt?: Prisma.SortOrder;
235
+ run?: Prisma.CodingRunOrderByWithRelationInput;
236
+ };
237
+ export type RegistryFetchWhereUniqueInput = Prisma.AtLeast<{
238
+ id?: string;
239
+ AND?: Prisma.RegistryFetchWhereInput | Prisma.RegistryFetchWhereInput[];
240
+ OR?: Prisma.RegistryFetchWhereInput[];
241
+ NOT?: Prisma.RegistryFetchWhereInput | Prisma.RegistryFetchWhereInput[];
242
+ runId?: Prisma.StringFilter<"RegistryFetch"> | string;
243
+ ecosystem?: Prisma.StringFilter<"RegistryFetch"> | string;
244
+ name?: Prisma.StringFilter<"RegistryFetch"> | string;
245
+ version?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
246
+ filename?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
247
+ integrity?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
248
+ sizeBytes?: Prisma.IntNullableFilter<"RegistryFetch"> | number | null;
249
+ outcome?: Prisma.EnumRegistryFetchOutcomeFilter<"RegistryFetch"> | $Enums.RegistryFetchOutcome;
250
+ reason?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
251
+ createdAt?: Prisma.DateTimeFilter<"RegistryFetch"> | Date | string;
252
+ run?: Prisma.XOR<Prisma.CodingRunScalarRelationFilter, Prisma.CodingRunWhereInput>;
253
+ }, "id">;
254
+ export type RegistryFetchOrderByWithAggregationInput = {
255
+ id?: Prisma.SortOrder;
256
+ runId?: Prisma.SortOrder;
257
+ ecosystem?: Prisma.SortOrder;
258
+ name?: Prisma.SortOrder;
259
+ version?: Prisma.SortOrderInput | Prisma.SortOrder;
260
+ filename?: Prisma.SortOrderInput | Prisma.SortOrder;
261
+ integrity?: Prisma.SortOrderInput | Prisma.SortOrder;
262
+ sizeBytes?: Prisma.SortOrderInput | Prisma.SortOrder;
263
+ outcome?: Prisma.SortOrder;
264
+ reason?: Prisma.SortOrderInput | Prisma.SortOrder;
265
+ createdAt?: Prisma.SortOrder;
266
+ _count?: Prisma.RegistryFetchCountOrderByAggregateInput;
267
+ _avg?: Prisma.RegistryFetchAvgOrderByAggregateInput;
268
+ _max?: Prisma.RegistryFetchMaxOrderByAggregateInput;
269
+ _min?: Prisma.RegistryFetchMinOrderByAggregateInput;
270
+ _sum?: Prisma.RegistryFetchSumOrderByAggregateInput;
271
+ };
272
+ export type RegistryFetchScalarWhereWithAggregatesInput = {
273
+ AND?: Prisma.RegistryFetchScalarWhereWithAggregatesInput | Prisma.RegistryFetchScalarWhereWithAggregatesInput[];
274
+ OR?: Prisma.RegistryFetchScalarWhereWithAggregatesInput[];
275
+ NOT?: Prisma.RegistryFetchScalarWhereWithAggregatesInput | Prisma.RegistryFetchScalarWhereWithAggregatesInput[];
276
+ id?: Prisma.StringWithAggregatesFilter<"RegistryFetch"> | string;
277
+ runId?: Prisma.StringWithAggregatesFilter<"RegistryFetch"> | string;
278
+ ecosystem?: Prisma.StringWithAggregatesFilter<"RegistryFetch"> | string;
279
+ name?: Prisma.StringWithAggregatesFilter<"RegistryFetch"> | string;
280
+ version?: Prisma.StringNullableWithAggregatesFilter<"RegistryFetch"> | string | null;
281
+ filename?: Prisma.StringNullableWithAggregatesFilter<"RegistryFetch"> | string | null;
282
+ integrity?: Prisma.StringNullableWithAggregatesFilter<"RegistryFetch"> | string | null;
283
+ sizeBytes?: Prisma.IntNullableWithAggregatesFilter<"RegistryFetch"> | number | null;
284
+ outcome?: Prisma.EnumRegistryFetchOutcomeWithAggregatesFilter<"RegistryFetch"> | $Enums.RegistryFetchOutcome;
285
+ reason?: Prisma.StringNullableWithAggregatesFilter<"RegistryFetch"> | string | null;
286
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"RegistryFetch"> | Date | string;
287
+ };
288
+ export type RegistryFetchCreateInput = {
289
+ id?: string;
290
+ ecosystem: string;
291
+ name: string;
292
+ version?: string | null;
293
+ filename?: string | null;
294
+ integrity?: string | null;
295
+ sizeBytes?: number | null;
296
+ outcome: $Enums.RegistryFetchOutcome;
297
+ reason?: string | null;
298
+ createdAt?: Date | string;
299
+ run: Prisma.CodingRunCreateNestedOneWithoutRegistryFetchesInput;
300
+ };
301
+ export type RegistryFetchUncheckedCreateInput = {
302
+ id?: string;
303
+ runId: string;
304
+ ecosystem: string;
305
+ name: string;
306
+ version?: string | null;
307
+ filename?: string | null;
308
+ integrity?: string | null;
309
+ sizeBytes?: number | null;
310
+ outcome: $Enums.RegistryFetchOutcome;
311
+ reason?: string | null;
312
+ createdAt?: Date | string;
313
+ };
314
+ export type RegistryFetchUpdateInput = {
315
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
316
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
317
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
318
+ version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
319
+ filename?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
320
+ integrity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
321
+ sizeBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
322
+ outcome?: Prisma.EnumRegistryFetchOutcomeFieldUpdateOperationsInput | $Enums.RegistryFetchOutcome;
323
+ reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
324
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
325
+ run?: Prisma.CodingRunUpdateOneRequiredWithoutRegistryFetchesNestedInput;
326
+ };
327
+ export type RegistryFetchUncheckedUpdateInput = {
328
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
329
+ runId?: Prisma.StringFieldUpdateOperationsInput | string;
330
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
331
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
332
+ version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
333
+ filename?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
334
+ integrity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
335
+ sizeBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
336
+ outcome?: Prisma.EnumRegistryFetchOutcomeFieldUpdateOperationsInput | $Enums.RegistryFetchOutcome;
337
+ reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
338
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
339
+ };
340
+ export type RegistryFetchCreateManyInput = {
341
+ id?: string;
342
+ runId: string;
343
+ ecosystem: string;
344
+ name: string;
345
+ version?: string | null;
346
+ filename?: string | null;
347
+ integrity?: string | null;
348
+ sizeBytes?: number | null;
349
+ outcome: $Enums.RegistryFetchOutcome;
350
+ reason?: string | null;
351
+ createdAt?: Date | string;
352
+ };
353
+ export type RegistryFetchUpdateManyMutationInput = {
354
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
355
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
356
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
357
+ version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
358
+ filename?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
359
+ integrity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
360
+ sizeBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
361
+ outcome?: Prisma.EnumRegistryFetchOutcomeFieldUpdateOperationsInput | $Enums.RegistryFetchOutcome;
362
+ reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
363
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
364
+ };
365
+ export type RegistryFetchUncheckedUpdateManyInput = {
366
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
367
+ runId?: Prisma.StringFieldUpdateOperationsInput | string;
368
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
369
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
370
+ version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
371
+ filename?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
372
+ integrity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
373
+ sizeBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
374
+ outcome?: Prisma.EnumRegistryFetchOutcomeFieldUpdateOperationsInput | $Enums.RegistryFetchOutcome;
375
+ reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
376
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
377
+ };
378
+ export type RegistryFetchListRelationFilter = {
379
+ every?: Prisma.RegistryFetchWhereInput;
380
+ some?: Prisma.RegistryFetchWhereInput;
381
+ none?: Prisma.RegistryFetchWhereInput;
382
+ };
383
+ export type RegistryFetchOrderByRelationAggregateInput = {
384
+ _count?: Prisma.SortOrder;
385
+ };
386
+ export type RegistryFetchCountOrderByAggregateInput = {
387
+ id?: Prisma.SortOrder;
388
+ runId?: Prisma.SortOrder;
389
+ ecosystem?: Prisma.SortOrder;
390
+ name?: Prisma.SortOrder;
391
+ version?: Prisma.SortOrder;
392
+ filename?: Prisma.SortOrder;
393
+ integrity?: Prisma.SortOrder;
394
+ sizeBytes?: Prisma.SortOrder;
395
+ outcome?: Prisma.SortOrder;
396
+ reason?: Prisma.SortOrder;
397
+ createdAt?: Prisma.SortOrder;
398
+ };
399
+ export type RegistryFetchAvgOrderByAggregateInput = {
400
+ sizeBytes?: Prisma.SortOrder;
401
+ };
402
+ export type RegistryFetchMaxOrderByAggregateInput = {
403
+ id?: Prisma.SortOrder;
404
+ runId?: Prisma.SortOrder;
405
+ ecosystem?: Prisma.SortOrder;
406
+ name?: Prisma.SortOrder;
407
+ version?: Prisma.SortOrder;
408
+ filename?: Prisma.SortOrder;
409
+ integrity?: Prisma.SortOrder;
410
+ sizeBytes?: Prisma.SortOrder;
411
+ outcome?: Prisma.SortOrder;
412
+ reason?: Prisma.SortOrder;
413
+ createdAt?: Prisma.SortOrder;
414
+ };
415
+ export type RegistryFetchMinOrderByAggregateInput = {
416
+ id?: Prisma.SortOrder;
417
+ runId?: Prisma.SortOrder;
418
+ ecosystem?: Prisma.SortOrder;
419
+ name?: Prisma.SortOrder;
420
+ version?: Prisma.SortOrder;
421
+ filename?: Prisma.SortOrder;
422
+ integrity?: Prisma.SortOrder;
423
+ sizeBytes?: Prisma.SortOrder;
424
+ outcome?: Prisma.SortOrder;
425
+ reason?: Prisma.SortOrder;
426
+ createdAt?: Prisma.SortOrder;
427
+ };
428
+ export type RegistryFetchSumOrderByAggregateInput = {
429
+ sizeBytes?: Prisma.SortOrder;
430
+ };
431
+ export type RegistryFetchCreateNestedManyWithoutRunInput = {
432
+ create?: Prisma.XOR<Prisma.RegistryFetchCreateWithoutRunInput, Prisma.RegistryFetchUncheckedCreateWithoutRunInput> | Prisma.RegistryFetchCreateWithoutRunInput[] | Prisma.RegistryFetchUncheckedCreateWithoutRunInput[];
433
+ connectOrCreate?: Prisma.RegistryFetchCreateOrConnectWithoutRunInput | Prisma.RegistryFetchCreateOrConnectWithoutRunInput[];
434
+ createMany?: Prisma.RegistryFetchCreateManyRunInputEnvelope;
435
+ connect?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
436
+ };
437
+ export type RegistryFetchUncheckedCreateNestedManyWithoutRunInput = {
438
+ create?: Prisma.XOR<Prisma.RegistryFetchCreateWithoutRunInput, Prisma.RegistryFetchUncheckedCreateWithoutRunInput> | Prisma.RegistryFetchCreateWithoutRunInput[] | Prisma.RegistryFetchUncheckedCreateWithoutRunInput[];
439
+ connectOrCreate?: Prisma.RegistryFetchCreateOrConnectWithoutRunInput | Prisma.RegistryFetchCreateOrConnectWithoutRunInput[];
440
+ createMany?: Prisma.RegistryFetchCreateManyRunInputEnvelope;
441
+ connect?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
442
+ };
443
+ export type RegistryFetchUpdateManyWithoutRunNestedInput = {
444
+ create?: Prisma.XOR<Prisma.RegistryFetchCreateWithoutRunInput, Prisma.RegistryFetchUncheckedCreateWithoutRunInput> | Prisma.RegistryFetchCreateWithoutRunInput[] | Prisma.RegistryFetchUncheckedCreateWithoutRunInput[];
445
+ connectOrCreate?: Prisma.RegistryFetchCreateOrConnectWithoutRunInput | Prisma.RegistryFetchCreateOrConnectWithoutRunInput[];
446
+ upsert?: Prisma.RegistryFetchUpsertWithWhereUniqueWithoutRunInput | Prisma.RegistryFetchUpsertWithWhereUniqueWithoutRunInput[];
447
+ createMany?: Prisma.RegistryFetchCreateManyRunInputEnvelope;
448
+ set?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
449
+ disconnect?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
450
+ delete?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
451
+ connect?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
452
+ update?: Prisma.RegistryFetchUpdateWithWhereUniqueWithoutRunInput | Prisma.RegistryFetchUpdateWithWhereUniqueWithoutRunInput[];
453
+ updateMany?: Prisma.RegistryFetchUpdateManyWithWhereWithoutRunInput | Prisma.RegistryFetchUpdateManyWithWhereWithoutRunInput[];
454
+ deleteMany?: Prisma.RegistryFetchScalarWhereInput | Prisma.RegistryFetchScalarWhereInput[];
455
+ };
456
+ export type RegistryFetchUncheckedUpdateManyWithoutRunNestedInput = {
457
+ create?: Prisma.XOR<Prisma.RegistryFetchCreateWithoutRunInput, Prisma.RegistryFetchUncheckedCreateWithoutRunInput> | Prisma.RegistryFetchCreateWithoutRunInput[] | Prisma.RegistryFetchUncheckedCreateWithoutRunInput[];
458
+ connectOrCreate?: Prisma.RegistryFetchCreateOrConnectWithoutRunInput | Prisma.RegistryFetchCreateOrConnectWithoutRunInput[];
459
+ upsert?: Prisma.RegistryFetchUpsertWithWhereUniqueWithoutRunInput | Prisma.RegistryFetchUpsertWithWhereUniqueWithoutRunInput[];
460
+ createMany?: Prisma.RegistryFetchCreateManyRunInputEnvelope;
461
+ set?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
462
+ disconnect?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
463
+ delete?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
464
+ connect?: Prisma.RegistryFetchWhereUniqueInput | Prisma.RegistryFetchWhereUniqueInput[];
465
+ update?: Prisma.RegistryFetchUpdateWithWhereUniqueWithoutRunInput | Prisma.RegistryFetchUpdateWithWhereUniqueWithoutRunInput[];
466
+ updateMany?: Prisma.RegistryFetchUpdateManyWithWhereWithoutRunInput | Prisma.RegistryFetchUpdateManyWithWhereWithoutRunInput[];
467
+ deleteMany?: Prisma.RegistryFetchScalarWhereInput | Prisma.RegistryFetchScalarWhereInput[];
468
+ };
469
+ export type EnumRegistryFetchOutcomeFieldUpdateOperationsInput = {
470
+ set?: $Enums.RegistryFetchOutcome;
471
+ };
472
+ export type RegistryFetchCreateWithoutRunInput = {
473
+ id?: string;
474
+ ecosystem: string;
475
+ name: string;
476
+ version?: string | null;
477
+ filename?: string | null;
478
+ integrity?: string | null;
479
+ sizeBytes?: number | null;
480
+ outcome: $Enums.RegistryFetchOutcome;
481
+ reason?: string | null;
482
+ createdAt?: Date | string;
483
+ };
484
+ export type RegistryFetchUncheckedCreateWithoutRunInput = {
485
+ id?: string;
486
+ ecosystem: string;
487
+ name: string;
488
+ version?: string | null;
489
+ filename?: string | null;
490
+ integrity?: string | null;
491
+ sizeBytes?: number | null;
492
+ outcome: $Enums.RegistryFetchOutcome;
493
+ reason?: string | null;
494
+ createdAt?: Date | string;
495
+ };
496
+ export type RegistryFetchCreateOrConnectWithoutRunInput = {
497
+ where: Prisma.RegistryFetchWhereUniqueInput;
498
+ create: Prisma.XOR<Prisma.RegistryFetchCreateWithoutRunInput, Prisma.RegistryFetchUncheckedCreateWithoutRunInput>;
499
+ };
500
+ export type RegistryFetchCreateManyRunInputEnvelope = {
501
+ data: Prisma.RegistryFetchCreateManyRunInput | Prisma.RegistryFetchCreateManyRunInput[];
502
+ skipDuplicates?: boolean;
503
+ };
504
+ export type RegistryFetchUpsertWithWhereUniqueWithoutRunInput = {
505
+ where: Prisma.RegistryFetchWhereUniqueInput;
506
+ update: Prisma.XOR<Prisma.RegistryFetchUpdateWithoutRunInput, Prisma.RegistryFetchUncheckedUpdateWithoutRunInput>;
507
+ create: Prisma.XOR<Prisma.RegistryFetchCreateWithoutRunInput, Prisma.RegistryFetchUncheckedCreateWithoutRunInput>;
508
+ };
509
+ export type RegistryFetchUpdateWithWhereUniqueWithoutRunInput = {
510
+ where: Prisma.RegistryFetchWhereUniqueInput;
511
+ data: Prisma.XOR<Prisma.RegistryFetchUpdateWithoutRunInput, Prisma.RegistryFetchUncheckedUpdateWithoutRunInput>;
512
+ };
513
+ export type RegistryFetchUpdateManyWithWhereWithoutRunInput = {
514
+ where: Prisma.RegistryFetchScalarWhereInput;
515
+ data: Prisma.XOR<Prisma.RegistryFetchUpdateManyMutationInput, Prisma.RegistryFetchUncheckedUpdateManyWithoutRunInput>;
516
+ };
517
+ export type RegistryFetchScalarWhereInput = {
518
+ AND?: Prisma.RegistryFetchScalarWhereInput | Prisma.RegistryFetchScalarWhereInput[];
519
+ OR?: Prisma.RegistryFetchScalarWhereInput[];
520
+ NOT?: Prisma.RegistryFetchScalarWhereInput | Prisma.RegistryFetchScalarWhereInput[];
521
+ id?: Prisma.StringFilter<"RegistryFetch"> | string;
522
+ runId?: Prisma.StringFilter<"RegistryFetch"> | string;
523
+ ecosystem?: Prisma.StringFilter<"RegistryFetch"> | string;
524
+ name?: Prisma.StringFilter<"RegistryFetch"> | string;
525
+ version?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
526
+ filename?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
527
+ integrity?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
528
+ sizeBytes?: Prisma.IntNullableFilter<"RegistryFetch"> | number | null;
529
+ outcome?: Prisma.EnumRegistryFetchOutcomeFilter<"RegistryFetch"> | $Enums.RegistryFetchOutcome;
530
+ reason?: Prisma.StringNullableFilter<"RegistryFetch"> | string | null;
531
+ createdAt?: Prisma.DateTimeFilter<"RegistryFetch"> | Date | string;
532
+ };
533
+ export type RegistryFetchCreateManyRunInput = {
534
+ id?: string;
535
+ ecosystem: string;
536
+ name: string;
537
+ version?: string | null;
538
+ filename?: string | null;
539
+ integrity?: string | null;
540
+ sizeBytes?: number | null;
541
+ outcome: $Enums.RegistryFetchOutcome;
542
+ reason?: string | null;
543
+ createdAt?: Date | string;
544
+ };
545
+ export type RegistryFetchUpdateWithoutRunInput = {
546
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
547
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
548
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
549
+ version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
550
+ filename?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
551
+ integrity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
552
+ sizeBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
553
+ outcome?: Prisma.EnumRegistryFetchOutcomeFieldUpdateOperationsInput | $Enums.RegistryFetchOutcome;
554
+ reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
555
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
556
+ };
557
+ export type RegistryFetchUncheckedUpdateWithoutRunInput = {
558
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
559
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
560
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
561
+ version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
562
+ filename?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
563
+ integrity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
564
+ sizeBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
565
+ outcome?: Prisma.EnumRegistryFetchOutcomeFieldUpdateOperationsInput | $Enums.RegistryFetchOutcome;
566
+ reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
567
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
568
+ };
569
+ export type RegistryFetchUncheckedUpdateManyWithoutRunInput = {
570
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
571
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
572
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
573
+ version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
574
+ filename?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
575
+ integrity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
576
+ sizeBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
577
+ outcome?: Prisma.EnumRegistryFetchOutcomeFieldUpdateOperationsInput | $Enums.RegistryFetchOutcome;
578
+ reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
579
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
580
+ };
581
+ export type RegistryFetchSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
582
+ id?: boolean;
583
+ runId?: boolean;
584
+ ecosystem?: boolean;
585
+ name?: boolean;
586
+ version?: boolean;
587
+ filename?: boolean;
588
+ integrity?: boolean;
589
+ sizeBytes?: boolean;
590
+ outcome?: boolean;
591
+ reason?: boolean;
592
+ createdAt?: boolean;
593
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
594
+ }, ExtArgs["result"]["registryFetch"]>;
595
+ export type RegistryFetchSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
596
+ id?: boolean;
597
+ runId?: boolean;
598
+ ecosystem?: boolean;
599
+ name?: boolean;
600
+ version?: boolean;
601
+ filename?: boolean;
602
+ integrity?: boolean;
603
+ sizeBytes?: boolean;
604
+ outcome?: boolean;
605
+ reason?: boolean;
606
+ createdAt?: boolean;
607
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
608
+ }, ExtArgs["result"]["registryFetch"]>;
609
+ export type RegistryFetchSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
610
+ id?: boolean;
611
+ runId?: boolean;
612
+ ecosystem?: boolean;
613
+ name?: boolean;
614
+ version?: boolean;
615
+ filename?: boolean;
616
+ integrity?: boolean;
617
+ sizeBytes?: boolean;
618
+ outcome?: boolean;
619
+ reason?: boolean;
620
+ createdAt?: boolean;
621
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
622
+ }, ExtArgs["result"]["registryFetch"]>;
623
+ export type RegistryFetchSelectScalar = {
624
+ id?: boolean;
625
+ runId?: boolean;
626
+ ecosystem?: boolean;
627
+ name?: boolean;
628
+ version?: boolean;
629
+ filename?: boolean;
630
+ integrity?: boolean;
631
+ sizeBytes?: boolean;
632
+ outcome?: boolean;
633
+ reason?: boolean;
634
+ createdAt?: boolean;
635
+ };
636
+ export type RegistryFetchOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "runId" | "ecosystem" | "name" | "version" | "filename" | "integrity" | "sizeBytes" | "outcome" | "reason" | "createdAt", ExtArgs["result"]["registryFetch"]>;
637
+ export type RegistryFetchInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
638
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
639
+ };
640
+ export type RegistryFetchIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
641
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
642
+ };
643
+ export type RegistryFetchIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
644
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
645
+ };
646
+ export type $RegistryFetchPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
647
+ name: "RegistryFetch";
648
+ objects: {
649
+ run: Prisma.$CodingRunPayload<ExtArgs>;
650
+ };
651
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
652
+ id: string;
653
+ runId: string;
654
+ ecosystem: string;
655
+ name: string;
656
+ version: string | null;
657
+ filename: string | null;
658
+ integrity: string | null;
659
+ sizeBytes: number | null;
660
+ outcome: $Enums.RegistryFetchOutcome;
661
+ reason: string | null;
662
+ createdAt: Date;
663
+ }, ExtArgs["result"]["registryFetch"]>;
664
+ composites: {};
665
+ };
666
+ export type RegistryFetchGetPayload<S extends boolean | null | undefined | RegistryFetchDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload, S>;
667
+ export type RegistryFetchCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RegistryFetchFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
668
+ select?: RegistryFetchCountAggregateInputType | true;
669
+ };
670
+ export interface RegistryFetchDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
671
+ [K: symbol]: {
672
+ types: Prisma.TypeMap<ExtArgs>['model']['RegistryFetch'];
673
+ meta: {
674
+ name: 'RegistryFetch';
675
+ };
676
+ };
677
+ /**
678
+ * Find zero or one RegistryFetch that matches the filter.
679
+ * @param {RegistryFetchFindUniqueArgs} args - Arguments to find a RegistryFetch
680
+ * @example
681
+ * // Get one RegistryFetch
682
+ * const registryFetch = await prisma.registryFetch.findUnique({
683
+ * where: {
684
+ * // ... provide filter here
685
+ * }
686
+ * })
687
+ */
688
+ findUnique<T extends RegistryFetchFindUniqueArgs>(args: Prisma.SelectSubset<T, RegistryFetchFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RegistryFetchClient<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
689
+ /**
690
+ * Find one RegistryFetch that matches the filter or throw an error with `error.code='P2025'`
691
+ * if no matches were found.
692
+ * @param {RegistryFetchFindUniqueOrThrowArgs} args - Arguments to find a RegistryFetch
693
+ * @example
694
+ * // Get one RegistryFetch
695
+ * const registryFetch = await prisma.registryFetch.findUniqueOrThrow({
696
+ * where: {
697
+ * // ... provide filter here
698
+ * }
699
+ * })
700
+ */
701
+ findUniqueOrThrow<T extends RegistryFetchFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RegistryFetchFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RegistryFetchClient<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
702
+ /**
703
+ * Find the first RegistryFetch that matches the filter.
704
+ * Note, that providing `undefined` is treated as the value not being there.
705
+ * Read more here: https://pris.ly/d/null-undefined
706
+ * @param {RegistryFetchFindFirstArgs} args - Arguments to find a RegistryFetch
707
+ * @example
708
+ * // Get one RegistryFetch
709
+ * const registryFetch = await prisma.registryFetch.findFirst({
710
+ * where: {
711
+ * // ... provide filter here
712
+ * }
713
+ * })
714
+ */
715
+ findFirst<T extends RegistryFetchFindFirstArgs>(args?: Prisma.SelectSubset<T, RegistryFetchFindFirstArgs<ExtArgs>>): Prisma.Prisma__RegistryFetchClient<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
716
+ /**
717
+ * Find the first RegistryFetch that matches the filter or
718
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
719
+ * Note, that providing `undefined` is treated as the value not being there.
720
+ * Read more here: https://pris.ly/d/null-undefined
721
+ * @param {RegistryFetchFindFirstOrThrowArgs} args - Arguments to find a RegistryFetch
722
+ * @example
723
+ * // Get one RegistryFetch
724
+ * const registryFetch = await prisma.registryFetch.findFirstOrThrow({
725
+ * where: {
726
+ * // ... provide filter here
727
+ * }
728
+ * })
729
+ */
730
+ findFirstOrThrow<T extends RegistryFetchFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RegistryFetchFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RegistryFetchClient<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
731
+ /**
732
+ * Find zero or more RegistryFetches that matches the filter.
733
+ * Note, that providing `undefined` is treated as the value not being there.
734
+ * Read more here: https://pris.ly/d/null-undefined
735
+ * @param {RegistryFetchFindManyArgs} args - Arguments to filter and select certain fields only.
736
+ * @example
737
+ * // Get all RegistryFetches
738
+ * const registryFetches = await prisma.registryFetch.findMany()
739
+ *
740
+ * // Get first 10 RegistryFetches
741
+ * const registryFetches = await prisma.registryFetch.findMany({ take: 10 })
742
+ *
743
+ * // Only select the `id`
744
+ * const registryFetchWithIdOnly = await prisma.registryFetch.findMany({ select: { id: true } })
745
+ *
746
+ */
747
+ findMany<T extends RegistryFetchFindManyArgs>(args?: Prisma.SelectSubset<T, RegistryFetchFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
748
+ /**
749
+ * Create a RegistryFetch.
750
+ * @param {RegistryFetchCreateArgs} args - Arguments to create a RegistryFetch.
751
+ * @example
752
+ * // Create one RegistryFetch
753
+ * const RegistryFetch = await prisma.registryFetch.create({
754
+ * data: {
755
+ * // ... data to create a RegistryFetch
756
+ * }
757
+ * })
758
+ *
759
+ */
760
+ create<T extends RegistryFetchCreateArgs>(args: Prisma.SelectSubset<T, RegistryFetchCreateArgs<ExtArgs>>): Prisma.Prisma__RegistryFetchClient<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
761
+ /**
762
+ * Create many RegistryFetches.
763
+ * @param {RegistryFetchCreateManyArgs} args - Arguments to create many RegistryFetches.
764
+ * @example
765
+ * // Create many RegistryFetches
766
+ * const registryFetch = await prisma.registryFetch.createMany({
767
+ * data: [
768
+ * // ... provide data here
769
+ * ]
770
+ * })
771
+ *
772
+ */
773
+ createMany<T extends RegistryFetchCreateManyArgs>(args?: Prisma.SelectSubset<T, RegistryFetchCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
774
+ /**
775
+ * Create many RegistryFetches and returns the data saved in the database.
776
+ * @param {RegistryFetchCreateManyAndReturnArgs} args - Arguments to create many RegistryFetches.
777
+ * @example
778
+ * // Create many RegistryFetches
779
+ * const registryFetch = await prisma.registryFetch.createManyAndReturn({
780
+ * data: [
781
+ * // ... provide data here
782
+ * ]
783
+ * })
784
+ *
785
+ * // Create many RegistryFetches and only return the `id`
786
+ * const registryFetchWithIdOnly = await prisma.registryFetch.createManyAndReturn({
787
+ * select: { id: true },
788
+ * data: [
789
+ * // ... provide data here
790
+ * ]
791
+ * })
792
+ * Note, that providing `undefined` is treated as the value not being there.
793
+ * Read more here: https://pris.ly/d/null-undefined
794
+ *
795
+ */
796
+ createManyAndReturn<T extends RegistryFetchCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RegistryFetchCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
797
+ /**
798
+ * Delete a RegistryFetch.
799
+ * @param {RegistryFetchDeleteArgs} args - Arguments to delete one RegistryFetch.
800
+ * @example
801
+ * // Delete one RegistryFetch
802
+ * const RegistryFetch = await prisma.registryFetch.delete({
803
+ * where: {
804
+ * // ... filter to delete one RegistryFetch
805
+ * }
806
+ * })
807
+ *
808
+ */
809
+ delete<T extends RegistryFetchDeleteArgs>(args: Prisma.SelectSubset<T, RegistryFetchDeleteArgs<ExtArgs>>): Prisma.Prisma__RegistryFetchClient<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
810
+ /**
811
+ * Update one RegistryFetch.
812
+ * @param {RegistryFetchUpdateArgs} args - Arguments to update one RegistryFetch.
813
+ * @example
814
+ * // Update one RegistryFetch
815
+ * const registryFetch = await prisma.registryFetch.update({
816
+ * where: {
817
+ * // ... provide filter here
818
+ * },
819
+ * data: {
820
+ * // ... provide data here
821
+ * }
822
+ * })
823
+ *
824
+ */
825
+ update<T extends RegistryFetchUpdateArgs>(args: Prisma.SelectSubset<T, RegistryFetchUpdateArgs<ExtArgs>>): Prisma.Prisma__RegistryFetchClient<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
826
+ /**
827
+ * Delete zero or more RegistryFetches.
828
+ * @param {RegistryFetchDeleteManyArgs} args - Arguments to filter RegistryFetches to delete.
829
+ * @example
830
+ * // Delete a few RegistryFetches
831
+ * const { count } = await prisma.registryFetch.deleteMany({
832
+ * where: {
833
+ * // ... provide filter here
834
+ * }
835
+ * })
836
+ *
837
+ */
838
+ deleteMany<T extends RegistryFetchDeleteManyArgs>(args?: Prisma.SelectSubset<T, RegistryFetchDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
839
+ /**
840
+ * Update zero or more RegistryFetches.
841
+ * Note, that providing `undefined` is treated as the value not being there.
842
+ * Read more here: https://pris.ly/d/null-undefined
843
+ * @param {RegistryFetchUpdateManyArgs} args - Arguments to update one or more rows.
844
+ * @example
845
+ * // Update many RegistryFetches
846
+ * const registryFetch = await prisma.registryFetch.updateMany({
847
+ * where: {
848
+ * // ... provide filter here
849
+ * },
850
+ * data: {
851
+ * // ... provide data here
852
+ * }
853
+ * })
854
+ *
855
+ */
856
+ updateMany<T extends RegistryFetchUpdateManyArgs>(args: Prisma.SelectSubset<T, RegistryFetchUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
857
+ /**
858
+ * Update zero or more RegistryFetches and returns the data updated in the database.
859
+ * @param {RegistryFetchUpdateManyAndReturnArgs} args - Arguments to update many RegistryFetches.
860
+ * @example
861
+ * // Update many RegistryFetches
862
+ * const registryFetch = await prisma.registryFetch.updateManyAndReturn({
863
+ * where: {
864
+ * // ... provide filter here
865
+ * },
866
+ * data: [
867
+ * // ... provide data here
868
+ * ]
869
+ * })
870
+ *
871
+ * // Update zero or more RegistryFetches and only return the `id`
872
+ * const registryFetchWithIdOnly = await prisma.registryFetch.updateManyAndReturn({
873
+ * select: { id: true },
874
+ * where: {
875
+ * // ... provide filter here
876
+ * },
877
+ * data: [
878
+ * // ... provide data here
879
+ * ]
880
+ * })
881
+ * Note, that providing `undefined` is treated as the value not being there.
882
+ * Read more here: https://pris.ly/d/null-undefined
883
+ *
884
+ */
885
+ updateManyAndReturn<T extends RegistryFetchUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RegistryFetchUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
886
+ /**
887
+ * Create or update one RegistryFetch.
888
+ * @param {RegistryFetchUpsertArgs} args - Arguments to update or create a RegistryFetch.
889
+ * @example
890
+ * // Update or create a RegistryFetch
891
+ * const registryFetch = await prisma.registryFetch.upsert({
892
+ * create: {
893
+ * // ... data to create a RegistryFetch
894
+ * },
895
+ * update: {
896
+ * // ... in case it already exists, update
897
+ * },
898
+ * where: {
899
+ * // ... the filter for the RegistryFetch we want to update
900
+ * }
901
+ * })
902
+ */
903
+ upsert<T extends RegistryFetchUpsertArgs>(args: Prisma.SelectSubset<T, RegistryFetchUpsertArgs<ExtArgs>>): Prisma.Prisma__RegistryFetchClient<runtime.Types.Result.GetResult<Prisma.$RegistryFetchPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
904
+ /**
905
+ * Count the number of RegistryFetches.
906
+ * Note, that providing `undefined` is treated as the value not being there.
907
+ * Read more here: https://pris.ly/d/null-undefined
908
+ * @param {RegistryFetchCountArgs} args - Arguments to filter RegistryFetches to count.
909
+ * @example
910
+ * // Count the number of RegistryFetches
911
+ * const count = await prisma.registryFetch.count({
912
+ * where: {
913
+ * // ... the filter for the RegistryFetches we want to count
914
+ * }
915
+ * })
916
+ **/
917
+ count<T extends RegistryFetchCountArgs>(args?: Prisma.Subset<T, RegistryFetchCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RegistryFetchCountAggregateOutputType> : number>;
918
+ /**
919
+ * Allows you to perform aggregations operations on a RegistryFetch.
920
+ * Note, that providing `undefined` is treated as the value not being there.
921
+ * Read more here: https://pris.ly/d/null-undefined
922
+ * @param {RegistryFetchAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
923
+ * @example
924
+ * // Ordered by age ascending
925
+ * // Where email contains prisma.io
926
+ * // Limited to the 10 users
927
+ * const aggregations = await prisma.user.aggregate({
928
+ * _avg: {
929
+ * age: true,
930
+ * },
931
+ * where: {
932
+ * email: {
933
+ * contains: "prisma.io",
934
+ * },
935
+ * },
936
+ * orderBy: {
937
+ * age: "asc",
938
+ * },
939
+ * take: 10,
940
+ * })
941
+ **/
942
+ aggregate<T extends RegistryFetchAggregateArgs>(args: Prisma.Subset<T, RegistryFetchAggregateArgs>): Prisma.PrismaPromise<GetRegistryFetchAggregateType<T>>;
943
+ /**
944
+ * Group by RegistryFetch.
945
+ * Note, that providing `undefined` is treated as the value not being there.
946
+ * Read more here: https://pris.ly/d/null-undefined
947
+ * @param {RegistryFetchGroupByArgs} args - Group by arguments.
948
+ * @example
949
+ * // Group by city, order by createdAt, get count
950
+ * const result = await prisma.user.groupBy({
951
+ * by: ['city', 'createdAt'],
952
+ * orderBy: {
953
+ * createdAt: true
954
+ * },
955
+ * _count: {
956
+ * _all: true
957
+ * },
958
+ * })
959
+ *
960
+ **/
961
+ groupBy<T extends RegistryFetchGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
962
+ orderBy: RegistryFetchGroupByArgs['orderBy'];
963
+ } : {
964
+ orderBy?: RegistryFetchGroupByArgs['orderBy'];
965
+ }, 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 ? {
966
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
967
+ Error,
968
+ 'Field ',
969
+ P,
970
+ ` in "having" needs to be provided in "by"`
971
+ ];
972
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
973
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
974
+ }[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 ? {} : {
975
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
976
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
977
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
978
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, RegistryFetchGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRegistryFetchGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
979
+ /**
980
+ * Fields of the RegistryFetch model
981
+ */
982
+ readonly fields: RegistryFetchFieldRefs;
983
+ }
984
+ /**
985
+ * The delegate class that acts as a "Promise-like" for RegistryFetch.
986
+ * Why is this prefixed with `Prisma__`?
987
+ * Because we want to prevent naming conflicts as mentioned in
988
+ * https://github.com/prisma/prisma-client-js/issues/707
989
+ */
990
+ export interface Prisma__RegistryFetchClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
991
+ readonly [Symbol.toStringTag]: "PrismaPromise";
992
+ run<T extends Prisma.CodingRunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CodingRunDefaultArgs<ExtArgs>>): Prisma.Prisma__CodingRunClient<runtime.Types.Result.GetResult<Prisma.$CodingRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
993
+ /**
994
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
995
+ * @param onfulfilled The callback to execute when the Promise is resolved.
996
+ * @param onrejected The callback to execute when the Promise is rejected.
997
+ * @returns A Promise for the completion of which ever callback is executed.
998
+ */
999
+ 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>;
1000
+ /**
1001
+ * Attaches a callback for only the rejection of the Promise.
1002
+ * @param onrejected The callback to execute when the Promise is rejected.
1003
+ * @returns A Promise for the completion of the callback.
1004
+ */
1005
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1006
+ /**
1007
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1008
+ * resolved value cannot be modified from the callback.
1009
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1010
+ * @returns A Promise for the completion of the callback.
1011
+ */
1012
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1013
+ }
1014
+ /**
1015
+ * Fields of the RegistryFetch model
1016
+ */
1017
+ export interface RegistryFetchFieldRefs {
1018
+ readonly id: Prisma.FieldRef<"RegistryFetch", 'String'>;
1019
+ readonly runId: Prisma.FieldRef<"RegistryFetch", 'String'>;
1020
+ readonly ecosystem: Prisma.FieldRef<"RegistryFetch", 'String'>;
1021
+ readonly name: Prisma.FieldRef<"RegistryFetch", 'String'>;
1022
+ readonly version: Prisma.FieldRef<"RegistryFetch", 'String'>;
1023
+ readonly filename: Prisma.FieldRef<"RegistryFetch", 'String'>;
1024
+ readonly integrity: Prisma.FieldRef<"RegistryFetch", 'String'>;
1025
+ readonly sizeBytes: Prisma.FieldRef<"RegistryFetch", 'Int'>;
1026
+ readonly outcome: Prisma.FieldRef<"RegistryFetch", 'RegistryFetchOutcome'>;
1027
+ readonly reason: Prisma.FieldRef<"RegistryFetch", 'String'>;
1028
+ readonly createdAt: Prisma.FieldRef<"RegistryFetch", 'DateTime'>;
1029
+ }
1030
+ /**
1031
+ * RegistryFetch findUnique
1032
+ */
1033
+ export type RegistryFetchFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1034
+ /**
1035
+ * Select specific fields to fetch from the RegistryFetch
1036
+ */
1037
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1038
+ /**
1039
+ * Omit specific fields from the RegistryFetch
1040
+ */
1041
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1042
+ /**
1043
+ * Choose, which related nodes to fetch as well
1044
+ */
1045
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1046
+ /**
1047
+ * Filter, which RegistryFetch to fetch.
1048
+ */
1049
+ where: Prisma.RegistryFetchWhereUniqueInput;
1050
+ };
1051
+ /**
1052
+ * RegistryFetch findUniqueOrThrow
1053
+ */
1054
+ export type RegistryFetchFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1055
+ /**
1056
+ * Select specific fields to fetch from the RegistryFetch
1057
+ */
1058
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1059
+ /**
1060
+ * Omit specific fields from the RegistryFetch
1061
+ */
1062
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1063
+ /**
1064
+ * Choose, which related nodes to fetch as well
1065
+ */
1066
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1067
+ /**
1068
+ * Filter, which RegistryFetch to fetch.
1069
+ */
1070
+ where: Prisma.RegistryFetchWhereUniqueInput;
1071
+ };
1072
+ /**
1073
+ * RegistryFetch findFirst
1074
+ */
1075
+ export type RegistryFetchFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1076
+ /**
1077
+ * Select specific fields to fetch from the RegistryFetch
1078
+ */
1079
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1080
+ /**
1081
+ * Omit specific fields from the RegistryFetch
1082
+ */
1083
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1084
+ /**
1085
+ * Choose, which related nodes to fetch as well
1086
+ */
1087
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1088
+ /**
1089
+ * Filter, which RegistryFetch to fetch.
1090
+ */
1091
+ where?: Prisma.RegistryFetchWhereInput;
1092
+ /**
1093
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1094
+ *
1095
+ * Determine the order of RegistryFetches to fetch.
1096
+ */
1097
+ orderBy?: Prisma.RegistryFetchOrderByWithRelationInput | Prisma.RegistryFetchOrderByWithRelationInput[];
1098
+ /**
1099
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1100
+ *
1101
+ * Sets the position for searching for RegistryFetches.
1102
+ */
1103
+ cursor?: Prisma.RegistryFetchWhereUniqueInput;
1104
+ /**
1105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1106
+ *
1107
+ * Take `±n` RegistryFetches from the position of the cursor.
1108
+ */
1109
+ take?: number;
1110
+ /**
1111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1112
+ *
1113
+ * Skip the first `n` RegistryFetches.
1114
+ */
1115
+ skip?: number;
1116
+ /**
1117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1118
+ *
1119
+ * Filter by unique combinations of RegistryFetches.
1120
+ */
1121
+ distinct?: Prisma.RegistryFetchScalarFieldEnum | Prisma.RegistryFetchScalarFieldEnum[];
1122
+ };
1123
+ /**
1124
+ * RegistryFetch findFirstOrThrow
1125
+ */
1126
+ export type RegistryFetchFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1127
+ /**
1128
+ * Select specific fields to fetch from the RegistryFetch
1129
+ */
1130
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1131
+ /**
1132
+ * Omit specific fields from the RegistryFetch
1133
+ */
1134
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1135
+ /**
1136
+ * Choose, which related nodes to fetch as well
1137
+ */
1138
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1139
+ /**
1140
+ * Filter, which RegistryFetch to fetch.
1141
+ */
1142
+ where?: Prisma.RegistryFetchWhereInput;
1143
+ /**
1144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1145
+ *
1146
+ * Determine the order of RegistryFetches to fetch.
1147
+ */
1148
+ orderBy?: Prisma.RegistryFetchOrderByWithRelationInput | Prisma.RegistryFetchOrderByWithRelationInput[];
1149
+ /**
1150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1151
+ *
1152
+ * Sets the position for searching for RegistryFetches.
1153
+ */
1154
+ cursor?: Prisma.RegistryFetchWhereUniqueInput;
1155
+ /**
1156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1157
+ *
1158
+ * Take `±n` RegistryFetches from the position of the cursor.
1159
+ */
1160
+ take?: number;
1161
+ /**
1162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1163
+ *
1164
+ * Skip the first `n` RegistryFetches.
1165
+ */
1166
+ skip?: number;
1167
+ /**
1168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1169
+ *
1170
+ * Filter by unique combinations of RegistryFetches.
1171
+ */
1172
+ distinct?: Prisma.RegistryFetchScalarFieldEnum | Prisma.RegistryFetchScalarFieldEnum[];
1173
+ };
1174
+ /**
1175
+ * RegistryFetch findMany
1176
+ */
1177
+ export type RegistryFetchFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1178
+ /**
1179
+ * Select specific fields to fetch from the RegistryFetch
1180
+ */
1181
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1182
+ /**
1183
+ * Omit specific fields from the RegistryFetch
1184
+ */
1185
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1186
+ /**
1187
+ * Choose, which related nodes to fetch as well
1188
+ */
1189
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1190
+ /**
1191
+ * Filter, which RegistryFetches to fetch.
1192
+ */
1193
+ where?: Prisma.RegistryFetchWhereInput;
1194
+ /**
1195
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1196
+ *
1197
+ * Determine the order of RegistryFetches to fetch.
1198
+ */
1199
+ orderBy?: Prisma.RegistryFetchOrderByWithRelationInput | Prisma.RegistryFetchOrderByWithRelationInput[];
1200
+ /**
1201
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1202
+ *
1203
+ * Sets the position for listing RegistryFetches.
1204
+ */
1205
+ cursor?: Prisma.RegistryFetchWhereUniqueInput;
1206
+ /**
1207
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1208
+ *
1209
+ * Take `±n` RegistryFetches from the position of the cursor.
1210
+ */
1211
+ take?: number;
1212
+ /**
1213
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1214
+ *
1215
+ * Skip the first `n` RegistryFetches.
1216
+ */
1217
+ skip?: number;
1218
+ /**
1219
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1220
+ *
1221
+ * Filter by unique combinations of RegistryFetches.
1222
+ */
1223
+ distinct?: Prisma.RegistryFetchScalarFieldEnum | Prisma.RegistryFetchScalarFieldEnum[];
1224
+ };
1225
+ /**
1226
+ * RegistryFetch create
1227
+ */
1228
+ export type RegistryFetchCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1229
+ /**
1230
+ * Select specific fields to fetch from the RegistryFetch
1231
+ */
1232
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1233
+ /**
1234
+ * Omit specific fields from the RegistryFetch
1235
+ */
1236
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1237
+ /**
1238
+ * Choose, which related nodes to fetch as well
1239
+ */
1240
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1241
+ /**
1242
+ * The data needed to create a RegistryFetch.
1243
+ */
1244
+ data: Prisma.XOR<Prisma.RegistryFetchCreateInput, Prisma.RegistryFetchUncheckedCreateInput>;
1245
+ };
1246
+ /**
1247
+ * RegistryFetch createMany
1248
+ */
1249
+ export type RegistryFetchCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1250
+ /**
1251
+ * The data used to create many RegistryFetches.
1252
+ */
1253
+ data: Prisma.RegistryFetchCreateManyInput | Prisma.RegistryFetchCreateManyInput[];
1254
+ skipDuplicates?: boolean;
1255
+ };
1256
+ /**
1257
+ * RegistryFetch createManyAndReturn
1258
+ */
1259
+ export type RegistryFetchCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1260
+ /**
1261
+ * Select specific fields to fetch from the RegistryFetch
1262
+ */
1263
+ select?: Prisma.RegistryFetchSelectCreateManyAndReturn<ExtArgs> | null;
1264
+ /**
1265
+ * Omit specific fields from the RegistryFetch
1266
+ */
1267
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1268
+ /**
1269
+ * The data used to create many RegistryFetches.
1270
+ */
1271
+ data: Prisma.RegistryFetchCreateManyInput | Prisma.RegistryFetchCreateManyInput[];
1272
+ skipDuplicates?: boolean;
1273
+ /**
1274
+ * Choose, which related nodes to fetch as well
1275
+ */
1276
+ include?: Prisma.RegistryFetchIncludeCreateManyAndReturn<ExtArgs> | null;
1277
+ };
1278
+ /**
1279
+ * RegistryFetch update
1280
+ */
1281
+ export type RegistryFetchUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1282
+ /**
1283
+ * Select specific fields to fetch from the RegistryFetch
1284
+ */
1285
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1286
+ /**
1287
+ * Omit specific fields from the RegistryFetch
1288
+ */
1289
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1290
+ /**
1291
+ * Choose, which related nodes to fetch as well
1292
+ */
1293
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1294
+ /**
1295
+ * The data needed to update a RegistryFetch.
1296
+ */
1297
+ data: Prisma.XOR<Prisma.RegistryFetchUpdateInput, Prisma.RegistryFetchUncheckedUpdateInput>;
1298
+ /**
1299
+ * Choose, which RegistryFetch to update.
1300
+ */
1301
+ where: Prisma.RegistryFetchWhereUniqueInput;
1302
+ };
1303
+ /**
1304
+ * RegistryFetch updateMany
1305
+ */
1306
+ export type RegistryFetchUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1307
+ /**
1308
+ * The data used to update RegistryFetches.
1309
+ */
1310
+ data: Prisma.XOR<Prisma.RegistryFetchUpdateManyMutationInput, Prisma.RegistryFetchUncheckedUpdateManyInput>;
1311
+ /**
1312
+ * Filter which RegistryFetches to update
1313
+ */
1314
+ where?: Prisma.RegistryFetchWhereInput;
1315
+ /**
1316
+ * Limit how many RegistryFetches to update.
1317
+ */
1318
+ limit?: number;
1319
+ };
1320
+ /**
1321
+ * RegistryFetch updateManyAndReturn
1322
+ */
1323
+ export type RegistryFetchUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1324
+ /**
1325
+ * Select specific fields to fetch from the RegistryFetch
1326
+ */
1327
+ select?: Prisma.RegistryFetchSelectUpdateManyAndReturn<ExtArgs> | null;
1328
+ /**
1329
+ * Omit specific fields from the RegistryFetch
1330
+ */
1331
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1332
+ /**
1333
+ * The data used to update RegistryFetches.
1334
+ */
1335
+ data: Prisma.XOR<Prisma.RegistryFetchUpdateManyMutationInput, Prisma.RegistryFetchUncheckedUpdateManyInput>;
1336
+ /**
1337
+ * Filter which RegistryFetches to update
1338
+ */
1339
+ where?: Prisma.RegistryFetchWhereInput;
1340
+ /**
1341
+ * Limit how many RegistryFetches to update.
1342
+ */
1343
+ limit?: number;
1344
+ /**
1345
+ * Choose, which related nodes to fetch as well
1346
+ */
1347
+ include?: Prisma.RegistryFetchIncludeUpdateManyAndReturn<ExtArgs> | null;
1348
+ };
1349
+ /**
1350
+ * RegistryFetch upsert
1351
+ */
1352
+ export type RegistryFetchUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1353
+ /**
1354
+ * Select specific fields to fetch from the RegistryFetch
1355
+ */
1356
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1357
+ /**
1358
+ * Omit specific fields from the RegistryFetch
1359
+ */
1360
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1361
+ /**
1362
+ * Choose, which related nodes to fetch as well
1363
+ */
1364
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1365
+ /**
1366
+ * The filter to search for the RegistryFetch to update in case it exists.
1367
+ */
1368
+ where: Prisma.RegistryFetchWhereUniqueInput;
1369
+ /**
1370
+ * In case the RegistryFetch found by the `where` argument doesn't exist, create a new RegistryFetch with this data.
1371
+ */
1372
+ create: Prisma.XOR<Prisma.RegistryFetchCreateInput, Prisma.RegistryFetchUncheckedCreateInput>;
1373
+ /**
1374
+ * In case the RegistryFetch was found with the provided `where` argument, update it with this data.
1375
+ */
1376
+ update: Prisma.XOR<Prisma.RegistryFetchUpdateInput, Prisma.RegistryFetchUncheckedUpdateInput>;
1377
+ };
1378
+ /**
1379
+ * RegistryFetch delete
1380
+ */
1381
+ export type RegistryFetchDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1382
+ /**
1383
+ * Select specific fields to fetch from the RegistryFetch
1384
+ */
1385
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1386
+ /**
1387
+ * Omit specific fields from the RegistryFetch
1388
+ */
1389
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1390
+ /**
1391
+ * Choose, which related nodes to fetch as well
1392
+ */
1393
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1394
+ /**
1395
+ * Filter which RegistryFetch to delete.
1396
+ */
1397
+ where: Prisma.RegistryFetchWhereUniqueInput;
1398
+ };
1399
+ /**
1400
+ * RegistryFetch deleteMany
1401
+ */
1402
+ export type RegistryFetchDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1403
+ /**
1404
+ * Filter which RegistryFetches to delete
1405
+ */
1406
+ where?: Prisma.RegistryFetchWhereInput;
1407
+ /**
1408
+ * Limit how many RegistryFetches to delete.
1409
+ */
1410
+ limit?: number;
1411
+ };
1412
+ /**
1413
+ * RegistryFetch without action
1414
+ */
1415
+ export type RegistryFetchDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1416
+ /**
1417
+ * Select specific fields to fetch from the RegistryFetch
1418
+ */
1419
+ select?: Prisma.RegistryFetchSelect<ExtArgs> | null;
1420
+ /**
1421
+ * Omit specific fields from the RegistryFetch
1422
+ */
1423
+ omit?: Prisma.RegistryFetchOmit<ExtArgs> | null;
1424
+ /**
1425
+ * Choose, which related nodes to fetch as well
1426
+ */
1427
+ include?: Prisma.RegistryFetchInclude<ExtArgs> | null;
1428
+ };