@ref0/git 0.12.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 +3 -3
- 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 +11 -1
- package/dist/contracts/git.d.mts +18 -7
- 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 +23 -18
- package/dist/contracts/result.mjs +17 -4
- 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 +79 -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.mjs +27 -5
- package/dist/core/ancestry.d.mts +9 -0
- package/dist/core/ancestry.mjs +6 -6
- package/dist/core/asked.mjs +42 -4
- package/dist/core/call-names.mjs +1 -0
- package/dist/core/call-services.mjs +2 -1
- package/dist/core/events/deliver.mjs +10 -2
- package/dist/core/forks.mjs +3 -3
- package/dist/core/imports.mjs +147 -9
- 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/parts.d.mts +6 -1
- 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 +98 -26
- package/dist/core/receipts.mjs +26 -10
- package/dist/core/ref-view.mjs +59 -5
- package/dist/core/refs.mjs +13 -8
- package/dist/core/repack.mjs +11 -8
- package/dist/core/repo-info.mjs +16 -9
- package/dist/core/repos.mjs +30 -14
- 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 +3 -3
- package/dist/extend.mjs +2 -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 +114 -56
- 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/objects.d.mts +6 -0
- package/dist/lfs/objects.mjs +68 -41
- 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/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 +31 -23
- 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 +273 -240
- 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 +127 -115
- package/dist/rest/forks.d.mts +121 -97
- 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 +2 -1
- 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 +282 -226
- package/dist/rest/refs.d.mts +205 -176
- package/dist/rest/repos.d.mts +108 -80
- package/dist/rest/tags.d.mts +24 -12
- package/dist/rest/tokens.d.mts +235 -211
- package/dist/rest/topics.d.mts +53 -33
- package/dist/rest/trees.d.mts +105 -89
- 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 +3 -3
- 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 +133 -212
- 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 +28 -4
- package/dist/storage/pack-reads.mjs +8 -8
- 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-walk.mjs +54 -16
- package/dist/storage/prune.mjs +629 -196
- package/dist/storage/push-uploads.mjs +36 -12
- package/dist/storage/quarantine.mjs +9 -9
- 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 +9 -7
- package/dist/store/repo-record.mjs +102 -19
- 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 +55 -43
- package/dist/sync/http.mjs +36 -1
- package/dist/sync/import.mjs +1 -0
- 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 +210 -137
- package/dist/sync/smart-http.mjs +4 -2
- package/dist/sync/step.mjs +25 -5
- package/dist/sync/tries.mjs +45 -14
- package/dist/sync.d.mts +2 -2
- 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 -5
- 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,40 +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
|
-
|
|
442
|
-
|
|
443
|
-
readonly
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
}>>>;
|
|
450
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
451
|
-
}>;
|
|
452
|
-
readonly missing: Schema.$Array<Schema.String>;
|
|
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;
|
|
495
|
+
readonly path: Schema.String;
|
|
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>;
|
|
500
|
+
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
501
|
+
}>>>;
|
|
502
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
453
503
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
454
504
|
readonly code: "ALREADY_EXISTS";
|
|
455
505
|
readonly message: string;
|
|
@@ -554,6 +604,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
554
604
|
readonly reason?: string;
|
|
555
605
|
readonly packs?: number;
|
|
556
606
|
readonly most?: number;
|
|
607
|
+
readonly retryAfter?: number;
|
|
557
608
|
};
|
|
558
609
|
}, unknown, never, never>, Schema.Codec<{
|
|
559
610
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -659,6 +710,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
659
710
|
readonly reason?: string;
|
|
660
711
|
readonly packs?: number;
|
|
661
712
|
readonly most?: number;
|
|
713
|
+
readonly retryAfter?: number;
|
|
662
714
|
};
|
|
663
715
|
}, unknown, never, never>, {
|
|
664
716
|
"ref0-code": Schema.String;
|
|
@@ -734,7 +786,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
734
786
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
735
787
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
736
788
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
737
|
-
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>]>>;
|
|
738
790
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
739
791
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
740
792
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -750,9 +802,10 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
750
802
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
751
803
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
752
804
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
753
|
-
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>]>>;
|
|
754
806
|
packs: Schema.optionalKey<Schema.Number>;
|
|
755
807
|
most: Schema.optionalKey<Schema.Number>;
|
|
808
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
756
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]>>]>>;
|
|
757
810
|
}>, Schema.Struct<{
|
|
758
811
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -826,7 +879,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
826
879
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
827
880
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
828
881
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
829
|
-
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>]>>;
|
|
830
883
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
831
884
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
832
885
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -842,21 +895,19 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
842
895
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
843
896
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
844
897
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
845
|
-
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>]>>;
|
|
846
899
|
packs: Schema.optionalKey<Schema.Number>;
|
|
847
900
|
most: Schema.optionalKey<Schema.Number>;
|
|
901
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
848
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]>>]>>;
|
|
849
903
|
}>, {
|
|
850
904
|
"ref0-code": Schema.String;
|
|
851
905
|
'www-authenticate': Schema.String;
|
|
852
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
906
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"read", "POST", "/repos/:repo/-/files/read", Schema.toCodecStringTree<Schema.Struct<{
|
|
853
907
|
repo: Schema.String;
|
|
854
908
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
855
|
-
readonly
|
|
856
|
-
readonly
|
|
857
|
-
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
858
|
-
readonly paths: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
859
|
-
readonly format: Schema.optionalKey<Schema.Literals<readonly ["patch", "hunks"]>>;
|
|
909
|
+
readonly ref: Schema.String;
|
|
910
|
+
readonly paths: Schema.$Array<Schema.String>;
|
|
860
911
|
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
861
912
|
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
862
913
|
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
@@ -868,60 +919,17 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
868
919
|
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
869
920
|
}>>;
|
|
870
921
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
871
|
-
readonly
|
|
872
|
-
readonly
|
|
873
|
-
|
|
874
|
-
readonly from: Schema.optionalKey<Schema.String>;
|
|
875
|
-
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
876
|
-
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
877
|
-
readonly mode: Schema.String;
|
|
878
|
-
readonly oid: Schema.String;
|
|
879
|
-
}>>;
|
|
880
|
-
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
881
|
-
readonly mode: Schema.String;
|
|
882
|
-
readonly oid: Schema.String;
|
|
883
|
-
}>>;
|
|
884
|
-
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
885
|
-
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
886
|
-
readonly lines: Schema.Union<readonly [Schema.Struct<{
|
|
887
|
-
readonly added: Schema.Int;
|
|
888
|
-
readonly deleted: Schema.Int;
|
|
889
|
-
}>, Schema.Literal<"binary">]>;
|
|
890
|
-
readonly patch: Schema.String;
|
|
891
|
-
}>, Schema.Struct<{
|
|
892
|
-
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
893
|
-
readonly path: Schema.String;
|
|
894
|
-
readonly from: Schema.optionalKey<Schema.String>;
|
|
895
|
-
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
896
|
-
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
897
|
-
readonly mode: Schema.String;
|
|
922
|
+
readonly files: Schema.Struct<{
|
|
923
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
924
|
+
readonly path: Schema.String;
|
|
898
925
|
readonly oid: Schema.String;
|
|
899
|
-
}>>;
|
|
900
|
-
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
901
926
|
readonly mode: Schema.String;
|
|
902
|
-
readonly
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
readonly
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
readonly deleted: Schema.Int;
|
|
909
|
-
}>, Schema.Literal<"binary">]>;
|
|
910
|
-
readonly hunks: Schema.$Array<Schema.Struct<{
|
|
911
|
-
readonly oldStart: Schema.Int;
|
|
912
|
-
readonly oldLines: Schema.Int;
|
|
913
|
-
readonly newStart: Schema.Int;
|
|
914
|
-
readonly newLines: Schema.Int;
|
|
915
|
-
readonly context: Schema.String;
|
|
916
|
-
readonly lines: Schema.$Array<Schema.Struct<{
|
|
917
|
-
readonly kind: Schema.Literals<readonly ["context", "add", "delete"]>;
|
|
918
|
-
readonly text: Schema.String;
|
|
919
|
-
readonly noNewline: Schema.optionalKey<Schema.Literal<true>>;
|
|
920
|
-
}>>;
|
|
921
|
-
}>>;
|
|
922
|
-
}>]>>>;
|
|
923
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
924
|
-
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
927
|
+
readonly size: Schema.Int;
|
|
928
|
+
readonly content: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
929
|
+
}>>>;
|
|
930
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
931
|
+
}>;
|
|
932
|
+
readonly missing: Schema.$Array<Schema.String>;
|
|
925
933
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
926
934
|
readonly code: "ALREADY_EXISTS";
|
|
927
935
|
readonly message: 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;
|