@ref0/git 0.14.0 → 0.20.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 (351) hide show
  1. package/dist/auth/access-jwt.mjs +2 -2
  2. package/dist/auth/authorize.mjs +3 -3
  3. package/dist/auth/fences.d.mts +1 -2
  4. package/dist/auth/fences.mjs +3 -3
  5. package/dist/auth/grants.mjs +4 -4
  6. package/dist/auth/host-function.mjs +18 -1
  7. package/dist/auth/identify.d.mts +1 -1
  8. package/dist/auth/identify.mjs +3 -3
  9. package/dist/auth/token-cleanup.mjs +67 -0
  10. package/dist/auth/token-rows.mjs +1 -1
  11. package/dist/auth/token-text.mjs +9 -1
  12. package/dist/auth/tokens-base.d.mts +35 -0
  13. package/dist/auth/tokens-base.mjs +13 -0
  14. package/dist/auth/tokens-layer.d.mts +2 -27
  15. package/dist/auth/tokens-layer.mjs +6 -11
  16. package/dist/auth/tokens-public.d.mts +3 -3
  17. package/dist/auth/tokens.d.mts +7 -10
  18. package/dist/auth/tokens.mjs +9 -80
  19. package/dist/client/answer.mjs +21 -42
  20. package/dist/client/client.d.mts +2 -4
  21. package/dist/client/git-http.mjs +17 -7
  22. package/dist/client/local.mjs +14 -13
  23. package/dist/client/push-upload.mjs +9 -8
  24. package/dist/client/remote.mjs +8 -10
  25. package/dist/client/run-remote-helper.d.mts +1 -0
  26. package/dist/client/run-remote-helper.mjs +58 -24
  27. package/dist/client/slice-push.d.mts +1 -1
  28. package/dist/client/transport.mjs +105 -46
  29. package/dist/contracts/blobs.d.mts +55 -8
  30. package/dist/contracts/blobs.mjs +16 -2
  31. package/dist/contracts/call-allowance.d.mts +13 -0
  32. package/dist/contracts/call-allowance.mjs +44 -0
  33. package/dist/contracts/calls-spent.mjs +8 -3
  34. package/dist/contracts/client.d.mts +15 -16
  35. package/dist/contracts/commits.d.mts +24 -24
  36. package/dist/contracts/engine.d.mts +6 -1
  37. package/dist/contracts/engine.mjs +10 -1
  38. package/dist/contracts/files.d.mts +10 -10
  39. package/dist/contracts/forks.d.mts +17 -17
  40. package/dist/contracts/git-events.d.mts +29 -1
  41. package/dist/contracts/git-hooks.d.mts +1 -1
  42. package/dist/contracts/git.d.mts +21 -0
  43. package/dist/contracts/grants.d.mts +24 -4
  44. package/dist/contracts/handlers.d.mts +1 -1
  45. package/dist/contracts/lfs.d.mts +28 -2
  46. package/dist/contracts/merges.d.mts +3 -2
  47. package/dist/contracts/objects.d.mts +23 -25
  48. package/dist/contracts/queue.d.mts +40 -12
  49. package/dist/contracts/queue.mjs +3 -4
  50. package/dist/contracts/refs.d.mts +26 -23
  51. package/dist/contracts/remote.d.mts +6 -7
  52. package/dist/contracts/remote.mjs +4 -1
  53. package/dist/contracts/repos.d.mts +29 -138
  54. package/dist/contracts/repos.mjs +5 -3
  55. package/dist/contracts/result.d.mts +35 -16
  56. package/dist/contracts/result.mjs +35 -7
  57. package/dist/contracts/server.d.mts +25 -50
  58. package/dist/contracts/services.d.mts +1 -1
  59. package/dist/contracts/store.d.mts +6 -5
  60. package/dist/contracts/sync.d.mts +11 -7
  61. package/dist/contracts/sync.mjs +12 -2
  62. package/dist/contracts/tags.d.mts +10 -10
  63. package/dist/contracts/time.d.mts +3 -0
  64. package/dist/contracts/{promises.mjs → time.mjs} +1 -1
  65. package/dist/contracts/tokens.d.mts +15 -17
  66. package/dist/contracts/tokens.mjs +3 -2
  67. package/dist/contracts/topics.d.mts +1 -1
  68. package/dist/contracts/trees.d.mts +12 -12
  69. package/dist/contracts/work.d.mts +24 -13
  70. package/dist/core/access.d.mts +1 -2
  71. package/dist/core/access.mjs +20 -9
  72. package/dist/core/ancestry.d.mts +1 -0
  73. package/dist/core/asked.mjs +1 -1
  74. package/dist/core/call-names.mjs +6 -1
  75. package/dist/core/call-services.mjs +11 -3
  76. package/dist/core/events/deliver.d.mts +1 -2
  77. package/dist/core/events/deliver.mjs +43 -36
  78. package/dist/core/events/retired.mjs +119 -0
  79. package/dist/core/forks.mjs +928 -432
  80. package/dist/core/hooks/groups.mjs +1 -1
  81. package/dist/core/imports.mjs +29 -23
  82. package/dist/core/index-job.mjs +122 -34
  83. package/dist/core/index-lost.d.mts +1 -2
  84. package/dist/core/index-lost.mjs +2 -2
  85. package/dist/core/loose-tally.mjs +1 -1
  86. package/dist/core/objects/blobs.mjs +129 -3
  87. package/dist/core/objects/lines.mjs +2 -2
  88. package/dist/core/objects/merges.mjs +4 -1
  89. package/dist/core/objects/objects-layer.d.mts +1 -1
  90. package/dist/core/objects/objects-layer.mjs +3 -3
  91. package/dist/core/objects/reading.mjs +24 -13
  92. package/dist/core/objects/tags.mjs +4 -1
  93. package/dist/core/objects/trees.mjs +2 -2
  94. package/dist/core/objects/writing.mjs +2 -2
  95. package/dist/core/own-writes.mjs +1 -1
  96. package/dist/core/parts.d.mts +4 -5
  97. package/dist/core/parts.mjs +3 -8
  98. package/dist/core/promise.mjs +9 -12
  99. package/dist/core/purge.mjs +287 -83
  100. package/dist/core/push-decide.mjs +2 -0
  101. package/dist/core/push-files.d.mts +1 -1
  102. package/dist/core/push.mjs +58 -47
  103. package/dist/core/receipts.mjs +8 -3
  104. package/dist/core/ref-index-job.mjs +4 -4
  105. package/dist/core/ref-view.mjs +2 -2
  106. package/dist/core/refs.mjs +5 -5
  107. package/dist/core/registered-rows.mjs +2 -2
  108. package/dist/core/repack.mjs +36 -21
  109. package/dist/core/repo-info.mjs +3 -3
  110. package/dist/core/repos.mjs +21 -9
  111. package/dist/core/rules/commit-changes.d.mts +0 -1
  112. package/dist/core/saved-caller-views.d.mts +7 -2
  113. package/dist/core/saved-caller-views.mjs +2 -2
  114. package/dist/core/saved-callers.d.mts +19 -2
  115. package/dist/core/seam.d.mts +16 -26
  116. package/dist/core/seam.mjs +7 -28
  117. package/dist/core/tokens.mjs +1 -1
  118. package/dist/core/view.mjs +7 -15
  119. package/dist/core/work.mjs +59 -14
  120. package/dist/effect.d.mts +3 -12
  121. package/dist/effect.mjs +1 -10
  122. package/dist/engine/failures.mjs +2 -1
  123. package/dist/engine/reads.mjs +4 -4
  124. package/dist/event-streams/stream.d.mts +2 -2
  125. package/dist/event-streams/stream.mjs +37 -14
  126. package/dist/extend.d.mts +2 -3
  127. package/dist/extend.mjs +2 -1
  128. package/dist/http/answers.mjs +8 -5
  129. package/dist/http/core-parts.mjs +95 -79
  130. package/dist/http/handler.mjs +34 -7
  131. package/dist/http/node.d.mts +14 -1
  132. package/dist/http/node.mjs +56 -27
  133. package/dist/http/parts.d.mts +1 -0
  134. package/dist/http/push-upload-job.mjs +30 -26
  135. package/dist/http/push-uploads.mjs +36 -21
  136. package/dist/http/upload-pack.mjs +3 -3
  137. package/dist/index.d.mts +14 -14
  138. package/dist/index.mjs +2 -2
  139. package/dist/lfs/answer.mjs +37 -0
  140. package/dist/lfs/base.d.mts +2 -0
  141. package/dist/lfs/base.mjs +25 -1
  142. package/dist/lfs/copy.d.mts +21 -7
  143. package/dist/lfs/copy.mjs +89 -6
  144. package/dist/lfs/layer.d.mts +15 -1
  145. package/dist/lfs/layer.mjs +24 -11
  146. package/dist/lfs/locks.mjs +2 -2
  147. package/dist/lfs/objects.d.mts +1 -0
  148. package/dist/lfs/objects.mjs +87 -17
  149. package/dist/lfs/pointers.mjs +2 -2
  150. package/dist/lfs/rows.mjs +42 -8
  151. package/dist/lfs/upkeep.mjs +48 -14
  152. package/dist/lfs/wire.mjs +6 -31
  153. package/dist/merges/merges.mjs +2 -2
  154. package/dist/node.d.mts +2 -2
  155. package/dist/protocol/bytes/buffers.mjs +13 -5
  156. package/dist/protocol/bytes/reader.mjs +6 -1
  157. package/dist/protocol/bytes/streams.mjs +27 -1
  158. package/dist/protocol/diff/read.d.mts +4 -3
  159. package/dist/protocol/diff/read.mjs +8 -3
  160. package/dist/protocol/objects/lfs-pointer.d.mts +14 -2
  161. package/dist/protocol/objects/lfs-pointer.mjs +1 -3
  162. package/dist/protocol/objects/links-raw.mjs +24 -10
  163. package/dist/protocol/objects/tag.d.mts +1 -1
  164. package/dist/protocol/objects/tree.mjs +23 -6
  165. package/dist/protocol/packs/delta.d.mts +6 -3
  166. package/dist/protocol/packs/delta.mjs +96 -32
  167. package/dist/protocol/packs/idx.d.mts +2 -1
  168. package/dist/protocol/packs/idx.mjs +22 -3
  169. package/dist/protocol/packs/parts.d.mts +4 -1
  170. package/dist/protocol/packs/parts.mjs +10 -7
  171. package/dist/protocol/packs/reader.d.mts +5 -0
  172. package/dist/protocol/packs/reader.mjs +3 -2
  173. package/dist/protocol/packs/writer.mjs +26 -8
  174. package/dist/queue/advance.mjs +21 -24
  175. package/dist/queue/base.d.mts +55 -0
  176. package/dist/queue/base.mjs +44 -0
  177. package/dist/queue/calls.mjs +51 -54
  178. package/dist/queue/commit.mjs +1 -1
  179. package/dist/queue/host.d.mts +1 -15
  180. package/dist/queue/host.mjs +2 -7
  181. package/dist/queue/layer.d.mts +2 -1
  182. package/dist/queue/layer.mjs +10 -3
  183. package/dist/queue/limits.mjs +2 -0
  184. package/dist/queue/push-option.mjs +9 -24
  185. package/dist/queue/schedule.mjs +1 -1
  186. package/dist/queue/state.mjs +2 -10
  187. package/dist/queue/trim.mjs +5 -3
  188. package/dist/rest/blobs.mjs +29 -5
  189. package/dist/rest/caller.d.mts +4 -4271
  190. package/dist/rest/caller.mjs +4 -0
  191. package/dist/rest/client.d.mts +8 -5
  192. package/dist/rest/client.mjs +19 -2
  193. package/dist/rest/handlers.mjs +50 -5
  194. package/dist/rest/layer.d.mts +2 -2
  195. package/dist/rest/layer.mjs +5 -12
  196. package/dist/rest/me.d.mts +3 -432
  197. package/dist/server/check-fetch.mjs +3 -3
  198. package/dist/server/edge-node.d.mts +11 -8
  199. package/dist/server/edge-node.mjs +9 -6
  200. package/dist/server/edge.d.mts +21 -7
  201. package/dist/server/edge.mjs +32 -11
  202. package/dist/server/extension.mjs +1 -1
  203. package/dist/server/git-layer.d.mts +5 -5
  204. package/dist/server/git-layer.mjs +28 -22
  205. package/dist/server/git-namespace.d.mts +4 -3
  206. package/dist/server/git-namespace.mjs +3 -2
  207. package/dist/server/joined.d.mts +6 -18
  208. package/dist/server/joined.mjs +9 -36
  209. package/dist/server/lifecycle.mjs +18 -106
  210. package/dist/server/registry.mjs +24 -7
  211. package/dist/server/server.mjs +205 -346
  212. package/dist/signin/context.d.mts +1 -2
  213. package/dist/signin/layer.d.mts +1 -1
  214. package/dist/signin/layer.mjs +1 -1
  215. package/dist/storage/allotted.mjs +18 -3
  216. package/dist/storage/batch-upkeep.mjs +274 -0
  217. package/dist/storage/batches.d.mts +8 -0
  218. package/dist/storage/batches.mjs +344 -0
  219. package/dist/storage/calls.d.mts +1 -2
  220. package/dist/storage/calls.mjs +144 -158
  221. package/dist/storage/chunks.d.mts +9 -0
  222. package/dist/storage/chunks.mjs +297 -0
  223. package/dist/storage/clean-up.mjs +72 -9
  224. package/dist/storage/counted-bucket.mjs +4 -4
  225. package/dist/storage/fetch.d.mts +1 -0
  226. package/dist/storage/fetch.mjs +287 -210
  227. package/dist/storage/host-bucket.mjs +1 -2
  228. package/dist/storage/id-mix.mjs +19 -5
  229. package/dist/storage/index-bitmaps.mjs +9 -2
  230. package/dist/storage/index-build.d.mts +0 -1
  231. package/dist/storage/index-build.mjs +80 -23
  232. package/dist/storage/index-fetch.mjs +113 -72
  233. package/dist/storage/index-files.d.mts +3 -0
  234. package/dist/storage/index-files.mjs +10 -5
  235. package/dist/storage/index-graph.mjs +72 -22
  236. package/dist/storage/index-remap.mjs +200 -64
  237. package/dist/storage/index-whole.mjs +127 -0
  238. package/dist/storage/largest-files.mjs +1 -1
  239. package/dist/storage/layout.mjs +23 -0
  240. package/dist/storage/loose.d.mts +7 -4
  241. package/dist/storage/loose.mjs +212 -67
  242. package/dist/storage/memory-budget.mjs +16 -4
  243. package/dist/storage/merge-plan.mjs +3 -2
  244. package/dist/storage/merge-row.mjs +7 -1
  245. package/dist/storage/merge-stream.mjs +164 -25
  246. package/dist/storage/merge-walk.mjs +8 -4
  247. package/dist/storage/merge-write.mjs +1 -1
  248. package/dist/storage/merge.d.mts +1 -1
  249. package/dist/storage/merge.mjs +1 -1
  250. package/dist/storage/object-rows.d.mts +1 -0
  251. package/dist/storage/object-rows.mjs +385 -65
  252. package/dist/storage/oid-table.mjs +171 -0
  253. package/dist/storage/pack-order.mjs +8 -4
  254. package/dist/storage/pack-ranges.d.mts +1 -2
  255. package/dist/storage/pack-ranges.mjs +4 -5
  256. package/dist/storage/pack-reads.d.mts +2 -1
  257. package/dist/storage/pack-reads.mjs +158 -42
  258. package/dist/storage/pack-receive.d.mts +1 -1
  259. package/dist/storage/pack-receive.mjs +2 -2
  260. package/dist/storage/packs.d.mts +1 -1
  261. package/dist/storage/packs.mjs +136 -66
  262. package/dist/storage/placed-reads.mjs +1 -1
  263. package/dist/storage/plan-columns.d.mts +4 -0
  264. package/dist/storage/plan-columns.mjs +238 -0
  265. package/dist/storage/prune-keep.mjs +134 -41
  266. package/dist/storage/prune-walk.mjs +202 -62
  267. package/dist/storage/prune.mjs +194 -91
  268. package/dist/storage/push-allotment.mjs +91 -12
  269. package/dist/storage/push-uploads.mjs +4 -4
  270. package/dist/storage/pushed-commits.mjs +4 -2
  271. package/dist/storage/quarantine.d.mts +1 -1
  272. package/dist/storage/range-cache.mjs +125 -8
  273. package/dist/storage/ready.d.mts +1 -1
  274. package/dist/storage/ready.mjs +8 -6
  275. package/dist/storage/receive-bounds.mjs +23 -8
  276. package/dist/storage/repack-backlog.mjs +6 -3
  277. package/dist/storage/repack.d.mts +1 -1
  278. package/dist/storage/rows.d.mts +1 -1
  279. package/dist/storage/rows.mjs +1 -1
  280. package/dist/storage/runs.mjs +195 -43
  281. package/dist/storage/send-list.d.mts +1 -0
  282. package/dist/storage/send-list.mjs +54 -10
  283. package/dist/storage/single-flight.mjs +13 -7
  284. package/dist/storage/stream-whole.mjs +127 -26
  285. package/dist/storage/unpack.mjs +371 -79
  286. package/dist/storage/visible.mjs +2 -2
  287. package/dist/storage/walk.mjs +192 -38
  288. package/dist/storage/wants.mjs +5 -5
  289. package/dist/store/bodies.mjs +38 -0
  290. package/dist/store/call-count.d.mts +8 -12
  291. package/dist/store/call-count.mjs +34 -46
  292. package/dist/store/catalogue.d.mts +2 -2
  293. package/dist/store/catalogue.mjs +145 -35
  294. package/dist/store/crossing.mjs +1 -3
  295. package/dist/store/cursor-seal.d.mts +1 -2
  296. package/dist/store/cursor-seal.mjs +16 -6
  297. package/dist/store/door.mjs +183 -0
  298. package/dist/store/errors.d.mts +3 -4
  299. package/dist/store/errors.mjs +15 -33
  300. package/dist/store/git-store.mjs +25 -7
  301. package/dist/store/job-try.mjs +9 -32
  302. package/dist/store/list-job.mjs +44 -8
  303. package/dist/store/records.d.mts +3 -0
  304. package/dist/store/records.mjs +3 -0
  305. package/dist/store/repo-record.d.mts +1 -2
  306. package/dist/store/repo-record.mjs +32 -20
  307. package/dist/store/reservations.mjs +1 -1
  308. package/dist/store/scopes.mjs +11 -0
  309. package/dist/store/settle.mjs +4 -4
  310. package/dist/sync/github.mjs +3 -3
  311. package/dist/sync/import.mjs +31 -18
  312. package/dist/sync/lfs-batch.mjs +4 -5
  313. package/dist/sync/lfs-copy.mjs +17 -6
  314. package/dist/sync/mirror.mjs +34 -31
  315. package/dist/sync/said.mjs +16 -37
  316. package/dist/sync/step.mjs +33 -25
  317. package/dist/sync/tries.mjs +9 -9
  318. package/dist/topics/advance.mjs +10 -11
  319. package/dist/topics/base.d.mts +15 -0
  320. package/dist/topics/base.mjs +8 -0
  321. package/dist/topics/host.mjs +1 -1
  322. package/dist/topics/layer.d.mts +4 -9
  323. package/dist/topics/layer.mjs +2 -3
  324. package/dist/topics/members.mjs +4 -4
  325. package/dist/topics/public.d.mts +2 -1
  326. package/dist/topics/topic.mjs +2 -2
  327. package/package.json +5 -4
  328. package/dist/contracts/promises.d.mts +0 -39
  329. package/dist/core/call-names.d.mts +0 -3
  330. package/dist/core/clock.mjs +0 -18
  331. package/dist/lfs/calls.mjs +0 -26
  332. package/dist/rest/api.d.mts +0 -23
  333. package/dist/rest/blobs.d.mts +0 -833
  334. package/dist/rest/commits.d.mts +0 -3543
  335. package/dist/rest/errors.d.mts +0 -2124
  336. package/dist/rest/events.d.mts +0 -426
  337. package/dist/rest/files.d.mts +0 -1342
  338. package/dist/rest/forks.d.mts +0 -2160
  339. package/dist/rest/handlers.d.mts +0 -8
  340. package/dist/rest/merges.d.mts +0 -477
  341. package/dist/rest/queue.d.mts +0 -5917
  342. package/dist/rest/refs.d.mts +0 -2988
  343. package/dist/rest/repos.d.mts +0 -2567
  344. package/dist/rest/tags.d.mts +0 -1316
  345. package/dist/rest/tokens.d.mts +0 -2614
  346. package/dist/rest/topics.d.mts +0 -2224
  347. package/dist/rest/trees.d.mts +0 -1709
  348. package/dist/rest/work.d.mts +0 -1695
  349. package/dist/server/lifecycle.d.mts +0 -2
  350. package/dist/store/promises.d.mts +0 -11
  351. package/dist/store/promises.mjs +0 -327
