@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/tags.d.mts
CHANGED
|
@@ -1,57 +1,32 @@
|
|
|
1
1
|
import { GitCallerMiddleware, GitRestServices } from "./caller.mjs";
|
|
2
2
|
import * as Schema from "effect/Schema";
|
|
3
3
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/http-api";
|
|
4
|
-
declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoint.HttpApiEndpoint<"
|
|
4
|
+
declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/repos/:repo/-/tags", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
6
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
readonly
|
|
7
|
+
readonly object: Schema.String;
|
|
8
|
+
readonly tag: Schema.String;
|
|
9
|
+
readonly tagger: Schema.Struct<{
|
|
10
|
+
readonly name: Schema.String;
|
|
11
|
+
readonly email: Schema.String;
|
|
12
|
+
readonly at: Schema.Number;
|
|
13
|
+
readonly offset: Schema.Int;
|
|
14
|
+
}>;
|
|
15
|
+
readonly message: Schema.String;
|
|
16
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
17
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
16
18
|
readonly oid: Schema.String;
|
|
19
|
+
readonly object: Schema.String;
|
|
17
20
|
readonly type: Schema.Literals<readonly ["commit", "tree", "blob", "tag"]>;
|
|
18
|
-
readonly
|
|
19
|
-
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly name: Schema.String;
|
|
25
|
-
readonly email: Schema.String;
|
|
26
|
-
readonly at: Schema.Number;
|
|
27
|
-
readonly offset: Schema.Int;
|
|
28
|
-
}>>;
|
|
29
|
-
readonly message: Schema.String;
|
|
30
|
-
}>>;
|
|
31
|
-
readonly commit: Schema.optionalKey<Schema.Struct<{
|
|
32
|
-
readonly oid: Schema.String;
|
|
33
|
-
readonly tree: Schema.String;
|
|
34
|
-
readonly parents: Schema.$Array<Schema.String>;
|
|
35
|
-
readonly author: Schema.Struct<{
|
|
36
|
-
readonly name: Schema.String;
|
|
37
|
-
readonly email: Schema.String;
|
|
38
|
-
readonly at: Schema.Number;
|
|
39
|
-
readonly offset: Schema.Int;
|
|
40
|
-
}>;
|
|
41
|
-
readonly committer: Schema.Struct<{
|
|
42
|
-
readonly name: Schema.String;
|
|
43
|
-
readonly email: Schema.String;
|
|
44
|
-
readonly at: Schema.Number;
|
|
45
|
-
readonly offset: Schema.Int;
|
|
46
|
-
}>;
|
|
47
|
-
readonly subject: Schema.String;
|
|
48
|
-
readonly message: Schema.String;
|
|
49
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
21
|
+
readonly tag: Schema.String;
|
|
22
|
+
readonly tagger: Schema.optionalKey<Schema.Struct<{
|
|
23
|
+
readonly name: Schema.String;
|
|
24
|
+
readonly email: Schema.String;
|
|
25
|
+
readonly at: Schema.Number;
|
|
26
|
+
readonly offset: Schema.Int;
|
|
50
27
|
}>>;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
readonly oid: Schema.String;
|
|
54
|
-
}>]>>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
28
|
+
readonly message: Schema.String;
|
|
29
|
+
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
55
30
|
readonly code: "ALREADY_EXISTS";
|
|
56
31
|
readonly message: string;
|
|
57
32
|
readonly hint?: string;
|
|
@@ -155,6 +130,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
155
130
|
readonly reason?: string;
|
|
156
131
|
readonly packs?: number;
|
|
157
132
|
readonly most?: number;
|
|
133
|
+
readonly retryAfter?: number;
|
|
158
134
|
};
|
|
159
135
|
}, unknown, never, never>, Schema.Codec<{
|
|
160
136
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -260,6 +236,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
260
236
|
readonly reason?: string;
|
|
261
237
|
readonly packs?: number;
|
|
262
238
|
readonly most?: number;
|
|
239
|
+
readonly retryAfter?: number;
|
|
263
240
|
};
|
|
264
241
|
}, unknown, never, never>, {
|
|
265
242
|
"ref0-code": Schema.String;
|
|
@@ -335,7 +312,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
335
312
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
336
313
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
337
314
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
338
|
-
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>]>>;
|
|
315
|
+
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>]>>;
|
|
339
316
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
340
317
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
341
318
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -351,9 +328,10 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
351
328
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
352
329
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
353
330
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
354
|
-
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>]>>;
|
|
331
|
+
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>]>>;
|
|
355
332
|
packs: Schema.optionalKey<Schema.Number>;
|
|
356
333
|
most: Schema.optionalKey<Schema.Number>;
|
|
334
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
357
335
|
}>, 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]>>]>>;
|
|
358
336
|
}>, Schema.Struct<{
|
|
359
337
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -427,7 +405,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
427
405
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
428
406
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
429
407
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
430
|
-
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>]>>;
|
|
408
|
+
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>]>>;
|
|
431
409
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
432
410
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
433
411
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -443,27 +421,23 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
443
421
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
444
422
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
445
423
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
446
|
-
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>]>>;
|
|
424
|
+
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>]>>;
|
|
447
425
|
packs: Schema.optionalKey<Schema.Number>;
|
|
448
426
|
most: Schema.optionalKey<Schema.Number>;
|
|
427
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
449
428
|
}>, 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]>>]>>;
|
|
450
429
|
}>, {
|
|
451
430
|
"ref0-code": Schema.String;
|
|
452
431
|
'www-authenticate': Schema.String;
|
|
453
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
432
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/tags/:oid", Schema.toCodecStringTree<Schema.Struct<{
|
|
454
433
|
repo: Schema.String;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
readonly
|
|
458
|
-
readonly
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
readonly offset: Schema.Int;
|
|
463
|
-
}>;
|
|
464
|
-
readonly message: Schema.String;
|
|
465
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
466
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
434
|
+
oid: Schema.String;
|
|
435
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
436
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
437
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
438
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
439
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
440
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
467
441
|
readonly oid: Schema.String;
|
|
468
442
|
readonly object: Schema.String;
|
|
469
443
|
readonly type: Schema.Literals<readonly ["commit", "tree", "blob", "tag"]>;
|
|
@@ -579,6 +553,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
579
553
|
readonly reason?: string;
|
|
580
554
|
readonly packs?: number;
|
|
581
555
|
readonly most?: number;
|
|
556
|
+
readonly retryAfter?: number;
|
|
582
557
|
};
|
|
583
558
|
}, unknown, never, never>, Schema.Codec<{
|
|
584
559
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -684,6 +659,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
684
659
|
readonly reason?: string;
|
|
685
660
|
readonly packs?: number;
|
|
686
661
|
readonly most?: number;
|
|
662
|
+
readonly retryAfter?: number;
|
|
687
663
|
};
|
|
688
664
|
}, unknown, never, never>, {
|
|
689
665
|
"ref0-code": Schema.String;
|
|
@@ -759,7 +735,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
759
735
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
760
736
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
761
737
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
762
|
-
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>]>>;
|
|
738
|
+
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>]>>;
|
|
763
739
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
764
740
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
765
741
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -775,9 +751,10 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
775
751
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
776
752
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
777
753
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
778
|
-
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>]>>;
|
|
754
|
+
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>]>>;
|
|
779
755
|
packs: Schema.optionalKey<Schema.Number>;
|
|
780
756
|
most: Schema.optionalKey<Schema.Number>;
|
|
757
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
781
758
|
}>, 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]>>]>>;
|
|
782
759
|
}>, Schema.Struct<{
|
|
783
760
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -851,7 +828,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
851
828
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
852
829
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
853
830
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
854
|
-
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>]>>;
|
|
831
|
+
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>]>>;
|
|
855
832
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
856
833
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
857
834
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -867,34 +844,65 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
867
844
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
868
845
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
869
846
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
870
|
-
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>]>>;
|
|
847
|
+
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>]>>;
|
|
871
848
|
packs: Schema.optionalKey<Schema.Number>;
|
|
872
849
|
most: Schema.optionalKey<Schema.Number>;
|
|
850
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
873
851
|
}>, 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]>>]>>;
|
|
874
852
|
}>, {
|
|
875
853
|
"ref0-code": Schema.String;
|
|
876
854
|
'www-authenticate': Schema.String;
|
|
877
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
855
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"peel", "POST", "/repos/:repo/-/tags/peel", Schema.toCodecStringTree<Schema.Struct<{
|
|
878
856
|
repo: Schema.String;
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
readonly
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
857
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
858
|
+
readonly oids: Schema.$Array<Schema.String>;
|
|
859
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
860
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
861
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
862
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
863
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
864
|
+
}>>;
|
|
865
|
+
}>>, never, Schema.toCodecJson<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
866
|
+
readonly found: Schema.Literal<true>;
|
|
886
867
|
readonly oid: Schema.String;
|
|
887
|
-
readonly object: Schema.String;
|
|
888
868
|
readonly type: Schema.Literals<readonly ["commit", "tree", "blob", "tag"]>;
|
|
889
|
-
readonly
|
|
890
|
-
|
|
891
|
-
readonly
|
|
892
|
-
readonly
|
|
893
|
-
readonly
|
|
894
|
-
readonly
|
|
869
|
+
readonly tags: Schema.$Array<Schema.Struct<{
|
|
870
|
+
readonly oid: Schema.String;
|
|
871
|
+
readonly object: Schema.String;
|
|
872
|
+
readonly type: Schema.Literals<readonly ["commit", "tree", "blob", "tag"]>;
|
|
873
|
+
readonly tag: Schema.String;
|
|
874
|
+
readonly tagger: Schema.optionalKey<Schema.Struct<{
|
|
875
|
+
readonly name: Schema.String;
|
|
876
|
+
readonly email: Schema.String;
|
|
877
|
+
readonly at: Schema.Number;
|
|
878
|
+
readonly offset: Schema.Int;
|
|
879
|
+
}>>;
|
|
880
|
+
readonly message: Schema.String;
|
|
895
881
|
}>>;
|
|
896
|
-
readonly
|
|
897
|
-
|
|
882
|
+
readonly commit: Schema.optionalKey<Schema.Struct<{
|
|
883
|
+
readonly oid: Schema.String;
|
|
884
|
+
readonly tree: Schema.String;
|
|
885
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
886
|
+
readonly author: Schema.Struct<{
|
|
887
|
+
readonly name: Schema.String;
|
|
888
|
+
readonly email: Schema.String;
|
|
889
|
+
readonly at: Schema.Number;
|
|
890
|
+
readonly offset: Schema.Int;
|
|
891
|
+
}>;
|
|
892
|
+
readonly committer: Schema.Struct<{
|
|
893
|
+
readonly name: Schema.String;
|
|
894
|
+
readonly email: Schema.String;
|
|
895
|
+
readonly at: Schema.Number;
|
|
896
|
+
readonly offset: Schema.Int;
|
|
897
|
+
}>;
|
|
898
|
+
readonly subject: Schema.String;
|
|
899
|
+
readonly message: Schema.String;
|
|
900
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
901
|
+
}>>;
|
|
902
|
+
}>, Schema.Struct<{
|
|
903
|
+
readonly found: Schema.Literal<false>;
|
|
904
|
+
readonly oid: Schema.String;
|
|
905
|
+
}>]>>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
898
906
|
readonly code: "ALREADY_EXISTS";
|
|
899
907
|
readonly message: string;
|
|
900
908
|
readonly hint?: string;
|
|
@@ -998,6 +1006,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
998
1006
|
readonly reason?: string;
|
|
999
1007
|
readonly packs?: number;
|
|
1000
1008
|
readonly most?: number;
|
|
1009
|
+
readonly retryAfter?: number;
|
|
1001
1010
|
};
|
|
1002
1011
|
}, unknown, never, never>, Schema.Codec<{
|
|
1003
1012
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -1103,6 +1112,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
1103
1112
|
readonly reason?: string;
|
|
1104
1113
|
readonly packs?: number;
|
|
1105
1114
|
readonly most?: number;
|
|
1115
|
+
readonly retryAfter?: number;
|
|
1106
1116
|
};
|
|
1107
1117
|
}, unknown, never, never>, {
|
|
1108
1118
|
"ref0-code": Schema.String;
|
|
@@ -1178,7 +1188,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
1178
1188
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1179
1189
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1180
1190
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1181
|
-
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>]>>;
|
|
1191
|
+
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>]>>;
|
|
1182
1192
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1183
1193
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1184
1194
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1194,9 +1204,10 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
1194
1204
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1195
1205
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1196
1206
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1197
|
-
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>]>>;
|
|
1207
|
+
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>]>>;
|
|
1198
1208
|
packs: Schema.optionalKey<Schema.Number>;
|
|
1199
1209
|
most: Schema.optionalKey<Schema.Number>;
|
|
1210
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
1200
1211
|
}>, 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]>>]>>;
|
|
1201
1212
|
}>, Schema.Struct<{
|
|
1202
1213
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -1270,7 +1281,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
1270
1281
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1271
1282
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1272
1283
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1273
|
-
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>]>>;
|
|
1284
|
+
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>]>>;
|
|
1274
1285
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1275
1286
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1276
1287
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1286,9 +1297,10 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
1286
1297
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1287
1298
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1288
1299
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1289
|
-
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>]>>;
|
|
1300
|
+
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>]>>;
|
|
1290
1301
|
packs: Schema.optionalKey<Schema.Number>;
|
|
1291
1302
|
most: Schema.optionalKey<Schema.Number>;
|
|
1303
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
1292
1304
|
}>, 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]>>]>>;
|
|
1293
1305
|
}>, {
|
|
1294
1306
|
"ref0-code": Schema.String;
|