@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/forks.d.mts
CHANGED
|
@@ -1,14 +1,38 @@
|
|
|
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 ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndpoint.HttpApiEndpoint<"
|
|
4
|
+
declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/repos/:repo/-/forks", Schema.toCodecStringTree<Schema.Struct<{
|
|
5
5
|
repo: Schema.String;
|
|
6
|
-
}>>, never,
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
7
|
+
readonly holder: Schema.String;
|
|
8
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
9
|
+
readonly name: Schema.optionalKey<Schema.String>;
|
|
10
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
11
|
+
readonly name: Schema.String;
|
|
12
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
13
|
+
readonly public: Schema.Boolean;
|
|
14
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
15
|
+
readonly shallow: Schema.Boolean;
|
|
16
|
+
readonly stats: Schema.Struct<{
|
|
17
|
+
readonly repo: Schema.String;
|
|
18
|
+
readonly refs: Schema.Number;
|
|
19
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
20
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
21
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
22
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
23
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
24
|
+
}>;
|
|
25
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
26
|
+
readonly waiting: Schema.Number;
|
|
27
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
28
|
+
readonly failed: Schema.Number;
|
|
29
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
30
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
31
|
+
readonly state: Schema.Literal<"refused">;
|
|
32
|
+
readonly retryAt: Schema.Number;
|
|
33
|
+
}>, Schema.Struct<{
|
|
34
|
+
readonly state: Schema.Literal<"too-large">;
|
|
35
|
+
}>]>>;
|
|
12
36
|
}>>;
|
|
13
37
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
14
38
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -114,6 +138,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
114
138
|
readonly reason?: string;
|
|
115
139
|
readonly packs?: number;
|
|
116
140
|
readonly most?: number;
|
|
141
|
+
readonly retryAfter?: number;
|
|
117
142
|
};
|
|
118
143
|
}, unknown, never, never>, Schema.Codec<{
|
|
119
144
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -219,6 +244,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
219
244
|
readonly reason?: string;
|
|
220
245
|
readonly packs?: number;
|
|
221
246
|
readonly most?: number;
|
|
247
|
+
readonly retryAfter?: number;
|
|
222
248
|
};
|
|
223
249
|
}, unknown, never, never>, {
|
|
224
250
|
"ref0-code": Schema.String;
|
|
@@ -294,7 +320,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
294
320
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
295
321
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
296
322
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
297
|
-
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>]>>;
|
|
323
|
+
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>]>>;
|
|
298
324
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
299
325
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
300
326
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -310,9 +336,10 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
310
336
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
311
337
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
312
338
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
313
|
-
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>]>>;
|
|
339
|
+
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>]>>;
|
|
314
340
|
packs: Schema.optionalKey<Schema.Number>;
|
|
315
341
|
most: Schema.optionalKey<Schema.Number>;
|
|
342
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
316
343
|
}>, 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]>>]>>;
|
|
317
344
|
}>, Schema.Struct<{
|
|
318
345
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -386,7 +413,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
386
413
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
387
414
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
388
415
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
389
|
-
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>]>>;
|
|
416
|
+
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>]>>;
|
|
390
417
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
391
418
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
392
419
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -402,21 +429,24 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
402
429
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
403
430
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
404
431
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
405
|
-
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>]>>;
|
|
432
|
+
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>]>>;
|
|
406
433
|
packs: Schema.optionalKey<Schema.Number>;
|
|
407
434
|
most: Schema.optionalKey<Schema.Number>;
|
|
435
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
408
436
|
}>, 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]>>]>>;
|
|
409
437
|
}>, {
|
|
410
438
|
"ref0-code": Schema.String;
|
|
411
439
|
'www-authenticate': Schema.String;
|
|
412
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
440
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/repos/:repo/-/forks/sync", Schema.toCodecStringTree<Schema.Struct<{
|
|
413
441
|
repo: Schema.String;
|
|
414
|
-
|
|
415
|
-
|
|
442
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
443
|
+
key: Schema.optionalKey<Schema.String>;
|
|
444
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
416
445
|
readonly name: Schema.String;
|
|
417
446
|
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
418
447
|
readonly public: Schema.Boolean;
|
|
419
448
|
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
449
|
+
readonly shallow: Schema.Boolean;
|
|
420
450
|
readonly stats: Schema.Struct<{
|
|
421
451
|
readonly repo: Schema.String;
|
|
422
452
|
readonly refs: Schema.Number;
|
|
@@ -542,6 +572,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
542
572
|
readonly reason?: string;
|
|
543
573
|
readonly packs?: number;
|
|
544
574
|
readonly most?: number;
|
|
575
|
+
readonly retryAfter?: number;
|
|
545
576
|
};
|
|
546
577
|
}, unknown, never, never>, Schema.Codec<{
|
|
547
578
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -647,6 +678,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
647
678
|
readonly reason?: string;
|
|
648
679
|
readonly packs?: number;
|
|
649
680
|
readonly most?: number;
|
|
681
|
+
readonly retryAfter?: number;
|
|
650
682
|
};
|
|
651
683
|
}, unknown, never, never>, {
|
|
652
684
|
"ref0-code": Schema.String;
|
|
@@ -722,7 +754,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
722
754
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
723
755
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
724
756
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
725
|
-
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>]>>;
|
|
757
|
+
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>]>>;
|
|
726
758
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
727
759
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
728
760
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -738,9 +770,10 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
738
770
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
739
771
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
740
772
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
741
|
-
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>]>>;
|
|
773
|
+
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>]>>;
|
|
742
774
|
packs: Schema.optionalKey<Schema.Number>;
|
|
743
775
|
most: Schema.optionalKey<Schema.Number>;
|
|
776
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
744
777
|
}>, 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]>>]>>;
|
|
745
778
|
}>, Schema.Struct<{
|
|
746
779
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -814,7 +847,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
814
847
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
815
848
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
816
849
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
817
|
-
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>]>>;
|
|
850
|
+
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>]>>;
|
|
818
851
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
819
852
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
820
853
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -830,43 +863,49 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
830
863
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
831
864
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
832
865
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
833
|
-
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>]>>;
|
|
866
|
+
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>]>>;
|
|
834
867
|
packs: Schema.optionalKey<Schema.Number>;
|
|
835
868
|
most: Schema.optionalKey<Schema.Number>;
|
|
869
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
836
870
|
}>, 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]>>]>>;
|
|
837
871
|
}>, {
|
|
838
872
|
"ref0-code": Schema.String;
|
|
839
873
|
'www-authenticate': Schema.String;
|
|
840
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
874
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/forks", Schema.toCodecStringTree<Schema.Struct<{
|
|
841
875
|
repo: Schema.String;
|
|
842
|
-
}>>,
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
readonly
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
readonly
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
readonly
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
readonly
|
|
865
|
-
readonly
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
876
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
877
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
878
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
879
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
880
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
881
|
+
readonly name: Schema.String;
|
|
882
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
883
|
+
readonly public: Schema.Boolean;
|
|
884
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
885
|
+
readonly shallow: Schema.Boolean;
|
|
886
|
+
readonly stats: Schema.Struct<{
|
|
887
|
+
readonly repo: Schema.String;
|
|
888
|
+
readonly refs: Schema.Number;
|
|
889
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
890
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
891
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
892
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
893
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
894
|
+
}>;
|
|
895
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
896
|
+
readonly waiting: Schema.Number;
|
|
897
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
898
|
+
readonly failed: Schema.Number;
|
|
899
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
900
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
901
|
+
readonly state: Schema.Literal<"refused">;
|
|
902
|
+
readonly retryAt: Schema.Number;
|
|
903
|
+
}>, Schema.Struct<{
|
|
904
|
+
readonly state: Schema.Literal<"too-large">;
|
|
905
|
+
}>]>>;
|
|
906
|
+
}>>;
|
|
907
|
+
}>>>;
|
|
908
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
870
909
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
871
910
|
readonly code: "ALREADY_EXISTS";
|
|
872
911
|
readonly message: string;
|
|
@@ -971,6 +1010,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
971
1010
|
readonly reason?: string;
|
|
972
1011
|
readonly packs?: number;
|
|
973
1012
|
readonly most?: number;
|
|
1013
|
+
readonly retryAfter?: number;
|
|
974
1014
|
};
|
|
975
1015
|
}, unknown, never, never>, Schema.Codec<{
|
|
976
1016
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -1076,6 +1116,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1076
1116
|
readonly reason?: string;
|
|
1077
1117
|
readonly packs?: number;
|
|
1078
1118
|
readonly most?: number;
|
|
1119
|
+
readonly retryAfter?: number;
|
|
1079
1120
|
};
|
|
1080
1121
|
}, unknown, never, never>, {
|
|
1081
1122
|
"ref0-code": Schema.String;
|
|
@@ -1151,7 +1192,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1151
1192
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1152
1193
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1153
1194
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1154
|
-
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>]>>;
|
|
1195
|
+
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>]>>;
|
|
1155
1196
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1156
1197
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1157
1198
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1167,9 +1208,10 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1167
1208
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1168
1209
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1169
1210
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1170
|
-
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>]>>;
|
|
1211
|
+
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>]>>;
|
|
1171
1212
|
packs: Schema.optionalKey<Schema.Number>;
|
|
1172
1213
|
most: Schema.optionalKey<Schema.Number>;
|
|
1214
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
1173
1215
|
}>, 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]>>]>>;
|
|
1174
1216
|
}>, Schema.Struct<{
|
|
1175
1217
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -1243,7 +1285,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1243
1285
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1244
1286
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1245
1287
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1246
|
-
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>]>>;
|
|
1288
|
+
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>]>>;
|
|
1247
1289
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1248
1290
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1249
1291
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1259,44 +1301,22 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1259
1301
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1260
1302
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1261
1303
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1262
|
-
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>]>>;
|
|
1304
|
+
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>]>>;
|
|
1263
1305
|
packs: Schema.optionalKey<Schema.Number>;
|
|
1264
1306
|
most: Schema.optionalKey<Schema.Number>;
|
|
1307
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
1265
1308
|
}>, 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]>>]>>;
|
|
1266
1309
|
}>, {
|
|
1267
1310
|
"ref0-code": Schema.String;
|
|
1268
1311
|
'www-authenticate': Schema.String;
|
|
1269
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1312
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"fetch", "POST", "/repos/:repo/-/forks/fetch", Schema.toCodecStringTree<Schema.Struct<{
|
|
1270
1313
|
repo: Schema.String;
|
|
1271
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1272
|
-
readonly
|
|
1273
|
-
readonly
|
|
1274
|
-
readonly
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
1278
|
-
readonly public: Schema.Boolean;
|
|
1279
|
-
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
1280
|
-
readonly stats: Schema.Struct<{
|
|
1281
|
-
readonly repo: Schema.String;
|
|
1282
|
-
readonly refs: Schema.Number;
|
|
1283
|
-
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
1284
|
-
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
1285
|
-
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
1286
|
-
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
1287
|
-
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
1288
|
-
}>;
|
|
1289
|
-
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
1290
|
-
readonly waiting: Schema.Number;
|
|
1291
|
-
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
1292
|
-
readonly failed: Schema.Number;
|
|
1293
|
-
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
1294
|
-
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1295
|
-
readonly state: Schema.Literal<"refused">;
|
|
1296
|
-
readonly retryAt: Schema.Number;
|
|
1297
|
-
}>, Schema.Struct<{
|
|
1298
|
-
readonly state: Schema.Literal<"too-large">;
|
|
1299
|
-
}>]>>;
|
|
1314
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1315
|
+
readonly source: Schema.String;
|
|
1316
|
+
readonly head: Schema.optionalKey<Schema.String>;
|
|
1317
|
+
readonly tips: Schema.$Array<Schema.Struct<{
|
|
1318
|
+
readonly name: Schema.String;
|
|
1319
|
+
readonly oid: Schema.String;
|
|
1300
1320
|
}>>;
|
|
1301
1321
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1302
1322
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -1402,6 +1422,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1402
1422
|
readonly reason?: string;
|
|
1403
1423
|
readonly packs?: number;
|
|
1404
1424
|
readonly most?: number;
|
|
1425
|
+
readonly retryAfter?: number;
|
|
1405
1426
|
};
|
|
1406
1427
|
}, unknown, never, never>, Schema.Codec<{
|
|
1407
1428
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -1507,6 +1528,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1507
1528
|
readonly reason?: string;
|
|
1508
1529
|
readonly packs?: number;
|
|
1509
1530
|
readonly most?: number;
|
|
1531
|
+
readonly retryAfter?: number;
|
|
1510
1532
|
};
|
|
1511
1533
|
}, unknown, never, never>, {
|
|
1512
1534
|
"ref0-code": Schema.String;
|
|
@@ -1582,7 +1604,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1582
1604
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1583
1605
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1584
1606
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1585
|
-
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>]>>;
|
|
1607
|
+
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>]>>;
|
|
1586
1608
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1587
1609
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1588
1610
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1598,9 +1620,10 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1598
1620
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1599
1621
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1600
1622
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1601
|
-
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>]>>;
|
|
1623
|
+
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>]>>;
|
|
1602
1624
|
packs: Schema.optionalKey<Schema.Number>;
|
|
1603
1625
|
most: Schema.optionalKey<Schema.Number>;
|
|
1626
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
1604
1627
|
}>, 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]>>]>>;
|
|
1605
1628
|
}>, Schema.Struct<{
|
|
1606
1629
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -1674,7 +1697,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1674
1697
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1675
1698
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1676
1699
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1677
|
-
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>]>>;
|
|
1700
|
+
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>]>>;
|
|
1678
1701
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1679
1702
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1680
1703
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1690,47 +1713,44 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1690
1713
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1691
1714
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1692
1715
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1693
|
-
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>]>>;
|
|
1716
|
+
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>]>>;
|
|
1694
1717
|
packs: Schema.optionalKey<Schema.Number>;
|
|
1695
1718
|
most: Schema.optionalKey<Schema.Number>;
|
|
1719
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
1696
1720
|
}>, 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]>>]>>;
|
|
1697
1721
|
}>, {
|
|
1698
1722
|
"ref0-code": Schema.String;
|
|
1699
1723
|
'www-authenticate': Schema.String;
|
|
1700
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1724
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/forks/:holder", Schema.toCodecStringTree<Schema.Struct<{
|
|
1701
1725
|
repo: Schema.String;
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
readonly
|
|
1705
|
-
|
|
1706
|
-
readonly
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
readonly
|
|
1711
|
-
readonly
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
readonly
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
readonly
|
|
1725
|
-
readonly
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
}>]>>;
|
|
1731
|
-
}>>;
|
|
1732
|
-
}>>>;
|
|
1733
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
1726
|
+
holder: Schema.String;
|
|
1727
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1728
|
+
readonly name: Schema.String;
|
|
1729
|
+
readonly defaultBranch: Schema.optionalKey<Schema.String>;
|
|
1730
|
+
readonly public: Schema.Boolean;
|
|
1731
|
+
readonly upstream: Schema.optionalKey<Schema.String>;
|
|
1732
|
+
readonly shallow: Schema.Boolean;
|
|
1733
|
+
readonly stats: Schema.Struct<{
|
|
1734
|
+
readonly repo: Schema.String;
|
|
1735
|
+
readonly refs: Schema.Number;
|
|
1736
|
+
readonly packs: Schema.optionalKey<Schema.Number>;
|
|
1737
|
+
readonly packBytes: Schema.optionalKey<Schema.Number>;
|
|
1738
|
+
readonly ownBytes: Schema.optionalKey<Schema.Number>;
|
|
1739
|
+
readonly pushedAt: Schema.optionalKey<Schema.Number>;
|
|
1740
|
+
readonly maintainedAt: Schema.optionalKey<Schema.Number>;
|
|
1741
|
+
}>;
|
|
1742
|
+
readonly work: Schema.optionalKey<Schema.Struct<{
|
|
1743
|
+
readonly waiting: Schema.Number;
|
|
1744
|
+
readonly oldestDue: Schema.optionalKey<Schema.Number>;
|
|
1745
|
+
readonly failed: Schema.Number;
|
|
1746
|
+
readonly oldestFailed: Schema.optionalKey<Schema.Number>;
|
|
1747
|
+
readonly index: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1748
|
+
readonly state: Schema.Literal<"refused">;
|
|
1749
|
+
readonly retryAt: Schema.Number;
|
|
1750
|
+
}>, Schema.Struct<{
|
|
1751
|
+
readonly state: Schema.Literal<"too-large">;
|
|
1752
|
+
}>]>>;
|
|
1753
|
+
}>>;
|
|
1734
1754
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1735
1755
|
readonly code: "ALREADY_EXISTS";
|
|
1736
1756
|
readonly message: string;
|
|
@@ -1835,6 +1855,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1835
1855
|
readonly reason?: string;
|
|
1836
1856
|
readonly packs?: number;
|
|
1837
1857
|
readonly most?: number;
|
|
1858
|
+
readonly retryAfter?: number;
|
|
1838
1859
|
};
|
|
1839
1860
|
}, unknown, never, never>, Schema.Codec<{
|
|
1840
1861
|
readonly code: "ALREADY_EXISTS";
|
|
@@ -1940,6 +1961,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
1940
1961
|
readonly reason?: string;
|
|
1941
1962
|
readonly packs?: number;
|
|
1942
1963
|
readonly most?: number;
|
|
1964
|
+
readonly retryAfter?: number;
|
|
1943
1965
|
};
|
|
1944
1966
|
}, unknown, never, never>, {
|
|
1945
1967
|
"ref0-code": Schema.String;
|
|
@@ -2015,7 +2037,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
2015
2037
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2016
2038
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2017
2039
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2018
|
-
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>]>>;
|
|
2040
|
+
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>]>>;
|
|
2019
2041
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2020
2042
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2021
2043
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2031,9 +2053,10 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
2031
2053
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2032
2054
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2033
2055
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2034
|
-
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>]>>;
|
|
2056
|
+
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>]>>;
|
|
2035
2057
|
packs: Schema.optionalKey<Schema.Number>;
|
|
2036
2058
|
most: Schema.optionalKey<Schema.Number>;
|
|
2059
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
2037
2060
|
}>, 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]>>]>>;
|
|
2038
2061
|
}>, Schema.Struct<{
|
|
2039
2062
|
readonly code: Schema.Literal<"ALREADY_EXISTS">;
|
|
@@ -2107,7 +2130,7 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
2107
2130
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2108
2131
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2109
2132
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2110
|
-
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>]>>;
|
|
2133
|
+
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>]>>;
|
|
2111
2134
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2112
2135
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2113
2136
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2123,9 +2146,10 @@ declare const ForksApiGroup_base: HttpApiGroup.HttpApiGroup<"forks", HttpApiEndp
|
|
|
2123
2146
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2124
2147
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2125
2148
|
id: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2126
|
-
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>]>>;
|
|
2149
|
+
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>]>>;
|
|
2127
2150
|
packs: Schema.optionalKey<Schema.Number>;
|
|
2128
2151
|
most: Schema.optionalKey<Schema.Number>;
|
|
2152
|
+
retryAfter: Schema.optionalKey<Schema.Number>;
|
|
2129
2153
|
}>, 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]>>]>>;
|
|
2130
2154
|
}>, {
|
|
2131
2155
|
"ref0-code": Schema.String;
|