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