@ref0/git 0.11.0 → 0.14.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.
- package/dist/access/private-refs.mjs +8 -7
- package/dist/auth/auth.d.mts +2 -2
- package/dist/auth/auth.mjs +3 -6
- package/dist/auth/authorize.mjs +1 -17
- package/dist/auth/helpers.mjs +3 -11
- package/dist/auth/host-services.mjs +11 -0
- package/dist/auth/policy.d.mts +27 -7
- package/dist/auth/policy.mjs +8 -4
- package/dist/auth/tokens-layer.d.mts +1 -2
- package/dist/auth/tokens-layer.mjs +2 -3
- package/dist/auth/tokens-public.d.mts +3 -3
- package/dist/auth/tokens.d.mts +1 -8
- package/dist/auth/tokens.mjs +1 -8
- package/dist/auth.d.mts +1 -4
- package/dist/auth.mjs +1 -3
- package/dist/client/git-http.mjs +18 -4
- package/dist/client/push-upload.mjs +33 -7
- package/dist/client/remote.mjs +94 -28
- package/dist/client/slice-push.d.mts +1 -1
- package/dist/contracts/access.d.mts +8 -8
- package/dist/contracts/actors.d.mts +2 -34
- package/dist/contracts/blobs.d.mts +2 -2
- package/dist/contracts/client.d.mts +8 -3
- package/dist/contracts/commits.d.mts +10 -2
- package/dist/contracts/commits.mjs +9 -1
- package/dist/contracts/files.d.mts +2 -2
- package/dist/contracts/forks.d.mts +14 -3
- package/dist/contracts/git.d.mts +41 -12
- package/dist/contracts/git.mjs +3 -2
- package/dist/contracts/lfs.d.mts +0 -7
- package/dist/contracts/objects.d.mts +80 -10
- package/dist/contracts/operations.d.mts +3 -0
- package/dist/contracts/operations.mjs +12 -2
- package/dist/contracts/push-uploads.d.mts +44 -5
- package/dist/contracts/push-uploads.mjs +7 -3
- package/dist/contracts/refs.d.mts +28 -6
- package/dist/contracts/remote.mjs +1 -3
- package/dist/contracts/repo-records.d.mts +1 -0
- package/dist/contracts/repos.d.mts +90 -2
- package/dist/contracts/repos.mjs +29 -2
- package/dist/contracts/result.d.mts +30 -23
- package/dist/contracts/result.mjs +24 -9
- package/dist/contracts/rules.d.mts +22 -22
- package/dist/contracts/server.d.mts +28 -77
- package/dist/contracts/signin.d.mts +1 -1
- package/dist/contracts/sync.d.mts +90 -19
- package/dist/contracts/sync.mjs +34 -10
- package/dist/contracts/tokens.d.mts +1 -6
- package/dist/contracts/tokens.mjs +1 -2
- package/dist/contracts/topics.d.mts +0 -5
- package/dist/contracts/work.d.mts +66 -2
- package/dist/contracts/work.mjs +8 -1
- package/dist/core/access.d.mts +1 -0
- package/dist/core/access.mjs +34 -13
- package/dist/core/ancestry.d.mts +9 -0
- package/dist/core/ancestry.mjs +6 -6
- package/dist/core/asked.mjs +68 -0
- package/dist/core/call-names.mjs +1 -0
- package/dist/core/call-services.mjs +2 -1
- package/dist/core/events/deliver.d.mts +1 -0
- package/dist/core/events/deliver.mjs +15 -3
- package/dist/core/forks.mjs +42 -16
- package/dist/core/imports.mjs +156 -13
- package/dist/core/index-job.mjs +9 -6
- package/dist/core/job-view.mjs +8 -9
- package/dist/core/mirror-rows.mjs +19 -4
- package/dist/core/objects/commits.mjs +16 -6
- package/dist/core/objects/reading.mjs +17 -9
- package/dist/core/parts.d.mts +8 -2
- package/dist/core/parts.mjs +1 -4
- package/dist/core/purge.mjs +76 -6
- package/dist/core/push-decide.mjs +1 -1
- package/dist/core/push-files.d.mts +12 -0
- package/dist/core/push-files.mjs +225 -0
- package/dist/core/push-repo.d.mts +8 -0
- package/dist/core/push-repo.mjs +56 -0
- package/dist/core/push.d.mts +17 -0
- package/dist/core/push.mjs +107 -32
- package/dist/core/receipts.mjs +26 -10
- package/dist/core/ref-view.mjs +59 -5
- package/dist/core/refs.mjs +18 -10
- package/dist/core/registered-rows.mjs +7 -5
- package/dist/core/repack.mjs +16 -11
- package/dist/core/repo-info.mjs +16 -9
- package/dist/core/repos.mjs +30 -14
- package/dist/core/saved-caller-views.d.mts +18 -0
- package/dist/core/saved-caller-views.mjs +17 -4
- package/dist/core/saved-callers-public.d.mts +3 -3
- package/dist/core/saved-callers-public.mjs +3 -2
- package/dist/core/saved-callers.d.mts +7 -0
- package/dist/core/seam.mjs +2 -2
- package/dist/core/view.d.mts +6 -0
- package/dist/core/view.mjs +45 -12
- package/dist/core/work.mjs +47 -22
- package/dist/effect.d.mts +3 -1
- package/dist/effect.mjs +3 -1
- package/dist/engine/reads.mjs +13 -6
- package/dist/engine/walk.mjs +4 -4
- package/dist/event-streams/event-streams.d.mts +1 -1
- package/dist/event-streams/event-streams.mjs +1 -1
- package/dist/event-streams/stream.d.mts +1 -1
- package/dist/event-streams/stream.mjs +1 -1
- package/dist/extend.d.mts +4 -3
- package/dist/extend.mjs +3 -2
- package/dist/http/answers.mjs +4 -2
- package/dist/http/core-parts.mjs +64 -15
- package/dist/http/handler.mjs +2 -2
- package/dist/http/node.mjs +5 -4
- package/dist/http/parts.d.mts +1 -0
- package/dist/http/push-upload-job.mjs +503 -0
- package/dist/http/push-uploads.d.mts +1 -0
- package/dist/http/push-uploads.mjs +120 -59
- package/dist/http/upload-pack.mjs +7 -6
- package/dist/index.d.mts +23 -24
- package/dist/index.mjs +4 -7
- package/dist/lfs/base.d.mts +7 -3
- package/dist/lfs/base.mjs +2 -1
- package/dist/lfs/copy.d.mts +46 -0
- package/dist/lfs/copy.mjs +26 -0
- package/dist/lfs/layer.mjs +4 -2
- package/dist/lfs/locks.mjs +14 -9
- package/dist/lfs/objects.d.mts +6 -0
- package/dist/lfs/objects.mjs +95 -61
- package/dist/lfs/rows.d.mts +13 -0
- package/dist/lfs/service.d.mts +1 -7
- package/dist/lfs/service.mjs +1 -9
- package/dist/lfs/upload-most.mjs +5 -5
- package/dist/node.d.mts +2 -2
- package/dist/protocol/bytes/sha256-hasher.d.mts +15 -0
- package/dist/protocol/bytes/sha256.d.mts +32 -0
- package/dist/protocol/bytes/sha256.mjs +105 -49
- package/dist/protocol/wire/advertisement.mjs +9 -4
- package/dist/protocol/wire/lines.d.mts +4 -2
- package/dist/protocol/wire/lines.mjs +11 -5
- package/dist/protocol/wire/push-uploads.mjs +13 -1
- package/dist/protocol/wire/v2.mjs +2 -2
- package/dist/protocol.d.mts +3 -1
- package/dist/protocol.mjs +3 -1
- package/dist/queue/advance.mjs +1 -1
- package/dist/queue/calls.mjs +21 -1
- package/dist/queue/host.d.mts +1 -7
- package/dist/queue/host.mjs +1 -7
- package/dist/queue/layer.mjs +1 -1
- package/dist/queue/trim.mjs +1 -1
- package/dist/rest/blobs.d.mts +16 -8
- package/dist/rest/blobs.mjs +1 -1
- package/dist/rest/caller.d.mts +49 -9
- package/dist/rest/caller.mjs +1 -1
- package/dist/rest/client.d.mts +10 -3
- package/dist/rest/client.mjs +4 -0
- package/dist/rest/commits.d.mts +272 -239
- package/dist/rest/errors.d.mts +24 -4
- package/dist/rest/events.d.mts +9 -6
- package/dist/rest/events.mjs +1 -2
- package/dist/rest/files.d.mts +112 -100
- package/dist/rest/forks.d.mts +146 -122
- package/dist/rest/handler.mjs +4 -57
- package/dist/rest/handlers.d.mts +1 -1
- package/dist/rest/handlers.mjs +18 -4
- package/dist/rest/layer.mjs +10 -2
- package/dist/rest/me.d.mts +8 -4
- package/dist/rest/merges.d.mts +8 -4
- package/dist/rest/paths.mjs +1 -0
- package/dist/rest/queue.d.mts +292 -236
- package/dist/rest/refs.d.mts +98 -69
- package/dist/rest/repos.d.mts +133 -105
- package/dist/rest/tags.d.mts +100 -88
- package/dist/rest/tokens.d.mts +192 -168
- package/dist/rest/topics.d.mts +154 -134
- package/dist/rest/trees.d.mts +32 -16
- package/dist/rest/work.d.mts +467 -20
- package/dist/rest/work.mjs +8 -0
- package/dist/server/edge-node.d.mts +9 -13
- package/dist/server/edge-node.mjs +9 -12
- package/dist/server/git-layer.d.mts +1 -6
- package/dist/server/git-layer.mjs +2 -2
- package/dist/server/git-namespace.d.mts +4 -4
- package/dist/server/joined.d.mts +15 -22
- package/dist/server/joined.mjs +5 -29
- package/dist/server/lifecycle.mjs +107 -23
- package/dist/server/registry.mjs +9 -1
- package/dist/server/server.mjs +139 -216
- package/dist/storage/budget.mjs +2 -2
- package/dist/storage/clean-up.mjs +13 -10
- package/dist/storage/fetch.mjs +13 -8
- package/dist/storage/file-limits.mjs +24 -0
- package/dist/storage/index-build.d.mts +1 -0
- package/dist/storage/index-build.mjs +106 -62
- package/dist/storage/index-fetch.mjs +16 -3
- package/dist/storage/index-reach.mjs +33 -5
- package/dist/storage/index-remap.mjs +8 -1
- package/dist/storage/index-shallow.mjs +5 -3
- package/dist/storage/largest-files.mjs +48 -0
- package/dist/storage/lfs-pointers.mjs +10 -1
- package/dist/storage/loose.mjs +3 -1
- package/dist/storage/memory-budget.mjs +154 -8
- package/dist/storage/merge-cut.mjs +5 -4
- package/dist/storage/pack-reads.mjs +246 -34
- package/dist/storage/pack-receive.mjs +83 -25
- package/dist/storage/packs.mjs +37 -21
- package/dist/storage/prune-keep.mjs +203 -34
- package/dist/storage/prune-seen.mjs +11 -6
- package/dist/storage/prune-walk.mjs +219 -81
- package/dist/storage/prune.mjs +629 -196
- package/dist/storage/push-uploads.mjs +36 -12
- package/dist/storage/quarantine.mjs +9 -7
- package/dist/storage/ready.mjs +47 -19
- package/dist/storage/receive-bounds.mjs +29 -8
- package/dist/storage/receive-state.mjs +8 -0
- package/dist/storage/receive-steps.mjs +71 -18
- package/dist/storage/repack.d.mts +1 -1
- package/dist/storage/repack.mjs +1 -8
- package/dist/storage/rows.mjs +12 -1
- package/dist/storage/shallow.d.mts +1 -0
- package/dist/storage/shallow.mjs +26 -4
- package/dist/storage/stream-whole.mjs +5 -2
- package/dist/storage/visible.mjs +29 -1
- package/dist/storage/walk.mjs +2 -1
- package/dist/store/catalogue.mjs +1 -0
- package/dist/store/cursor-seal-namespace.d.mts +2 -0
- package/dist/store/cursor-seal-public.d.mts +5 -0
- package/dist/store/cursor-seal-public.mjs +5 -0
- package/dist/store/cursor-seal.d.mts +16 -2
- package/dist/store/cursor-seal.mjs +26 -14
- package/dist/store/errors.mjs +9 -1
- package/dist/store/records.d.mts +2 -0
- package/dist/store/records.mjs +9 -6
- package/dist/store/repo-record.d.mts +27 -0
- package/dist/store/repo-record.mjs +141 -4
- package/dist/store/scopes.mjs +10 -2
- package/dist/sync/bound.d.mts +2 -0
- package/dist/sync/bound.mjs +11 -2
- package/dist/sync/github.d.mts +6 -1
- package/dist/sync/github.mjs +63 -42
- package/dist/sync/http.mjs +36 -1
- package/dist/sync/import.mjs +4 -2
- package/dist/sync/layer.mjs +6 -2
- package/dist/sync/lfs-batch.mjs +119 -0
- package/dist/sync/lfs-copy.mjs +251 -0
- package/dist/sync/mirror.mjs +227 -147
- package/dist/sync/said.mjs +204 -0
- package/dist/sync/smart-http.mjs +4 -2
- package/dist/sync/step.mjs +33 -13
- package/dist/sync/tries.mjs +71 -24
- package/dist/sync.d.mts +2 -2
- package/dist/topics/advance.mjs +10 -3
- package/dist/topics/host.mjs +1 -19
- package/dist/topics/layer.mjs +1 -1
- package/package.json +3 -8
- package/dist/auth/bridge.mjs +0 -30
- package/dist/auth/helpers.d.mts +0 -17
- package/dist/core/purge.d.mts +0 -8
- package/dist/core/registered-rows.d.mts +0 -4
- package/dist/core/repack.d.mts +0 -11
- package/dist/http/handler.d.mts +0 -2
- package/dist/rest/handler.d.mts +0 -21
- package/dist/rest.d.mts +0 -2
- package/dist/rest.mjs +0 -1
- package/dist/server/registry.d.mts +0 -16
- package/dist/server/server.d.mts +0 -36
- package/dist/storage/repack-job.d.mts +0 -3
- package/dist/topics/host.d.mts +0 -7
package/dist/rest/files.d.mts
CHANGED
|
@@ -1,29 +1,79 @@
|
|
|
1
1
|
import { GitCallerMiddleware, GitRestServices } from "./caller.mjs";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
3
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
4
|
-
declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndpoint.HttpApiEndpoint<"
|
|
4
|
+
declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndpoint.HttpApiEndpoint<"diff", "POST", "/repos/:repo/-/files/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
|
-
}>>, Schema.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
7
|
+
readonly base: Schema.String;
|
|
8
|
+
readonly head: Schema.String;
|
|
9
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
10
|
+
readonly paths: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
11
|
+
readonly format: Schema.optionalKey<Schema.Literals<readonly ["patch", "hunks"]>>;
|
|
12
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
13
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
14
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
15
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
16
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
17
|
+
}>>;
|
|
18
|
+
readonly page: Schema.optionalKey<Schema.Struct<{
|
|
19
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
20
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
21
|
+
}>>;
|
|
22
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
23
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
24
|
+
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
19
25
|
readonly path: Schema.String;
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
|
|
26
|
+
readonly from: Schema.optionalKey<Schema.String>;
|
|
27
|
+
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
28
|
+
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
29
|
+
readonly mode: Schema.String;
|
|
30
|
+
readonly oid: Schema.String;
|
|
31
|
+
}>>;
|
|
32
|
+
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
33
|
+
readonly mode: Schema.String;
|
|
34
|
+
readonly oid: Schema.String;
|
|
35
|
+
}>>;
|
|
24
36
|
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
25
|
-
|
|
37
|
+
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
38
|
+
readonly lines: Schema.Union<readonly [Schema.Struct<{
|
|
39
|
+
readonly added: Schema.Int;
|
|
40
|
+
readonly deleted: Schema.Int;
|
|
41
|
+
}>, Schema.Literal<"binary">]>;
|
|
42
|
+
readonly patch: Schema.String;
|
|
43
|
+
}>, Schema.Struct<{
|
|
44
|
+
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
45
|
+
readonly path: Schema.String;
|
|
46
|
+
readonly from: Schema.optionalKey<Schema.String>;
|
|
47
|
+
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
48
|
+
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
49
|
+
readonly mode: Schema.String;
|
|
50
|
+
readonly oid: Schema.String;
|
|
51
|
+
}>>;
|
|
52
|
+
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
53
|
+
readonly mode: Schema.String;
|
|
54
|
+
readonly oid: Schema.String;
|
|
55
|
+
}>>;
|
|
56
|
+
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
57
|
+
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
58
|
+
readonly lines: Schema.Union<readonly [Schema.Struct<{
|
|
59
|
+
readonly added: Schema.Int;
|
|
60
|
+
readonly deleted: Schema.Int;
|
|
61
|
+
}>, Schema.Literal<"binary">]>;
|
|
62
|
+
readonly hunks: Schema.$Array<Schema.Struct<{
|
|
63
|
+
readonly oldStart: Schema.Int;
|
|
64
|
+
readonly oldLines: Schema.Int;
|
|
65
|
+
readonly newStart: Schema.Int;
|
|
66
|
+
readonly newLines: Schema.Int;
|
|
67
|
+
readonly context: Schema.String;
|
|
68
|
+
readonly lines: Schema.$Array<Schema.Struct<{
|
|
69
|
+
readonly kind: Schema.Literals<readonly ["context", "add", "delete"]>;
|
|
70
|
+
readonly text: Schema.String;
|
|
71
|
+
readonly noNewline: Schema.optionalKey<Schema.Literal<true>>;
|
|
72
|
+
}>>;
|
|
73
|
+
}>>;
|
|
74
|
+
}>]>>>;
|
|
26
75
|
readonly next: Schema.optionalKey<Schema.String>;
|
|
76
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
27
77
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
28
78
|
readonly code: "ALREADY_EXISTS";
|
|
29
79
|
readonly message: string;
|
|
@@ -128,6 +178,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
128
178
|
readonly reason?: string;
|
|
129
179
|
readonly packs?: number;
|
|
130
180
|
readonly most?: number;
|
|
181
|
+
readonly retryAfter?: number;
|
|
131
182
|
};
|
|
132
183
|
}, unknown, never, never>, Schema.Codec<{
|
|
133
184
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -233,6 +284,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
233
284
|
readonly reason?: string;
|
|
234
285
|
readonly packs?: number;
|
|
235
286
|
readonly most?: number;
|
|
287
|
+
readonly retryAfter?: number;
|
|
236
288
|
};
|
|
237
289
|
}, unknown, never, never>, {
|
|
238
290
|
"ref0-code": Schema.String;
|
|
@@ -308,7 +360,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
308
360
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
309
361
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
310
362
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
311
|
-
reason: Schema.optionalKey<Schema.Union<readonly [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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
363
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
312
364
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
313
365
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
314
366
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -324,9 +376,10 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
324
376
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
325
377
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
326
378
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
327
|
-
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
379
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
328
380
|
packs: Schema.optionalKey<Schema.Number>;
|
|
329
381
|
most: Schema.optionalKey<Schema.Number>;
|
|
382
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
330
383
|
}>, readonly [Schema.$Record<Schema.String, Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Number, Schema.Boolean, Schema.$Array<Schema.decodeTo<Schema.String, Schema.String, never, never>>, Schema.Undefined]>>]>>;
|
|
331
384
|
}>, Schema.Struct<{
|
|
332
385
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -400,7 +453,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
400
453
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
401
454
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
402
455
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
403
|
-
reason: Schema.optionalKey<Schema.Union<readonly [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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
456
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
404
457
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
405
458
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
406
459
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -416,86 +469,37 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
416
469
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
417
470
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
418
471
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
419
|
-
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
472
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
420
473
|
packs: Schema.optionalKey<Schema.Number>;
|
|
421
474
|
most: Schema.optionalKey<Schema.Number>;
|
|
475
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
422
476
|
}>, readonly [Schema.$Record<Schema.String, Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Number, Schema.Boolean, Schema.$Array<Schema.decodeTo<Schema.String, Schema.String, never, never>>, Schema.Undefined]>>]>>;
|
|
423
477
|
}>, {
|
|
424
478
|
"ref0-code": Schema.String;
|
|
425
479
|
'www-authenticate': Schema.String;
|
|
426
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
480
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/files", Schema.toCodecStringTree<Schema.Struct<{
|
|
427
481
|
repo: Schema.String;
|
|
428
|
-
}>>,
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
readonly after: Schema.optionalKey<Schema.String>;
|
|
442
|
-
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
443
|
-
}>>;
|
|
444
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
445
|
-
readonly items: Schema.mutable<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
446
|
-
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
447
|
-
readonly path: Schema.String;
|
|
448
|
-
readonly from: Schema.optionalKey<Schema.String>;
|
|
449
|
-
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
450
|
-
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
451
|
-
readonly mode: Schema.String;
|
|
452
|
-
readonly oid: Schema.String;
|
|
453
|
-
}>>;
|
|
454
|
-
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
455
|
-
readonly mode: Schema.String;
|
|
456
|
-
readonly oid: Schema.String;
|
|
457
|
-
}>>;
|
|
458
|
-
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
459
|
-
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
460
|
-
readonly lines: Schema.Union<readonly [Schema.Struct<{
|
|
461
|
-
readonly added: Schema.Int;
|
|
462
|
-
readonly deleted: Schema.Int;
|
|
463
|
-
}>, Schema.Literal<"binary">]>;
|
|
464
|
-
readonly patch: Schema.String;
|
|
465
|
-
}>, Schema.Struct<{
|
|
466
|
-
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
482
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
483
|
+
objects: Schema.optionalKey<Schema.Int>;
|
|
484
|
+
bytes: Schema.optionalKey<Schema.Int>;
|
|
485
|
+
entries: Schema.optionalKey<Schema.Int>;
|
|
486
|
+
milliseconds: Schema.optionalKey<Schema.Int>;
|
|
487
|
+
after: Schema.optionalKey<Schema.String>;
|
|
488
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
489
|
+
ref: Schema.String;
|
|
490
|
+
path: Schema.optionalKey<Schema.String>;
|
|
491
|
+
recursive: Schema.optionalKey<Schema.Boolean>;
|
|
492
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
493
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
494
|
+
readonly name: Schema.String;
|
|
467
495
|
readonly path: Schema.String;
|
|
468
|
-
readonly
|
|
469
|
-
readonly
|
|
470
|
-
readonly
|
|
471
|
-
|
|
472
|
-
readonly oid: Schema.String;
|
|
473
|
-
}>>;
|
|
474
|
-
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
475
|
-
readonly mode: Schema.String;
|
|
476
|
-
readonly oid: Schema.String;
|
|
477
|
-
}>>;
|
|
496
|
+
readonly mode: Schema.String;
|
|
497
|
+
readonly type: Schema.Literals<readonly ["blob", "tree", "commit"]>;
|
|
498
|
+
readonly oid: Schema.String;
|
|
499
|
+
readonly size: Schema.optionalKey<Schema.Int>;
|
|
478
500
|
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
479
|
-
|
|
480
|
-
readonly lines: Schema.Union<readonly [Schema.Struct<{
|
|
481
|
-
readonly added: Schema.Int;
|
|
482
|
-
readonly deleted: Schema.Int;
|
|
483
|
-
}>, Schema.Literal<"binary">]>;
|
|
484
|
-
readonly hunks: Schema.$Array<Schema.Struct<{
|
|
485
|
-
readonly oldStart: Schema.Int;
|
|
486
|
-
readonly oldLines: Schema.Int;
|
|
487
|
-
readonly newStart: Schema.Int;
|
|
488
|
-
readonly newLines: Schema.Int;
|
|
489
|
-
readonly context: Schema.String;
|
|
490
|
-
readonly lines: Schema.$Array<Schema.Struct<{
|
|
491
|
-
readonly kind: Schema.Literals<readonly ["context", "add", "delete"]>;
|
|
492
|
-
readonly text: Schema.String;
|
|
493
|
-
readonly noNewline: Schema.optionalKey<Schema.Literal<true>>;
|
|
494
|
-
}>>;
|
|
495
|
-
}>>;
|
|
496
|
-
}>]>>>;
|
|
501
|
+
}>>>;
|
|
497
502
|
readonly next: Schema.optionalKey<Schema.String>;
|
|
498
|
-
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
499
503
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
500
504
|
readonly code: "ALREADY_EXISTS";
|
|
501
505
|
readonly message: string;
|
|
@@ -600,6 +604,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
600
604
|
readonly reason?: string;
|
|
601
605
|
readonly packs?: number;
|
|
602
606
|
readonly most?: number;
|
|
607
|
+
readonly retryAfter?: number;
|
|
603
608
|
};
|
|
604
609
|
}, unknown, never, never>, Schema.Codec<{
|
|
605
610
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -705,6 +710,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
705
710
|
readonly reason?: string;
|
|
706
711
|
readonly packs?: number;
|
|
707
712
|
readonly most?: number;
|
|
713
|
+
readonly retryAfter?: number;
|
|
708
714
|
};
|
|
709
715
|
}, unknown, never, never>, {
|
|
710
716
|
"ref0-code": Schema.String;
|
|
@@ -780,7 +786,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
780
786
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
781
787
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
782
788
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
783
|
-
reason: Schema.optionalKey<Schema.Union<readonly [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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
789
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
784
790
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
785
791
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
786
792
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -796,9 +802,10 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
796
802
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
797
803
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
798
804
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
799
|
-
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
805
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
800
806
|
packs: Schema.optionalKey<Schema.Number>;
|
|
801
807
|
most: Schema.optionalKey<Schema.Number>;
|
|
808
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
802
809
|
}>, readonly [Schema.$Record<Schema.String, Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Number, Schema.Boolean, Schema.$Array<Schema.decodeTo<Schema.String, Schema.String, never, never>>, Schema.Undefined]>>]>>;
|
|
803
810
|
}>, Schema.Struct<{
|
|
804
811
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -872,7 +879,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
872
879
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
873
880
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
874
881
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
875
|
-
reason: Schema.optionalKey<Schema.Union<readonly [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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
882
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
876
883
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
877
884
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
878
885
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -888,9 +895,10 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
888
895
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
889
896
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
890
897
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
891
|
-
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
898
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
892
899
|
packs: Schema.optionalKey<Schema.Number>;
|
|
893
900
|
most: Schema.optionalKey<Schema.Number>;
|
|
901
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
894
902
|
}>, readonly [Schema.$Record<Schema.String, Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Number, Schema.Boolean, Schema.$Array<Schema.decodeTo<Schema.String, Schema.String, never, never>>, Schema.Undefined]>>]>>;
|
|
895
903
|
}>, {
|
|
896
904
|
"ref0-code": Schema.String;
|
|
@@ -1026,6 +1034,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
1026
1034
|
readonly reason?: string;
|
|
1027
1035
|
readonly packs?: number;
|
|
1028
1036
|
readonly most?: number;
|
|
1037
|
+
readonly retryAfter?: number;
|
|
1029
1038
|
};
|
|
1030
1039
|
}, unknown, never, never>, Schema.Codec<{
|
|
1031
1040
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -1131,6 +1140,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
1131
1140
|
readonly reason?: string;
|
|
1132
1141
|
readonly packs?: number;
|
|
1133
1142
|
readonly most?: number;
|
|
1143
|
+
readonly retryAfter?: number;
|
|
1134
1144
|
};
|
|
1135
1145
|
}, unknown, never, never>, {
|
|
1136
1146
|
"ref0-code": Schema.String;
|
|
@@ -1206,7 +1216,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
1206
1216
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1207
1217
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1208
1218
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1209
|
-
reason: Schema.optionalKey<Schema.Union<readonly [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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1219
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1210
1220
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1211
1221
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1212
1222
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1222,9 +1232,10 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
1222
1232
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1223
1233
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1224
1234
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1225
|
-
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1235
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1226
1236
|
packs: Schema.optionalKey<Schema.Number>;
|
|
1227
1237
|
most: Schema.optionalKey<Schema.Number>;
|
|
1238
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
1228
1239
|
}>, readonly [Schema.$Record<Schema.String, Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Number, Schema.Boolean, Schema.$Array<Schema.decodeTo<Schema.String, Schema.String, never, never>>, Schema.Undefined]>>]>>;
|
|
1229
1240
|
}>, Schema.Struct<{
|
|
1230
1241
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -1298,7 +1309,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
1298
1309
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1299
1310
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1300
1311
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1301
|
-
reason: Schema.optionalKey<Schema.Union<readonly [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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1312
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "repo-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large", "job-step-calls", "job-step-yielded"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1302
1313
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1303
1314
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1304
1315
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1314,9 +1325,10 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
1314
1325
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1315
1326
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1316
1327
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1317
|
-
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1328
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["busy", "packs-awaiting-repack", "awaiting-index", "may-have-saved", "too-many-writes", "starting"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1318
1329
|
packs: Schema.optionalKey<Schema.Number>;
|
|
1319
1330
|
most: Schema.optionalKey<Schema.Number>;
|
|
1331
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
1320
1332
|
}>, readonly [Schema.$Record<Schema.String, Schema.Union<readonly [Schema.decodeTo<Schema.String, Schema.String, never, never>, Schema.Number, Schema.Boolean, Schema.$Array<Schema.decodeTo<Schema.String, Schema.String, never, never>>, Schema.Undefined]>>]>>;
|
|
1321
1333
|
}>, {
|
|
1322
1334
|
"ref0-code": Schema.String;
|