@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/commits.d.mts
CHANGED
|
@@ -318,7 +318,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
318
318
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
319
319
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
320
320
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
321
|
-
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>]>>;
|
|
321
|
+
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>]>>;
|
|
322
322
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
323
323
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
324
324
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -410,7 +410,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
410
410
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
411
411
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
412
412
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
413
|
-
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>]>>;
|
|
413
|
+
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>]>>;
|
|
414
414
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
415
415
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
416
416
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -744,7 +744,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
744
744
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
745
745
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
746
746
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
747
|
-
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>]>>;
|
|
747
|
+
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>]>>;
|
|
748
748
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
749
749
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
750
750
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -836,7 +836,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
836
836
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
837
837
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
838
838
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
839
|
-
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>]>>;
|
|
839
|
+
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>]>>;
|
|
840
840
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
841
841
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
842
842
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1193,7 +1193,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1193
1193
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1194
1194
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1195
1195
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1196
|
-
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>]>>;
|
|
1196
|
+
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>]>>;
|
|
1197
1197
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1198
1198
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1199
1199
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1285,7 +1285,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1285
1285
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1286
1286
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1287
1287
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1288
|
-
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>]>>;
|
|
1288
|
+
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>]>>;
|
|
1289
1289
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1290
1290
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1291
1291
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1308,20 +1308,10 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1308
1308
|
}>, {
|
|
1309
1309
|
"ref0-code": Schema.String;
|
|
1310
1310
|
'www-authenticate': Schema.String;
|
|
1311
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1311
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"mergeBase", "POST", "/repos/:repo/-/commits/merge-base", Schema.toCodecStringTree<Schema.Struct<{
|
|
1312
1312
|
repo: Schema.String;
|
|
1313
1313
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1314
|
-
readonly
|
|
1315
|
-
readonly head: Schema.String;
|
|
1316
|
-
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
1317
|
-
readonly commits: Schema.optionalKey<Schema.Struct<{
|
|
1318
|
-
readonly after: Schema.optionalKey<Schema.String>;
|
|
1319
|
-
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1320
|
-
}>>;
|
|
1321
|
-
readonly files: Schema.optionalKey<Schema.Struct<{
|
|
1322
|
-
readonly after: Schema.optionalKey<Schema.String>;
|
|
1323
|
-
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1324
|
-
}>>;
|
|
1314
|
+
readonly commits: Schema.$Array<Schema.String>;
|
|
1325
1315
|
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
1326
1316
|
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
1327
1317
|
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
@@ -1329,58 +1319,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1329
1319
|
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
1330
1320
|
}>>;
|
|
1331
1321
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1332
|
-
readonly
|
|
1333
|
-
readonly head: Schema.String;
|
|
1334
|
-
readonly mergeBase: Schema.optionalKey<Schema.String>;
|
|
1335
|
-
readonly ahead: Schema.Int;
|
|
1336
|
-
readonly behind: Schema.Int;
|
|
1337
|
-
readonly commits: Schema.Struct<{
|
|
1338
|
-
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1339
|
-
readonly oid: Schema.String;
|
|
1340
|
-
readonly tree: Schema.String;
|
|
1341
|
-
readonly parents: Schema.$Array<Schema.String>;
|
|
1342
|
-
readonly author: Schema.Struct<{
|
|
1343
|
-
readonly name: Schema.String;
|
|
1344
|
-
readonly email: Schema.String;
|
|
1345
|
-
readonly at: Schema.Number;
|
|
1346
|
-
readonly offset: Schema.Int;
|
|
1347
|
-
}>;
|
|
1348
|
-
readonly committer: Schema.Struct<{
|
|
1349
|
-
readonly name: Schema.String;
|
|
1350
|
-
readonly email: Schema.String;
|
|
1351
|
-
readonly at: Schema.Number;
|
|
1352
|
-
readonly offset: Schema.Int;
|
|
1353
|
-
}>;
|
|
1354
|
-
readonly subject: Schema.String;
|
|
1355
|
-
readonly message: Schema.String;
|
|
1356
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
1357
|
-
}>>>;
|
|
1358
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
1359
|
-
}>;
|
|
1360
|
-
readonly files: Schema.Struct<{
|
|
1361
|
-
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1362
|
-
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
1363
|
-
readonly path: Schema.String;
|
|
1364
|
-
readonly from: Schema.optionalKey<Schema.String>;
|
|
1365
|
-
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
1366
|
-
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
1367
|
-
readonly mode: Schema.String;
|
|
1368
|
-
readonly oid: Schema.String;
|
|
1369
|
-
}>>;
|
|
1370
|
-
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
1371
|
-
readonly mode: Schema.String;
|
|
1372
|
-
readonly oid: Schema.String;
|
|
1373
|
-
}>>;
|
|
1374
|
-
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1375
|
-
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1376
|
-
readonly lines: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1377
|
-
readonly added: Schema.Int;
|
|
1378
|
-
readonly deleted: Schema.Int;
|
|
1379
|
-
}>, Schema.Literal<"binary">]>>;
|
|
1380
|
-
}>>>;
|
|
1381
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
1382
|
-
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
1383
|
-
}>;
|
|
1322
|
+
readonly bases: Schema.$Array<Schema.String>;
|
|
1384
1323
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1385
1324
|
readonly code: "ALREADY_EXISTS";
|
|
1386
1325
|
readonly message: string;
|
|
@@ -1665,7 +1604,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1665
1604
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1666
1605
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1667
1606
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1668
|
-
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>]>>;
|
|
1607
|
+
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>]>>;
|
|
1669
1608
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1670
1609
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1671
1610
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1757,7 +1696,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1757
1696
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1758
1697
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1759
1698
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1760
|
-
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>]>>;
|
|
1699
|
+
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>]>>;
|
|
1761
1700
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1762
1701
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1763
1702
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2099,7 +2038,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2099
2038
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2100
2039
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2101
2040
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2102
|
-
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>]>>;
|
|
2041
|
+
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>]>>;
|
|
2103
2042
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2104
2043
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2105
2044
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2191,7 +2130,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2191
2130
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2192
2131
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2193
2132
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2194
|
-
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>]>>;
|
|
2133
|
+
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>]>>;
|
|
2195
2134
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2196
2135
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2197
2136
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2214,10 +2153,20 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2214
2153
|
}>, {
|
|
2215
2154
|
"ref0-code": Schema.String;
|
|
2216
2155
|
'www-authenticate': Schema.String;
|
|
2217
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2156
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"compare", "POST", "/repos/:repo/-/commits/compare", Schema.toCodecStringTree<Schema.Struct<{
|
|
2218
2157
|
repo: Schema.String;
|
|
2219
2158
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2220
|
-
readonly
|
|
2159
|
+
readonly base: Schema.String;
|
|
2160
|
+
readonly head: Schema.String;
|
|
2161
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
2162
|
+
readonly commits: Schema.optionalKey<Schema.Struct<{
|
|
2163
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
2164
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
2165
|
+
}>>;
|
|
2166
|
+
readonly files: Schema.optionalKey<Schema.Struct<{
|
|
2167
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
2168
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
2169
|
+
}>>;
|
|
2221
2170
|
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
2222
2171
|
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
2223
2172
|
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
@@ -2225,7 +2174,58 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2225
2174
|
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
2226
2175
|
}>>;
|
|
2227
2176
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2228
|
-
readonly
|
|
2177
|
+
readonly base: Schema.String;
|
|
2178
|
+
readonly head: Schema.String;
|
|
2179
|
+
readonly mergeBase: Schema.optionalKey<Schema.String>;
|
|
2180
|
+
readonly ahead: Schema.Int;
|
|
2181
|
+
readonly behind: Schema.Int;
|
|
2182
|
+
readonly commits: Schema.Struct<{
|
|
2183
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
2184
|
+
readonly oid: Schema.String;
|
|
2185
|
+
readonly tree: Schema.String;
|
|
2186
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
2187
|
+
readonly author: Schema.Struct<{
|
|
2188
|
+
readonly name: Schema.String;
|
|
2189
|
+
readonly email: Schema.String;
|
|
2190
|
+
readonly at: Schema.Number;
|
|
2191
|
+
readonly offset: Schema.Int;
|
|
2192
|
+
}>;
|
|
2193
|
+
readonly committer: Schema.Struct<{
|
|
2194
|
+
readonly name: Schema.String;
|
|
2195
|
+
readonly email: Schema.String;
|
|
2196
|
+
readonly at: Schema.Number;
|
|
2197
|
+
readonly offset: Schema.Int;
|
|
2198
|
+
}>;
|
|
2199
|
+
readonly subject: Schema.String;
|
|
2200
|
+
readonly message: Schema.String;
|
|
2201
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
2202
|
+
}>>>;
|
|
2203
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
2204
|
+
}>;
|
|
2205
|
+
readonly files: Schema.Struct<{
|
|
2206
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
2207
|
+
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
2208
|
+
readonly path: Schema.String;
|
|
2209
|
+
readonly from: Schema.optionalKey<Schema.String>;
|
|
2210
|
+
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
2211
|
+
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
2212
|
+
readonly mode: Schema.String;
|
|
2213
|
+
readonly oid: Schema.String;
|
|
2214
|
+
}>>;
|
|
2215
|
+
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
2216
|
+
readonly mode: Schema.String;
|
|
2217
|
+
readonly oid: Schema.String;
|
|
2218
|
+
}>>;
|
|
2219
|
+
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
2220
|
+
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
2221
|
+
readonly lines: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2222
|
+
readonly added: Schema.Int;
|
|
2223
|
+
readonly deleted: Schema.Int;
|
|
2224
|
+
}>, Schema.Literal<"binary">]>>;
|
|
2225
|
+
}>>>;
|
|
2226
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
2227
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
2228
|
+
}>;
|
|
2229
2229
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
2230
2230
|
readonly code: "ALREADY_EXISTS";
|
|
2231
2231
|
readonly message: string;
|
|
@@ -2510,7 +2510,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2510
2510
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2511
2511
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2512
2512
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2513
|
-
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>]>>;
|
|
2513
|
+
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>]>>;
|
|
2514
2514
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2515
2515
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2516
2516
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2602,7 +2602,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2602
2602
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2603
2603
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2604
2604
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2605
|
-
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>]>>;
|
|
2605
|
+
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>]>>;
|
|
2606
2606
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2607
2607
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2608
2608
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -2625,9 +2625,16 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2625
2625
|
}>, {
|
|
2626
2626
|
"ref0-code": Schema.String;
|
|
2627
2627
|
'www-authenticate': Schema.String;
|
|
2628
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2628
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"revert", "POST", "/repos/:repo/-/commits/revert", Schema.toCodecStringTree<Schema.Struct<{
|
|
2629
2629
|
repo: Schema.String;
|
|
2630
2630
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2631
|
+
readonly message: Schema.String;
|
|
2632
|
+
readonly author: Schema.Struct<{
|
|
2633
|
+
readonly name: Schema.String;
|
|
2634
|
+
readonly email: Schema.String;
|
|
2635
|
+
readonly at: Schema.Number;
|
|
2636
|
+
readonly offset: Schema.Int;
|
|
2637
|
+
}>;
|
|
2631
2638
|
readonly commit: Schema.String;
|
|
2632
2639
|
readonly onto: Schema.String;
|
|
2633
2640
|
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
@@ -2636,10 +2643,6 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2636
2643
|
readonly at: Schema.Number;
|
|
2637
2644
|
readonly offset: Schema.Int;
|
|
2638
2645
|
}>>;
|
|
2639
|
-
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
2640
|
-
readonly name: Schema.String;
|
|
2641
|
-
readonly from: Schema.NullOr<Schema.String>;
|
|
2642
|
-
}>>;
|
|
2643
2646
|
readonly key: Schema.optionalKey<Schema.String>;
|
|
2644
2647
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2645
2648
|
readonly oid: Schema.String;
|
|
@@ -2944,7 +2947,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2944
2947
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
2945
2948
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
2946
2949
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2947
|
-
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>]>>;
|
|
2950
|
+
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>]>>;
|
|
2948
2951
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
2949
2952
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
2950
2953
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -3036,7 +3039,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
3036
3039
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
3037
3040
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
3038
3041
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
3039
|
-
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>]>>;
|
|
3042
|
+
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>]>>;
|
|
3040
3043
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
3041
3044
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
3042
3045
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -3059,16 +3062,9 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
3059
3062
|
}>, {
|
|
3060
3063
|
"ref0-code": Schema.String;
|
|
3061
3064
|
'www-authenticate': Schema.String;
|
|
3062
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
3065
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"pick", "POST", "/repos/:repo/-/commits/pick", Schema.toCodecStringTree<Schema.Struct<{
|
|
3063
3066
|
repo: Schema.String;
|
|
3064
3067
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3065
|
-
readonly message: Schema.String;
|
|
3066
|
-
readonly author: Schema.Struct<{
|
|
3067
|
-
readonly name: Schema.String;
|
|
3068
|
-
readonly email: Schema.String;
|
|
3069
|
-
readonly at: Schema.Number;
|
|
3070
|
-
readonly offset: Schema.Int;
|
|
3071
|
-
}>;
|
|
3072
3068
|
readonly commit: Schema.String;
|
|
3073
3069
|
readonly onto: Schema.String;
|
|
3074
3070
|
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
@@ -3077,6 +3073,10 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
3077
3073
|
readonly at: Schema.Number;
|
|
3078
3074
|
readonly offset: Schema.Int;
|
|
3079
3075
|
}>>;
|
|
3076
|
+
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
3077
|
+
readonly name: Schema.String;
|
|
3078
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
3079
|
+
}>>;
|
|
3080
3080
|
readonly key: Schema.optionalKey<Schema.String>;
|
|
3081
3081
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3082
3082
|
readonly oid: Schema.String;
|
|
@@ -3381,7 +3381,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
3381
3381
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
3382
3382
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
3383
3383
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
3384
|
-
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>]>>;
|
|
3384
|
+
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>]>>;
|
|
3385
3385
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
3386
3386
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
3387
3387
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -3473,7 +3473,7 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
3473
3473
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
3474
3474
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
3475
3475
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
3476
|
-
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>]>>;
|
|
3476
|
+
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>]>>;
|
|
3477
3477
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
3478
3478
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
3479
3479
|
most: Schema.optionalKey<Schema.Number>;
|
package/dist/rest/errors.d.mts
CHANGED
|
@@ -290,7 +290,7 @@ export declare const GitErrors: readonly [HttpApiSchema.encodeToWithHeaders<Sche
|
|
|
290
290
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
291
291
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
292
292
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
293
|
-
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>]>>;
|
|
293
|
+
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>]>>;
|
|
294
294
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
295
295
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
296
296
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -382,7 +382,7 @@ export declare const GitErrors: readonly [HttpApiSchema.encodeToWithHeaders<Sche
|
|
|
382
382
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
383
383
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
384
384
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
385
|
-
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>]>>;
|
|
385
|
+
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>]>>;
|
|
386
386
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
387
387
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
388
388
|
most: Schema.optionalKey<Schema.Number>;
|
package/dist/rest/events.d.mts
CHANGED
|
@@ -293,7 +293,7 @@ declare const EventsApiGroup_base: HttpApiGroup.HttpApiGroup<"events", HttpApiEn
|
|
|
293
293
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
294
294
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
295
295
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
296
|
-
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>]>>;
|
|
296
|
+
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>]>>;
|
|
297
297
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
298
298
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
299
299
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -385,7 +385,7 @@ declare const EventsApiGroup_base: HttpApiGroup.HttpApiGroup<"events", HttpApiEn
|
|
|
385
385
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
386
386
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
387
387
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
388
|
-
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>]>>;
|
|
388
|
+
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>]>>;
|
|
389
389
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
390
390
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
391
391
|
most: Schema.optionalKey<Schema.Number>;
|
package/dist/rest/files.d.mts
CHANGED
|
@@ -358,7 +358,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
358
358
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
359
359
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
360
360
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
361
|
-
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>]>>;
|
|
361
|
+
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>]>>;
|
|
362
362
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
363
363
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
364
364
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -450,7 +450,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
450
450
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
451
451
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
452
452
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
453
|
-
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>]>>;
|
|
453
|
+
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>]>>;
|
|
454
454
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
455
455
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
456
456
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -473,33 +473,29 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
473
473
|
}>, {
|
|
474
474
|
"ref0-code": Schema.String;
|
|
475
475
|
'www-authenticate': Schema.String;
|
|
476
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
476
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/repos/:repo/-/files", Schema.toCodecStringTree<Schema.Struct<{
|
|
477
477
|
repo: Schema.String;
|
|
478
|
-
}>>,
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
readonly
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}>>>;
|
|
500
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
501
|
-
}>;
|
|
502
|
-
readonly missing: Schema.$Array<Schema.String>;
|
|
478
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
479
|
+
ref: Schema.String;
|
|
480
|
+
path: Schema.optionalKey<Schema.String>;
|
|
481
|
+
recursive: Schema.optionalKey<Schema.Boolean>;
|
|
482
|
+
objects: Schema.optionalKey<Schema.Int>;
|
|
483
|
+
bytes: Schema.optionalKey<Schema.Int>;
|
|
484
|
+
entries: Schema.optionalKey<Schema.Int>;
|
|
485
|
+
milliseconds: Schema.optionalKey<Schema.Int>;
|
|
486
|
+
after: Schema.optionalKey<Schema.String>;
|
|
487
|
+
limit: Schema.optionalKey<Schema.Int>;
|
|
488
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
489
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
490
|
+
readonly name: Schema.String;
|
|
491
|
+
readonly path: Schema.String;
|
|
492
|
+
readonly mode: Schema.String;
|
|
493
|
+
readonly type: Schema.Literals<readonly ["blob", "tree", "commit"]>;
|
|
494
|
+
readonly oid: Schema.String;
|
|
495
|
+
readonly size: Schema.optionalKey<Schema.Int>;
|
|
496
|
+
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
497
|
+
}>>>;
|
|
498
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
503
499
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
504
500
|
readonly code: "ALREADY_EXISTS";
|
|
505
501
|
readonly message: string;
|
|
@@ -784,7 +780,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
784
780
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
785
781
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
786
782
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
787
|
-
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>]>>;
|
|
783
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
788
784
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
789
785
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
790
786
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -876,7 +872,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
876
872
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
877
873
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
878
874
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
879
|
-
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>]>>;
|
|
875
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
880
876
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
881
877
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
882
878
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -899,29 +895,33 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
899
895
|
}>, {
|
|
900
896
|
"ref0-code": Schema.String;
|
|
901
897
|
'www-authenticate': Schema.String;
|
|
902
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
898
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"read", "POST", "/repos/:repo/-/files/read", Schema.toCodecStringTree<Schema.Struct<{
|
|
903
899
|
repo: Schema.String;
|
|
904
|
-
}>>, Schema.
|
|
905
|
-
ref: Schema.String;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
readonly
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
900
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
901
|
+
readonly ref: Schema.String;
|
|
902
|
+
readonly paths: Schema.$Array<Schema.String>;
|
|
903
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
904
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
905
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
906
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
907
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
908
|
+
}>>;
|
|
909
|
+
readonly page: Schema.optionalKey<Schema.Struct<{
|
|
910
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
911
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
912
|
+
}>>;
|
|
913
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
914
|
+
readonly files: Schema.Struct<{
|
|
915
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
916
|
+
readonly path: Schema.String;
|
|
917
|
+
readonly oid: Schema.String;
|
|
918
|
+
readonly mode: Schema.String;
|
|
919
|
+
readonly size: Schema.Int;
|
|
920
|
+
readonly content: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
921
|
+
}>>>;
|
|
922
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
923
|
+
}>;
|
|
924
|
+
readonly missing: Schema.$Array<Schema.String>;
|
|
925
925
|
}>>, Schema.toCodecJson<import("effect/http-api/HttpApiSchema").encodeToWithHeaders<Schema.Codec<{
|
|
926
926
|
readonly code: "ALREADY_EXISTS";
|
|
927
927
|
readonly message: string;
|
|
@@ -1206,7 +1206,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
1206
1206
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1207
1207
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1208
1208
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1209
|
-
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1209
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1210
1210
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1211
1211
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1212
1212
|
most: Schema.optionalKey<Schema.Number>;
|
|
@@ -1298,7 +1298,7 @@ declare const FilesApiGroup_base: HttpApiGroup.HttpApiGroup<"files", HttpApiEndp
|
|
|
1298
1298
|
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
1299
1299
|
readonly hint: Schema.optionalKey<Schema.decodeTo<Schema.String, Schema.String, never, never>>;
|
|
1300
1300
|
readonly context: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
1301
|
-
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1301
|
+
reason: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["too-large", "rate-limited", "walk-limit", "diff-limit", "object-too-large", "delta-too-large", "response-too-large", "too-many-pointers", "fetch-plan-too-large", "too-many-store-calls", "call-budget", "events-undelivered", "events-waiting", "name-churn", "queue-full", "queue-targets-full", "too-many-gitmodules-and-gitattributes", "prune-walk-too-large"]>, Schema.decodeTo<Schema.String, Schema.String, never, never>]>>;
|
|
1302
1302
|
indexBytes: Schema.optionalKey<Schema.Number>;
|
|
1303
1303
|
pushBytes: Schema.optionalKey<Schema.Number>;
|
|
1304
1304
|
most: Schema.optionalKey<Schema.Number>;
|