@@ -1,4271 +1,4 @@
1
- import { Caller } from "../contracts/actors.mjs";
2
- import { GitError } from "../contracts/result.mjs";
3
- import { ServerCalls } from "../contracts/server.mjs";
4
- import { EffectCalls } from "../contracts/services.mjs";
5
- import { Listen, SeamAuthorizeInput } from "../core/seam.mjs";
6
- import * as Effect from "effect/Effect";
7
- import * as Context from "effect/Context";
8
- import { HttpApiMiddleware } from "effect/http-api";
9
- /**
10
- * What REST needs of a server beyond its calls: `<base>`, who a request is, and `authorize` for
11
- * the calls that trust host code. `Rest.layer` builds it from the server, and the server
12
- * provides it to a host that mounts `GitRestHandlers` itself.
13
- */
14
- export interface RestServerSeam {
15
- readonly basePath: string;
16
- readonly identify: (request: Request) => Effect.Effect<Caller, GitError>;
17
- /** The server's calls, each deciding for `caller`: its token's scope or grant caps it. */
18
- readonly callsFor: (caller: Caller) => EffectCalls<ServerCalls>;
19
- /** Whether Git's own tokens are on now, which the tokens URLs ask before anything else. */
20
- readonly tokensOn: Effect.Effect<boolean, GitError>;
21
- readonly authorize: (input: SeamAuthorizeInput) => Effect.Effect<void, GitError>;
22
- /** A repo's events for `caller`, after `after` or from the oldest the server keeps. */
23
- readonly listen: Listen;
24
- }
25
- declare const GitRestServices_base: Context.ServiceClass<GitRestServices, "@ref0/git/GitRestServices", RestServerSeam>;
26
- export declare class GitRestServices extends /* @__PURE__ */ GitRestServices_base {}
27
- declare const GitCallerMiddleware_base: HttpApiMiddleware.ServiceClass<GitCallerMiddleware, "@ref0/git/GitCallerMiddleware", {
28
- requires: GitRestServices;
29
- provides: Caller<unknown>;
30
- error: readonly [import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
31
- readonly code: "ALREADY_EXISTS";
32
- readonly message: string;
33
- readonly hint?: string;
34
- readonly context?: {
35
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
36
- readonly reason?: string;
37
- readonly verdict?: "fail" | "pass";
38
- };
39
- } | {
40
- readonly code: "DATA_LOSS";
41
- readonly message: string;
42
- readonly hint?: string;
43
- readonly context?: {
44
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
45
- readonly reason?: string;
46
- };
47
- } | {
48
- readonly code: "DEADLINE_EXCEEDED";
49
- readonly message: string;
50
- readonly hint?: string;
51
- readonly context?: {
52
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
53
- readonly id?: string;
54
- };
55
- } | {
56
- readonly code: "FAILED_PRECONDITION";
57
- readonly message: string;
58
- readonly hint?: string;
59
- readonly context?: {
60
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
61
- readonly reason?: string;
62
- readonly importState?: "cancelled" | "failed" | "running";
63
- readonly attribute?: string;
64
- readonly paths?: string[];
65
- readonly total?: number;
66
- readonly tip?: string;
67
- };
68
- } | {
69
- readonly code: "INTERNAL";
70
- readonly message: string;
71
- readonly hint?: string;
72
- readonly context?: {
73
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
74
- };
75
- } | {
76
- readonly code: "INVALID_ARGUMENT";
77
- readonly message: string;
78
- readonly hint?: string;
79
- readonly context?: {
80
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
81
- readonly reason?: string;
82
- readonly msgId?: string;
83
- readonly most?: number;
84
- readonly given?: number;
85
- };
86
- } | {
87
- readonly code: "NOT_ALLOWED";
88
- readonly message: string;
89
- readonly hint?: string;
90
- readonly context?: {
91
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
92
- readonly reason?: string;
93
- readonly entries?: string[];
94
- readonly paths?: string[];
95
- readonly total?: number;
96
- };
97
- } | {
98
- readonly code: "NOT_FOUND";
99
- readonly message: string;
100
- readonly hint?: string;
101
- readonly context?: {
102
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
103
- readonly reason?: string;
104
- readonly target?: string;
105
- };
106
- } | {
107
- readonly code: "RESOURCE_EXHAUSTED";
108
- readonly message: string;
109
- readonly hint?: string;
110
- readonly context?: {
111
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
112
- readonly reason?: string;
113
- readonly indexBytes?: number;
114
- readonly pushBytes?: number;
115
- readonly most?: number;
116
- };
117
- } | {
118
- readonly code: "UNAUTHENTICATED";
119
- readonly message: string;
120
- readonly hint?: string;
121
- readonly context?: {
122
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
123
- };
124
- } | {
125
- readonly code: "UNAVAILABLE";
126
- readonly message: string;
127
- readonly hint?: string;
128
- readonly context?: {
129
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
130
- readonly id?: string;
131
- readonly reason?: string;
132
- readonly packs?: number;
133
- readonly most?: number;
134
- readonly retryAfter?: number;
135
- };
136
- }, unknown, never, never>, import("effect/Schema").Codec<{
137
- readonly code: "ALREADY_EXISTS";
138
- readonly message: string;
139
- readonly hint?: string;
140
- readonly context?: {
141
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
142
- readonly reason?: string;
143
- readonly verdict?: "fail" | "pass";
144
- };
145
- } | {
146
- readonly code: "DATA_LOSS";
147
- readonly message: string;
148
- readonly hint?: string;
149
- readonly context?: {
150
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
151
- readonly reason?: string;
152
- };
153
- } | {
154
- readonly code: "DEADLINE_EXCEEDED";
155
- readonly message: string;
156
- readonly hint?: string;
157
- readonly context?: {
158
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
159
- readonly id?: string;
160
- };
161
- } | {
162
- readonly code: "FAILED_PRECONDITION";
163
- readonly message: string;
164
- readonly hint?: string;
165
- readonly context?: {
166
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
167
- readonly reason?: string;
168
- readonly importState?: "cancelled" | "failed" | "running";
169
- readonly attribute?: string;
170
- readonly paths?: string[];
171
- readonly total?: number;
172
- readonly tip?: string;
173
- };
174
- } | {
175
- readonly code: "INTERNAL";
176
- readonly message: string;
177
- readonly hint?: string;
178
- readonly context?: {
179
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
180
- };
181
- } | {
182
- readonly code: "INVALID_ARGUMENT";
183
- readonly message: string;
184
- readonly hint?: string;
185
- readonly context?: {
186
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
187
- readonly reason?: string;
188
- readonly msgId?: string;
189
- readonly most?: number;
190
- readonly given?: number;
191
- };
192
- } | {
193
- readonly code: "NOT_ALLOWED";
194
- readonly message: string;
195
- readonly hint?: string;
196
- readonly context?: {
197
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
198
- readonly reason?: string;
199
- readonly entries?: string[];
200
- readonly paths?: string[];
201
- readonly total?: number;
202
- };
203
- } | {
204
- readonly code: "NOT_FOUND";
205
- readonly message: string;
206
- readonly hint?: string;
207
- readonly context?: {
208
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
209
- readonly reason?: string;
210
- readonly target?: string;
211
- };
212
- } | {
213
- readonly code: "RESOURCE_EXHAUSTED";
214
- readonly message: string;
215
- readonly hint?: string;
216
- readonly context?: {
217
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
218
- readonly reason?: string;
219
- readonly indexBytes?: number;
220
- readonly pushBytes?: number;
221
- readonly most?: number;
222
- };
223
- } | {
224
- readonly code: "UNAUTHENTICATED";
225
- readonly message: string;
226
- readonly hint?: string;
227
- readonly context?: {
228
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
229
- };
230
- } | {
231
- readonly code: "UNAVAILABLE";
232
- readonly message: string;
233
- readonly hint?: string;
234
- readonly context?: {
235
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
236
- readonly id?: string;
237
- readonly reason?: string;
238
- readonly packs?: number;
239
- readonly most?: number;
240
- readonly retryAfter?: number;
241
- };
242
- }, unknown, never, never>, {
243
- "ref0-code": import("effect/Schema").String;
244
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Struct<{
245
- readonly code: import("effect/Schema").Literal<"ALREADY_EXISTS">;
246
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
247
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
248
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
249
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["key-reused"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
250
- verdict: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["pass", "fail"]>>;
251
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
252
- }> | import("effect/Schema").Struct<{
253
- readonly code: import("effect/Schema").Literal<"DATA_LOSS">;
254
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
255
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
256
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
257
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["event-version", "graph-length", "merge-incomplete"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
258
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
259
- }> | import("effect/Schema").Struct<{
260
- readonly code: import("effect/Schema").Literal<"DEADLINE_EXCEEDED">;
261
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
262
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
263
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
264
- id: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
265
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
266
- }> | import("effect/Schema").Struct<{
267
- readonly code: import("effect/Schema").Literal<"FAILED_PRECONDITION">;
268
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
269
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
270
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
271
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["cursor-expired", "diverged", "merge-conflict", "candidate-superseded", "candidate-cancelled", "entry-gone", "ref-conflict", "newer-format", "changed-while-checked", "unsupported-attribute", "unrelated-histories", "unsupported-virtual-base", "own-repo", "not-a-fork", "no-copy-rows", "shallow-root", "shallow-upload", "import-cancelled", "importing", "history-not-imported", "stage-gone", "remote-refused", "atomic-partner", "merges-off", "no-releases"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
272
- importState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["running", "cancelled", "failed"]>>;
273
- attribute: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
274
- paths: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
275
- total: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
276
- tip: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
277
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
278
- }> | import("effect/Schema").Struct<{
279
- readonly code: import("effect/Schema").Literal<"INTERNAL">;
280
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
281
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
282
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
283
- }> | import("effect/Schema").Struct<{
284
- readonly code: import("effect/Schema").Literal<"INVALID_ARGUMENT">;
285
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
286
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
287
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
288
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["ofs-delta", "fsck", "provider-unknown", "body-ended", "link-wrong-type", "tag-target-missing", "object-missing", "boundary-not-in-pack", "too-many-short-ids", "too-many-parents"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
289
- msgId: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
290
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
291
- given: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
292
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
293
- }> | import("effect/Schema").Struct<{
294
- readonly code: import("effect/Schema").Literal<"NOT_ALLOWED">;
295
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
296
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
297
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
298
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["files-refused", "entry-unpublishable", "fetch-depth-unsupported"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
299
- entries: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
300
- paths: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
301
- total: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
302
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
303
- }> | import("effect/Schema").Struct<{
304
- readonly code: import("effect/Schema").Literal<"NOT_FOUND">;
305
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
306
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
307
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
308
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["no-queue", "no-sync", "no-topics", "ambiguous"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
309
- target: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
310
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
311
- }> | import("effect/Schema").Struct<{
312
- readonly code: import("effect/Schema").Literal<"RESOURCE_EXHAUSTED">;
313
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
314
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
315
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
316
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
317
- indexBytes: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
318
- pushBytes: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
319
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
320
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
321
- }> | import("effect/Schema").Struct<{
322
- readonly code: import("effect/Schema").Literal<"UNAUTHENTICATED">;
323
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
324
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
325
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
326
- }> | import("effect/Schema").Struct<{
327
- readonly code: import("effect/Schema").Literal<"UNAVAILABLE">;
328
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
329
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
330
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
331
- id: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
332
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
333
- packs: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
334
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
335
- retryAfter: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
336
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
337
- }>, import("effect/Schema").Struct<{
338
- readonly code: import("effect/Schema").Literal<"ALREADY_EXISTS">;
339
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
340
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
341
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
342
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["key-reused"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
343
- verdict: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["pass", "fail"]>>;
344
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
345
- }> | import("effect/Schema").Struct<{
346
- readonly code: import("effect/Schema").Literal<"DATA_LOSS">;
347
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
348
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
349
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
350
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["event-version", "graph-length", "merge-incomplete"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
351
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
352
- }> | import("effect/Schema").Struct<{
353
- readonly code: import("effect/Schema").Literal<"DEADLINE_EXCEEDED">;
354
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
355
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
356
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
357
- id: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
358
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
359
- }> | import("effect/Schema").Struct<{
360
- readonly code: import("effect/Schema").Literal<"FAILED_PRECONDITION">;
361
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
362
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
363
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
364
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["cursor-expired", "diverged", "merge-conflict", "candidate-superseded", "candidate-cancelled", "entry-gone", "ref-conflict", "newer-format", "changed-while-checked", "unsupported-attribute", "unrelated-histories", "unsupported-virtual-base", "own-repo", "not-a-fork", "no-copy-rows", "shallow-root", "shallow-upload", "import-cancelled", "importing", "history-not-imported", "stage-gone", "remote-refused", "atomic-partner", "merges-off", "no-releases"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
365
- importState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["running", "cancelled", "failed"]>>;
366
- attribute: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
367
- paths: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
368
- total: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
369
- tip: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
370
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
371
- }> | import("effect/Schema").Struct<{
372
- readonly code: import("effect/Schema").Literal<"INTERNAL">;
373
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
374
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
375
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
376
- }> | import("effect/Schema").Struct<{
377
- readonly code: import("effect/Schema").Literal<"INVALID_ARGUMENT">;
378
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
379
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
380
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
381
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["ofs-delta", "fsck", "provider-unknown", "body-ended", "link-wrong-type", "tag-target-missing", "object-missing", "boundary-not-in-pack", "too-many-short-ids", "too-many-parents"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
382
- msgId: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
383
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
384
- given: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
385
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
386
- }> | import("effect/Schema").Struct<{
387
- readonly code: import("effect/Schema").Literal<"NOT_ALLOWED">;
388
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
389
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
390
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
391
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["files-refused", "entry-unpublishable", "fetch-depth-unsupported"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
392
- entries: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
393
- paths: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
394
- total: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
395
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
396
- }> | import("effect/Schema").Struct<{
397
- readonly code: import("effect/Schema").Literal<"NOT_FOUND">;
398
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
399
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
400
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
401
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["no-queue", "no-sync", "no-topics", "ambiguous"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
402
- target: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
403
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
404
- }> | import("effect/Schema").Struct<{
405
- readonly code: import("effect/Schema").Literal<"RESOURCE_EXHAUSTED">;
406
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
407
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
408
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
409
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
410
- indexBytes: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
411
- pushBytes: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
412
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
413
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
414
- }> | import("effect/Schema").Struct<{
415
- readonly code: import("effect/Schema").Literal<"UNAUTHENTICATED">;
416
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
417
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
418
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
419
- }> | import("effect/Schema").Struct<{
420
- readonly code: import("effect/Schema").Literal<"UNAVAILABLE">;
421
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
422
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
423
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
424
- id: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
425
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
426
- packs: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
427
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
428
- retryAfter: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
429
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
430
- }>, {
431
- "ref0-code": import("effect/Schema").String;
432
- 'www-authenticate': import("effect/Schema").String;
433
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
434
- readonly code: "ALREADY_EXISTS";
435
- readonly message: string;
436
- readonly hint?: string;
437
- readonly context?: {
438
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
439
- readonly reason?: string;
440
- readonly verdict?: "fail" | "pass";
441
- };
442
- } | {
443
- readonly code: "DATA_LOSS";
444
- readonly message: string;
445
- readonly hint?: string;
446
- readonly context?: {
447
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
448
- readonly reason?: string;
449
- };
450
- } | {
451
- readonly code: "DEADLINE_EXCEEDED";
452
- readonly message: string;
453
- readonly hint?: string;
454
- readonly context?: {
455
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
456
- readonly id?: string;
457
- };
458
- } | {
459
- readonly code: "FAILED_PRECONDITION";
460
- readonly message: string;
461
- readonly hint?: string;
462
- readonly context?: {
463
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
464
- readonly reason?: string;
465
- readonly importState?: "cancelled" | "failed" | "running";
466
- readonly attribute?: string;
467
- readonly paths?: string[];
468
- readonly total?: number;
469
- readonly tip?: string;
470
- };
471
- } | {
472
- readonly code: "INTERNAL";
473
- readonly message: string;
474
- readonly hint?: string;
475
- readonly context?: {
476
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
477
- };
478
- } | {
479
- readonly code: "INVALID_ARGUMENT";
480
- readonly message: string;
481
- readonly hint?: string;
482
- readonly context?: {
483
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
484
- readonly reason?: string;
485
- readonly msgId?: string;
486
- readonly most?: number;
487
- readonly given?: number;
488
- };
489
- } | {
490
- readonly code: "NOT_ALLOWED";
491
- readonly message: string;
492
- readonly hint?: string;
493
- readonly context?: {
494
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
495
- readonly reason?: string;
496
- readonly entries?: string[];
497
- readonly paths?: string[];
498
- readonly total?: number;
499
- };
500
- } | {
501
- readonly code: "NOT_FOUND";
502
- readonly message: string;
503
- readonly hint?: string;
504
- readonly context?: {
505
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
506
- readonly reason?: string;
507
- readonly target?: string;
508
- };
509
- } | {
510
- readonly code: "RESOURCE_EXHAUSTED";
511
- readonly message: string;
512
- readonly hint?: string;
513
- readonly context?: {
514
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
515
- readonly reason?: string;
516
- readonly indexBytes?: number;
517
- readonly pushBytes?: number;
518
- readonly most?: number;
519
- };
520
- } | {
521
- readonly code: "UNAUTHENTICATED";
522
- readonly message: string;
523
- readonly hint?: string;
524
- readonly context?: {
525
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
526
- };
527
- } | {
528
- readonly code: "UNAVAILABLE";
529
- readonly message: string;
530
- readonly hint?: string;
531
- readonly context?: {
532
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
533
- readonly id?: string;
534
- readonly reason?: string;
535
- readonly packs?: number;
536
- readonly most?: number;
537
- readonly retryAfter?: number;
538
- };
539
- }, unknown, never, never>, import("effect/Schema").Codec<{
540
- readonly code: "ALREADY_EXISTS";
541
- readonly message: string;
542
- readonly hint?: string;
543
- readonly context?: {
544
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
545
- readonly reason?: string;
546
- readonly verdict?: "fail" | "pass";
547
- };
548
- } | {
549
- readonly code: "DATA_LOSS";
550
- readonly message: string;
551
- readonly hint?: string;
552
- readonly context?: {
553
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
554
- readonly reason?: string;
555
- };
556
- } | {
557
- readonly code: "DEADLINE_EXCEEDED";
558
- readonly message: string;
559
- readonly hint?: string;
560
- readonly context?: {
561
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
562
- readonly id?: string;
563
- };
564
- } | {
565
- readonly code: "FAILED_PRECONDITION";
566
- readonly message: string;
567
- readonly hint?: string;
568
- readonly context?: {
569
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
570
- readonly reason?: string;
571
- readonly importState?: "cancelled" | "failed" | "running";
572
- readonly attribute?: string;
573
- readonly paths?: string[];
574
- readonly total?: number;
575
- readonly tip?: string;
576
- };
577
- } | {
578
- readonly code: "INTERNAL";
579
- readonly message: string;
580
- readonly hint?: string;
581
- readonly context?: {
582
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
583
- };
584
- } | {
585
- readonly code: "INVALID_ARGUMENT";
586
- readonly message: string;
587
- readonly hint?: string;
588
- readonly context?: {
589
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
590
- readonly reason?: string;
591
- readonly msgId?: string;
592
- readonly most?: number;
593
- readonly given?: number;
594
- };
595
- } | {
596
- readonly code: "NOT_ALLOWED";
597
- readonly message: string;
598
- readonly hint?: string;
599
- readonly context?: {
600
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
601
- readonly reason?: string;
602
- readonly entries?: string[];
603
- readonly paths?: string[];
604
- readonly total?: number;
605
- };
606
- } | {
607
- readonly code: "NOT_FOUND";
608
- readonly message: string;
609
- readonly hint?: string;
610
- readonly context?: {
611
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
612
- readonly reason?: string;
613
- readonly target?: string;
614
- };
615
- } | {
616
- readonly code: "RESOURCE_EXHAUSTED";
617
- readonly message: string;
618
- readonly hint?: string;
619
- readonly context?: {
620
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
621
- readonly reason?: string;
622
- readonly indexBytes?: number;
623
- readonly pushBytes?: number;
624
- readonly most?: number;
625
- };
626
- } | {
627
- readonly code: "UNAUTHENTICATED";
628
- readonly message: string;
629
- readonly hint?: string;
630
- readonly context?: {
631
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
632
- };
633
- } | {
634
- readonly code: "UNAVAILABLE";
635
- readonly message: string;
636
- readonly hint?: string;
637
- readonly context?: {
638
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
639
- readonly id?: string;
640
- readonly reason?: string;
641
- readonly packs?: number;
642
- readonly most?: number;
643
- readonly retryAfter?: number;
644
- };
645
- }, unknown, never, never>, {
646
- "ref0-code": import("effect/Schema").String;
647
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
648
- readonly code: "ALREADY_EXISTS";
649
- readonly message: string;
650
- readonly hint?: string;
651
- readonly context?: {
652
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
653
- readonly reason?: string;
654
- readonly verdict?: "fail" | "pass";
655
- };
656
- } | {
657
- readonly code: "DATA_LOSS";
658
- readonly message: string;
659
- readonly hint?: string;
660
- readonly context?: {
661
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
662
- readonly reason?: string;
663
- };
664
- } | {
665
- readonly code: "DEADLINE_EXCEEDED";
666
- readonly message: string;
667
- readonly hint?: string;
668
- readonly context?: {
669
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
670
- readonly id?: string;
671
- };
672
- } | {
673
- readonly code: "FAILED_PRECONDITION";
674
- readonly message: string;
675
- readonly hint?: string;
676
- readonly context?: {
677
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
678
- readonly reason?: string;
679
- readonly importState?: "cancelled" | "failed" | "running";
680
- readonly attribute?: string;
681
- readonly paths?: string[];
682
- readonly total?: number;
683
- readonly tip?: string;
684
- };
685
- } | {
686
- readonly code: "INTERNAL";
687
- readonly message: string;
688
- readonly hint?: string;
689
- readonly context?: {
690
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
691
- };
692
- } | {
693
- readonly code: "INVALID_ARGUMENT";
694
- readonly message: string;
695
- readonly hint?: string;
696
- readonly context?: {
697
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
698
- readonly reason?: string;
699
- readonly msgId?: string;
700
- readonly most?: number;
701
- readonly given?: number;
702
- };
703
- } | {
704
- readonly code: "NOT_ALLOWED";
705
- readonly message: string;
706
- readonly hint?: string;
707
- readonly context?: {
708
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
709
- readonly reason?: string;
710
- readonly entries?: string[];
711
- readonly paths?: string[];
712
- readonly total?: number;
713
- };
714
- } | {
715
- readonly code: "NOT_FOUND";
716
- readonly message: string;
717
- readonly hint?: string;
718
- readonly context?: {
719
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
720
- readonly reason?: string;
721
- readonly target?: string;
722
- };
723
- } | {
724
- readonly code: "RESOURCE_EXHAUSTED";
725
- readonly message: string;
726
- readonly hint?: string;
727
- readonly context?: {
728
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
729
- readonly reason?: string;
730
- readonly indexBytes?: number;
731
- readonly pushBytes?: number;
732
- readonly most?: number;
733
- };
734
- } | {
735
- readonly code: "UNAUTHENTICATED";
736
- readonly message: string;
737
- readonly hint?: string;
738
- readonly context?: {
739
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
740
- };
741
- } | {
742
- readonly code: "UNAVAILABLE";
743
- readonly message: string;
744
- readonly hint?: string;
745
- readonly context?: {
746
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
747
- readonly id?: string;
748
- readonly reason?: string;
749
- readonly packs?: number;
750
- readonly most?: number;
751
- readonly retryAfter?: number;
752
- };
753
- }, unknown, never, never>, import("effect/Schema").Codec<{
754
- readonly code: "ALREADY_EXISTS";
755
- readonly message: string;
756
- readonly hint?: string;
757
- readonly context?: {
758
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
759
- readonly reason?: string;
760
- readonly verdict?: "fail" | "pass";
761
- };
762
- } | {
763
- readonly code: "DATA_LOSS";
764
- readonly message: string;
765
- readonly hint?: string;
766
- readonly context?: {
767
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
768
- readonly reason?: string;
769
- };
770
- } | {
771
- readonly code: "DEADLINE_EXCEEDED";
772
- readonly message: string;
773
- readonly hint?: string;
774
- readonly context?: {
775
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
776
- readonly id?: string;
777
- };
778
- } | {
779
- readonly code: "FAILED_PRECONDITION";
780
- readonly message: string;
781
- readonly hint?: string;
782
- readonly context?: {
783
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
784
- readonly reason?: string;
785
- readonly importState?: "cancelled" | "failed" | "running";
786
- readonly attribute?: string;
787
- readonly paths?: string[];
788
- readonly total?: number;
789
- readonly tip?: string;
790
- };
791
- } | {
792
- readonly code: "INTERNAL";
793
- readonly message: string;
794
- readonly hint?: string;
795
- readonly context?: {
796
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
797
- };
798
- } | {
799
- readonly code: "INVALID_ARGUMENT";
800
- readonly message: string;
801
- readonly hint?: string;
802
- readonly context?: {
803
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
804
- readonly reason?: string;
805
- readonly msgId?: string;
806
- readonly most?: number;
807
- readonly given?: number;
808
- };
809
- } | {
810
- readonly code: "NOT_ALLOWED";
811
- readonly message: string;
812
- readonly hint?: string;
813
- readonly context?: {
814
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
815
- readonly reason?: string;
816
- readonly entries?: string[];
817
- readonly paths?: string[];
818
- readonly total?: number;
819
- };
820
- } | {
821
- readonly code: "NOT_FOUND";
822
- readonly message: string;
823
- readonly hint?: string;
824
- readonly context?: {
825
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
826
- readonly reason?: string;
827
- readonly target?: string;
828
- };
829
- } | {
830
- readonly code: "RESOURCE_EXHAUSTED";
831
- readonly message: string;
832
- readonly hint?: string;
833
- readonly context?: {
834
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
835
- readonly reason?: string;
836
- readonly indexBytes?: number;
837
- readonly pushBytes?: number;
838
- readonly most?: number;
839
- };
840
- } | {
841
- readonly code: "UNAUTHENTICATED";
842
- readonly message: string;
843
- readonly hint?: string;
844
- readonly context?: {
845
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
846
- };
847
- } | {
848
- readonly code: "UNAVAILABLE";
849
- readonly message: string;
850
- readonly hint?: string;
851
- readonly context?: {
852
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
853
- readonly id?: string;
854
- readonly reason?: string;
855
- readonly packs?: number;
856
- readonly most?: number;
857
- readonly retryAfter?: number;
858
- };
859
- }, unknown, never, never>, {
860
- "ref0-code": import("effect/Schema").String;
861
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
862
- readonly code: "ALREADY_EXISTS";
863
- readonly message: string;
864
- readonly hint?: string;
865
- readonly context?: {
866
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
867
- readonly reason?: string;
868
- readonly verdict?: "fail" | "pass";
869
- };
870
- } | {
871
- readonly code: "DATA_LOSS";
872
- readonly message: string;
873
- readonly hint?: string;
874
- readonly context?: {
875
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
876
- readonly reason?: string;
877
- };
878
- } | {
879
- readonly code: "DEADLINE_EXCEEDED";
880
- readonly message: string;
881
- readonly hint?: string;
882
- readonly context?: {
883
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
884
- readonly id?: string;
885
- };
886
- } | {
887
- readonly code: "FAILED_PRECONDITION";
888
- readonly message: string;
889
- readonly hint?: string;
890
- readonly context?: {
891
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
892
- readonly reason?: string;
893
- readonly importState?: "cancelled" | "failed" | "running";
894
- readonly attribute?: string;
895
- readonly paths?: string[];
896
- readonly total?: number;
897
- readonly tip?: string;
898
- };
899
- } | {
900
- readonly code: "INTERNAL";
901
- readonly message: string;
902
- readonly hint?: string;
903
- readonly context?: {
904
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
905
- };
906
- } | {
907
- readonly code: "INVALID_ARGUMENT";
908
- readonly message: string;
909
- readonly hint?: string;
910
- readonly context?: {
911
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
912
- readonly reason?: string;
913
- readonly msgId?: string;
914
- readonly most?: number;
915
- readonly given?: number;
916
- };
917
- } | {
918
- readonly code: "NOT_ALLOWED";
919
- readonly message: string;
920
- readonly hint?: string;
921
- readonly context?: {
922
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
923
- readonly reason?: string;
924
- readonly entries?: string[];
925
- readonly paths?: string[];
926
- readonly total?: number;
927
- };
928
- } | {
929
- readonly code: "NOT_FOUND";
930
- readonly message: string;
931
- readonly hint?: string;
932
- readonly context?: {
933
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
934
- readonly reason?: string;
935
- readonly target?: string;
936
- };
937
- } | {
938
- readonly code: "RESOURCE_EXHAUSTED";
939
- readonly message: string;
940
- readonly hint?: string;
941
- readonly context?: {
942
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
943
- readonly reason?: string;
944
- readonly indexBytes?: number;
945
- readonly pushBytes?: number;
946
- readonly most?: number;
947
- };
948
- } | {
949
- readonly code: "UNAUTHENTICATED";
950
- readonly message: string;
951
- readonly hint?: string;
952
- readonly context?: {
953
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
954
- };
955
- } | {
956
- readonly code: "UNAVAILABLE";
957
- readonly message: string;
958
- readonly hint?: string;
959
- readonly context?: {
960
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
961
- readonly id?: string;
962
- readonly reason?: string;
963
- readonly packs?: number;
964
- readonly most?: number;
965
- readonly retryAfter?: number;
966
- };
967
- }, unknown, never, never>, import("effect/Schema").Codec<{
968
- readonly code: "ALREADY_EXISTS";
969
- readonly message: string;
970
- readonly hint?: string;
971
- readonly context?: {
972
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
973
- readonly reason?: string;
974
- readonly verdict?: "fail" | "pass";
975
- };
976
- } | {
977
- readonly code: "DATA_LOSS";
978
- readonly message: string;
979
- readonly hint?: string;
980
- readonly context?: {
981
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
982
- readonly reason?: string;
983
- };
984
- } | {
985
- readonly code: "DEADLINE_EXCEEDED";
986
- readonly message: string;
987
- readonly hint?: string;
988
- readonly context?: {
989
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
990
- readonly id?: string;
991
- };
992
- } | {
993
- readonly code: "FAILED_PRECONDITION";
994
- readonly message: string;
995
- readonly hint?: string;
996
- readonly context?: {
997
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
998
- readonly reason?: string;
999
- readonly importState?: "cancelled" | "failed" | "running";
1000
- readonly attribute?: string;
1001
- readonly paths?: string[];
1002
- readonly total?: number;
1003
- readonly tip?: string;
1004
- };
1005
- } | {
1006
- readonly code: "INTERNAL";
1007
- readonly message: string;
1008
- readonly hint?: string;
1009
- readonly context?: {
1010
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1011
- };
1012
- } | {
1013
- readonly code: "INVALID_ARGUMENT";
1014
- readonly message: string;
1015
- readonly hint?: string;
1016
- readonly context?: {
1017
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1018
- readonly reason?: string;
1019
- readonly msgId?: string;
1020
- readonly most?: number;
1021
- readonly given?: number;
1022
- };
1023
- } | {
1024
- readonly code: "NOT_ALLOWED";
1025
- readonly message: string;
1026
- readonly hint?: string;
1027
- readonly context?: {
1028
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1029
- readonly reason?: string;
1030
- readonly entries?: string[];
1031
- readonly paths?: string[];
1032
- readonly total?: number;
1033
- };
1034
- } | {
1035
- readonly code: "NOT_FOUND";
1036
- readonly message: string;
1037
- readonly hint?: string;
1038
- readonly context?: {
1039
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1040
- readonly reason?: string;
1041
- readonly target?: string;
1042
- };
1043
- } | {
1044
- readonly code: "RESOURCE_EXHAUSTED";
1045
- readonly message: string;
1046
- readonly hint?: string;
1047
- readonly context?: {
1048
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1049
- readonly reason?: string;
1050
- readonly indexBytes?: number;
1051
- readonly pushBytes?: number;
1052
- readonly most?: number;
1053
- };
1054
- } | {
1055
- readonly code: "UNAUTHENTICATED";
1056
- readonly message: string;
1057
- readonly hint?: string;
1058
- readonly context?: {
1059
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1060
- };
1061
- } | {
1062
- readonly code: "UNAVAILABLE";
1063
- readonly message: string;
1064
- readonly hint?: string;
1065
- readonly context?: {
1066
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1067
- readonly id?: string;
1068
- readonly reason?: string;
1069
- readonly packs?: number;
1070
- readonly most?: number;
1071
- readonly retryAfter?: number;
1072
- };
1073
- }, unknown, never, never>, {
1074
- "ref0-code": import("effect/Schema").String;
1075
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
1076
- readonly code: "ALREADY_EXISTS";
1077
- readonly message: string;
1078
- readonly hint?: string;
1079
- readonly context?: {
1080
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1081
- readonly reason?: string;
1082
- readonly verdict?: "fail" | "pass";
1083
- };
1084
- } | {
1085
- readonly code: "DATA_LOSS";
1086
- readonly message: string;
1087
- readonly hint?: string;
1088
- readonly context?: {
1089
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1090
- readonly reason?: string;
1091
- };
1092
- } | {
1093
- readonly code: "DEADLINE_EXCEEDED";
1094
- readonly message: string;
1095
- readonly hint?: string;
1096
- readonly context?: {
1097
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1098
- readonly id?: string;
1099
- };
1100
- } | {
1101
- readonly code: "FAILED_PRECONDITION";
1102
- readonly message: string;
1103
- readonly hint?: string;
1104
- readonly context?: {
1105
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1106
- readonly reason?: string;
1107
- readonly importState?: "cancelled" | "failed" | "running";
1108
- readonly attribute?: string;
1109
- readonly paths?: string[];
1110
- readonly total?: number;
1111
- readonly tip?: string;
1112
- };
1113
- } | {
1114
- readonly code: "INTERNAL";
1115
- readonly message: string;
1116
- readonly hint?: string;
1117
- readonly context?: {
1118
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1119
- };
1120
- } | {
1121
- readonly code: "INVALID_ARGUMENT";
1122
- readonly message: string;
1123
- readonly hint?: string;
1124
- readonly context?: {
1125
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1126
- readonly reason?: string;
1127
- readonly msgId?: string;
1128
- readonly most?: number;
1129
- readonly given?: number;
1130
- };
1131
- } | {
1132
- readonly code: "NOT_ALLOWED";
1133
- readonly message: string;
1134
- readonly hint?: string;
1135
- readonly context?: {
1136
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1137
- readonly reason?: string;
1138
- readonly entries?: string[];
1139
- readonly paths?: string[];
1140
- readonly total?: number;
1141
- };
1142
- } | {
1143
- readonly code: "NOT_FOUND";
1144
- readonly message: string;
1145
- readonly hint?: string;
1146
- readonly context?: {
1147
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1148
- readonly reason?: string;
1149
- readonly target?: string;
1150
- };
1151
- } | {
1152
- readonly code: "RESOURCE_EXHAUSTED";
1153
- readonly message: string;
1154
- readonly hint?: string;
1155
- readonly context?: {
1156
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1157
- readonly reason?: string;
1158
- readonly indexBytes?: number;
1159
- readonly pushBytes?: number;
1160
- readonly most?: number;
1161
- };
1162
- } | {
1163
- readonly code: "UNAUTHENTICATED";
1164
- readonly message: string;
1165
- readonly hint?: string;
1166
- readonly context?: {
1167
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1168
- };
1169
- } | {
1170
- readonly code: "UNAVAILABLE";
1171
- readonly message: string;
1172
- readonly hint?: string;
1173
- readonly context?: {
1174
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1175
- readonly id?: string;
1176
- readonly reason?: string;
1177
- readonly packs?: number;
1178
- readonly most?: number;
1179
- readonly retryAfter?: number;
1180
- };
1181
- }, unknown, never, never>, import("effect/Schema").Codec<{
1182
- readonly code: "ALREADY_EXISTS";
1183
- readonly message: string;
1184
- readonly hint?: string;
1185
- readonly context?: {
1186
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1187
- readonly reason?: string;
1188
- readonly verdict?: "fail" | "pass";
1189
- };
1190
- } | {
1191
- readonly code: "DATA_LOSS";
1192
- readonly message: string;
1193
- readonly hint?: string;
1194
- readonly context?: {
1195
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1196
- readonly reason?: string;
1197
- };
1198
- } | {
1199
- readonly code: "DEADLINE_EXCEEDED";
1200
- readonly message: string;
1201
- readonly hint?: string;
1202
- readonly context?: {
1203
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1204
- readonly id?: string;
1205
- };
1206
- } | {
1207
- readonly code: "FAILED_PRECONDITION";
1208
- readonly message: string;
1209
- readonly hint?: string;
1210
- readonly context?: {
1211
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1212
- readonly reason?: string;
1213
- readonly importState?: "cancelled" | "failed" | "running";
1214
- readonly attribute?: string;
1215
- readonly paths?: string[];
1216
- readonly total?: number;
1217
- readonly tip?: string;
1218
- };
1219
- } | {
1220
- readonly code: "INTERNAL";
1221
- readonly message: string;
1222
- readonly hint?: string;
1223
- readonly context?: {
1224
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1225
- };
1226
- } | {
1227
- readonly code: "INVALID_ARGUMENT";
1228
- readonly message: string;
1229
- readonly hint?: string;
1230
- readonly context?: {
1231
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1232
- readonly reason?: string;
1233
- readonly msgId?: string;
1234
- readonly most?: number;
1235
- readonly given?: number;
1236
- };
1237
- } | {
1238
- readonly code: "NOT_ALLOWED";
1239
- readonly message: string;
1240
- readonly hint?: string;
1241
- readonly context?: {
1242
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1243
- readonly reason?: string;
1244
- readonly entries?: string[];
1245
- readonly paths?: string[];
1246
- readonly total?: number;
1247
- };
1248
- } | {
1249
- readonly code: "NOT_FOUND";
1250
- readonly message: string;
1251
- readonly hint?: string;
1252
- readonly context?: {
1253
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1254
- readonly reason?: string;
1255
- readonly target?: string;
1256
- };
1257
- } | {
1258
- readonly code: "RESOURCE_EXHAUSTED";
1259
- readonly message: string;
1260
- readonly hint?: string;
1261
- readonly context?: {
1262
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1263
- readonly reason?: string;
1264
- readonly indexBytes?: number;
1265
- readonly pushBytes?: number;
1266
- readonly most?: number;
1267
- };
1268
- } | {
1269
- readonly code: "UNAUTHENTICATED";
1270
- readonly message: string;
1271
- readonly hint?: string;
1272
- readonly context?: {
1273
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1274
- };
1275
- } | {
1276
- readonly code: "UNAVAILABLE";
1277
- readonly message: string;
1278
- readonly hint?: string;
1279
- readonly context?: {
1280
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1281
- readonly id?: string;
1282
- readonly reason?: string;
1283
- readonly packs?: number;
1284
- readonly most?: number;
1285
- readonly retryAfter?: number;
1286
- };
1287
- }, unknown, never, never>, {
1288
- "ref0-code": import("effect/Schema").String;
1289
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
1290
- readonly code: "ALREADY_EXISTS";
1291
- readonly message: string;
1292
- readonly hint?: string;
1293
- readonly context?: {
1294
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1295
- readonly reason?: string;
1296
- readonly verdict?: "fail" | "pass";
1297
- };
1298
- } | {
1299
- readonly code: "DATA_LOSS";
1300
- readonly message: string;
1301
- readonly hint?: string;
1302
- readonly context?: {
1303
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1304
- readonly reason?: string;
1305
- };
1306
- } | {
1307
- readonly code: "DEADLINE_EXCEEDED";
1308
- readonly message: string;
1309
- readonly hint?: string;
1310
- readonly context?: {
1311
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1312
- readonly id?: string;
1313
- };
1314
- } | {
1315
- readonly code: "FAILED_PRECONDITION";
1316
- readonly message: string;
1317
- readonly hint?: string;
1318
- readonly context?: {
1319
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1320
- readonly reason?: string;
1321
- readonly importState?: "cancelled" | "failed" | "running";
1322
- readonly attribute?: string;
1323
- readonly paths?: string[];
1324
- readonly total?: number;
1325
- readonly tip?: string;
1326
- };
1327
- } | {
1328
- readonly code: "INTERNAL";
1329
- readonly message: string;
1330
- readonly hint?: string;
1331
- readonly context?: {
1332
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1333
- };
1334
- } | {
1335
- readonly code: "INVALID_ARGUMENT";
1336
- readonly message: string;
1337
- readonly hint?: string;
1338
- readonly context?: {
1339
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1340
- readonly reason?: string;
1341
- readonly msgId?: string;
1342
- readonly most?: number;
1343
- readonly given?: number;
1344
- };
1345
- } | {
1346
- readonly code: "NOT_ALLOWED";
1347
- readonly message: string;
1348
- readonly hint?: string;
1349
- readonly context?: {
1350
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1351
- readonly reason?: string;
1352
- readonly entries?: string[];
1353
- readonly paths?: string[];
1354
- readonly total?: number;
1355
- };
1356
- } | {
1357
- readonly code: "NOT_FOUND";
1358
- readonly message: string;
1359
- readonly hint?: string;
1360
- readonly context?: {
1361
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1362
- readonly reason?: string;
1363
- readonly target?: string;
1364
- };
1365
- } | {
1366
- readonly code: "RESOURCE_EXHAUSTED";
1367
- readonly message: string;
1368
- readonly hint?: string;
1369
- readonly context?: {
1370
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1371
- readonly reason?: string;
1372
- readonly indexBytes?: number;
1373
- readonly pushBytes?: number;
1374
- readonly most?: number;
1375
- };
1376
- } | {
1377
- readonly code: "UNAUTHENTICATED";
1378
- readonly message: string;
1379
- readonly hint?: string;
1380
- readonly context?: {
1381
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1382
- };
1383
- } | {
1384
- readonly code: "UNAVAILABLE";
1385
- readonly message: string;
1386
- readonly hint?: string;
1387
- readonly context?: {
1388
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1389
- readonly id?: string;
1390
- readonly reason?: string;
1391
- readonly packs?: number;
1392
- readonly most?: number;
1393
- readonly retryAfter?: number;
1394
- };
1395
- }, unknown, never, never>, import("effect/Schema").Codec<{
1396
- readonly code: "ALREADY_EXISTS";
1397
- readonly message: string;
1398
- readonly hint?: string;
1399
- readonly context?: {
1400
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1401
- readonly reason?: string;
1402
- readonly verdict?: "fail" | "pass";
1403
- };
1404
- } | {
1405
- readonly code: "DATA_LOSS";
1406
- readonly message: string;
1407
- readonly hint?: string;
1408
- readonly context?: {
1409
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1410
- readonly reason?: string;
1411
- };
1412
- } | {
1413
- readonly code: "DEADLINE_EXCEEDED";
1414
- readonly message: string;
1415
- readonly hint?: string;
1416
- readonly context?: {
1417
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1418
- readonly id?: string;
1419
- };
1420
- } | {
1421
- readonly code: "FAILED_PRECONDITION";
1422
- readonly message: string;
1423
- readonly hint?: string;
1424
- readonly context?: {
1425
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1426
- readonly reason?: string;
1427
- readonly importState?: "cancelled" | "failed" | "running";
1428
- readonly attribute?: string;
1429
- readonly paths?: string[];
1430
- readonly total?: number;
1431
- readonly tip?: string;
1432
- };
1433
- } | {
1434
- readonly code: "INTERNAL";
1435
- readonly message: string;
1436
- readonly hint?: string;
1437
- readonly context?: {
1438
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1439
- };
1440
- } | {
1441
- readonly code: "INVALID_ARGUMENT";
1442
- readonly message: string;
1443
- readonly hint?: string;
1444
- readonly context?: {
1445
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1446
- readonly reason?: string;
1447
- readonly msgId?: string;
1448
- readonly most?: number;
1449
- readonly given?: number;
1450
- };
1451
- } | {
1452
- readonly code: "NOT_ALLOWED";
1453
- readonly message: string;
1454
- readonly hint?: string;
1455
- readonly context?: {
1456
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1457
- readonly reason?: string;
1458
- readonly entries?: string[];
1459
- readonly paths?: string[];
1460
- readonly total?: number;
1461
- };
1462
- } | {
1463
- readonly code: "NOT_FOUND";
1464
- readonly message: string;
1465
- readonly hint?: string;
1466
- readonly context?: {
1467
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1468
- readonly reason?: string;
1469
- readonly target?: string;
1470
- };
1471
- } | {
1472
- readonly code: "RESOURCE_EXHAUSTED";
1473
- readonly message: string;
1474
- readonly hint?: string;
1475
- readonly context?: {
1476
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1477
- readonly reason?: string;
1478
- readonly indexBytes?: number;
1479
- readonly pushBytes?: number;
1480
- readonly most?: number;
1481
- };
1482
- } | {
1483
- readonly code: "UNAUTHENTICATED";
1484
- readonly message: string;
1485
- readonly hint?: string;
1486
- readonly context?: {
1487
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1488
- };
1489
- } | {
1490
- readonly code: "UNAVAILABLE";
1491
- readonly message: string;
1492
- readonly hint?: string;
1493
- readonly context?: {
1494
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1495
- readonly id?: string;
1496
- readonly reason?: string;
1497
- readonly packs?: number;
1498
- readonly most?: number;
1499
- readonly retryAfter?: number;
1500
- };
1501
- }, unknown, never, never>, {
1502
- "ref0-code": import("effect/Schema").String;
1503
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
1504
- readonly code: "ALREADY_EXISTS";
1505
- readonly message: string;
1506
- readonly hint?: string;
1507
- readonly context?: {
1508
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1509
- readonly reason?: string;
1510
- readonly verdict?: "fail" | "pass";
1511
- };
1512
- } | {
1513
- readonly code: "DATA_LOSS";
1514
- readonly message: string;
1515
- readonly hint?: string;
1516
- readonly context?: {
1517
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1518
- readonly reason?: string;
1519
- };
1520
- } | {
1521
- readonly code: "DEADLINE_EXCEEDED";
1522
- readonly message: string;
1523
- readonly hint?: string;
1524
- readonly context?: {
1525
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1526
- readonly id?: string;
1527
- };
1528
- } | {
1529
- readonly code: "FAILED_PRECONDITION";
1530
- readonly message: string;
1531
- readonly hint?: string;
1532
- readonly context?: {
1533
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1534
- readonly reason?: string;
1535
- readonly importState?: "cancelled" | "failed" | "running";
1536
- readonly attribute?: string;
1537
- readonly paths?: string[];
1538
- readonly total?: number;
1539
- readonly tip?: string;
1540
- };
1541
- } | {
1542
- readonly code: "INTERNAL";
1543
- readonly message: string;
1544
- readonly hint?: string;
1545
- readonly context?: {
1546
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1547
- };
1548
- } | {
1549
- readonly code: "INVALID_ARGUMENT";
1550
- readonly message: string;
1551
- readonly hint?: string;
1552
- readonly context?: {
1553
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1554
- readonly reason?: string;
1555
- readonly msgId?: string;
1556
- readonly most?: number;
1557
- readonly given?: number;
1558
- };
1559
- } | {
1560
- readonly code: "NOT_ALLOWED";
1561
- readonly message: string;
1562
- readonly hint?: string;
1563
- readonly context?: {
1564
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1565
- readonly reason?: string;
1566
- readonly entries?: string[];
1567
- readonly paths?: string[];
1568
- readonly total?: number;
1569
- };
1570
- } | {
1571
- readonly code: "NOT_FOUND";
1572
- readonly message: string;
1573
- readonly hint?: string;
1574
- readonly context?: {
1575
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1576
- readonly reason?: string;
1577
- readonly target?: string;
1578
- };
1579
- } | {
1580
- readonly code: "RESOURCE_EXHAUSTED";
1581
- readonly message: string;
1582
- readonly hint?: string;
1583
- readonly context?: {
1584
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1585
- readonly reason?: string;
1586
- readonly indexBytes?: number;
1587
- readonly pushBytes?: number;
1588
- readonly most?: number;
1589
- };
1590
- } | {
1591
- readonly code: "UNAUTHENTICATED";
1592
- readonly message: string;
1593
- readonly hint?: string;
1594
- readonly context?: {
1595
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1596
- };
1597
- } | {
1598
- readonly code: "UNAVAILABLE";
1599
- readonly message: string;
1600
- readonly hint?: string;
1601
- readonly context?: {
1602
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1603
- readonly id?: string;
1604
- readonly reason?: string;
1605
- readonly packs?: number;
1606
- readonly most?: number;
1607
- readonly retryAfter?: number;
1608
- };
1609
- }, unknown, never, never>, import("effect/Schema").Codec<{
1610
- readonly code: "ALREADY_EXISTS";
1611
- readonly message: string;
1612
- readonly hint?: string;
1613
- readonly context?: {
1614
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1615
- readonly reason?: string;
1616
- readonly verdict?: "fail" | "pass";
1617
- };
1618
- } | {
1619
- readonly code: "DATA_LOSS";
1620
- readonly message: string;
1621
- readonly hint?: string;
1622
- readonly context?: {
1623
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1624
- readonly reason?: string;
1625
- };
1626
- } | {
1627
- readonly code: "DEADLINE_EXCEEDED";
1628
- readonly message: string;
1629
- readonly hint?: string;
1630
- readonly context?: {
1631
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1632
- readonly id?: string;
1633
- };
1634
- } | {
1635
- readonly code: "FAILED_PRECONDITION";
1636
- readonly message: string;
1637
- readonly hint?: string;
1638
- readonly context?: {
1639
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1640
- readonly reason?: string;
1641
- readonly importState?: "cancelled" | "failed" | "running";
1642
- readonly attribute?: string;
1643
- readonly paths?: string[];
1644
- readonly total?: number;
1645
- readonly tip?: string;
1646
- };
1647
- } | {
1648
- readonly code: "INTERNAL";
1649
- readonly message: string;
1650
- readonly hint?: string;
1651
- readonly context?: {
1652
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1653
- };
1654
- } | {
1655
- readonly code: "INVALID_ARGUMENT";
1656
- readonly message: string;
1657
- readonly hint?: string;
1658
- readonly context?: {
1659
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1660
- readonly reason?: string;
1661
- readonly msgId?: string;
1662
- readonly most?: number;
1663
- readonly given?: number;
1664
- };
1665
- } | {
1666
- readonly code: "NOT_ALLOWED";
1667
- readonly message: string;
1668
- readonly hint?: string;
1669
- readonly context?: {
1670
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1671
- readonly reason?: string;
1672
- readonly entries?: string[];
1673
- readonly paths?: string[];
1674
- readonly total?: number;
1675
- };
1676
- } | {
1677
- readonly code: "NOT_FOUND";
1678
- readonly message: string;
1679
- readonly hint?: string;
1680
- readonly context?: {
1681
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1682
- readonly reason?: string;
1683
- readonly target?: string;
1684
- };
1685
- } | {
1686
- readonly code: "RESOURCE_EXHAUSTED";
1687
- readonly message: string;
1688
- readonly hint?: string;
1689
- readonly context?: {
1690
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1691
- readonly reason?: string;
1692
- readonly indexBytes?: number;
1693
- readonly pushBytes?: number;
1694
- readonly most?: number;
1695
- };
1696
- } | {
1697
- readonly code: "UNAUTHENTICATED";
1698
- readonly message: string;
1699
- readonly hint?: string;
1700
- readonly context?: {
1701
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1702
- };
1703
- } | {
1704
- readonly code: "UNAVAILABLE";
1705
- readonly message: string;
1706
- readonly hint?: string;
1707
- readonly context?: {
1708
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1709
- readonly id?: string;
1710
- readonly reason?: string;
1711
- readonly packs?: number;
1712
- readonly most?: number;
1713
- readonly retryAfter?: number;
1714
- };
1715
- }, unknown, never, never>, {
1716
- "ref0-code": import("effect/Schema").String;
1717
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
1718
- readonly code: "ALREADY_EXISTS";
1719
- readonly message: string;
1720
- readonly hint?: string;
1721
- readonly context?: {
1722
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1723
- readonly reason?: string;
1724
- readonly verdict?: "fail" | "pass";
1725
- };
1726
- } | {
1727
- readonly code: "DATA_LOSS";
1728
- readonly message: string;
1729
- readonly hint?: string;
1730
- readonly context?: {
1731
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1732
- readonly reason?: string;
1733
- };
1734
- } | {
1735
- readonly code: "DEADLINE_EXCEEDED";
1736
- readonly message: string;
1737
- readonly hint?: string;
1738
- readonly context?: {
1739
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1740
- readonly id?: string;
1741
- };
1742
- } | {
1743
- readonly code: "FAILED_PRECONDITION";
1744
- readonly message: string;
1745
- readonly hint?: string;
1746
- readonly context?: {
1747
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1748
- readonly reason?: string;
1749
- readonly importState?: "cancelled" | "failed" | "running";
1750
- readonly attribute?: string;
1751
- readonly paths?: string[];
1752
- readonly total?: number;
1753
- readonly tip?: string;
1754
- };
1755
- } | {
1756
- readonly code: "INTERNAL";
1757
- readonly message: string;
1758
- readonly hint?: string;
1759
- readonly context?: {
1760
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1761
- };
1762
- } | {
1763
- readonly code: "INVALID_ARGUMENT";
1764
- readonly message: string;
1765
- readonly hint?: string;
1766
- readonly context?: {
1767
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1768
- readonly reason?: string;
1769
- readonly msgId?: string;
1770
- readonly most?: number;
1771
- readonly given?: number;
1772
- };
1773
- } | {
1774
- readonly code: "NOT_ALLOWED";
1775
- readonly message: string;
1776
- readonly hint?: string;
1777
- readonly context?: {
1778
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1779
- readonly reason?: string;
1780
- readonly entries?: string[];
1781
- readonly paths?: string[];
1782
- readonly total?: number;
1783
- };
1784
- } | {
1785
- readonly code: "NOT_FOUND";
1786
- readonly message: string;
1787
- readonly hint?: string;
1788
- readonly context?: {
1789
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1790
- readonly reason?: string;
1791
- readonly target?: string;
1792
- };
1793
- } | {
1794
- readonly code: "RESOURCE_EXHAUSTED";
1795
- readonly message: string;
1796
- readonly hint?: string;
1797
- readonly context?: {
1798
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1799
- readonly reason?: string;
1800
- readonly indexBytes?: number;
1801
- readonly pushBytes?: number;
1802
- readonly most?: number;
1803
- };
1804
- } | {
1805
- readonly code: "UNAUTHENTICATED";
1806
- readonly message: string;
1807
- readonly hint?: string;
1808
- readonly context?: {
1809
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1810
- };
1811
- } | {
1812
- readonly code: "UNAVAILABLE";
1813
- readonly message: string;
1814
- readonly hint?: string;
1815
- readonly context?: {
1816
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1817
- readonly id?: string;
1818
- readonly reason?: string;
1819
- readonly packs?: number;
1820
- readonly most?: number;
1821
- readonly retryAfter?: number;
1822
- };
1823
- }, unknown, never, never>, import("effect/Schema").Codec<{
1824
- readonly code: "ALREADY_EXISTS";
1825
- readonly message: string;
1826
- readonly hint?: string;
1827
- readonly context?: {
1828
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1829
- readonly reason?: string;
1830
- readonly verdict?: "fail" | "pass";
1831
- };
1832
- } | {
1833
- readonly code: "DATA_LOSS";
1834
- readonly message: string;
1835
- readonly hint?: string;
1836
- readonly context?: {
1837
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1838
- readonly reason?: string;
1839
- };
1840
- } | {
1841
- readonly code: "DEADLINE_EXCEEDED";
1842
- readonly message: string;
1843
- readonly hint?: string;
1844
- readonly context?: {
1845
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1846
- readonly id?: string;
1847
- };
1848
- } | {
1849
- readonly code: "FAILED_PRECONDITION";
1850
- readonly message: string;
1851
- readonly hint?: string;
1852
- readonly context?: {
1853
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1854
- readonly reason?: string;
1855
- readonly importState?: "cancelled" | "failed" | "running";
1856
- readonly attribute?: string;
1857
- readonly paths?: string[];
1858
- readonly total?: number;
1859
- readonly tip?: string;
1860
- };
1861
- } | {
1862
- readonly code: "INTERNAL";
1863
- readonly message: string;
1864
- readonly hint?: string;
1865
- readonly context?: {
1866
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1867
- };
1868
- } | {
1869
- readonly code: "INVALID_ARGUMENT";
1870
- readonly message: string;
1871
- readonly hint?: string;
1872
- readonly context?: {
1873
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1874
- readonly reason?: string;
1875
- readonly msgId?: string;
1876
- readonly most?: number;
1877
- readonly given?: number;
1878
- };
1879
- } | {
1880
- readonly code: "NOT_ALLOWED";
1881
- readonly message: string;
1882
- readonly hint?: string;
1883
- readonly context?: {
1884
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1885
- readonly reason?: string;
1886
- readonly entries?: string[];
1887
- readonly paths?: string[];
1888
- readonly total?: number;
1889
- };
1890
- } | {
1891
- readonly code: "NOT_FOUND";
1892
- readonly message: string;
1893
- readonly hint?: string;
1894
- readonly context?: {
1895
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1896
- readonly reason?: string;
1897
- readonly target?: string;
1898
- };
1899
- } | {
1900
- readonly code: "RESOURCE_EXHAUSTED";
1901
- readonly message: string;
1902
- readonly hint?: string;
1903
- readonly context?: {
1904
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1905
- readonly reason?: string;
1906
- readonly indexBytes?: number;
1907
- readonly pushBytes?: number;
1908
- readonly most?: number;
1909
- };
1910
- } | {
1911
- readonly code: "UNAUTHENTICATED";
1912
- readonly message: string;
1913
- readonly hint?: string;
1914
- readonly context?: {
1915
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1916
- };
1917
- } | {
1918
- readonly code: "UNAVAILABLE";
1919
- readonly message: string;
1920
- readonly hint?: string;
1921
- readonly context?: {
1922
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1923
- readonly id?: string;
1924
- readonly reason?: string;
1925
- readonly packs?: number;
1926
- readonly most?: number;
1927
- readonly retryAfter?: number;
1928
- };
1929
- }, unknown, never, never>, {
1930
- "ref0-code": import("effect/Schema").String;
1931
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
1932
- readonly code: "ALREADY_EXISTS";
1933
- readonly message: string;
1934
- readonly hint?: string;
1935
- readonly context?: {
1936
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1937
- readonly reason?: string;
1938
- readonly verdict?: "fail" | "pass";
1939
- };
1940
- } | {
1941
- readonly code: "DATA_LOSS";
1942
- readonly message: string;
1943
- readonly hint?: string;
1944
- readonly context?: {
1945
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1946
- readonly reason?: string;
1947
- };
1948
- } | {
1949
- readonly code: "DEADLINE_EXCEEDED";
1950
- readonly message: string;
1951
- readonly hint?: string;
1952
- readonly context?: {
1953
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1954
- readonly id?: string;
1955
- };
1956
- } | {
1957
- readonly code: "FAILED_PRECONDITION";
1958
- readonly message: string;
1959
- readonly hint?: string;
1960
- readonly context?: {
1961
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1962
- readonly reason?: string;
1963
- readonly importState?: "cancelled" | "failed" | "running";
1964
- readonly attribute?: string;
1965
- readonly paths?: string[];
1966
- readonly total?: number;
1967
- readonly tip?: string;
1968
- };
1969
- } | {
1970
- readonly code: "INTERNAL";
1971
- readonly message: string;
1972
- readonly hint?: string;
1973
- readonly context?: {
1974
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1975
- };
1976
- } | {
1977
- readonly code: "INVALID_ARGUMENT";
1978
- readonly message: string;
1979
- readonly hint?: string;
1980
- readonly context?: {
1981
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1982
- readonly reason?: string;
1983
- readonly msgId?: string;
1984
- readonly most?: number;
1985
- readonly given?: number;
1986
- };
1987
- } | {
1988
- readonly code: "NOT_ALLOWED";
1989
- readonly message: string;
1990
- readonly hint?: string;
1991
- readonly context?: {
1992
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
1993
- readonly reason?: string;
1994
- readonly entries?: string[];
1995
- readonly paths?: string[];
1996
- readonly total?: number;
1997
- };
1998
- } | {
1999
- readonly code: "NOT_FOUND";
2000
- readonly message: string;
2001
- readonly hint?: string;
2002
- readonly context?: {
2003
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2004
- readonly reason?: string;
2005
- readonly target?: string;
2006
- };
2007
- } | {
2008
- readonly code: "RESOURCE_EXHAUSTED";
2009
- readonly message: string;
2010
- readonly hint?: string;
2011
- readonly context?: {
2012
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2013
- readonly reason?: string;
2014
- readonly indexBytes?: number;
2015
- readonly pushBytes?: number;
2016
- readonly most?: number;
2017
- };
2018
- } | {
2019
- readonly code: "UNAUTHENTICATED";
2020
- readonly message: string;
2021
- readonly hint?: string;
2022
- readonly context?: {
2023
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2024
- };
2025
- } | {
2026
- readonly code: "UNAVAILABLE";
2027
- readonly message: string;
2028
- readonly hint?: string;
2029
- readonly context?: {
2030
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2031
- readonly id?: string;
2032
- readonly reason?: string;
2033
- readonly packs?: number;
2034
- readonly most?: number;
2035
- readonly retryAfter?: number;
2036
- };
2037
- }, unknown, never, never>, import("effect/Schema").Codec<{
2038
- readonly code: "ALREADY_EXISTS";
2039
- readonly message: string;
2040
- readonly hint?: string;
2041
- readonly context?: {
2042
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2043
- readonly reason?: string;
2044
- readonly verdict?: "fail" | "pass";
2045
- };
2046
- } | {
2047
- readonly code: "DATA_LOSS";
2048
- readonly message: string;
2049
- readonly hint?: string;
2050
- readonly context?: {
2051
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2052
- readonly reason?: string;
2053
- };
2054
- } | {
2055
- readonly code: "DEADLINE_EXCEEDED";
2056
- readonly message: string;
2057
- readonly hint?: string;
2058
- readonly context?: {
2059
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2060
- readonly id?: string;
2061
- };
2062
- } | {
2063
- readonly code: "FAILED_PRECONDITION";
2064
- readonly message: string;
2065
- readonly hint?: string;
2066
- readonly context?: {
2067
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2068
- readonly reason?: string;
2069
- readonly importState?: "cancelled" | "failed" | "running";
2070
- readonly attribute?: string;
2071
- readonly paths?: string[];
2072
- readonly total?: number;
2073
- readonly tip?: string;
2074
- };
2075
- } | {
2076
- readonly code: "INTERNAL";
2077
- readonly message: string;
2078
- readonly hint?: string;
2079
- readonly context?: {
2080
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2081
- };
2082
- } | {
2083
- readonly code: "INVALID_ARGUMENT";
2084
- readonly message: string;
2085
- readonly hint?: string;
2086
- readonly context?: {
2087
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2088
- readonly reason?: string;
2089
- readonly msgId?: string;
2090
- readonly most?: number;
2091
- readonly given?: number;
2092
- };
2093
- } | {
2094
- readonly code: "NOT_ALLOWED";
2095
- readonly message: string;
2096
- readonly hint?: string;
2097
- readonly context?: {
2098
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2099
- readonly reason?: string;
2100
- readonly entries?: string[];
2101
- readonly paths?: string[];
2102
- readonly total?: number;
2103
- };
2104
- } | {
2105
- readonly code: "NOT_FOUND";
2106
- readonly message: string;
2107
- readonly hint?: string;
2108
- readonly context?: {
2109
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2110
- readonly reason?: string;
2111
- readonly target?: string;
2112
- };
2113
- } | {
2114
- readonly code: "RESOURCE_EXHAUSTED";
2115
- readonly message: string;
2116
- readonly hint?: string;
2117
- readonly context?: {
2118
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2119
- readonly reason?: string;
2120
- readonly indexBytes?: number;
2121
- readonly pushBytes?: number;
2122
- readonly most?: number;
2123
- };
2124
- } | {
2125
- readonly code: "UNAUTHENTICATED";
2126
- readonly message: string;
2127
- readonly hint?: string;
2128
- readonly context?: {
2129
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2130
- };
2131
- } | {
2132
- readonly code: "UNAVAILABLE";
2133
- readonly message: string;
2134
- readonly hint?: string;
2135
- readonly context?: {
2136
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2137
- readonly id?: string;
2138
- readonly reason?: string;
2139
- readonly packs?: number;
2140
- readonly most?: number;
2141
- readonly retryAfter?: number;
2142
- };
2143
- }, unknown, never, never>, {
2144
- "ref0-code": import("effect/Schema").String;
2145
- }>];
2146
- clientError: never;
2147
- requiredForClient: false;
2148
- security: never;
2149
- }, HttpApiMiddleware.HttpApiMiddleware<Caller<unknown>, readonly [import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
2150
- readonly code: "ALREADY_EXISTS";
2151
- readonly message: string;
2152
- readonly hint?: string;
2153
- readonly context?: {
2154
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2155
- readonly reason?: string;
2156
- readonly verdict?: "fail" | "pass";
2157
- };
2158
- } | {
2159
- readonly code: "DATA_LOSS";
2160
- readonly message: string;
2161
- readonly hint?: string;
2162
- readonly context?: {
2163
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2164
- readonly reason?: string;
2165
- };
2166
- } | {
2167
- readonly code: "DEADLINE_EXCEEDED";
2168
- readonly message: string;
2169
- readonly hint?: string;
2170
- readonly context?: {
2171
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2172
- readonly id?: string;
2173
- };
2174
- } | {
2175
- readonly code: "FAILED_PRECONDITION";
2176
- readonly message: string;
2177
- readonly hint?: string;
2178
- readonly context?: {
2179
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2180
- readonly reason?: string;
2181
- readonly importState?: "cancelled" | "failed" | "running";
2182
- readonly attribute?: string;
2183
- readonly paths?: string[];
2184
- readonly total?: number;
2185
- readonly tip?: string;
2186
- };
2187
- } | {
2188
- readonly code: "INTERNAL";
2189
- readonly message: string;
2190
- readonly hint?: string;
2191
- readonly context?: {
2192
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2193
- };
2194
- } | {
2195
- readonly code: "INVALID_ARGUMENT";
2196
- readonly message: string;
2197
- readonly hint?: string;
2198
- readonly context?: {
2199
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2200
- readonly reason?: string;
2201
- readonly msgId?: string;
2202
- readonly most?: number;
2203
- readonly given?: number;
2204
- };
2205
- } | {
2206
- readonly code: "NOT_ALLOWED";
2207
- readonly message: string;
2208
- readonly hint?: string;
2209
- readonly context?: {
2210
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2211
- readonly reason?: string;
2212
- readonly entries?: string[];
2213
- readonly paths?: string[];
2214
- readonly total?: number;
2215
- };
2216
- } | {
2217
- readonly code: "NOT_FOUND";
2218
- readonly message: string;
2219
- readonly hint?: string;
2220
- readonly context?: {
2221
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2222
- readonly reason?: string;
2223
- readonly target?: string;
2224
- };
2225
- } | {
2226
- readonly code: "RESOURCE_EXHAUSTED";
2227
- readonly message: string;
2228
- readonly hint?: string;
2229
- readonly context?: {
2230
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2231
- readonly reason?: string;
2232
- readonly indexBytes?: number;
2233
- readonly pushBytes?: number;
2234
- readonly most?: number;
2235
- };
2236
- } | {
2237
- readonly code: "UNAUTHENTICATED";
2238
- readonly message: string;
2239
- readonly hint?: string;
2240
- readonly context?: {
2241
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2242
- };
2243
- } | {
2244
- readonly code: "UNAVAILABLE";
2245
- readonly message: string;
2246
- readonly hint?: string;
2247
- readonly context?: {
2248
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2249
- readonly id?: string;
2250
- readonly reason?: string;
2251
- readonly packs?: number;
2252
- readonly most?: number;
2253
- readonly retryAfter?: number;
2254
- };
2255
- }, unknown, never, never>, import("effect/Schema").Codec<{
2256
- readonly code: "ALREADY_EXISTS";
2257
- readonly message: string;
2258
- readonly hint?: string;
2259
- readonly context?: {
2260
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2261
- readonly reason?: string;
2262
- readonly verdict?: "fail" | "pass";
2263
- };
2264
- } | {
2265
- readonly code: "DATA_LOSS";
2266
- readonly message: string;
2267
- readonly hint?: string;
2268
- readonly context?: {
2269
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2270
- readonly reason?: string;
2271
- };
2272
- } | {
2273
- readonly code: "DEADLINE_EXCEEDED";
2274
- readonly message: string;
2275
- readonly hint?: string;
2276
- readonly context?: {
2277
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2278
- readonly id?: string;
2279
- };
2280
- } | {
2281
- readonly code: "FAILED_PRECONDITION";
2282
- readonly message: string;
2283
- readonly hint?: string;
2284
- readonly context?: {
2285
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2286
- readonly reason?: string;
2287
- readonly importState?: "cancelled" | "failed" | "running";
2288
- readonly attribute?: string;
2289
- readonly paths?: string[];
2290
- readonly total?: number;
2291
- readonly tip?: string;
2292
- };
2293
- } | {
2294
- readonly code: "INTERNAL";
2295
- readonly message: string;
2296
- readonly hint?: string;
2297
- readonly context?: {
2298
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2299
- };
2300
- } | {
2301
- readonly code: "INVALID_ARGUMENT";
2302
- readonly message: string;
2303
- readonly hint?: string;
2304
- readonly context?: {
2305
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2306
- readonly reason?: string;
2307
- readonly msgId?: string;
2308
- readonly most?: number;
2309
- readonly given?: number;
2310
- };
2311
- } | {
2312
- readonly code: "NOT_ALLOWED";
2313
- readonly message: string;
2314
- readonly hint?: string;
2315
- readonly context?: {
2316
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2317
- readonly reason?: string;
2318
- readonly entries?: string[];
2319
- readonly paths?: string[];
2320
- readonly total?: number;
2321
- };
2322
- } | {
2323
- readonly code: "NOT_FOUND";
2324
- readonly message: string;
2325
- readonly hint?: string;
2326
- readonly context?: {
2327
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2328
- readonly reason?: string;
2329
- readonly target?: string;
2330
- };
2331
- } | {
2332
- readonly code: "RESOURCE_EXHAUSTED";
2333
- readonly message: string;
2334
- readonly hint?: string;
2335
- readonly context?: {
2336
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2337
- readonly reason?: string;
2338
- readonly indexBytes?: number;
2339
- readonly pushBytes?: number;
2340
- readonly most?: number;
2341
- };
2342
- } | {
2343
- readonly code: "UNAUTHENTICATED";
2344
- readonly message: string;
2345
- readonly hint?: string;
2346
- readonly context?: {
2347
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2348
- };
2349
- } | {
2350
- readonly code: "UNAVAILABLE";
2351
- readonly message: string;
2352
- readonly hint?: string;
2353
- readonly context?: {
2354
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2355
- readonly id?: string;
2356
- readonly reason?: string;
2357
- readonly packs?: number;
2358
- readonly most?: number;
2359
- readonly retryAfter?: number;
2360
- };
2361
- }, unknown, never, never>, {
2362
- "ref0-code": import("effect/Schema").String;
2363
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Struct<{
2364
- readonly code: import("effect/Schema").Literal<"ALREADY_EXISTS">;
2365
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2366
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2367
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2368
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["key-reused"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2369
- verdict: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["pass", "fail"]>>;
2370
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2371
- }> | import("effect/Schema").Struct<{
2372
- readonly code: import("effect/Schema").Literal<"DATA_LOSS">;
2373
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2374
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2375
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2376
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["event-version", "graph-length", "merge-incomplete"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2377
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2378
- }> | import("effect/Schema").Struct<{
2379
- readonly code: import("effect/Schema").Literal<"DEADLINE_EXCEEDED">;
2380
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2381
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2382
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2383
- id: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2384
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2385
- }> | import("effect/Schema").Struct<{
2386
- readonly code: import("effect/Schema").Literal<"FAILED_PRECONDITION">;
2387
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2388
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2389
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2390
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["cursor-expired", "diverged", "merge-conflict", "candidate-superseded", "candidate-cancelled", "entry-gone", "ref-conflict", "newer-format", "changed-while-checked", "unsupported-attribute", "unrelated-histories", "unsupported-virtual-base", "own-repo", "not-a-fork", "no-copy-rows", "shallow-root", "shallow-upload", "import-cancelled", "importing", "history-not-imported", "stage-gone", "remote-refused", "atomic-partner", "merges-off", "no-releases"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2391
- importState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["running", "cancelled", "failed"]>>;
2392
- attribute: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2393
- paths: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
2394
- total: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2395
- tip: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2396
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2397
- }> | import("effect/Schema").Struct<{
2398
- readonly code: import("effect/Schema").Literal<"INTERNAL">;
2399
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2400
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2401
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2402
- }> | import("effect/Schema").Struct<{
2403
- readonly code: import("effect/Schema").Literal<"INVALID_ARGUMENT">;
2404
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2405
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2406
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2407
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["ofs-delta", "fsck", "provider-unknown", "body-ended", "link-wrong-type", "tag-target-missing", "object-missing", "boundary-not-in-pack", "too-many-short-ids", "too-many-parents"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2408
- msgId: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2409
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2410
- given: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2411
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2412
- }> | import("effect/Schema").Struct<{
2413
- readonly code: import("effect/Schema").Literal<"NOT_ALLOWED">;
2414
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2415
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2416
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2417
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["files-refused", "entry-unpublishable", "fetch-depth-unsupported"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2418
- entries: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
2419
- paths: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
2420
- total: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2421
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2422
- }> | import("effect/Schema").Struct<{
2423
- readonly code: import("effect/Schema").Literal<"NOT_FOUND">;
2424
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2425
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2426
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2427
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["no-queue", "no-sync", "no-topics", "ambiguous"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2428
- target: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2429
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2430
- }> | import("effect/Schema").Struct<{
2431
- readonly code: import("effect/Schema").Literal<"RESOURCE_EXHAUSTED">;
2432
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2433
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2434
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2435
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2436
- indexBytes: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2437
- pushBytes: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2438
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2439
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2440
- }> | import("effect/Schema").Struct<{
2441
- readonly code: import("effect/Schema").Literal<"UNAUTHENTICATED">;
2442
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2443
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2444
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2445
- }> | import("effect/Schema").Struct<{
2446
- readonly code: import("effect/Schema").Literal<"UNAVAILABLE">;
2447
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2448
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2449
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2450
- id: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2451
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2452
- packs: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2453
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2454
- retryAfter: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2455
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2456
- }>, import("effect/Schema").Struct<{
2457
- readonly code: import("effect/Schema").Literal<"ALREADY_EXISTS">;
2458
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2459
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2460
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2461
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["key-reused"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2462
- verdict: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["pass", "fail"]>>;
2463
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2464
- }> | import("effect/Schema").Struct<{
2465
- readonly code: import("effect/Schema").Literal<"DATA_LOSS">;
2466
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2467
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2468
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2469
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["event-version", "graph-length", "merge-incomplete"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2470
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2471
- }> | import("effect/Schema").Struct<{
2472
- readonly code: import("effect/Schema").Literal<"DEADLINE_EXCEEDED">;
2473
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2474
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2475
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2476
- id: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2477
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2478
- }> | import("effect/Schema").Struct<{
2479
- readonly code: import("effect/Schema").Literal<"FAILED_PRECONDITION">;
2480
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2481
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2482
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2483
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["cursor-expired", "diverged", "merge-conflict", "candidate-superseded", "candidate-cancelled", "entry-gone", "ref-conflict", "newer-format", "changed-while-checked", "unsupported-attribute", "unrelated-histories", "unsupported-virtual-base", "own-repo", "not-a-fork", "no-copy-rows", "shallow-root", "shallow-upload", "import-cancelled", "importing", "history-not-imported", "stage-gone", "remote-refused", "atomic-partner", "merges-off", "no-releases"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2484
- importState: import("effect/Schema").optionalKey<import("effect/Schema").Literals<readonly ["running", "cancelled", "failed"]>>;
2485
- attribute: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2486
- paths: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
2487
- total: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2488
- tip: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2489
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2490
- }> | import("effect/Schema").Struct<{
2491
- readonly code: import("effect/Schema").Literal<"INTERNAL">;
2492
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2493
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2494
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2495
- }> | import("effect/Schema").Struct<{
2496
- readonly code: import("effect/Schema").Literal<"INVALID_ARGUMENT">;
2497
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2498
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2499
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2500
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["ofs-delta", "fsck", "provider-unknown", "body-ended", "link-wrong-type", "tag-target-missing", "object-missing", "boundary-not-in-pack", "too-many-short-ids", "too-many-parents"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2501
- msgId: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2502
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2503
- given: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2504
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2505
- }> | import("effect/Schema").Struct<{
2506
- readonly code: import("effect/Schema").Literal<"NOT_ALLOWED">;
2507
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2508
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2509
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2510
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["files-refused", "entry-unpublishable", "fetch-depth-unsupported"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2511
- entries: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
2512
- paths: import("effect/Schema").optionalKey<import("effect/Schema").mutable<import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>>>;
2513
- total: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2514
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2515
- }> | import("effect/Schema").Struct<{
2516
- readonly code: import("effect/Schema").Literal<"NOT_FOUND">;
2517
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2518
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2519
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2520
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["no-queue", "no-sync", "no-topics", "ambiguous"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2521
- target: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2522
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2523
- }> | import("effect/Schema").Struct<{
2524
- readonly code: import("effect/Schema").Literal<"RESOURCE_EXHAUSTED">;
2525
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2526
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2527
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2528
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2529
- indexBytes: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2530
- pushBytes: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2531
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2532
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2533
- }> | import("effect/Schema").Struct<{
2534
- readonly code: import("effect/Schema").Literal<"UNAUTHENTICATED">;
2535
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2536
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2537
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{}>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2538
- }> | import("effect/Schema").Struct<{
2539
- readonly code: import("effect/Schema").Literal<"UNAVAILABLE">;
2540
- readonly message: import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>;
2541
- readonly hint: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2542
- readonly context: import("effect/Schema").optionalKey<import("effect/Schema").StructWithRest<import("effect/Schema").Struct<{
2543
- id: import("effect/Schema").optionalKey<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>;
2544
- reason: import("effect/Schema").optionalKey<import("effect/Schema").Union<readonly [import("effect/Schema").Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>]>>;
2545
- packs: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2546
- most: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2547
- retryAfter: import("effect/Schema").optionalKey<import("effect/Schema").Number>;
2548
- }>, readonly [import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, import("effect/Schema").Number, import("effect/Schema").Boolean, import("effect/Schema").$Array<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>>, import("effect/Schema").Undefined]>>]>>;
2549
- }>, {
2550
- "ref0-code": import("effect/Schema").String;
2551
- 'www-authenticate': import("effect/Schema").String;
2552
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
2553
- readonly code: "ALREADY_EXISTS";
2554
- readonly message: string;
2555
- readonly hint?: string;
2556
- readonly context?: {
2557
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2558
- readonly reason?: string;
2559
- readonly verdict?: "fail" | "pass";
2560
- };
2561
- } | {
2562
- readonly code: "DATA_LOSS";
2563
- readonly message: string;
2564
- readonly hint?: string;
2565
- readonly context?: {
2566
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2567
- readonly reason?: string;
2568
- };
2569
- } | {
2570
- readonly code: "DEADLINE_EXCEEDED";
2571
- readonly message: string;
2572
- readonly hint?: string;
2573
- readonly context?: {
2574
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2575
- readonly id?: string;
2576
- };
2577
- } | {
2578
- readonly code: "FAILED_PRECONDITION";
2579
- readonly message: string;
2580
- readonly hint?: string;
2581
- readonly context?: {
2582
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2583
- readonly reason?: string;
2584
- readonly importState?: "cancelled" | "failed" | "running";
2585
- readonly attribute?: string;
2586
- readonly paths?: string[];
2587
- readonly total?: number;
2588
- readonly tip?: string;
2589
- };
2590
- } | {
2591
- readonly code: "INTERNAL";
2592
- readonly message: string;
2593
- readonly hint?: string;
2594
- readonly context?: {
2595
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2596
- };
2597
- } | {
2598
- readonly code: "INVALID_ARGUMENT";
2599
- readonly message: string;
2600
- readonly hint?: string;
2601
- readonly context?: {
2602
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2603
- readonly reason?: string;
2604
- readonly msgId?: string;
2605
- readonly most?: number;
2606
- readonly given?: number;
2607
- };
2608
- } | {
2609
- readonly code: "NOT_ALLOWED";
2610
- readonly message: string;
2611
- readonly hint?: string;
2612
- readonly context?: {
2613
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2614
- readonly reason?: string;
2615
- readonly entries?: string[];
2616
- readonly paths?: string[];
2617
- readonly total?: number;
2618
- };
2619
- } | {
2620
- readonly code: "NOT_FOUND";
2621
- readonly message: string;
2622
- readonly hint?: string;
2623
- readonly context?: {
2624
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2625
- readonly reason?: string;
2626
- readonly target?: string;
2627
- };
2628
- } | {
2629
- readonly code: "RESOURCE_EXHAUSTED";
2630
- readonly message: string;
2631
- readonly hint?: string;
2632
- readonly context?: {
2633
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2634
- readonly reason?: string;
2635
- readonly indexBytes?: number;
2636
- readonly pushBytes?: number;
2637
- readonly most?: number;
2638
- };
2639
- } | {
2640
- readonly code: "UNAUTHENTICATED";
2641
- readonly message: string;
2642
- readonly hint?: string;
2643
- readonly context?: {
2644
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2645
- };
2646
- } | {
2647
- readonly code: "UNAVAILABLE";
2648
- readonly message: string;
2649
- readonly hint?: string;
2650
- readonly context?: {
2651
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2652
- readonly id?: string;
2653
- readonly reason?: string;
2654
- readonly packs?: number;
2655
- readonly most?: number;
2656
- readonly retryAfter?: number;
2657
- };
2658
- }, unknown, never, never>, import("effect/Schema").Codec<{
2659
- readonly code: "ALREADY_EXISTS";
2660
- readonly message: string;
2661
- readonly hint?: string;
2662
- readonly context?: {
2663
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2664
- readonly reason?: string;
2665
- readonly verdict?: "fail" | "pass";
2666
- };
2667
- } | {
2668
- readonly code: "DATA_LOSS";
2669
- readonly message: string;
2670
- readonly hint?: string;
2671
- readonly context?: {
2672
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2673
- readonly reason?: string;
2674
- };
2675
- } | {
2676
- readonly code: "DEADLINE_EXCEEDED";
2677
- readonly message: string;
2678
- readonly hint?: string;
2679
- readonly context?: {
2680
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2681
- readonly id?: string;
2682
- };
2683
- } | {
2684
- readonly code: "FAILED_PRECONDITION";
2685
- readonly message: string;
2686
- readonly hint?: string;
2687
- readonly context?: {
2688
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2689
- readonly reason?: string;
2690
- readonly importState?: "cancelled" | "failed" | "running";
2691
- readonly attribute?: string;
2692
- readonly paths?: string[];
2693
- readonly total?: number;
2694
- readonly tip?: string;
2695
- };
2696
- } | {
2697
- readonly code: "INTERNAL";
2698
- readonly message: string;
2699
- readonly hint?: string;
2700
- readonly context?: {
2701
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2702
- };
2703
- } | {
2704
- readonly code: "INVALID_ARGUMENT";
2705
- readonly message: string;
2706
- readonly hint?: string;
2707
- readonly context?: {
2708
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2709
- readonly reason?: string;
2710
- readonly msgId?: string;
2711
- readonly most?: number;
2712
- readonly given?: number;
2713
- };
2714
- } | {
2715
- readonly code: "NOT_ALLOWED";
2716
- readonly message: string;
2717
- readonly hint?: string;
2718
- readonly context?: {
2719
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2720
- readonly reason?: string;
2721
- readonly entries?: string[];
2722
- readonly paths?: string[];
2723
- readonly total?: number;
2724
- };
2725
- } | {
2726
- readonly code: "NOT_FOUND";
2727
- readonly message: string;
2728
- readonly hint?: string;
2729
- readonly context?: {
2730
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2731
- readonly reason?: string;
2732
- readonly target?: string;
2733
- };
2734
- } | {
2735
- readonly code: "RESOURCE_EXHAUSTED";
2736
- readonly message: string;
2737
- readonly hint?: string;
2738
- readonly context?: {
2739
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2740
- readonly reason?: string;
2741
- readonly indexBytes?: number;
2742
- readonly pushBytes?: number;
2743
- readonly most?: number;
2744
- };
2745
- } | {
2746
- readonly code: "UNAUTHENTICATED";
2747
- readonly message: string;
2748
- readonly hint?: string;
2749
- readonly context?: {
2750
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2751
- };
2752
- } | {
2753
- readonly code: "UNAVAILABLE";
2754
- readonly message: string;
2755
- readonly hint?: string;
2756
- readonly context?: {
2757
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2758
- readonly id?: string;
2759
- readonly reason?: string;
2760
- readonly packs?: number;
2761
- readonly most?: number;
2762
- readonly retryAfter?: number;
2763
- };
2764
- }, unknown, never, never>, {
2765
- "ref0-code": import("effect/Schema").String;
2766
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
2767
- readonly code: "ALREADY_EXISTS";
2768
- readonly message: string;
2769
- readonly hint?: string;
2770
- readonly context?: {
2771
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2772
- readonly reason?: string;
2773
- readonly verdict?: "fail" | "pass";
2774
- };
2775
- } | {
2776
- readonly code: "DATA_LOSS";
2777
- readonly message: string;
2778
- readonly hint?: string;
2779
- readonly context?: {
2780
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2781
- readonly reason?: string;
2782
- };
2783
- } | {
2784
- readonly code: "DEADLINE_EXCEEDED";
2785
- readonly message: string;
2786
- readonly hint?: string;
2787
- readonly context?: {
2788
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2789
- readonly id?: string;
2790
- };
2791
- } | {
2792
- readonly code: "FAILED_PRECONDITION";
2793
- readonly message: string;
2794
- readonly hint?: string;
2795
- readonly context?: {
2796
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2797
- readonly reason?: string;
2798
- readonly importState?: "cancelled" | "failed" | "running";
2799
- readonly attribute?: string;
2800
- readonly paths?: string[];
2801
- readonly total?: number;
2802
- readonly tip?: string;
2803
- };
2804
- } | {
2805
- readonly code: "INTERNAL";
2806
- readonly message: string;
2807
- readonly hint?: string;
2808
- readonly context?: {
2809
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2810
- };
2811
- } | {
2812
- readonly code: "INVALID_ARGUMENT";
2813
- readonly message: string;
2814
- readonly hint?: string;
2815
- readonly context?: {
2816
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2817
- readonly reason?: string;
2818
- readonly msgId?: string;
2819
- readonly most?: number;
2820
- readonly given?: number;
2821
- };
2822
- } | {
2823
- readonly code: "NOT_ALLOWED";
2824
- readonly message: string;
2825
- readonly hint?: string;
2826
- readonly context?: {
2827
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2828
- readonly reason?: string;
2829
- readonly entries?: string[];
2830
- readonly paths?: string[];
2831
- readonly total?: number;
2832
- };
2833
- } | {
2834
- readonly code: "NOT_FOUND";
2835
- readonly message: string;
2836
- readonly hint?: string;
2837
- readonly context?: {
2838
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2839
- readonly reason?: string;
2840
- readonly target?: string;
2841
- };
2842
- } | {
2843
- readonly code: "RESOURCE_EXHAUSTED";
2844
- readonly message: string;
2845
- readonly hint?: string;
2846
- readonly context?: {
2847
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2848
- readonly reason?: string;
2849
- readonly indexBytes?: number;
2850
- readonly pushBytes?: number;
2851
- readonly most?: number;
2852
- };
2853
- } | {
2854
- readonly code: "UNAUTHENTICATED";
2855
- readonly message: string;
2856
- readonly hint?: string;
2857
- readonly context?: {
2858
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2859
- };
2860
- } | {
2861
- readonly code: "UNAVAILABLE";
2862
- readonly message: string;
2863
- readonly hint?: string;
2864
- readonly context?: {
2865
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2866
- readonly id?: string;
2867
- readonly reason?: string;
2868
- readonly packs?: number;
2869
- readonly most?: number;
2870
- readonly retryAfter?: number;
2871
- };
2872
- }, unknown, never, never>, import("effect/Schema").Codec<{
2873
- readonly code: "ALREADY_EXISTS";
2874
- readonly message: string;
2875
- readonly hint?: string;
2876
- readonly context?: {
2877
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2878
- readonly reason?: string;
2879
- readonly verdict?: "fail" | "pass";
2880
- };
2881
- } | {
2882
- readonly code: "DATA_LOSS";
2883
- readonly message: string;
2884
- readonly hint?: string;
2885
- readonly context?: {
2886
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2887
- readonly reason?: string;
2888
- };
2889
- } | {
2890
- readonly code: "DEADLINE_EXCEEDED";
2891
- readonly message: string;
2892
- readonly hint?: string;
2893
- readonly context?: {
2894
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2895
- readonly id?: string;
2896
- };
2897
- } | {
2898
- readonly code: "FAILED_PRECONDITION";
2899
- readonly message: string;
2900
- readonly hint?: string;
2901
- readonly context?: {
2902
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2903
- readonly reason?: string;
2904
- readonly importState?: "cancelled" | "failed" | "running";
2905
- readonly attribute?: string;
2906
- readonly paths?: string[];
2907
- readonly total?: number;
2908
- readonly tip?: string;
2909
- };
2910
- } | {
2911
- readonly code: "INTERNAL";
2912
- readonly message: string;
2913
- readonly hint?: string;
2914
- readonly context?: {
2915
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2916
- };
2917
- } | {
2918
- readonly code: "INVALID_ARGUMENT";
2919
- readonly message: string;
2920
- readonly hint?: string;
2921
- readonly context?: {
2922
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2923
- readonly reason?: string;
2924
- readonly msgId?: string;
2925
- readonly most?: number;
2926
- readonly given?: number;
2927
- };
2928
- } | {
2929
- readonly code: "NOT_ALLOWED";
2930
- readonly message: string;
2931
- readonly hint?: string;
2932
- readonly context?: {
2933
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2934
- readonly reason?: string;
2935
- readonly entries?: string[];
2936
- readonly paths?: string[];
2937
- readonly total?: number;
2938
- };
2939
- } | {
2940
- readonly code: "NOT_FOUND";
2941
- readonly message: string;
2942
- readonly hint?: string;
2943
- readonly context?: {
2944
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2945
- readonly reason?: string;
2946
- readonly target?: string;
2947
- };
2948
- } | {
2949
- readonly code: "RESOURCE_EXHAUSTED";
2950
- readonly message: string;
2951
- readonly hint?: string;
2952
- readonly context?: {
2953
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2954
- readonly reason?: string;
2955
- readonly indexBytes?: number;
2956
- readonly pushBytes?: number;
2957
- readonly most?: number;
2958
- };
2959
- } | {
2960
- readonly code: "UNAUTHENTICATED";
2961
- readonly message: string;
2962
- readonly hint?: string;
2963
- readonly context?: {
2964
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2965
- };
2966
- } | {
2967
- readonly code: "UNAVAILABLE";
2968
- readonly message: string;
2969
- readonly hint?: string;
2970
- readonly context?: {
2971
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2972
- readonly id?: string;
2973
- readonly reason?: string;
2974
- readonly packs?: number;
2975
- readonly most?: number;
2976
- readonly retryAfter?: number;
2977
- };
2978
- }, unknown, never, never>, {
2979
- "ref0-code": import("effect/Schema").String;
2980
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
2981
- readonly code: "ALREADY_EXISTS";
2982
- readonly message: string;
2983
- readonly hint?: string;
2984
- readonly context?: {
2985
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2986
- readonly reason?: string;
2987
- readonly verdict?: "fail" | "pass";
2988
- };
2989
- } | {
2990
- readonly code: "DATA_LOSS";
2991
- readonly message: string;
2992
- readonly hint?: string;
2993
- readonly context?: {
2994
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
2995
- readonly reason?: string;
2996
- };
2997
- } | {
2998
- readonly code: "DEADLINE_EXCEEDED";
2999
- readonly message: string;
3000
- readonly hint?: string;
3001
- readonly context?: {
3002
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3003
- readonly id?: string;
3004
- };
3005
- } | {
3006
- readonly code: "FAILED_PRECONDITION";
3007
- readonly message: string;
3008
- readonly hint?: string;
3009
- readonly context?: {
3010
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3011
- readonly reason?: string;
3012
- readonly importState?: "cancelled" | "failed" | "running";
3013
- readonly attribute?: string;
3014
- readonly paths?: string[];
3015
- readonly total?: number;
3016
- readonly tip?: string;
3017
- };
3018
- } | {
3019
- readonly code: "INTERNAL";
3020
- readonly message: string;
3021
- readonly hint?: string;
3022
- readonly context?: {
3023
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3024
- };
3025
- } | {
3026
- readonly code: "INVALID_ARGUMENT";
3027
- readonly message: string;
3028
- readonly hint?: string;
3029
- readonly context?: {
3030
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3031
- readonly reason?: string;
3032
- readonly msgId?: string;
3033
- readonly most?: number;
3034
- readonly given?: number;
3035
- };
3036
- } | {
3037
- readonly code: "NOT_ALLOWED";
3038
- readonly message: string;
3039
- readonly hint?: string;
3040
- readonly context?: {
3041
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3042
- readonly reason?: string;
3043
- readonly entries?: string[];
3044
- readonly paths?: string[];
3045
- readonly total?: number;
3046
- };
3047
- } | {
3048
- readonly code: "NOT_FOUND";
3049
- readonly message: string;
3050
- readonly hint?: string;
3051
- readonly context?: {
3052
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3053
- readonly reason?: string;
3054
- readonly target?: string;
3055
- };
3056
- } | {
3057
- readonly code: "RESOURCE_EXHAUSTED";
3058
- readonly message: string;
3059
- readonly hint?: string;
3060
- readonly context?: {
3061
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3062
- readonly reason?: string;
3063
- readonly indexBytes?: number;
3064
- readonly pushBytes?: number;
3065
- readonly most?: number;
3066
- };
3067
- } | {
3068
- readonly code: "UNAUTHENTICATED";
3069
- readonly message: string;
3070
- readonly hint?: string;
3071
- readonly context?: {
3072
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3073
- };
3074
- } | {
3075
- readonly code: "UNAVAILABLE";
3076
- readonly message: string;
3077
- readonly hint?: string;
3078
- readonly context?: {
3079
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3080
- readonly id?: string;
3081
- readonly reason?: string;
3082
- readonly packs?: number;
3083
- readonly most?: number;
3084
- readonly retryAfter?: number;
3085
- };
3086
- }, unknown, never, never>, import("effect/Schema").Codec<{
3087
- readonly code: "ALREADY_EXISTS";
3088
- readonly message: string;
3089
- readonly hint?: string;
3090
- readonly context?: {
3091
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3092
- readonly reason?: string;
3093
- readonly verdict?: "fail" | "pass";
3094
- };
3095
- } | {
3096
- readonly code: "DATA_LOSS";
3097
- readonly message: string;
3098
- readonly hint?: string;
3099
- readonly context?: {
3100
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3101
- readonly reason?: string;
3102
- };
3103
- } | {
3104
- readonly code: "DEADLINE_EXCEEDED";
3105
- readonly message: string;
3106
- readonly hint?: string;
3107
- readonly context?: {
3108
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3109
- readonly id?: string;
3110
- };
3111
- } | {
3112
- readonly code: "FAILED_PRECONDITION";
3113
- readonly message: string;
3114
- readonly hint?: string;
3115
- readonly context?: {
3116
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3117
- readonly reason?: string;
3118
- readonly importState?: "cancelled" | "failed" | "running";
3119
- readonly attribute?: string;
3120
- readonly paths?: string[];
3121
- readonly total?: number;
3122
- readonly tip?: string;
3123
- };
3124
- } | {
3125
- readonly code: "INTERNAL";
3126
- readonly message: string;
3127
- readonly hint?: string;
3128
- readonly context?: {
3129
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3130
- };
3131
- } | {
3132
- readonly code: "INVALID_ARGUMENT";
3133
- readonly message: string;
3134
- readonly hint?: string;
3135
- readonly context?: {
3136
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3137
- readonly reason?: string;
3138
- readonly msgId?: string;
3139
- readonly most?: number;
3140
- readonly given?: number;
3141
- };
3142
- } | {
3143
- readonly code: "NOT_ALLOWED";
3144
- readonly message: string;
3145
- readonly hint?: string;
3146
- readonly context?: {
3147
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3148
- readonly reason?: string;
3149
- readonly entries?: string[];
3150
- readonly paths?: string[];
3151
- readonly total?: number;
3152
- };
3153
- } | {
3154
- readonly code: "NOT_FOUND";
3155
- readonly message: string;
3156
- readonly hint?: string;
3157
- readonly context?: {
3158
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3159
- readonly reason?: string;
3160
- readonly target?: string;
3161
- };
3162
- } | {
3163
- readonly code: "RESOURCE_EXHAUSTED";
3164
- readonly message: string;
3165
- readonly hint?: string;
3166
- readonly context?: {
3167
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3168
- readonly reason?: string;
3169
- readonly indexBytes?: number;
3170
- readonly pushBytes?: number;
3171
- readonly most?: number;
3172
- };
3173
- } | {
3174
- readonly code: "UNAUTHENTICATED";
3175
- readonly message: string;
3176
- readonly hint?: string;
3177
- readonly context?: {
3178
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3179
- };
3180
- } | {
3181
- readonly code: "UNAVAILABLE";
3182
- readonly message: string;
3183
- readonly hint?: string;
3184
- readonly context?: {
3185
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3186
- readonly id?: string;
3187
- readonly reason?: string;
3188
- readonly packs?: number;
3189
- readonly most?: number;
3190
- readonly retryAfter?: number;
3191
- };
3192
- }, unknown, never, never>, {
3193
- "ref0-code": import("effect/Schema").String;
3194
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
3195
- readonly code: "ALREADY_EXISTS";
3196
- readonly message: string;
3197
- readonly hint?: string;
3198
- readonly context?: {
3199
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3200
- readonly reason?: string;
3201
- readonly verdict?: "fail" | "pass";
3202
- };
3203
- } | {
3204
- readonly code: "DATA_LOSS";
3205
- readonly message: string;
3206
- readonly hint?: string;
3207
- readonly context?: {
3208
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3209
- readonly reason?: string;
3210
- };
3211
- } | {
3212
- readonly code: "DEADLINE_EXCEEDED";
3213
- readonly message: string;
3214
- readonly hint?: string;
3215
- readonly context?: {
3216
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3217
- readonly id?: string;
3218
- };
3219
- } | {
3220
- readonly code: "FAILED_PRECONDITION";
3221
- readonly message: string;
3222
- readonly hint?: string;
3223
- readonly context?: {
3224
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3225
- readonly reason?: string;
3226
- readonly importState?: "cancelled" | "failed" | "running";
3227
- readonly attribute?: string;
3228
- readonly paths?: string[];
3229
- readonly total?: number;
3230
- readonly tip?: string;
3231
- };
3232
- } | {
3233
- readonly code: "INTERNAL";
3234
- readonly message: string;
3235
- readonly hint?: string;
3236
- readonly context?: {
3237
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3238
- };
3239
- } | {
3240
- readonly code: "INVALID_ARGUMENT";
3241
- readonly message: string;
3242
- readonly hint?: string;
3243
- readonly context?: {
3244
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3245
- readonly reason?: string;
3246
- readonly msgId?: string;
3247
- readonly most?: number;
3248
- readonly given?: number;
3249
- };
3250
- } | {
3251
- readonly code: "NOT_ALLOWED";
3252
- readonly message: string;
3253
- readonly hint?: string;
3254
- readonly context?: {
3255
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3256
- readonly reason?: string;
3257
- readonly entries?: string[];
3258
- readonly paths?: string[];
3259
- readonly total?: number;
3260
- };
3261
- } | {
3262
- readonly code: "NOT_FOUND";
3263
- readonly message: string;
3264
- readonly hint?: string;
3265
- readonly context?: {
3266
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3267
- readonly reason?: string;
3268
- readonly target?: string;
3269
- };
3270
- } | {
3271
- readonly code: "RESOURCE_EXHAUSTED";
3272
- readonly message: string;
3273
- readonly hint?: string;
3274
- readonly context?: {
3275
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3276
- readonly reason?: string;
3277
- readonly indexBytes?: number;
3278
- readonly pushBytes?: number;
3279
- readonly most?: number;
3280
- };
3281
- } | {
3282
- readonly code: "UNAUTHENTICATED";
3283
- readonly message: string;
3284
- readonly hint?: string;
3285
- readonly context?: {
3286
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3287
- };
3288
- } | {
3289
- readonly code: "UNAVAILABLE";
3290
- readonly message: string;
3291
- readonly hint?: string;
3292
- readonly context?: {
3293
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3294
- readonly id?: string;
3295
- readonly reason?: string;
3296
- readonly packs?: number;
3297
- readonly most?: number;
3298
- readonly retryAfter?: number;
3299
- };
3300
- }, unknown, never, never>, import("effect/Schema").Codec<{
3301
- readonly code: "ALREADY_EXISTS";
3302
- readonly message: string;
3303
- readonly hint?: string;
3304
- readonly context?: {
3305
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3306
- readonly reason?: string;
3307
- readonly verdict?: "fail" | "pass";
3308
- };
3309
- } | {
3310
- readonly code: "DATA_LOSS";
3311
- readonly message: string;
3312
- readonly hint?: string;
3313
- readonly context?: {
3314
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3315
- readonly reason?: string;
3316
- };
3317
- } | {
3318
- readonly code: "DEADLINE_EXCEEDED";
3319
- readonly message: string;
3320
- readonly hint?: string;
3321
- readonly context?: {
3322
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3323
- readonly id?: string;
3324
- };
3325
- } | {
3326
- readonly code: "FAILED_PRECONDITION";
3327
- readonly message: string;
3328
- readonly hint?: string;
3329
- readonly context?: {
3330
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3331
- readonly reason?: string;
3332
- readonly importState?: "cancelled" | "failed" | "running";
3333
- readonly attribute?: string;
3334
- readonly paths?: string[];
3335
- readonly total?: number;
3336
- readonly tip?: string;
3337
- };
3338
- } | {
3339
- readonly code: "INTERNAL";
3340
- readonly message: string;
3341
- readonly hint?: string;
3342
- readonly context?: {
3343
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3344
- };
3345
- } | {
3346
- readonly code: "INVALID_ARGUMENT";
3347
- readonly message: string;
3348
- readonly hint?: string;
3349
- readonly context?: {
3350
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3351
- readonly reason?: string;
3352
- readonly msgId?: string;
3353
- readonly most?: number;
3354
- readonly given?: number;
3355
- };
3356
- } | {
3357
- readonly code: "NOT_ALLOWED";
3358
- readonly message: string;
3359
- readonly hint?: string;
3360
- readonly context?: {
3361
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3362
- readonly reason?: string;
3363
- readonly entries?: string[];
3364
- readonly paths?: string[];
3365
- readonly total?: number;
3366
- };
3367
- } | {
3368
- readonly code: "NOT_FOUND";
3369
- readonly message: string;
3370
- readonly hint?: string;
3371
- readonly context?: {
3372
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3373
- readonly reason?: string;
3374
- readonly target?: string;
3375
- };
3376
- } | {
3377
- readonly code: "RESOURCE_EXHAUSTED";
3378
- readonly message: string;
3379
- readonly hint?: string;
3380
- readonly context?: {
3381
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3382
- readonly reason?: string;
3383
- readonly indexBytes?: number;
3384
- readonly pushBytes?: number;
3385
- readonly most?: number;
3386
- };
3387
- } | {
3388
- readonly code: "UNAUTHENTICATED";
3389
- readonly message: string;
3390
- readonly hint?: string;
3391
- readonly context?: {
3392
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3393
- };
3394
- } | {
3395
- readonly code: "UNAVAILABLE";
3396
- readonly message: string;
3397
- readonly hint?: string;
3398
- readonly context?: {
3399
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3400
- readonly id?: string;
3401
- readonly reason?: string;
3402
- readonly packs?: number;
3403
- readonly most?: number;
3404
- readonly retryAfter?: number;
3405
- };
3406
- }, unknown, never, never>, {
3407
- "ref0-code": import("effect/Schema").String;
3408
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
3409
- readonly code: "ALREADY_EXISTS";
3410
- readonly message: string;
3411
- readonly hint?: string;
3412
- readonly context?: {
3413
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3414
- readonly reason?: string;
3415
- readonly verdict?: "fail" | "pass";
3416
- };
3417
- } | {
3418
- readonly code: "DATA_LOSS";
3419
- readonly message: string;
3420
- readonly hint?: string;
3421
- readonly context?: {
3422
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3423
- readonly reason?: string;
3424
- };
3425
- } | {
3426
- readonly code: "DEADLINE_EXCEEDED";
3427
- readonly message: string;
3428
- readonly hint?: string;
3429
- readonly context?: {
3430
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3431
- readonly id?: string;
3432
- };
3433
- } | {
3434
- readonly code: "FAILED_PRECONDITION";
3435
- readonly message: string;
3436
- readonly hint?: string;
3437
- readonly context?: {
3438
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3439
- readonly reason?: string;
3440
- readonly importState?: "cancelled" | "failed" | "running";
3441
- readonly attribute?: string;
3442
- readonly paths?: string[];
3443
- readonly total?: number;
3444
- readonly tip?: string;
3445
- };
3446
- } | {
3447
- readonly code: "INTERNAL";
3448
- readonly message: string;
3449
- readonly hint?: string;
3450
- readonly context?: {
3451
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3452
- };
3453
- } | {
3454
- readonly code: "INVALID_ARGUMENT";
3455
- readonly message: string;
3456
- readonly hint?: string;
3457
- readonly context?: {
3458
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3459
- readonly reason?: string;
3460
- readonly msgId?: string;
3461
- readonly most?: number;
3462
- readonly given?: number;
3463
- };
3464
- } | {
3465
- readonly code: "NOT_ALLOWED";
3466
- readonly message: string;
3467
- readonly hint?: string;
3468
- readonly context?: {
3469
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3470
- readonly reason?: string;
3471
- readonly entries?: string[];
3472
- readonly paths?: string[];
3473
- readonly total?: number;
3474
- };
3475
- } | {
3476
- readonly code: "NOT_FOUND";
3477
- readonly message: string;
3478
- readonly hint?: string;
3479
- readonly context?: {
3480
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3481
- readonly reason?: string;
3482
- readonly target?: string;
3483
- };
3484
- } | {
3485
- readonly code: "RESOURCE_EXHAUSTED";
3486
- readonly message: string;
3487
- readonly hint?: string;
3488
- readonly context?: {
3489
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3490
- readonly reason?: string;
3491
- readonly indexBytes?: number;
3492
- readonly pushBytes?: number;
3493
- readonly most?: number;
3494
- };
3495
- } | {
3496
- readonly code: "UNAUTHENTICATED";
3497
- readonly message: string;
3498
- readonly hint?: string;
3499
- readonly context?: {
3500
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3501
- };
3502
- } | {
3503
- readonly code: "UNAVAILABLE";
3504
- readonly message: string;
3505
- readonly hint?: string;
3506
- readonly context?: {
3507
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3508
- readonly id?: string;
3509
- readonly reason?: string;
3510
- readonly packs?: number;
3511
- readonly most?: number;
3512
- readonly retryAfter?: number;
3513
- };
3514
- }, unknown, never, never>, import("effect/Schema").Codec<{
3515
- readonly code: "ALREADY_EXISTS";
3516
- readonly message: string;
3517
- readonly hint?: string;
3518
- readonly context?: {
3519
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3520
- readonly reason?: string;
3521
- readonly verdict?: "fail" | "pass";
3522
- };
3523
- } | {
3524
- readonly code: "DATA_LOSS";
3525
- readonly message: string;
3526
- readonly hint?: string;
3527
- readonly context?: {
3528
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3529
- readonly reason?: string;
3530
- };
3531
- } | {
3532
- readonly code: "DEADLINE_EXCEEDED";
3533
- readonly message: string;
3534
- readonly hint?: string;
3535
- readonly context?: {
3536
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3537
- readonly id?: string;
3538
- };
3539
- } | {
3540
- readonly code: "FAILED_PRECONDITION";
3541
- readonly message: string;
3542
- readonly hint?: string;
3543
- readonly context?: {
3544
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3545
- readonly reason?: string;
3546
- readonly importState?: "cancelled" | "failed" | "running";
3547
- readonly attribute?: string;
3548
- readonly paths?: string[];
3549
- readonly total?: number;
3550
- readonly tip?: string;
3551
- };
3552
- } | {
3553
- readonly code: "INTERNAL";
3554
- readonly message: string;
3555
- readonly hint?: string;
3556
- readonly context?: {
3557
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3558
- };
3559
- } | {
3560
- readonly code: "INVALID_ARGUMENT";
3561
- readonly message: string;
3562
- readonly hint?: string;
3563
- readonly context?: {
3564
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3565
- readonly reason?: string;
3566
- readonly msgId?: string;
3567
- readonly most?: number;
3568
- readonly given?: number;
3569
- };
3570
- } | {
3571
- readonly code: "NOT_ALLOWED";
3572
- readonly message: string;
3573
- readonly hint?: string;
3574
- readonly context?: {
3575
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3576
- readonly reason?: string;
3577
- readonly entries?: string[];
3578
- readonly paths?: string[];
3579
- readonly total?: number;
3580
- };
3581
- } | {
3582
- readonly code: "NOT_FOUND";
3583
- readonly message: string;
3584
- readonly hint?: string;
3585
- readonly context?: {
3586
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3587
- readonly reason?: string;
3588
- readonly target?: string;
3589
- };
3590
- } | {
3591
- readonly code: "RESOURCE_EXHAUSTED";
3592
- readonly message: string;
3593
- readonly hint?: string;
3594
- readonly context?: {
3595
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3596
- readonly reason?: string;
3597
- readonly indexBytes?: number;
3598
- readonly pushBytes?: number;
3599
- readonly most?: number;
3600
- };
3601
- } | {
3602
- readonly code: "UNAUTHENTICATED";
3603
- readonly message: string;
3604
- readonly hint?: string;
3605
- readonly context?: {
3606
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3607
- };
3608
- } | {
3609
- readonly code: "UNAVAILABLE";
3610
- readonly message: string;
3611
- readonly hint?: string;
3612
- readonly context?: {
3613
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3614
- readonly id?: string;
3615
- readonly reason?: string;
3616
- readonly packs?: number;
3617
- readonly most?: number;
3618
- readonly retryAfter?: number;
3619
- };
3620
- }, unknown, never, never>, {
3621
- "ref0-code": import("effect/Schema").String;
3622
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
3623
- readonly code: "ALREADY_EXISTS";
3624
- readonly message: string;
3625
- readonly hint?: string;
3626
- readonly context?: {
3627
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3628
- readonly reason?: string;
3629
- readonly verdict?: "fail" | "pass";
3630
- };
3631
- } | {
3632
- readonly code: "DATA_LOSS";
3633
- readonly message: string;
3634
- readonly hint?: string;
3635
- readonly context?: {
3636
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3637
- readonly reason?: string;
3638
- };
3639
- } | {
3640
- readonly code: "DEADLINE_EXCEEDED";
3641
- readonly message: string;
3642
- readonly hint?: string;
3643
- readonly context?: {
3644
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3645
- readonly id?: string;
3646
- };
3647
- } | {
3648
- readonly code: "FAILED_PRECONDITION";
3649
- readonly message: string;
3650
- readonly hint?: string;
3651
- readonly context?: {
3652
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3653
- readonly reason?: string;
3654
- readonly importState?: "cancelled" | "failed" | "running";
3655
- readonly attribute?: string;
3656
- readonly paths?: string[];
3657
- readonly total?: number;
3658
- readonly tip?: string;
3659
- };
3660
- } | {
3661
- readonly code: "INTERNAL";
3662
- readonly message: string;
3663
- readonly hint?: string;
3664
- readonly context?: {
3665
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3666
- };
3667
- } | {
3668
- readonly code: "INVALID_ARGUMENT";
3669
- readonly message: string;
3670
- readonly hint?: string;
3671
- readonly context?: {
3672
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3673
- readonly reason?: string;
3674
- readonly msgId?: string;
3675
- readonly most?: number;
3676
- readonly given?: number;
3677
- };
3678
- } | {
3679
- readonly code: "NOT_ALLOWED";
3680
- readonly message: string;
3681
- readonly hint?: string;
3682
- readonly context?: {
3683
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3684
- readonly reason?: string;
3685
- readonly entries?: string[];
3686
- readonly paths?: string[];
3687
- readonly total?: number;
3688
- };
3689
- } | {
3690
- readonly code: "NOT_FOUND";
3691
- readonly message: string;
3692
- readonly hint?: string;
3693
- readonly context?: {
3694
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3695
- readonly reason?: string;
3696
- readonly target?: string;
3697
- };
3698
- } | {
3699
- readonly code: "RESOURCE_EXHAUSTED";
3700
- readonly message: string;
3701
- readonly hint?: string;
3702
- readonly context?: {
3703
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3704
- readonly reason?: string;
3705
- readonly indexBytes?: number;
3706
- readonly pushBytes?: number;
3707
- readonly most?: number;
3708
- };
3709
- } | {
3710
- readonly code: "UNAUTHENTICATED";
3711
- readonly message: string;
3712
- readonly hint?: string;
3713
- readonly context?: {
3714
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3715
- };
3716
- } | {
3717
- readonly code: "UNAVAILABLE";
3718
- readonly message: string;
3719
- readonly hint?: string;
3720
- readonly context?: {
3721
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3722
- readonly id?: string;
3723
- readonly reason?: string;
3724
- readonly packs?: number;
3725
- readonly most?: number;
3726
- readonly retryAfter?: number;
3727
- };
3728
- }, unknown, never, never>, import("effect/Schema").Codec<{
3729
- readonly code: "ALREADY_EXISTS";
3730
- readonly message: string;
3731
- readonly hint?: string;
3732
- readonly context?: {
3733
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3734
- readonly reason?: string;
3735
- readonly verdict?: "fail" | "pass";
3736
- };
3737
- } | {
3738
- readonly code: "DATA_LOSS";
3739
- readonly message: string;
3740
- readonly hint?: string;
3741
- readonly context?: {
3742
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3743
- readonly reason?: string;
3744
- };
3745
- } | {
3746
- readonly code: "DEADLINE_EXCEEDED";
3747
- readonly message: string;
3748
- readonly hint?: string;
3749
- readonly context?: {
3750
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3751
- readonly id?: string;
3752
- };
3753
- } | {
3754
- readonly code: "FAILED_PRECONDITION";
3755
- readonly message: string;
3756
- readonly hint?: string;
3757
- readonly context?: {
3758
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3759
- readonly reason?: string;
3760
- readonly importState?: "cancelled" | "failed" | "running";
3761
- readonly attribute?: string;
3762
- readonly paths?: string[];
3763
- readonly total?: number;
3764
- readonly tip?: string;
3765
- };
3766
- } | {
3767
- readonly code: "INTERNAL";
3768
- readonly message: string;
3769
- readonly hint?: string;
3770
- readonly context?: {
3771
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3772
- };
3773
- } | {
3774
- readonly code: "INVALID_ARGUMENT";
3775
- readonly message: string;
3776
- readonly hint?: string;
3777
- readonly context?: {
3778
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3779
- readonly reason?: string;
3780
- readonly msgId?: string;
3781
- readonly most?: number;
3782
- readonly given?: number;
3783
- };
3784
- } | {
3785
- readonly code: "NOT_ALLOWED";
3786
- readonly message: string;
3787
- readonly hint?: string;
3788
- readonly context?: {
3789
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3790
- readonly reason?: string;
3791
- readonly entries?: string[];
3792
- readonly paths?: string[];
3793
- readonly total?: number;
3794
- };
3795
- } | {
3796
- readonly code: "NOT_FOUND";
3797
- readonly message: string;
3798
- readonly hint?: string;
3799
- readonly context?: {
3800
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3801
- readonly reason?: string;
3802
- readonly target?: string;
3803
- };
3804
- } | {
3805
- readonly code: "RESOURCE_EXHAUSTED";
3806
- readonly message: string;
3807
- readonly hint?: string;
3808
- readonly context?: {
3809
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3810
- readonly reason?: string;
3811
- readonly indexBytes?: number;
3812
- readonly pushBytes?: number;
3813
- readonly most?: number;
3814
- };
3815
- } | {
3816
- readonly code: "UNAUTHENTICATED";
3817
- readonly message: string;
3818
- readonly hint?: string;
3819
- readonly context?: {
3820
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3821
- };
3822
- } | {
3823
- readonly code: "UNAVAILABLE";
3824
- readonly message: string;
3825
- readonly hint?: string;
3826
- readonly context?: {
3827
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3828
- readonly id?: string;
3829
- readonly reason?: string;
3830
- readonly packs?: number;
3831
- readonly most?: number;
3832
- readonly retryAfter?: number;
3833
- };
3834
- }, unknown, never, never>, {
3835
- "ref0-code": import("effect/Schema").String;
3836
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
3837
- readonly code: "ALREADY_EXISTS";
3838
- readonly message: string;
3839
- readonly hint?: string;
3840
- readonly context?: {
3841
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3842
- readonly reason?: string;
3843
- readonly verdict?: "fail" | "pass";
3844
- };
3845
- } | {
3846
- readonly code: "DATA_LOSS";
3847
- readonly message: string;
3848
- readonly hint?: string;
3849
- readonly context?: {
3850
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3851
- readonly reason?: string;
3852
- };
3853
- } | {
3854
- readonly code: "DEADLINE_EXCEEDED";
3855
- readonly message: string;
3856
- readonly hint?: string;
3857
- readonly context?: {
3858
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3859
- readonly id?: string;
3860
- };
3861
- } | {
3862
- readonly code: "FAILED_PRECONDITION";
3863
- readonly message: string;
3864
- readonly hint?: string;
3865
- readonly context?: {
3866
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3867
- readonly reason?: string;
3868
- readonly importState?: "cancelled" | "failed" | "running";
3869
- readonly attribute?: string;
3870
- readonly paths?: string[];
3871
- readonly total?: number;
3872
- readonly tip?: string;
3873
- };
3874
- } | {
3875
- readonly code: "INTERNAL";
3876
- readonly message: string;
3877
- readonly hint?: string;
3878
- readonly context?: {
3879
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3880
- };
3881
- } | {
3882
- readonly code: "INVALID_ARGUMENT";
3883
- readonly message: string;
3884
- readonly hint?: string;
3885
- readonly context?: {
3886
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3887
- readonly reason?: string;
3888
- readonly msgId?: string;
3889
- readonly most?: number;
3890
- readonly given?: number;
3891
- };
3892
- } | {
3893
- readonly code: "NOT_ALLOWED";
3894
- readonly message: string;
3895
- readonly hint?: string;
3896
- readonly context?: {
3897
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3898
- readonly reason?: string;
3899
- readonly entries?: string[];
3900
- readonly paths?: string[];
3901
- readonly total?: number;
3902
- };
3903
- } | {
3904
- readonly code: "NOT_FOUND";
3905
- readonly message: string;
3906
- readonly hint?: string;
3907
- readonly context?: {
3908
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3909
- readonly reason?: string;
3910
- readonly target?: string;
3911
- };
3912
- } | {
3913
- readonly code: "RESOURCE_EXHAUSTED";
3914
- readonly message: string;
3915
- readonly hint?: string;
3916
- readonly context?: {
3917
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3918
- readonly reason?: string;
3919
- readonly indexBytes?: number;
3920
- readonly pushBytes?: number;
3921
- readonly most?: number;
3922
- };
3923
- } | {
3924
- readonly code: "UNAUTHENTICATED";
3925
- readonly message: string;
3926
- readonly hint?: string;
3927
- readonly context?: {
3928
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3929
- };
3930
- } | {
3931
- readonly code: "UNAVAILABLE";
3932
- readonly message: string;
3933
- readonly hint?: string;
3934
- readonly context?: {
3935
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3936
- readonly id?: string;
3937
- readonly reason?: string;
3938
- readonly packs?: number;
3939
- readonly most?: number;
3940
- readonly retryAfter?: number;
3941
- };
3942
- }, unknown, never, never>, import("effect/Schema").Codec<{
3943
- readonly code: "ALREADY_EXISTS";
3944
- readonly message: string;
3945
- readonly hint?: string;
3946
- readonly context?: {
3947
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3948
- readonly reason?: string;
3949
- readonly verdict?: "fail" | "pass";
3950
- };
3951
- } | {
3952
- readonly code: "DATA_LOSS";
3953
- readonly message: string;
3954
- readonly hint?: string;
3955
- readonly context?: {
3956
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3957
- readonly reason?: string;
3958
- };
3959
- } | {
3960
- readonly code: "DEADLINE_EXCEEDED";
3961
- readonly message: string;
3962
- readonly hint?: string;
3963
- readonly context?: {
3964
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3965
- readonly id?: string;
3966
- };
3967
- } | {
3968
- readonly code: "FAILED_PRECONDITION";
3969
- readonly message: string;
3970
- readonly hint?: string;
3971
- readonly context?: {
3972
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3973
- readonly reason?: string;
3974
- readonly importState?: "cancelled" | "failed" | "running";
3975
- readonly attribute?: string;
3976
- readonly paths?: string[];
3977
- readonly total?: number;
3978
- readonly tip?: string;
3979
- };
3980
- } | {
3981
- readonly code: "INTERNAL";
3982
- readonly message: string;
3983
- readonly hint?: string;
3984
- readonly context?: {
3985
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3986
- };
3987
- } | {
3988
- readonly code: "INVALID_ARGUMENT";
3989
- readonly message: string;
3990
- readonly hint?: string;
3991
- readonly context?: {
3992
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
3993
- readonly reason?: string;
3994
- readonly msgId?: string;
3995
- readonly most?: number;
3996
- readonly given?: number;
3997
- };
3998
- } | {
3999
- readonly code: "NOT_ALLOWED";
4000
- readonly message: string;
4001
- readonly hint?: string;
4002
- readonly context?: {
4003
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4004
- readonly reason?: string;
4005
- readonly entries?: string[];
4006
- readonly paths?: string[];
4007
- readonly total?: number;
4008
- };
4009
- } | {
4010
- readonly code: "NOT_FOUND";
4011
- readonly message: string;
4012
- readonly hint?: string;
4013
- readonly context?: {
4014
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4015
- readonly reason?: string;
4016
- readonly target?: string;
4017
- };
4018
- } | {
4019
- readonly code: "RESOURCE_EXHAUSTED";
4020
- readonly message: string;
4021
- readonly hint?: string;
4022
- readonly context?: {
4023
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4024
- readonly reason?: string;
4025
- readonly indexBytes?: number;
4026
- readonly pushBytes?: number;
4027
- readonly most?: number;
4028
- };
4029
- } | {
4030
- readonly code: "UNAUTHENTICATED";
4031
- readonly message: string;
4032
- readonly hint?: string;
4033
- readonly context?: {
4034
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4035
- };
4036
- } | {
4037
- readonly code: "UNAVAILABLE";
4038
- readonly message: string;
4039
- readonly hint?: string;
4040
- readonly context?: {
4041
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4042
- readonly id?: string;
4043
- readonly reason?: string;
4044
- readonly packs?: number;
4045
- readonly most?: number;
4046
- readonly retryAfter?: number;
4047
- };
4048
- }, unknown, never, never>, {
4049
- "ref0-code": import("effect/Schema").String;
4050
- }>, import("effect/http-api/HttpApiSchema").encodeToWithHeaders<import("effect/Schema").Codec<{
4051
- readonly code: "ALREADY_EXISTS";
4052
- readonly message: string;
4053
- readonly hint?: string;
4054
- readonly context?: {
4055
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4056
- readonly reason?: string;
4057
- readonly verdict?: "fail" | "pass";
4058
- };
4059
- } | {
4060
- readonly code: "DATA_LOSS";
4061
- readonly message: string;
4062
- readonly hint?: string;
4063
- readonly context?: {
4064
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4065
- readonly reason?: string;
4066
- };
4067
- } | {
4068
- readonly code: "DEADLINE_EXCEEDED";
4069
- readonly message: string;
4070
- readonly hint?: string;
4071
- readonly context?: {
4072
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4073
- readonly id?: string;
4074
- };
4075
- } | {
4076
- readonly code: "FAILED_PRECONDITION";
4077
- readonly message: string;
4078
- readonly hint?: string;
4079
- readonly context?: {
4080
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4081
- readonly reason?: string;
4082
- readonly importState?: "cancelled" | "failed" | "running";
4083
- readonly attribute?: string;
4084
- readonly paths?: string[];
4085
- readonly total?: number;
4086
- readonly tip?: string;
4087
- };
4088
- } | {
4089
- readonly code: "INTERNAL";
4090
- readonly message: string;
4091
- readonly hint?: string;
4092
- readonly context?: {
4093
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4094
- };
4095
- } | {
4096
- readonly code: "INVALID_ARGUMENT";
4097
- readonly message: string;
4098
- readonly hint?: string;
4099
- readonly context?: {
4100
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4101
- readonly reason?: string;
4102
- readonly msgId?: string;
4103
- readonly most?: number;
4104
- readonly given?: number;
4105
- };
4106
- } | {
4107
- readonly code: "NOT_ALLOWED";
4108
- readonly message: string;
4109
- readonly hint?: string;
4110
- readonly context?: {
4111
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4112
- readonly reason?: string;
4113
- readonly entries?: string[];
4114
- readonly paths?: string[];
4115
- readonly total?: number;
4116
- };
4117
- } | {
4118
- readonly code: "NOT_FOUND";
4119
- readonly message: string;
4120
- readonly hint?: string;
4121
- readonly context?: {
4122
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4123
- readonly reason?: string;
4124
- readonly target?: string;
4125
- };
4126
- } | {
4127
- readonly code: "RESOURCE_EXHAUSTED";
4128
- readonly message: string;
4129
- readonly hint?: string;
4130
- readonly context?: {
4131
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4132
- readonly reason?: string;
4133
- readonly indexBytes?: number;
4134
- readonly pushBytes?: number;
4135
- readonly most?: number;
4136
- };
4137
- } | {
4138
- readonly code: "UNAUTHENTICATED";
4139
- readonly message: string;
4140
- readonly hint?: string;
4141
- readonly context?: {
4142
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4143
- };
4144
- } | {
4145
- readonly code: "UNAVAILABLE";
4146
- readonly message: string;
4147
- readonly hint?: string;
4148
- readonly context?: {
4149
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4150
- readonly id?: string;
4151
- readonly reason?: string;
4152
- readonly packs?: number;
4153
- readonly most?: number;
4154
- readonly retryAfter?: number;
4155
- };
4156
- }, unknown, never, never>, import("effect/Schema").Codec<{
4157
- readonly code: "ALREADY_EXISTS";
4158
- readonly message: string;
4159
- readonly hint?: string;
4160
- readonly context?: {
4161
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4162
- readonly reason?: string;
4163
- readonly verdict?: "fail" | "pass";
4164
- };
4165
- } | {
4166
- readonly code: "DATA_LOSS";
4167
- readonly message: string;
4168
- readonly hint?: string;
4169
- readonly context?: {
4170
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4171
- readonly reason?: string;
4172
- };
4173
- } | {
4174
- readonly code: "DEADLINE_EXCEEDED";
4175
- readonly message: string;
4176
- readonly hint?: string;
4177
- readonly context?: {
4178
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4179
- readonly id?: string;
4180
- };
4181
- } | {
4182
- readonly code: "FAILED_PRECONDITION";
4183
- readonly message: string;
4184
- readonly hint?: string;
4185
- readonly context?: {
4186
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4187
- readonly reason?: string;
4188
- readonly importState?: "cancelled" | "failed" | "running";
4189
- readonly attribute?: string;
4190
- readonly paths?: string[];
4191
- readonly total?: number;
4192
- readonly tip?: string;
4193
- };
4194
- } | {
4195
- readonly code: "INTERNAL";
4196
- readonly message: string;
4197
- readonly hint?: string;
4198
- readonly context?: {
4199
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4200
- };
4201
- } | {
4202
- readonly code: "INVALID_ARGUMENT";
4203
- readonly message: string;
4204
- readonly hint?: string;
4205
- readonly context?: {
4206
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4207
- readonly reason?: string;
4208
- readonly msgId?: string;
4209
- readonly most?: number;
4210
- readonly given?: number;
4211
- };
4212
- } | {
4213
- readonly code: "NOT_ALLOWED";
4214
- readonly message: string;
4215
- readonly hint?: string;
4216
- readonly context?: {
4217
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4218
- readonly reason?: string;
4219
- readonly entries?: string[];
4220
- readonly paths?: string[];
4221
- readonly total?: number;
4222
- };
4223
- } | {
4224
- readonly code: "NOT_FOUND";
4225
- readonly message: string;
4226
- readonly hint?: string;
4227
- readonly context?: {
4228
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4229
- readonly reason?: string;
4230
- readonly target?: string;
4231
- };
4232
- } | {
4233
- readonly code: "RESOURCE_EXHAUSTED";
4234
- readonly message: string;
4235
- readonly hint?: string;
4236
- readonly context?: {
4237
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4238
- readonly reason?: string;
4239
- readonly indexBytes?: number;
4240
- readonly pushBytes?: number;
4241
- readonly most?: number;
4242
- };
4243
- } | {
4244
- readonly code: "UNAUTHENTICATED";
4245
- readonly message: string;
4246
- readonly hint?: string;
4247
- readonly context?: {
4248
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4249
- };
4250
- } | {
4251
- readonly code: "UNAVAILABLE";
4252
- readonly message: string;
4253
- readonly hint?: string;
4254
- readonly context?: {
4255
- readonly [x: string]: string | number | boolean | readonly string[] | undefined;
4256
- readonly id?: string;
4257
- readonly reason?: string;
4258
- readonly packs?: number;
4259
- readonly most?: number;
4260
- readonly retryAfter?: number;
4261
- };
4262
- }, unknown, never, never>, {
4263
- "ref0-code": import("effect/Schema").String;
4264
- }>], GitRestServices>>;
4265
- /**
4266
- * Runs `auth` through the server's `identify` and provides `GitCaller`. A request whose params,
4267
- * query, headers or body don't match its endpoint answers `INVALID_ARGUMENT`, as every refusal
4268
- * here is a `GitError`.
4269
- */
4270
- export declare class GitCallerMiddleware extends GitCallerMiddleware_base {}
4271
- export {};
1
+ import "../index.mjs";
2
+ import "../core/seam.mjs";
3
+ import "effect/Context";
4
+ import { HttpApiMiddleware } from "effect/http-api";