@ref0/git 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access/private-refs.mjs +3 -4
- package/dist/auth/authorize.mjs +9 -4
- package/dist/auth/identify.d.mts +5 -3
- package/dist/auth/tokens.mjs +12 -11
- package/dist/client/local.mjs +2 -0
- package/dist/client/slice-push.d.mts +1 -1
- package/dist/contracts/access.d.mts +6 -2
- package/dist/contracts/authorize.d.mts +14 -10
- package/dist/contracts/events.d.mts +32 -5
- package/dist/contracts/events.mjs +14 -3
- package/dist/contracts/git.d.mts +68 -3
- package/dist/contracts/grants.d.mts +6 -1
- package/dist/contracts/lfs.d.mts +5 -2
- package/dist/contracts/objects.d.mts +7 -2
- package/dist/contracts/promises.d.mts +2 -14
- package/dist/contracts/push-uploads.d.mts +1 -1
- package/dist/contracts/queue.d.mts +15 -7
- package/dist/contracts/refs.d.mts +1 -1
- package/dist/contracts/result.d.mts +9 -5
- package/dist/contracts/result.mjs +5 -0
- package/dist/contracts/server.d.mts +13 -6
- package/dist/contracts/work.d.mts +1 -1
- package/dist/core/access.mjs +17 -1
- package/dist/core/call-names.d.mts +3 -1
- package/dist/core/claim-rows.d.mts +4 -0
- package/dist/core/claim-rows.mjs +53 -0
- package/dist/core/events/deliver.d.mts +12 -0
- package/dist/core/events/deliver.mjs +367 -145
- package/dist/core/events/seen.mjs +17 -3
- package/dist/core/forks.mjs +82 -20
- package/dist/core/hooks/post-receive.mjs +20 -17
- package/dist/core/index-job.mjs +23 -17
- package/dist/core/parts.d.mts +6 -0
- package/dist/core/purge.d.mts +8 -0
- package/dist/core/purge.mjs +16 -21
- package/dist/core/push-decide.mjs +26 -4
- package/dist/core/push.mjs +57 -20
- package/dist/core/ref-index-job.mjs +9 -14
- package/dist/core/ref-index.d.mts +1 -0
- package/dist/core/ref-index.mjs +28 -8
- package/dist/core/ref-view.mjs +14 -9
- package/dist/core/refs.mjs +13 -11
- package/dist/core/repack.d.mts +2 -1
- package/dist/core/repack.mjs +66 -118
- package/dist/core/repos.mjs +5 -5
- package/dist/core/rules/check.mjs +7 -6
- package/dist/core/rules/context.d.mts +1 -1
- package/dist/core/seam.d.mts +56 -9
- package/dist/core/seam.mjs +7 -1
- package/dist/core/still-takes.mjs +75 -0
- package/dist/core/view.d.mts +1 -0
- package/dist/core/view.mjs +8 -9
- package/dist/core/work.mjs +1 -1
- package/dist/extend.d.mts +2 -1
- package/dist/http/core-parts.mjs +19 -11
- package/dist/http/handler.mjs +2 -2
- package/dist/http/node.d.mts +2 -23
- package/dist/http/parts.d.mts +1 -0
- package/dist/http/push-uploads.d.mts +10 -2
- package/dist/http/push-uploads.mjs +31 -34
- package/dist/http/receive-pack.mjs +5 -3
- package/dist/http/upload-pack.mjs +2 -2
- package/dist/index.d.mts +11 -7
- package/dist/index.mjs +5 -3
- package/dist/lfs/base.d.mts +32 -0
- package/dist/lfs/base.mjs +8 -0
- package/dist/lfs/calls.mjs +21 -12
- package/dist/lfs/layer.d.mts +27 -0
- package/dist/lfs/layer.mjs +64 -0
- package/dist/lfs/locks.mjs +13 -27
- package/dist/lfs/namespace.d.mts +2 -0
- package/dist/lfs/objects.d.mts +23 -4
- package/dist/lfs/objects.mjs +65 -81
- package/dist/lfs/pointers.mjs +8 -6
- package/dist/lfs/public.d.mts +5 -0
- package/dist/lfs/public.mjs +8 -0
- package/dist/lfs/purge.mjs +19 -25
- package/dist/lfs/rows.mjs +22 -10
- package/dist/lfs/service.d.mts +9 -4
- package/dist/lfs/service.mjs +3 -12
- package/dist/lfs/upkeep.mjs +34 -49
- package/dist/node.d.mts +3 -2
- package/dist/node.mjs +1 -1
- package/dist/protocol/wire/advertisement.d.mts +4 -10
- package/dist/protocol/wire/advertisement.mjs +16 -12
- package/dist/protocol/wire/lines.d.mts +14 -2
- package/dist/protocol/wire/lines.mjs +32 -21
- package/dist/protocol/wire/v2.d.mts +4 -15
- package/dist/protocol/wire/v2.mjs +16 -14
- package/dist/queue/advance.mjs +78 -55
- package/dist/queue/calls.mjs +4 -2
- package/dist/queue/commit.mjs +20 -13
- package/dist/queue/host.d.mts +2 -2
- package/dist/queue/layer.d.mts +4 -2
- package/dist/queue/layer.mjs +8 -3
- package/dist/queue/limits.mjs +36 -6
- package/dist/queue/rows.mjs +14 -5
- package/dist/queue/state.mjs +19 -5
- package/dist/queue/steps.mjs +10 -4
- package/dist/queue/trim.mjs +284 -0
- package/dist/rest/blobs.d.mts +19 -19
- package/dist/rest/caller.d.mts +4 -4
- package/dist/rest/commits.d.mts +96 -96
- package/dist/rest/errors.d.mts +2 -2
- package/dist/rest/events.d.mts +2 -2
- package/dist/rest/files.d.mts +54 -54
- package/dist/rest/forks.d.mts +87 -87
- package/dist/rest/handler.mjs +13 -5
- package/dist/rest/layer.d.mts +14 -0
- package/dist/rest/layer.mjs +52 -0
- package/dist/rest/me.d.mts +2 -2
- package/dist/rest/merges.d.mts +2 -2
- package/dist/rest/namespace.d.mts +2 -0
- package/dist/rest/queue.d.mts +208 -208
- package/dist/rest/refs.d.mts +131 -131
- package/dist/rest/repos.d.mts +12 -12
- package/dist/rest/tags.d.mts +70 -70
- package/dist/rest/tokens.d.mts +23 -23
- package/dist/rest/topics.d.mts +111 -111
- package/dist/rest/trees.d.mts +57 -57
- package/dist/rest/wire.d.mts +2 -0
- package/dist/rest/wire.mjs +2 -2
- package/dist/rest/work.d.mts +6 -6
- package/dist/server/edge-node.d.mts +20 -0
- package/dist/server/edge-node.mjs +20 -0
- package/dist/server/edge.d.mts +10 -0
- package/dist/server/edge.mjs +23 -0
- package/dist/server/extension.mjs +1 -1
- package/dist/server/git-layer.d.mts +15 -4
- package/dist/server/git-layer.mjs +13 -2
- package/dist/server/git-namespace.d.mts +5 -4
- package/dist/server/git-namespace.mjs +6 -3
- package/dist/server/registry.d.mts +3 -0
- package/dist/server/registry.mjs +58 -7
- package/dist/server/server.d.mts +3 -0
- package/dist/server/server.mjs +81 -39
- package/dist/server/uploads.d.mts +14 -0
- package/dist/server/uploads.mjs +15 -0
- package/dist/storage/calls.d.mts +7 -8
- package/dist/storage/calls.mjs +14 -14
- package/dist/storage/clean-up.mjs +59 -29
- package/dist/storage/host-bucket.mjs +16 -1
- package/dist/storage/index-build.d.mts +1 -1
- package/dist/storage/layout.mjs +5 -0
- package/dist/storage/merge.d.mts +1 -1
- package/dist/storage/push-uploads.mjs +12 -16
- package/dist/storage/quarantine.d.mts +1 -1
- package/dist/storage/quarantine.mjs +51 -12
- package/dist/storage/receive-bounds.d.mts +1 -1
- package/dist/storage/repack-job.d.mts +1 -1
- package/dist/storage/repack-job.mjs +7 -14
- package/dist/storage/rows.mjs +42 -3
- package/dist/storage/runs.d.mts +1 -1
- package/dist/store/job-try.mjs +26 -0
- package/dist/store/list-job.mjs +22 -16
- package/dist/store/outbox.mjs +38 -12
- package/dist/store/promises.d.mts +6 -1
- package/dist/store/promises.mjs +74 -89
- package/dist/store/queue-jobs.mjs +22 -1
- package/dist/store/scopes.mjs +0 -10
- package/dist/sync/mirror.d.mts +1 -1
- package/dist/sync/mirror.mjs +1 -1
- package/dist/sync/publish.mjs +12 -7
- package/dist/sync/step.mjs +4 -0
- package/package.json +3 -3
- package/dist/lfs/repo.mjs +0 -42
- package/dist/storage/promise-calls.mjs +0 -29
package/dist/rest/tags.d.mts
CHANGED
|
@@ -310,7 +310,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
310
310
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
311
311
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
312
312
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
313
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
313
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
314
314
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
315
315
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
316
316
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -402,7 +402,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
402
402
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
403
403
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
404
404
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
405
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
405
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
406
406
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
407
407
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
408
408
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -425,57 +425,27 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
425
425
|
}>, {
|
|
426
426
|
"ref0-code": Schema.String;
|
|
427
427
|
'www-authenticate': Schema.String;
|
|
428
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
428
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/tags/:oid", Schema.toCodecStringTree<Schema.Struct<{
|
|
429
429
|
repo: Schema.String;
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
readonly
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
}>>;
|
|
438
|
-
}>>, never, Schema.toCodecJson<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
439
|
-
readonly found: Schema.Literal<true>;
|
|
430
|
+
oid: Schema.String;
|
|
431
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
432
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
433
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
434
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
435
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
436
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
440
437
|
readonly oid: Schema.String;
|
|
438
|
+
readonly object: Schema.String;
|
|
441
439
|
readonly type: Schema.Literals<readonly ["commit", "tree", "blob", "tag"]>;
|
|
442
|
-
readonly
|
|
443
|
-
|
|
444
|
-
readonly
|
|
445
|
-
readonly
|
|
446
|
-
readonly
|
|
447
|
-
readonly
|
|
448
|
-
readonly name: Schema.String;
|
|
449
|
-
readonly email: Schema.String;
|
|
450
|
-
readonly at: Schema.Number;
|
|
451
|
-
readonly offset: Schema.Int;
|
|
452
|
-
}>>;
|
|
453
|
-
readonly message: Schema.String;
|
|
454
|
-
}>>;
|
|
455
|
-
readonly commit: Schema.optionalKey<Schema.Struct<{
|
|
456
|
-
readonly oid: Schema.String;
|
|
457
|
-
readonly tree: Schema.String;
|
|
458
|
-
readonly parents: Schema.$Array<Schema.String>;
|
|
459
|
-
readonly author: Schema.Struct<{
|
|
460
|
-
readonly name: Schema.String;
|
|
461
|
-
readonly email: Schema.String;
|
|
462
|
-
readonly at: Schema.Number;
|
|
463
|
-
readonly offset: Schema.Int;
|
|
464
|
-
}>;
|
|
465
|
-
readonly committer: Schema.Struct<{
|
|
466
|
-
readonly name: Schema.String;
|
|
467
|
-
readonly email: Schema.String;
|
|
468
|
-
readonly at: Schema.Number;
|
|
469
|
-
readonly offset: Schema.Int;
|
|
470
|
-
}>;
|
|
471
|
-
readonly subject: Schema.String;
|
|
472
|
-
readonly message: Schema.String;
|
|
473
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
440
|
+
readonly tag: Schema.String;
|
|
441
|
+
readonly tagger: Schema.optionalKey<Schema.Struct<{
|
|
442
|
+
readonly name: Schema.String;
|
|
443
|
+
readonly email: Schema.String;
|
|
444
|
+
readonly at: Schema.Number;
|
|
445
|
+
readonly offset: Schema.Int;
|
|
474
446
|
}>>;
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
readonly oid: Schema.String;
|
|
478
|
-
}>]>>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
447
|
+
readonly message: Schema.String;
|
|
448
|
+
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
479
449
|
readonly code: "ALREADY_EXISTS";
|
|
480
450
|
readonly message: string;
|
|
481
451
|
readonly hint?: string;
|
|
@@ -759,7 +729,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
759
729
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
760
730
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
761
731
|
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
732
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
763
733
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
764
734
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
765
735
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -851,7 +821,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
851
821
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
852
822
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
853
823
|
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
824
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
855
825
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
856
826
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
857
827
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -874,27 +844,57 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
874
844
|
}>, {
|
|
875
845
|
"ref0-code": Schema.String;
|
|
876
846
|
'www-authenticate': Schema.String;
|
|
877
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
847
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"peel", "POST", "/repos/:repo/-/tags/peel", Schema.toCodecStringTree<Schema.Struct<{
|
|
878
848
|
repo: Schema.String;
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
readonly
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
849
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
850
|
+
readonly oids: Schema.$Array<Schema.String>;
|
|
851
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
852
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
853
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
854
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
855
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
856
|
+
}>>;
|
|
857
|
+
}>>, never, Schema.toCodecJson<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
858
|
+
readonly found: Schema.Literal<true>;
|
|
886
859
|
readonly oid: Schema.String;
|
|
887
|
-
readonly object: Schema.String;
|
|
888
860
|
readonly type: Schema.Literals<readonly ["commit", "tree", "blob", "tag"]>;
|
|
889
|
-
readonly
|
|
890
|
-
|
|
891
|
-
readonly
|
|
892
|
-
readonly
|
|
893
|
-
readonly
|
|
894
|
-
readonly
|
|
861
|
+
readonly tags: Schema.$Array<Schema.Struct<{
|
|
862
|
+
readonly oid: Schema.String;
|
|
863
|
+
readonly object: Schema.String;
|
|
864
|
+
readonly type: Schema.Literals<readonly ["commit", "tree", "blob", "tag"]>;
|
|
865
|
+
readonly tag: Schema.String;
|
|
866
|
+
readonly tagger: Schema.optionalKey<Schema.Struct<{
|
|
867
|
+
readonly name: Schema.String;
|
|
868
|
+
readonly email: Schema.String;
|
|
869
|
+
readonly at: Schema.Number;
|
|
870
|
+
readonly offset: Schema.Int;
|
|
871
|
+
}>>;
|
|
872
|
+
readonly message: Schema.String;
|
|
895
873
|
}>>;
|
|
896
|
-
readonly
|
|
897
|
-
|
|
874
|
+
readonly commit: Schema.optionalKey<Schema.Struct<{
|
|
875
|
+
readonly oid: Schema.String;
|
|
876
|
+
readonly tree: Schema.String;
|
|
877
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
878
|
+
readonly author: Schema.Struct<{
|
|
879
|
+
readonly name: Schema.String;
|
|
880
|
+
readonly email: Schema.String;
|
|
881
|
+
readonly at: Schema.Number;
|
|
882
|
+
readonly offset: Schema.Int;
|
|
883
|
+
}>;
|
|
884
|
+
readonly committer: Schema.Struct<{
|
|
885
|
+
readonly name: Schema.String;
|
|
886
|
+
readonly email: Schema.String;
|
|
887
|
+
readonly at: Schema.Number;
|
|
888
|
+
readonly offset: Schema.Int;
|
|
889
|
+
}>;
|
|
890
|
+
readonly subject: Schema.String;
|
|
891
|
+
readonly message: Schema.String;
|
|
892
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
893
|
+
}>>;
|
|
894
|
+
}>, Schema.Struct<{
|
|
895
|
+
readonly found: Schema.Literal<false>;
|
|
896
|
+
readonly oid: Schema.String;
|
|
897
|
+
}>]>>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
898
898
|
readonly code: "ALREADY_EXISTS";
|
|
899
899
|
readonly message: string;
|
|
900
900
|
readonly hint?: string;
|
|
@@ -1178,7 +1178,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
1178
1178
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1179
1179
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1180
1180
|
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1182
1182
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1183
1183
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1184
1184
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1270,7 +1270,7 @@ declare const TagsApiGroup_base: HttpApiGroup.HttpApiGroup<"tags", HttpApiEndpoi
|
|
|
1270
1270
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1271
1271
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1272
1272
|
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1274
1274
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1275
1275
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1276
1276
|
most: Schema.optionalKey<Schema.Number>;
|
package/dist/rest/tokens.d.mts
CHANGED
|
@@ -289,7 +289,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
289
289
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
290
290
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
291
291
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
292
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
292
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
293
293
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
294
294
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
295
295
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -381,7 +381,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
381
381
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
382
382
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
383
383
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
384
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
384
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
385
385
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
386
386
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
387
387
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -404,11 +404,10 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
404
404
|
}>, {
|
|
405
405
|
"ref0-code": Schema.String;
|
|
406
406
|
'www-authenticate': Schema.String;
|
|
407
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
408
|
-
repo: Schema.String;
|
|
409
|
-
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
407
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"listPrefix", "GET", "/tokens", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
410
408
|
after: Schema.optionalKey<Schema.String>;
|
|
411
409
|
limit: Schema.optionalKey<Schema.Int>;
|
|
410
|
+
prefix: Schema.String;
|
|
412
411
|
state: Schema.optionalKey<Schema.Literals<readonly ["active", "expired", "revoked", "all"]>>;
|
|
413
412
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
414
413
|
readonly items: Schema.mutable<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -727,7 +726,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
727
726
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
728
727
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
729
728
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
730
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
729
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
731
730
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
732
731
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
733
732
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -819,7 +818,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
819
818
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
820
819
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
821
820
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
822
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
821
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
823
822
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
824
823
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
825
824
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -842,10 +841,11 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
842
841
|
}>, {
|
|
843
842
|
"ref0-code": Schema.String;
|
|
844
843
|
'www-authenticate': Schema.String;
|
|
845
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
844
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"listRepo", "GET", "/repos/:repo/-/tokens", Schema.toCodecStringTree<Schema.Struct<{
|
|
845
|
+
repo: Schema.String;
|
|
846
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
846
847
|
after: Schema.optionalKey<Schema.String>;
|
|
847
848
|
limit: Schema.optionalKey<Schema.Int>;
|
|
848
|
-
prefix: Schema.String;
|
|
849
849
|
state: Schema.optionalKey<Schema.Literals<readonly ["active", "expired", "revoked", "all"]>>;
|
|
850
850
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
851
851
|
readonly items: Schema.mutable<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
@@ -1164,7 +1164,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
1164
1164
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1165
1165
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1166
1166
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1167
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1167
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1168
1168
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1169
1169
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1170
1170
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1256,7 +1256,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
1256
1256
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1257
1257
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1258
1258
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1259
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1259
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1260
1260
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1261
1261
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1262
1262
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1595,7 +1595,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
1595
1595
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1596
1596
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1597
1597
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1598
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1598
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1599
1599
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1600
1600
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1601
1601
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1687,7 +1687,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
1687
1687
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1688
1688
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1689
1689
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1690
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1690
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1691
1691
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1692
1692
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1693
1693
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1710,9 +1710,9 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
1710
1710
|
}>, {
|
|
1711
1711
|
"ref0-code": Schema.String;
|
|
1712
1712
|
'www-authenticate': Schema.String;
|
|
1713
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1714
|
-
|
|
1715
|
-
}>>,
|
|
1713
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"createPrefix", "POST", "/tokens", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1714
|
+
prefix: Schema.String;
|
|
1715
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1716
1716
|
readonly key: Schema.optionalKey<Schema.String>;
|
|
1717
1717
|
readonly scope: Schema.Literals<readonly ["read", "report", "write"]>;
|
|
1718
1718
|
readonly expiresAt: Schema.Number;
|
|
@@ -2037,7 +2037,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
2037
2037
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2038
2038
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2039
2039
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2040
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, 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", "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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
2041
2041
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2042
2042
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2043
2043
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2129,7 +2129,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
2129
2129
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2130
2130
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2131
2131
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2132
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
2132
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
2133
2133
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2134
2134
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2135
2135
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2152,9 +2152,9 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
2152
2152
|
}>, {
|
|
2153
2153
|
"ref0-code": Schema.String;
|
|
2154
2154
|
'www-authenticate': Schema.String;
|
|
2155
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2156
|
-
|
|
2157
|
-
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
2155
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"createRepo", "POST", "/repos/:repo/-/tokens", Schema.toCodecStringTree<Schema.Struct<{
|
|
2156
|
+
repo: Schema.String;
|
|
2157
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2158
2158
|
readonly key: Schema.optionalKey<Schema.String>;
|
|
2159
2159
|
readonly scope: Schema.Literals<readonly ["read", "report", "write"]>;
|
|
2160
2160
|
readonly expiresAt: Schema.Number;
|
|
@@ -2479,7 +2479,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
2479
2479
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2480
2480
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2481
2481
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2482
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
2482
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
2483
2483
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2484
2484
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2485
2485
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2571,7 +2571,7 @@ declare const TokensApiGroup_base: HttpApiGroup.HttpApiGroup<"tokens", HttpApiEn
|
|
|
2571
2571
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2572
2572
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2573
2573
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2574
|
-
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", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
2574
|
+
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"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
2575
2575
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2576
2576
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2577
2577
|
most: Schema.optionalKey<Schema.Number>;
|