@ref0/git 0.8.0 → 0.10.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/contracts/calls-spent.d.mts +2 -12
- package/dist/contracts/calls-spent.mjs +4 -5
- package/dist/contracts/commits.d.mts +14 -2
- package/dist/contracts/commits.mjs +22 -3
- package/dist/contracts/events.d.mts +70 -4
- package/dist/contracts/events.mjs +27 -3
- package/dist/contracts/git.d.mts +13 -3
- package/dist/contracts/objects.d.mts +18 -0
- package/dist/contracts/queue.d.mts +3 -2
- package/dist/contracts/queue.mjs +4 -2
- package/dist/contracts/refs.mjs +3 -1
- package/dist/core/ancestry.mjs +5 -4
- package/dist/core/events/seen.mjs +5 -4
- package/dist/core/index-job.mjs +23 -1
- package/dist/core/index-lost.d.mts +11 -0
- package/dist/core/index-lost.mjs +55 -0
- package/dist/core/job-view.mjs +20 -0
- package/dist/core/objects/commit-writes.mjs +1 -1
- package/dist/core/objects/commits.mjs +10 -9
- package/dist/core/objects/merges.mjs +1 -1
- package/dist/core/objects/reading.mjs +28 -13
- package/dist/core/objects/trees.mjs +1 -1
- package/dist/core/parts.d.mts +7 -0
- package/dist/core/publish.mjs +9 -5
- package/dist/core/purge.mjs +16 -3
- package/dist/core/push.mjs +27 -11
- package/dist/core/ref-view.mjs +1 -25
- package/dist/core/repack.mjs +36 -14
- package/dist/core/view.d.mts +10 -1
- package/dist/core/view.mjs +15 -6
- package/dist/core/work.mjs +47 -4
- package/dist/effect.d.mts +2 -3
- package/dist/effect.mjs +2 -3
- package/dist/engine/commits.mjs +4 -3
- package/dist/engine/merge-bases.mjs +5 -3
- package/dist/engine/merge.mjs +4 -3
- package/dist/engine/parts.d.mts +1 -0
- package/dist/engine/parts.mjs +1 -1
- package/dist/engine/walk.mjs +62 -20
- package/dist/http/core-parts.mjs +17 -8
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +3 -3
- package/dist/lfs/objects.mjs +7 -4
- package/dist/lfs/upkeep.mjs +6 -5
- package/dist/lfs/upload-most.mjs +8 -2
- package/dist/protocol/bytes/streams.mjs +84 -2
- package/dist/protocol/diff/read.d.mts +1 -0
- package/dist/protocol/diff/read.mjs +5 -2
- package/dist/protocol/objects/commit.d.mts +7 -0
- package/dist/protocol/objects/commit.mjs +5 -1
- package/dist/queue/advance.mjs +39 -10
- package/dist/queue/host.d.mts +4 -0
- package/dist/queue/layer.mjs +4 -2
- package/dist/queue/limits.mjs +18 -2
- package/dist/queue/rows.mjs +2 -1
- package/dist/queue/trim.mjs +2 -2
- package/dist/rest/commits.d.mts +202 -198
- package/dist/rest/forks.d.mts +99 -99
- package/dist/rest/refs.d.mts +144 -144
- package/dist/rest/repos.d.mts +48 -48
- package/dist/rest/topics.d.mts +112 -112
- package/dist/rest/trees.d.mts +58 -58
- package/dist/rest/wire.d.mts +19 -1
- package/dist/rest/work.d.mts +39 -39
- package/dist/server/joined.d.mts +11 -5
- package/dist/server/joined.mjs +3 -2
- package/dist/server/registry.mjs +11 -5
- package/dist/server/server.mjs +16 -4
- package/dist/storage/index-bitmaps.mjs +16 -10
- package/dist/storage/index-build.mjs +61 -13
- package/dist/storage/index-graph.d.mts +1 -0
- package/dist/storage/index-graph.mjs +29 -5
- package/dist/storage/index-layers.d.mts +1 -0
- package/dist/storage/index-layers.mjs +5 -2
- package/dist/storage/index-reach.mjs +7 -5
- package/dist/storage/index-remap.mjs +5 -5
- package/dist/storage/index-visible.mjs +16 -5
- package/dist/storage/links.mjs +3 -3
- package/dist/storage/pack-order.d.mts +1 -0
- package/dist/storage/pack-order.mjs +18 -1
- package/dist/storage/prune-walk.mjs +5 -2
- package/dist/storage/prune.mjs +107 -37
- package/dist/storage/receive-bounds.mjs +3 -2
- package/dist/storage/visible.mjs +3 -2
- package/dist/storage/walk.d.mts +1 -0
- package/dist/storage/walk.mjs +9 -5
- package/dist/storage/wants.mjs +17 -11
- package/dist/store/call-count.d.mts +8 -0
- package/dist/store/call-count.mjs +15 -7
- package/dist/store/errors.d.mts +7 -1
- package/dist/store/errors.mjs +7 -1
- package/dist/store/job-try.mjs +3 -1
- package/dist/store/records.mjs +17 -2
- package/dist/store/repo-record.mjs +9 -2
- package/dist/store/scopes.mjs +10 -2
- package/dist/sync/bound.d.mts +1 -1
- package/dist/sync/import.mjs +1 -1
- package/dist/sync/layer.mjs +4 -7
- package/dist/sync/mirror.mjs +1 -1
- package/dist/topics/advance.mjs +4 -4
- package/dist/topics/layer.mjs +1 -1
- package/package.json +3 -3
package/dist/rest/commits.d.mts
CHANGED
|
@@ -12,6 +12,10 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
12
12
|
limit: Schema.optionalKey<Schema.Int>;
|
|
13
13
|
ref: Schema.String;
|
|
14
14
|
path: Schema.optionalKey<Schema.String>;
|
|
15
|
+
authors: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
16
|
+
committers: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
17
|
+
since: Schema.optionalKey<Schema.Number>;
|
|
18
|
+
until: Schema.optionalKey<Schema.Number>;
|
|
15
19
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
16
20
|
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
17
21
|
readonly oid: Schema.String;
|
|
@@ -433,38 +437,15 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
433
437
|
}>, {
|
|
434
438
|
"ref0-code": Schema.String;
|
|
435
439
|
'www-authenticate': Schema.String;
|
|
436
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
440
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/repos/:repo/-/commits/:oid", Schema.toCodecStringTree<Schema.Struct<{
|
|
437
441
|
repo: Schema.String;
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
readonly
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
}>;
|
|
446
|
-
readonly parents: Schema.$Array<Schema.String>;
|
|
447
|
-
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
448
|
-
readonly name: Schema.String;
|
|
449
|
-
readonly email: Schema.String;
|
|
450
|
-
readonly at: Schema.Number;
|
|
451
|
-
readonly offset: Schema.Int;
|
|
452
|
-
}>>;
|
|
453
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
454
|
-
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
455
|
-
readonly name: Schema.String;
|
|
456
|
-
readonly from: Schema.NullOr<Schema.String>;
|
|
457
|
-
}>>;
|
|
458
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
459
|
-
readonly tree: Schema.optionalKey<Schema.String>;
|
|
460
|
-
readonly changes: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
461
|
-
readonly path: Schema.String;
|
|
462
|
-
readonly mode: Schema.optionalKey<Schema.String>;
|
|
463
|
-
readonly oid: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
464
|
-
readonly content: Schema.optionalKey<Schema.String>;
|
|
465
|
-
readonly contentBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
466
|
-
}>>>;
|
|
467
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
442
|
+
oid: Schema.String;
|
|
443
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
444
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
445
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
446
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
447
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
448
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
468
449
|
readonly oid: Schema.String;
|
|
469
450
|
readonly tree: Schema.String;
|
|
470
451
|
readonly parents: Schema.$Array<Schema.String>;
|
|
@@ -882,15 +863,38 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
882
863
|
}>, {
|
|
883
864
|
"ref0-code": Schema.String;
|
|
884
865
|
'www-authenticate': Schema.String;
|
|
885
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
866
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/repos/:repo/-/commits", Schema.toCodecStringTree<Schema.Struct<{
|
|
886
867
|
repo: Schema.String;
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
readonly
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
868
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
869
|
+
readonly message: Schema.String;
|
|
870
|
+
readonly author: Schema.Struct<{
|
|
871
|
+
readonly name: Schema.String;
|
|
872
|
+
readonly email: Schema.String;
|
|
873
|
+
readonly at: Schema.Number;
|
|
874
|
+
readonly offset: Schema.Int;
|
|
875
|
+
}>;
|
|
876
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
877
|
+
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
878
|
+
readonly name: Schema.String;
|
|
879
|
+
readonly email: Schema.String;
|
|
880
|
+
readonly at: Schema.Number;
|
|
881
|
+
readonly offset: Schema.Int;
|
|
882
|
+
}>>;
|
|
883
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
884
|
+
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
885
|
+
readonly name: Schema.String;
|
|
886
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
887
|
+
}>>;
|
|
888
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
889
|
+
readonly tree: Schema.optionalKey<Schema.String>;
|
|
890
|
+
readonly changes: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
891
|
+
readonly path: Schema.String;
|
|
892
|
+
readonly mode: Schema.optionalKey<Schema.String>;
|
|
893
|
+
readonly oid: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
894
|
+
readonly content: Schema.optionalKey<Schema.String>;
|
|
895
|
+
readonly contentBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
896
|
+
}>>>;
|
|
897
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
894
898
|
readonly oid: Schema.String;
|
|
895
899
|
readonly tree: Schema.String;
|
|
896
900
|
readonly parents: Schema.$Array<Schema.String>;
|
|
@@ -1308,41 +1312,79 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1308
1312
|
}>, {
|
|
1309
1313
|
"ref0-code": Schema.String;
|
|
1310
1314
|
'www-authenticate': Schema.String;
|
|
1311
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1315
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"compare", "POST", "/repos/:repo/-/commits/compare", Schema.toCodecStringTree<Schema.Struct<{
|
|
1312
1316
|
repo: Schema.String;
|
|
1313
1317
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1314
|
-
readonly
|
|
1315
|
-
readonly
|
|
1316
|
-
readonly
|
|
1317
|
-
|
|
1318
|
-
readonly
|
|
1319
|
-
readonly
|
|
1320
|
-
readonly offset: Schema.Int;
|
|
1318
|
+
readonly base: Schema.String;
|
|
1319
|
+
readonly head: Schema.String;
|
|
1320
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
1321
|
+
readonly commits: Schema.optionalKey<Schema.Struct<{
|
|
1322
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
1323
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1321
1324
|
}>>;
|
|
1322
|
-
readonly
|
|
1323
|
-
readonly
|
|
1324
|
-
readonly
|
|
1325
|
+
readonly files: Schema.optionalKey<Schema.Struct<{
|
|
1326
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
1327
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1328
|
+
}>>;
|
|
1329
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
1330
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
1331
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
1332
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
1333
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
1325
1334
|
}>>;
|
|
1326
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
1327
1335
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1328
|
-
readonly
|
|
1329
|
-
readonly
|
|
1330
|
-
readonly
|
|
1331
|
-
readonly
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
readonly
|
|
1335
|
-
|
|
1336
|
+
readonly base: Schema.String;
|
|
1337
|
+
readonly head: Schema.String;
|
|
1338
|
+
readonly mergeBase: Schema.optionalKey<Schema.String>;
|
|
1339
|
+
readonly ahead: Schema.Int;
|
|
1340
|
+
readonly behind: Schema.Int;
|
|
1341
|
+
readonly commits: Schema.Struct<{
|
|
1342
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1343
|
+
readonly oid: Schema.String;
|
|
1344
|
+
readonly tree: Schema.String;
|
|
1345
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
1346
|
+
readonly author: Schema.Struct<{
|
|
1347
|
+
readonly name: Schema.String;
|
|
1348
|
+
readonly email: Schema.String;
|
|
1349
|
+
readonly at: Schema.Number;
|
|
1350
|
+
readonly offset: Schema.Int;
|
|
1351
|
+
}>;
|
|
1352
|
+
readonly committer: Schema.Struct<{
|
|
1353
|
+
readonly name: Schema.String;
|
|
1354
|
+
readonly email: Schema.String;
|
|
1355
|
+
readonly at: Schema.Number;
|
|
1356
|
+
readonly offset: Schema.Int;
|
|
1357
|
+
}>;
|
|
1358
|
+
readonly subject: Schema.String;
|
|
1359
|
+
readonly message: Schema.String;
|
|
1360
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
1361
|
+
}>>>;
|
|
1362
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
1336
1363
|
}>;
|
|
1337
|
-
readonly
|
|
1338
|
-
readonly
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1364
|
+
readonly files: Schema.Struct<{
|
|
1365
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1366
|
+
readonly status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
1367
|
+
readonly path: Schema.String;
|
|
1368
|
+
readonly from: Schema.optionalKey<Schema.String>;
|
|
1369
|
+
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
1370
|
+
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
1371
|
+
readonly mode: Schema.String;
|
|
1372
|
+
readonly oid: Schema.String;
|
|
1373
|
+
}>>;
|
|
1374
|
+
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
1375
|
+
readonly mode: Schema.String;
|
|
1376
|
+
readonly oid: Schema.String;
|
|
1377
|
+
}>>;
|
|
1378
|
+
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1379
|
+
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1380
|
+
readonly lines: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1381
|
+
readonly added: Schema.Int;
|
|
1382
|
+
readonly deleted: Schema.Int;
|
|
1383
|
+
}>, Schema.Literal<"binary">]>>;
|
|
1384
|
+
}>>>;
|
|
1385
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
1386
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
1342
1387
|
}>;
|
|
1343
|
-
readonly subject: Schema.String;
|
|
1344
|
-
readonly message: Schema.String;
|
|
1345
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
1346
1388
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1347
1389
|
readonly code: "ALREADY_EXISTS";
|
|
1348
1390
|
readonly message: string;
|
|
@@ -1742,44 +1784,41 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
1742
1784
|
}>, {
|
|
1743
1785
|
"ref0-code": Schema.String;
|
|
1744
1786
|
'www-authenticate': Schema.String;
|
|
1745
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1787
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"diff", "POST", "/repos/:repo/-/commits/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1746
1788
|
repo: Schema.String;
|
|
1747
1789
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1748
|
-
readonly
|
|
1749
|
-
readonly
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
readonly
|
|
1753
|
-
readonly
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
readonly
|
|
1758
|
-
readonly
|
|
1759
|
-
readonly
|
|
1760
|
-
readonly at: Schema.Number;
|
|
1761
|
-
readonly offset: Schema.Int;
|
|
1790
|
+
readonly base: Schema.String;
|
|
1791
|
+
readonly head: Schema.String;
|
|
1792
|
+
readonly renames: Schema.optionalKey<Schema.Boolean>;
|
|
1793
|
+
readonly limits: Schema.optionalKey<Schema.Struct<{
|
|
1794
|
+
readonly objects: Schema.optionalKey<Schema.Int>;
|
|
1795
|
+
readonly bytes: Schema.optionalKey<Schema.Int>;
|
|
1796
|
+
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
1797
|
+
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
1798
|
+
}>>;
|
|
1799
|
+
readonly page: Schema.optionalKey<Schema.Struct<{
|
|
1800
|
+
readonly after: Schema.optionalKey<Schema.String>;
|
|
1801
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1762
1802
|
}>>;
|
|
1763
|
-
readonly key: Schema.optionalKey<Schema.String>;
|
|
1764
1803
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1765
|
-
readonly
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
readonly
|
|
1782
|
-
readonly
|
|
1804
|
+
readonly items: Schema.mutable<Schema.$Array<Schema.Struct<{
|
|
1805
|
+
status: Schema.Literals<readonly ["A", "D", "M", "R", "T"]>;
|
|
1806
|
+
path: Schema.String;
|
|
1807
|
+
from: Schema.optionalKey<Schema.String>;
|
|
1808
|
+
similarity: Schema.optionalKey<Schema.Number>;
|
|
1809
|
+
old: Schema.optionalKey<Schema.Struct<{
|
|
1810
|
+
readonly mode: Schema.String;
|
|
1811
|
+
readonly oid: Schema.String;
|
|
1812
|
+
}>>;
|
|
1813
|
+
new: Schema.optionalKey<Schema.Struct<{
|
|
1814
|
+
readonly mode: Schema.String;
|
|
1815
|
+
readonly oid: Schema.String;
|
|
1816
|
+
}>>;
|
|
1817
|
+
pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1818
|
+
fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
1819
|
+
}>>>;
|
|
1820
|
+
readonly next: Schema.optionalKey<Schema.String>;
|
|
1821
|
+
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
1783
1822
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
1784
1823
|
readonly code: "ALREADY_EXISTS";
|
|
1785
1824
|
readonly message: string;
|
|
@@ -2590,41 +2629,41 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
2590
2629
|
}>, {
|
|
2591
2630
|
"ref0-code": Schema.String;
|
|
2592
2631
|
'www-authenticate': Schema.String;
|
|
2593
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
2632
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"pick", "POST", "/repos/:repo/-/commits/pick", Schema.toCodecStringTree<Schema.Struct<{
|
|
2594
2633
|
repo: Schema.String;
|
|
2595
2634
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2596
|
-
readonly
|
|
2597
|
-
readonly
|
|
2598
|
-
readonly
|
|
2599
|
-
|
|
2600
|
-
readonly
|
|
2601
|
-
readonly
|
|
2602
|
-
readonly
|
|
2603
|
-
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
2635
|
+
readonly commit: Schema.String;
|
|
2636
|
+
readonly onto: Schema.String;
|
|
2637
|
+
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
2638
|
+
readonly name: Schema.String;
|
|
2639
|
+
readonly email: Schema.String;
|
|
2640
|
+
readonly at: Schema.Number;
|
|
2641
|
+
readonly offset: Schema.Int;
|
|
2604
2642
|
}>>;
|
|
2605
|
-
readonly
|
|
2606
|
-
readonly
|
|
2607
|
-
readonly
|
|
2643
|
+
readonly ref: Schema.optionalKey<Schema.Struct<{
|
|
2644
|
+
readonly name: Schema.String;
|
|
2645
|
+
readonly from: Schema.NullOr<Schema.String>;
|
|
2608
2646
|
}>>;
|
|
2647
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
2609
2648
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
2610
|
-
readonly
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
readonly
|
|
2627
|
-
readonly
|
|
2649
|
+
readonly oid: Schema.String;
|
|
2650
|
+
readonly tree: Schema.String;
|
|
2651
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
2652
|
+
readonly author: Schema.Struct<{
|
|
2653
|
+
readonly name: Schema.String;
|
|
2654
|
+
readonly email: Schema.String;
|
|
2655
|
+
readonly at: Schema.Number;
|
|
2656
|
+
readonly offset: Schema.Int;
|
|
2657
|
+
}>;
|
|
2658
|
+
readonly committer: Schema.Struct<{
|
|
2659
|
+
readonly name: Schema.String;
|
|
2660
|
+
readonly email: Schema.String;
|
|
2661
|
+
readonly at: Schema.Number;
|
|
2662
|
+
readonly offset: Schema.Int;
|
|
2663
|
+
}>;
|
|
2664
|
+
readonly subject: Schema.String;
|
|
2665
|
+
readonly message: Schema.String;
|
|
2666
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
2628
2667
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
2629
2668
|
readonly code: "ALREADY_EXISTS";
|
|
2630
2669
|
readonly message: string;
|
|
@@ -3024,79 +3063,44 @@ declare const CommitsApiGroup_base: HttpApiGroup.HttpApiGroup<"commits", HttpApi
|
|
|
3024
3063
|
}>, {
|
|
3025
3064
|
"ref0-code": Schema.String;
|
|
3026
3065
|
'www-authenticate': Schema.String;
|
|
3027
|
-
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
3066
|
+
}>>, GitCallerMiddleware, GitRestServices> | HttpApiEndpoint.HttpApiEndpoint<"revert", "POST", "/repos/:repo/-/commits/revert", Schema.toCodecStringTree<Schema.Struct<{
|
|
3028
3067
|
repo: Schema.String;
|
|
3029
3068
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3030
|
-
readonly
|
|
3031
|
-
readonly
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
readonly
|
|
3035
|
-
readonly
|
|
3036
|
-
}
|
|
3037
|
-
readonly
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
readonly
|
|
3043
|
-
readonly
|
|
3044
|
-
readonly entries: Schema.optionalKey<Schema.Int>;
|
|
3045
|
-
readonly milliseconds: Schema.optionalKey<Schema.Int>;
|
|
3069
|
+
readonly message: Schema.String;
|
|
3070
|
+
readonly author: Schema.Struct<{
|
|
3071
|
+
readonly name: Schema.String;
|
|
3072
|
+
readonly email: Schema.String;
|
|
3073
|
+
readonly at: Schema.Number;
|
|
3074
|
+
readonly offset: Schema.Int;
|
|
3075
|
+
}>;
|
|
3076
|
+
readonly commit: Schema.String;
|
|
3077
|
+
readonly onto: Schema.String;
|
|
3078
|
+
readonly committer: Schema.optionalKey<Schema.Struct<{
|
|
3079
|
+
readonly name: Schema.String;
|
|
3080
|
+
readonly email: Schema.String;
|
|
3081
|
+
readonly at: Schema.Number;
|
|
3082
|
+
readonly offset: Schema.Int;
|
|
3046
3083
|
}>>;
|
|
3084
|
+
readonly key: Schema.optionalKey<Schema.String>;
|
|
3047
3085
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3048
|
-
readonly
|
|
3049
|
-
readonly
|
|
3050
|
-
readonly
|
|
3051
|
-
readonly
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
readonly
|
|
3055
|
-
|
|
3056
|
-
readonly tree: Schema.String;
|
|
3057
|
-
readonly parents: Schema.$Array<Schema.String>;
|
|
3058
|
-
readonly author: Schema.Struct<{
|
|
3059
|
-
readonly name: Schema.String;
|
|
3060
|
-
readonly email: Schema.String;
|
|
3061
|
-
readonly at: Schema.Number;
|
|
3062
|
-
readonly offset: Schema.Int;
|
|
3063
|
-
}>;
|
|
3064
|
-
readonly committer: Schema.Struct<{
|
|
3065
|
-
readonly name: Schema.String;
|
|
3066
|
-
readonly email: Schema.String;
|
|
3067
|
-
readonly at: Schema.Number;
|
|
3068
|
-
readonly offset: Schema.Int;
|
|
3069
|
-
}>;
|
|
3070
|
-
readonly subject: Schema.String;
|
|
3071
|
-
readonly message: Schema.String;
|
|
3072
|
-
readonly signature: Schema.optionalKey<Schema.String>;
|
|
3073
|
-
}>>>;
|
|
3074
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
3086
|
+
readonly oid: Schema.String;
|
|
3087
|
+
readonly tree: Schema.String;
|
|
3088
|
+
readonly parents: Schema.$Array<Schema.String>;
|
|
3089
|
+
readonly author: Schema.Struct<{
|
|
3090
|
+
readonly name: Schema.String;
|
|
3091
|
+
readonly email: Schema.String;
|
|
3092
|
+
readonly at: Schema.Number;
|
|
3093
|
+
readonly offset: Schema.Int;
|
|
3075
3094
|
}>;
|
|
3076
|
-
readonly
|
|
3077
|
-
readonly
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
readonly similarity: Schema.optionalKey<Schema.Number>;
|
|
3082
|
-
readonly old: Schema.optionalKey<Schema.Struct<{
|
|
3083
|
-
readonly mode: Schema.String;
|
|
3084
|
-
readonly oid: Schema.String;
|
|
3085
|
-
}>>;
|
|
3086
|
-
readonly new: Schema.optionalKey<Schema.Struct<{
|
|
3087
|
-
readonly mode: Schema.String;
|
|
3088
|
-
readonly oid: Schema.String;
|
|
3089
|
-
}>>;
|
|
3090
|
-
readonly pathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
3091
|
-
readonly fromPathBytes: Schema.optionalKey<Schema.Uint8ArrayFromBase64>;
|
|
3092
|
-
readonly lines: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3093
|
-
readonly added: Schema.Int;
|
|
3094
|
-
readonly deleted: Schema.Int;
|
|
3095
|
-
}>, Schema.Literal<"binary">]>>;
|
|
3096
|
-
}>>>;
|
|
3097
|
-
readonly next: Schema.optionalKey<Schema.String>;
|
|
3098
|
-
readonly renamesSkipped: Schema.optionalKey<Schema.Literals<readonly ["rename-limit", "memory-limit"]>>;
|
|
3095
|
+
readonly committer: Schema.Struct<{
|
|
3096
|
+
readonly name: Schema.String;
|
|
3097
|
+
readonly email: Schema.String;
|
|
3098
|
+
readonly at: Schema.Number;
|
|
3099
|
+
readonly offset: Schema.Int;
|
|
3099
3100
|
}>;
|
|
3101
|
+
readonly subject: Schema.String;
|
|
3102
|
+
readonly message: Schema.String;
|
|
3103
|
+
readonly signature: Schema.optionalKey<Schema.String>;
|
|
3100
3104
|
}>>, Schema.toCodecJson<HttpApiSchema.encodeToWithHeaders<Schema.Codec<{
|
|
3101
3105
|
readonly code: "ALREADY_EXISTS";
|
|
3102
3106
|
readonly message: string;
|