@atcute/tangled 1.0.16 → 1.0.18
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/index.d.ts +1 -1
- package/dist/lexicons/index.d.ts +74 -56
- package/dist/lexicons/index.d.ts.map +1 -1
- package/dist/lexicons/index.js +18 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/actor/profile.d.ts +7 -2
- package/dist/lexicons/types/sh/tangled/actor/profile.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/actor/profile.js +8 -2
- package/dist/lexicons/types/sh/tangled/actor/profile.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/feed/reaction.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/feed/reaction.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/feed/star.d.ts +2 -1
- package/dist/lexicons/types/sh/tangled/feed/star.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/feed/star.js +2 -1
- package/dist/lexicons/types/sh/tangled/feed/star.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts +6 -2
- package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/git/refUpdate.js +6 -2
- package/dist/lexicons/types/sh/tangled/git/refUpdate.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/git/temp/analyzeMerge.d.ts +59 -0
- package/dist/lexicons/types/sh/tangled/git/temp/analyzeMerge.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/analyzeMerge.js +46 -0
- package/dist/lexicons/types/sh/tangled/git/temp/analyzeMerge.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/defs.d.ts +121 -0
- package/dist/lexicons/types/sh/tangled/git/temp/defs.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/defs.js +102 -0
- package/dist/lexicons/types/sh/tangled/git/temp/defs.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getArchive.d.ts +36 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getArchive.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getArchive.js +28 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getArchive.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getBlob.d.ts +32 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getBlob.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getBlob.js +23 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getBlob.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getBranch.d.ts +48 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getBranch.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getBranch.js +40 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getBranch.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getCommit.d.ts +29 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getCommit.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getCommit.js +22 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getCommit.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getDiff.d.ts +31 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getDiff.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getDiff.js +22 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getDiff.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getEntity.d.ts +34 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getEntity.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getEntity.js +27 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getEntity.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getHead.d.ts +25 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getHead.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getHead.js +18 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getHead.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getTag.d.ts +27 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getTag.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getTag.js +18 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getTag.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getTree.d.ts +135 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getTree.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getTree.js +115 -0
- package/dist/lexicons/types/sh/tangled/git/temp/getTree.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listBranches.d.ts +34 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listBranches.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listBranches.js +26 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listBranches.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listCommits.d.ts +38 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listCommits.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listCommits.js +30 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listCommits.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listLanguages.d.ts +77 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listLanguages.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listLanguages.js +64 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listLanguages.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listTags.d.ts +34 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listTags.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listTags.js +26 -0
- package/dist/lexicons/types/sh/tangled/git/temp/listTags.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/graph/follow.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/knot/listKeys.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/knot/listKeys.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/knot/member.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/knot/subscribeRepos.d.ts +74 -0
- package/dist/lexicons/types/sh/tangled/knot/subscribeRepos.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/knot/subscribeRepos.js +52 -0
- package/dist/lexicons/types/sh/tangled/knot/subscribeRepos.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/knot/version.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/knot.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/label/definition.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/label/definition.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/label/op.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/label/op.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/owner.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/pipeline/cancelPipeline.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/pipeline/status.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/pipeline.d.ts +5 -1
- package/dist/lexicons/types/sh/tangled/pipeline.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/pipeline.js +5 -1
- package/dist/lexicons/types/sh/tangled/pipeline.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/publicKey.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/addSecret.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/archive.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts +2 -1
- package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/artifact.js +2 -1
- package/dist/lexicons/types/sh/tangled/repo/artifact.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/blob.d.ts +0 -4
- package/dist/lexicons/types/sh/tangled/repo/blob.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/blob.js +0 -4
- package/dist/lexicons/types/sh/tangled/repo/blob.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/branch.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/branch.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/branches.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts +2 -1
- package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/collaborator.js +2 -1
- package/dist/lexicons/types/sh/tangled/repo/collaborator.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/compare.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/create.d.ts +16 -1
- package/dist/lexicons/types/sh/tangled/repo/create.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/create.js +14 -1
- package/dist/lexicons/types/sh/tangled/repo/create.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/delete.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/deleteBranch.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/diff.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/forkStatus.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/forkSync.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/hiddenRef.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/issue/comment.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/issue/state/open.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/issue/state.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/issue.d.ts +2 -1
- package/dist/lexicons/types/sh/tangled/repo/issue.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/issue.js +2 -1
- package/dist/lexicons/types/sh/tangled/repo/issue.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/languages.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/languages.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/log.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/merge.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/mergeCheck.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/mergeCheck.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull/comment.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull/status/open.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull/status.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull.d.ts +3 -1
- package/dist/lexicons/types/sh/tangled/repo/pull.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull.js +3 -1
- package/dist/lexicons/types/sh/tangled/repo/pull.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/tag.d.ts +27 -0
- package/dist/lexicons/types/sh/tangled/repo/tag.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/tag.js +18 -0
- package/dist/lexicons/types/sh/tangled/repo/tag.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/tags.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/tree.d.ts +23 -0
- package/dist/lexicons/types/sh/tangled/repo/tree.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/tree.js +22 -0
- package/dist/lexicons/types/sh/tangled/repo/tree.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo.d.ts +4 -0
- package/dist/lexicons/types/sh/tangled/repo.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/spindle/member.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/spindle.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/string.d.ts.map +1 -1
- package/dist/lexicons/types/sh/tangled/sync/requestCrawl.d.ts +29 -0
- package/dist/lexicons/types/sh/tangled/sync/requestCrawl.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/sync/requestCrawl.js +20 -0
- package/dist/lexicons/types/sh/tangled/sync/requestCrawl.js.map +1 -0
- package/lib/index.ts +1 -1
- package/lib/lexicons/index.ts +74 -56
- package/lib/lexicons/types/sh/tangled/actor/profile.ts +9 -2
- package/lib/lexicons/types/sh/tangled/feed/star.ts +2 -1
- package/lib/lexicons/types/sh/tangled/git/refUpdate.ts +6 -2
- package/lib/lexicons/types/sh/tangled/git/temp/analyzeMerge.ts +66 -0
- package/lib/lexicons/types/sh/tangled/git/temp/defs.ts +128 -0
- package/lib/lexicons/types/sh/tangled/git/temp/getArchive.ts +46 -0
- package/lib/lexicons/types/sh/tangled/git/temp/getBlob.ts +39 -0
- package/lib/lexicons/types/sh/tangled/git/temp/getBranch.ts +57 -0
- package/lib/lexicons/types/sh/tangled/git/temp/getCommit.ts +39 -0
- package/lib/lexicons/types/sh/tangled/git/temp/getDiff.ts +38 -0
- package/lib/lexicons/types/sh/tangled/git/temp/getEntity.ts +44 -0
- package/lib/lexicons/types/sh/tangled/git/temp/getHead.ts +35 -0
- package/lib/lexicons/types/sh/tangled/git/temp/getTag.ts +34 -0
- package/lib/lexicons/types/sh/tangled/git/temp/getTree.ts +144 -0
- package/lib/lexicons/types/sh/tangled/git/temp/listBranches.ts +44 -0
- package/lib/lexicons/types/sh/tangled/git/temp/listCommits.ts +48 -0
- package/lib/lexicons/types/sh/tangled/git/temp/listLanguages.ts +84 -0
- package/lib/lexicons/types/sh/tangled/git/temp/listTags.ts +44 -0
- package/lib/lexicons/types/sh/tangled/knot/subscribeRepos.ts +79 -0
- package/lib/lexicons/types/sh/tangled/pipeline.ts +5 -1
- package/lib/lexicons/types/sh/tangled/repo/artifact.ts +2 -1
- package/lib/lexicons/types/sh/tangled/repo/blob.ts +0 -4
- package/lib/lexicons/types/sh/tangled/repo/collaborator.ts +2 -1
- package/lib/lexicons/types/sh/tangled/repo/create.ts +15 -1
- package/lib/lexicons/types/sh/tangled/repo/issue.ts +2 -1
- package/lib/lexicons/types/sh/tangled/repo/pull.ts +3 -1
- package/lib/lexicons/types/sh/tangled/repo/tag.ts +34 -0
- package/lib/lexicons/types/sh/tangled/repo/tree.ts +25 -0
- package/lib/lexicons/types/sh/tangled/repo.ts +4 -0
- package/lib/lexicons/types/sh/tangled/sync/requestCrawl.ts +36 -0
- package/package.json +4 -4
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _lastCommitSchema = /*#__PURE__*/ v.object({
|
|
3
3
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.tree#lastCommit')),
|
|
4
|
+
get author() {
|
|
5
|
+
return /*#__PURE__*/ v.optional(signatureSchema);
|
|
6
|
+
},
|
|
4
7
|
/**
|
|
5
8
|
* Commit hash
|
|
6
9
|
*/
|
|
@@ -40,6 +43,9 @@ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.tree', {
|
|
|
40
43
|
get files() {
|
|
41
44
|
return /*#__PURE__*/ v.array(treeEntrySchema);
|
|
42
45
|
},
|
|
46
|
+
get lastCommit() {
|
|
47
|
+
return /*#__PURE__*/ v.optional(lastCommitSchema);
|
|
48
|
+
},
|
|
43
49
|
/**
|
|
44
50
|
* The parent path in the tree
|
|
45
51
|
*/
|
|
@@ -68,6 +74,21 @@ const _readmeSchema = /*#__PURE__*/ v.object({
|
|
|
68
74
|
*/
|
|
69
75
|
filename: /*#__PURE__*/ v.string(),
|
|
70
76
|
});
|
|
77
|
+
const _signatureSchema = /*#__PURE__*/ v.object({
|
|
78
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.tree#signature')),
|
|
79
|
+
/**
|
|
80
|
+
* Author email
|
|
81
|
+
*/
|
|
82
|
+
email: /*#__PURE__*/ v.string(),
|
|
83
|
+
/**
|
|
84
|
+
* Author name
|
|
85
|
+
*/
|
|
86
|
+
name: /*#__PURE__*/ v.string(),
|
|
87
|
+
/**
|
|
88
|
+
* Author timestamp
|
|
89
|
+
*/
|
|
90
|
+
when: /*#__PURE__*/ v.datetimeString(),
|
|
91
|
+
});
|
|
71
92
|
const _treeEntrySchema = /*#__PURE__*/ v.object({
|
|
72
93
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.tree#treeEntry')),
|
|
73
94
|
get last_commit() {
|
|
@@ -89,5 +110,6 @@ const _treeEntrySchema = /*#__PURE__*/ v.object({
|
|
|
89
110
|
export const lastCommitSchema = _lastCommitSchema;
|
|
90
111
|
export const mainSchema = _mainSchema;
|
|
91
112
|
export const readmeSchema = _readmeSchema;
|
|
113
|
+
export const signatureSchema = _signatureSchema;
|
|
92
114
|
export const treeEntrySchema = _treeEntrySchema;
|
|
93
115
|
//# sourceMappingURL=tree.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/tree.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC3F;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACjC;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CACtC,CAAC,CAAC;AACH,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,EAAE;IACjE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B;;;WAGG;QACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,EAAE,CAAC;QAC5D;;WAEG;QACH,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;QAC7B;;WAEG;QACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;KAC9B,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAC1D,IAAI,KAAK
|
|
1
|
+
{"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/tree.ts"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AE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC1F,IAAI,WAAW;QACd,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACnD,CAAC;IACD;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;CAC/B,CAAC,CAAC;AAcH,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAqC,CAAC;AACtE,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAmC,CAAC;AACnE,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAmC,CAAC"}
|
|
@@ -19,6 +19,10 @@ declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
|
19
19
|
* name of the repo
|
|
20
20
|
*/
|
|
21
21
|
name: v.StringSchema<string>;
|
|
22
|
+
/**
|
|
23
|
+
* DID of the repo itself, if assigned
|
|
24
|
+
*/
|
|
25
|
+
repoDid: v.OptionalSchema<v.FormattedStringSchema<"did">, undefined>;
|
|
22
26
|
/**
|
|
23
27
|
* source of the repo
|
|
24
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/repo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;IAKf;;;OAGG;;IAIH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IASH;;OAEG;;mCAGJ,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/repo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;IAKf;;;OAGG;;IAIH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;;OAGG;;IASH;;OAEG;;mCAGJ,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG;AAEhE,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,OAAO;QAChB,iBAAiB,EAAE,UAAU,CAAC;KAC9B;CACD"}
|
|
@@ -22,6 +22,10 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
22
22
|
* name of the repo
|
|
23
23
|
*/
|
|
24
24
|
name: /*#__PURE__*/ v.string(),
|
|
25
|
+
/**
|
|
26
|
+
* DID of the repo itself, if assigned
|
|
27
|
+
*/
|
|
28
|
+
repoDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
25
29
|
/**
|
|
26
30
|
* source of the repo
|
|
27
31
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo.js","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/repo.ts"],"names":[],"mappings":"AAEA,OAAO,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AAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"member.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/spindle/member.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;IAKf;;OAEG;;;mCAIJ,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG;AAEhE,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,OAAO;QAChB,2BAA2B,EAAE,UAAU,CAAC;KACxC;CACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spindle.d.ts","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/spindle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;2BAMhB,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"spindle.d.ts","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/spindle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;2BAMhB,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG;AAEhE,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,OAAO;QAChB,oBAAoB,EAAE,UAAU,CAAC;KACjC;CACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/string.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;IAIf;;OAEG;;;IAGH;;OAEG;;IAIH;;;OAGG;;mCAGJ,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/string.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;IAIf;;OAEG;;;IAGH;;OAEG;;IAIH;;;OAGG;;mCAGJ,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG;AAEhE,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,OAAO;QAChB,mBAAmB,EAAE,UAAU,CAAC;KAChC;CACD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
/**
|
|
6
|
+
* specific repository to ensure crawling
|
|
7
|
+
*/
|
|
8
|
+
ensureRepo: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
|
|
9
|
+
/**
|
|
10
|
+
* Hostname of the current service (eg, Knot) that is requesting to be crawled.
|
|
11
|
+
*/
|
|
12
|
+
hostname: v.StringSchema<string>;
|
|
13
|
+
}>;
|
|
14
|
+
}, null, "sh.tangled.sync.requestCrawl">;
|
|
15
|
+
type main$schematype = typeof _mainSchema;
|
|
16
|
+
export interface mainSchema extends main$schematype {
|
|
17
|
+
}
|
|
18
|
+
export declare const mainSchema: mainSchema;
|
|
19
|
+
export interface $params {
|
|
20
|
+
}
|
|
21
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
22
|
+
}
|
|
23
|
+
declare module '@atcute/lexicons/ambient' {
|
|
24
|
+
interface XRPCProcedures {
|
|
25
|
+
'sh.tangled.sync.requestCrawl': mainSchema;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=requestCrawl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestCrawl.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/sync/requestCrawl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;QAKd;;WAEG;;QAEH;;WAEG;;;wCAKJ,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,OAAO;CAAG;AAC3B,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;CAAG;AAE5E,OAAO,QAAQ,0BAA0B,CAAC,CAAC;IAC1C,UAAU,cAAc;QACvB,8BAA8B,EAAE,UAAU,CAAC;KAC3C;CACD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.sync.requestCrawl', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
/**
|
|
8
|
+
* specific repository to ensure crawling
|
|
9
|
+
*/
|
|
10
|
+
ensureRepo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
11
|
+
/**
|
|
12
|
+
* Hostname of the current service (eg, Knot) that is requesting to be crawled.
|
|
13
|
+
*/
|
|
14
|
+
hostname: /*#__PURE__*/ v.string(),
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
output: null,
|
|
18
|
+
});
|
|
19
|
+
export const mainSchema = _mainSchema;
|
|
20
|
+
//# sourceMappingURL=requestCrawl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestCrawl.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/sync/requestCrawl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,8BAA8B,EAAE;IAC7E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;YACzE;;eAEG;YACH,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAClC,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
package/lib/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './lexicons/index.
|
|
1
|
+
export * from './lexicons/index.ts';
|
package/lib/lexicons/index.ts
CHANGED
|
@@ -1,56 +1,74 @@
|
|
|
1
|
-
export * as ShTangledActorProfile from './types/sh/tangled/actor/profile.
|
|
2
|
-
export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.
|
|
3
|
-
export * as ShTangledFeedStar from './types/sh/tangled/feed/star.
|
|
4
|
-
export * as ShTangledGitRefUpdate from './types/sh/tangled/git/refUpdate.
|
|
5
|
-
export * as
|
|
6
|
-
export * as
|
|
7
|
-
export * as
|
|
8
|
-
export * as
|
|
9
|
-
export * as
|
|
10
|
-
export * as
|
|
11
|
-
export * as
|
|
12
|
-
export * as
|
|
13
|
-
export * as
|
|
14
|
-
export * as
|
|
15
|
-
export * as
|
|
16
|
-
export * as
|
|
17
|
-
export * as
|
|
18
|
-
export * as
|
|
19
|
-
export * as
|
|
20
|
-
export * as
|
|
21
|
-
export * as
|
|
22
|
-
export * as
|
|
23
|
-
export * as
|
|
24
|
-
export * as
|
|
25
|
-
export * as
|
|
26
|
-
export * as
|
|
27
|
-
export * as
|
|
28
|
-
export * as
|
|
29
|
-
export * as
|
|
30
|
-
export * as
|
|
31
|
-
export * as
|
|
32
|
-
export * as
|
|
33
|
-
export * as
|
|
34
|
-
export * as
|
|
35
|
-
export * as
|
|
36
|
-
export * as
|
|
37
|
-
export * as
|
|
38
|
-
export * as
|
|
39
|
-
export * as
|
|
40
|
-
export * as
|
|
41
|
-
export * as
|
|
42
|
-
export * as
|
|
43
|
-
export * as
|
|
44
|
-
export * as
|
|
45
|
-
export * as
|
|
46
|
-
export * as
|
|
47
|
-
export * as
|
|
48
|
-
export * as
|
|
49
|
-
export * as
|
|
50
|
-
export * as
|
|
51
|
-
export * as
|
|
52
|
-
export * as
|
|
53
|
-
export * as
|
|
54
|
-
export * as
|
|
55
|
-
export * as
|
|
56
|
-
export * as
|
|
1
|
+
export * as ShTangledActorProfile from './types/sh/tangled/actor/profile.ts';
|
|
2
|
+
export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.ts';
|
|
3
|
+
export * as ShTangledFeedStar from './types/sh/tangled/feed/star.ts';
|
|
4
|
+
export * as ShTangledGitRefUpdate from './types/sh/tangled/git/refUpdate.ts';
|
|
5
|
+
export * as ShTangledGitTempAnalyzeMerge from './types/sh/tangled/git/temp/analyzeMerge.ts';
|
|
6
|
+
export * as ShTangledGitTempDefs from './types/sh/tangled/git/temp/defs.ts';
|
|
7
|
+
export * as ShTangledGitTempGetArchive from './types/sh/tangled/git/temp/getArchive.ts';
|
|
8
|
+
export * as ShTangledGitTempGetBlob from './types/sh/tangled/git/temp/getBlob.ts';
|
|
9
|
+
export * as ShTangledGitTempGetBranch from './types/sh/tangled/git/temp/getBranch.ts';
|
|
10
|
+
export * as ShTangledGitTempGetCommit from './types/sh/tangled/git/temp/getCommit.ts';
|
|
11
|
+
export * as ShTangledGitTempGetDiff from './types/sh/tangled/git/temp/getDiff.ts';
|
|
12
|
+
export * as ShTangledGitTempGetEntity from './types/sh/tangled/git/temp/getEntity.ts';
|
|
13
|
+
export * as ShTangledGitTempGetHead from './types/sh/tangled/git/temp/getHead.ts';
|
|
14
|
+
export * as ShTangledGitTempGetTag from './types/sh/tangled/git/temp/getTag.ts';
|
|
15
|
+
export * as ShTangledGitTempGetTree from './types/sh/tangled/git/temp/getTree.ts';
|
|
16
|
+
export * as ShTangledGitTempListBranches from './types/sh/tangled/git/temp/listBranches.ts';
|
|
17
|
+
export * as ShTangledGitTempListCommits from './types/sh/tangled/git/temp/listCommits.ts';
|
|
18
|
+
export * as ShTangledGitTempListLanguages from './types/sh/tangled/git/temp/listLanguages.ts';
|
|
19
|
+
export * as ShTangledGitTempListTags from './types/sh/tangled/git/temp/listTags.ts';
|
|
20
|
+
export * as ShTangledGraphFollow from './types/sh/tangled/graph/follow.ts';
|
|
21
|
+
export * as ShTangledKnot from './types/sh/tangled/knot.ts';
|
|
22
|
+
export * as ShTangledKnotListKeys from './types/sh/tangled/knot/listKeys.ts';
|
|
23
|
+
export * as ShTangledKnotMember from './types/sh/tangled/knot/member.ts';
|
|
24
|
+
export * as ShTangledKnotSubscribeRepos from './types/sh/tangled/knot/subscribeRepos.ts';
|
|
25
|
+
export * as ShTangledKnotVersion from './types/sh/tangled/knot/version.ts';
|
|
26
|
+
export * as ShTangledLabelDefinition from './types/sh/tangled/label/definition.ts';
|
|
27
|
+
export * as ShTangledLabelOp from './types/sh/tangled/label/op.ts';
|
|
28
|
+
export * as ShTangledOwner from './types/sh/tangled/owner.ts';
|
|
29
|
+
export * as ShTangledPipeline from './types/sh/tangled/pipeline.ts';
|
|
30
|
+
export * as ShTangledPipelineCancelPipeline from './types/sh/tangled/pipeline/cancelPipeline.ts';
|
|
31
|
+
export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.ts';
|
|
32
|
+
export * as ShTangledPublicKey from './types/sh/tangled/publicKey.ts';
|
|
33
|
+
export * as ShTangledRepo from './types/sh/tangled/repo.ts';
|
|
34
|
+
export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.ts';
|
|
35
|
+
export * as ShTangledRepoArchive from './types/sh/tangled/repo/archive.ts';
|
|
36
|
+
export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.ts';
|
|
37
|
+
export * as ShTangledRepoBlob from './types/sh/tangled/repo/blob.ts';
|
|
38
|
+
export * as ShTangledRepoBranch from './types/sh/tangled/repo/branch.ts';
|
|
39
|
+
export * as ShTangledRepoBranches from './types/sh/tangled/repo/branches.ts';
|
|
40
|
+
export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.ts';
|
|
41
|
+
export * as ShTangledRepoCompare from './types/sh/tangled/repo/compare.ts';
|
|
42
|
+
export * as ShTangledRepoCreate from './types/sh/tangled/repo/create.ts';
|
|
43
|
+
export * as ShTangledRepoDelete from './types/sh/tangled/repo/delete.ts';
|
|
44
|
+
export * as ShTangledRepoDeleteBranch from './types/sh/tangled/repo/deleteBranch.ts';
|
|
45
|
+
export * as ShTangledRepoDiff from './types/sh/tangled/repo/diff.ts';
|
|
46
|
+
export * as ShTangledRepoForkStatus from './types/sh/tangled/repo/forkStatus.ts';
|
|
47
|
+
export * as ShTangledRepoForkSync from './types/sh/tangled/repo/forkSync.ts';
|
|
48
|
+
export * as ShTangledRepoGetDefaultBranch from './types/sh/tangled/repo/getDefaultBranch.ts';
|
|
49
|
+
export * as ShTangledRepoHiddenRef from './types/sh/tangled/repo/hiddenRef.ts';
|
|
50
|
+
export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.ts';
|
|
51
|
+
export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.ts';
|
|
52
|
+
export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.ts';
|
|
53
|
+
export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.ts';
|
|
54
|
+
export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.ts';
|
|
55
|
+
export * as ShTangledRepoLanguages from './types/sh/tangled/repo/languages.ts';
|
|
56
|
+
export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.ts';
|
|
57
|
+
export * as ShTangledRepoLog from './types/sh/tangled/repo/log.ts';
|
|
58
|
+
export * as ShTangledRepoMerge from './types/sh/tangled/repo/merge.ts';
|
|
59
|
+
export * as ShTangledRepoMergeCheck from './types/sh/tangled/repo/mergeCheck.ts';
|
|
60
|
+
export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.ts';
|
|
61
|
+
export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.ts';
|
|
62
|
+
export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.ts';
|
|
63
|
+
export * as ShTangledRepoPullStatusClosed from './types/sh/tangled/repo/pull/status/closed.ts';
|
|
64
|
+
export * as ShTangledRepoPullStatusMerged from './types/sh/tangled/repo/pull/status/merged.ts';
|
|
65
|
+
export * as ShTangledRepoPullStatusOpen from './types/sh/tangled/repo/pull/status/open.ts';
|
|
66
|
+
export * as ShTangledRepoRemoveSecret from './types/sh/tangled/repo/removeSecret.ts';
|
|
67
|
+
export * as ShTangledRepoSetDefaultBranch from './types/sh/tangled/repo/setDefaultBranch.ts';
|
|
68
|
+
export * as ShTangledRepoTag from './types/sh/tangled/repo/tag.ts';
|
|
69
|
+
export * as ShTangledRepoTags from './types/sh/tangled/repo/tags.ts';
|
|
70
|
+
export * as ShTangledRepoTree from './types/sh/tangled/repo/tree.ts';
|
|
71
|
+
export * as ShTangledSpindle from './types/sh/tangled/spindle.ts';
|
|
72
|
+
export * as ShTangledSpindleMember from './types/sh/tangled/spindle/member.ts';
|
|
73
|
+
export * as ShTangledString from './types/sh/tangled/string.ts';
|
|
74
|
+
export * as ShTangledSyncRequestCrawl from './types/sh/tangled/sync/requestCrawl.ts';
|
|
@@ -48,15 +48,22 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
48
48
|
]),
|
|
49
49
|
),
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Pinned repositories. Values are repo DIDs for repos that have them, or AT-URIs for legacy repos.
|
|
52
52
|
* @minLength 0
|
|
53
53
|
* @maxLength 6
|
|
54
54
|
*/
|
|
55
55
|
pinnedRepositories: /*#__PURE__*/ v.optional(
|
|
56
|
-
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.
|
|
56
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), [
|
|
57
57
|
/*#__PURE__*/ v.arrayLength(0, 6),
|
|
58
58
|
]),
|
|
59
59
|
),
|
|
60
|
+
/**
|
|
61
|
+
* A handle the user prefers to be displayed as.
|
|
62
|
+
* @maxLength 253
|
|
63
|
+
*/
|
|
64
|
+
preferredHandle: /*#__PURE__*/ v.optional(
|
|
65
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.handleString(), [/*#__PURE__*/ v.stringLength(0, 253)]),
|
|
66
|
+
),
|
|
60
67
|
/**
|
|
61
68
|
* Preferred gender pronouns.
|
|
62
69
|
* @maxLength 40
|
|
@@ -7,7 +7,8 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
7
7
|
/*#__PURE__*/ v.object({
|
|
8
8
|
$type: /*#__PURE__*/ v.literal('sh.tangled.feed.star'),
|
|
9
9
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
10
|
-
subject: /*#__PURE__*/ v.resourceUriString(),
|
|
10
|
+
subject: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
11
|
+
subjectDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
11
12
|
}),
|
|
12
13
|
);
|
|
13
14
|
|
|
@@ -49,6 +49,10 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
49
49
|
* @maxLength 40
|
|
50
50
|
*/
|
|
51
51
|
oldSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
|
|
52
|
+
/**
|
|
53
|
+
* did of the owner of the repo
|
|
54
|
+
*/
|
|
55
|
+
ownerDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
52
56
|
/**
|
|
53
57
|
* Ref being updated
|
|
54
58
|
* @maxLength 2560
|
|
@@ -59,9 +63,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
59
63
|
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
60
64
|
]),
|
|
61
65
|
/**
|
|
62
|
-
*
|
|
66
|
+
* DID of the repo itself
|
|
63
67
|
*/
|
|
64
|
-
repoDid: /*#__PURE__*/ v.didString(),
|
|
68
|
+
repoDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
65
69
|
/**
|
|
66
70
|
* name of the repo
|
|
67
71
|
*/
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
3
|
+
import * as v from '@atcute/lexicons/validations';
|
|
4
|
+
|
|
5
|
+
const _conflictInfoSchema = /*#__PURE__*/ v.object({
|
|
6
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.temp.analyzeMerge#conflictInfo')),
|
|
7
|
+
/**
|
|
8
|
+
* Name of the conflicted file
|
|
9
|
+
*/
|
|
10
|
+
filename: /*#__PURE__*/ v.string(),
|
|
11
|
+
/**
|
|
12
|
+
* Reason for the conflict
|
|
13
|
+
*/
|
|
14
|
+
reason: /*#__PURE__*/ v.string(),
|
|
15
|
+
});
|
|
16
|
+
const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.git.temp.analyzeMerge', {
|
|
17
|
+
params: /*#__PURE__*/ v.object({
|
|
18
|
+
/**
|
|
19
|
+
* Target branch to merge into
|
|
20
|
+
*/
|
|
21
|
+
branch: /*#__PURE__*/ v.string(),
|
|
22
|
+
/**
|
|
23
|
+
* Patch or pull request to check for merge conflicts
|
|
24
|
+
*/
|
|
25
|
+
patch: /*#__PURE__*/ v.string(),
|
|
26
|
+
/**
|
|
27
|
+
* AT-URI of the repository
|
|
28
|
+
*/
|
|
29
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
30
|
+
}),
|
|
31
|
+
output: {
|
|
32
|
+
type: 'lex',
|
|
33
|
+
schema: /*#__PURE__*/ v.object({
|
|
34
|
+
/**
|
|
35
|
+
* List of files with merge conflicts
|
|
36
|
+
*/
|
|
37
|
+
get conflicts() {
|
|
38
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(conflictInfoSchema));
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* Whether the merge has conflicts
|
|
42
|
+
*/
|
|
43
|
+
is_conflicted: /*#__PURE__*/ v.boolean(),
|
|
44
|
+
}),
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
type conflictInfo$schematype = typeof _conflictInfoSchema;
|
|
49
|
+
type main$schematype = typeof _mainSchema;
|
|
50
|
+
|
|
51
|
+
export interface conflictInfoSchema extends conflictInfo$schematype {}
|
|
52
|
+
export interface mainSchema extends main$schematype {}
|
|
53
|
+
|
|
54
|
+
export const conflictInfoSchema = _conflictInfoSchema as conflictInfoSchema;
|
|
55
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
56
|
+
|
|
57
|
+
export interface ConflictInfo extends v.InferInput<typeof conflictInfoSchema> {}
|
|
58
|
+
|
|
59
|
+
export interface $params extends v.InferInput<mainSchema['params']> {}
|
|
60
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
|
|
61
|
+
|
|
62
|
+
declare module '@atcute/lexicons/ambient' {
|
|
63
|
+
interface XRPCQueries {
|
|
64
|
+
'sh.tangled.git.temp.analyzeMerge': mainSchema;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
|
|
4
|
+
const _blobSchema = /*#__PURE__*/ v.object({
|
|
5
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.temp.defs#blob')),
|
|
6
|
+
get lastCommit() {
|
|
7
|
+
return commitSchema;
|
|
8
|
+
},
|
|
9
|
+
mode: /*#__PURE__*/ v.string(),
|
|
10
|
+
/**
|
|
11
|
+
* The file name
|
|
12
|
+
*/
|
|
13
|
+
name: /*#__PURE__*/ v.string(),
|
|
14
|
+
/**
|
|
15
|
+
* File size in bytes
|
|
16
|
+
*/
|
|
17
|
+
size: /*#__PURE__*/ v.integer(),
|
|
18
|
+
/**
|
|
19
|
+
* Submodule information if path is a submodule
|
|
20
|
+
*/
|
|
21
|
+
get submodule() {
|
|
22
|
+
return /*#__PURE__*/ v.optional(submoduleSchema);
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
const _branchSchema = /*#__PURE__*/ v.object({
|
|
26
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.temp.defs#branch')),
|
|
27
|
+
/**
|
|
28
|
+
* hydrated commit object
|
|
29
|
+
*/
|
|
30
|
+
get commit() {
|
|
31
|
+
return commitSchema;
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* branch name
|
|
35
|
+
*/
|
|
36
|
+
name: /*#__PURE__*/ v.string(),
|
|
37
|
+
});
|
|
38
|
+
const _commitSchema = /*#__PURE__*/ v.object({
|
|
39
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.temp.defs#commit')),
|
|
40
|
+
get author() {
|
|
41
|
+
return signatureSchema;
|
|
42
|
+
},
|
|
43
|
+
get committer() {
|
|
44
|
+
return signatureSchema;
|
|
45
|
+
},
|
|
46
|
+
get hash() {
|
|
47
|
+
return hashSchema;
|
|
48
|
+
},
|
|
49
|
+
message: /*#__PURE__*/ v.string(),
|
|
50
|
+
get tree() {
|
|
51
|
+
return hashSchema;
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
const _hashSchema = /*#__PURE__*/ v.string();
|
|
55
|
+
const _signatureSchema = /*#__PURE__*/ v.object({
|
|
56
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.temp.defs#signature')),
|
|
57
|
+
/**
|
|
58
|
+
* Person email
|
|
59
|
+
*/
|
|
60
|
+
email: /*#__PURE__*/ v.string(),
|
|
61
|
+
/**
|
|
62
|
+
* Person name
|
|
63
|
+
*/
|
|
64
|
+
name: /*#__PURE__*/ v.string(),
|
|
65
|
+
/**
|
|
66
|
+
* Timestamp of the signature
|
|
67
|
+
*/
|
|
68
|
+
when: /*#__PURE__*/ v.datetimeString(),
|
|
69
|
+
});
|
|
70
|
+
const _submoduleSchema = /*#__PURE__*/ v.object({
|
|
71
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.temp.defs#submodule')),
|
|
72
|
+
/**
|
|
73
|
+
* Branch to track in the submodule
|
|
74
|
+
*/
|
|
75
|
+
branch: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
76
|
+
/**
|
|
77
|
+
* Submodule name
|
|
78
|
+
*/
|
|
79
|
+
name: /*#__PURE__*/ v.string(),
|
|
80
|
+
/**
|
|
81
|
+
* Submodule repository URL
|
|
82
|
+
*/
|
|
83
|
+
url: /*#__PURE__*/ v.string(),
|
|
84
|
+
});
|
|
85
|
+
const _tagSchema = /*#__PURE__*/ v.object({
|
|
86
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.temp.defs#tag')),
|
|
87
|
+
message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
88
|
+
/**
|
|
89
|
+
* tag name
|
|
90
|
+
*/
|
|
91
|
+
name: /*#__PURE__*/ v.string(),
|
|
92
|
+
get tagger() {
|
|
93
|
+
return signatureSchema;
|
|
94
|
+
},
|
|
95
|
+
target: /*#__PURE__*/ v.unknown(),
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
type blob$schematype = typeof _blobSchema;
|
|
99
|
+
type branch$schematype = typeof _branchSchema;
|
|
100
|
+
type commit$schematype = typeof _commitSchema;
|
|
101
|
+
type hash$schematype = typeof _hashSchema;
|
|
102
|
+
type signature$schematype = typeof _signatureSchema;
|
|
103
|
+
type submodule$schematype = typeof _submoduleSchema;
|
|
104
|
+
type tag$schematype = typeof _tagSchema;
|
|
105
|
+
|
|
106
|
+
export interface blobSchema extends blob$schematype {}
|
|
107
|
+
export interface branchSchema extends branch$schematype {}
|
|
108
|
+
export interface commitSchema extends commit$schematype {}
|
|
109
|
+
export interface hashSchema extends hash$schematype {}
|
|
110
|
+
export interface signatureSchema extends signature$schematype {}
|
|
111
|
+
export interface submoduleSchema extends submodule$schematype {}
|
|
112
|
+
export interface tagSchema extends tag$schematype {}
|
|
113
|
+
|
|
114
|
+
export const blobSchema = _blobSchema as blobSchema;
|
|
115
|
+
export const branchSchema = _branchSchema as branchSchema;
|
|
116
|
+
export const commitSchema = _commitSchema as commitSchema;
|
|
117
|
+
export const hashSchema = _hashSchema as hashSchema;
|
|
118
|
+
export const signatureSchema = _signatureSchema as signatureSchema;
|
|
119
|
+
export const submoduleSchema = _submoduleSchema as submoduleSchema;
|
|
120
|
+
export const tagSchema = _tagSchema as tagSchema;
|
|
121
|
+
|
|
122
|
+
export interface Blob extends v.InferInput<typeof blobSchema> {}
|
|
123
|
+
export interface Branch extends v.InferInput<typeof branchSchema> {}
|
|
124
|
+
export interface Commit extends v.InferInput<typeof commitSchema> {}
|
|
125
|
+
export type Hash = v.InferInput<typeof hashSchema>;
|
|
126
|
+
export interface Signature extends v.InferInput<typeof signatureSchema> {}
|
|
127
|
+
export interface Submodule extends v.InferInput<typeof submoduleSchema> {}
|
|
128
|
+
export interface Tag extends v.InferInput<typeof tagSchema> {}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
3
|
+
import * as v from '@atcute/lexicons/validations';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.git.temp.getArchive', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
/**
|
|
8
|
+
* Archive format
|
|
9
|
+
* @default "tar.gz"
|
|
10
|
+
*/
|
|
11
|
+
format: /*#__PURE__*/ v.optional(
|
|
12
|
+
/*#__PURE__*/ v.literalEnum(['tar', 'tar.bz2', 'tar.gz', 'tar.xz', 'zip']),
|
|
13
|
+
'tar.gz',
|
|
14
|
+
),
|
|
15
|
+
/**
|
|
16
|
+
* Prefix for files in the archive
|
|
17
|
+
*/
|
|
18
|
+
prefix: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
19
|
+
/**
|
|
20
|
+
* Git reference (branch, tag, or commit SHA)
|
|
21
|
+
*/
|
|
22
|
+
ref: /*#__PURE__*/ v.string(),
|
|
23
|
+
/**
|
|
24
|
+
* AT-URI of the repository
|
|
25
|
+
*/
|
|
26
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
27
|
+
}),
|
|
28
|
+
output: {
|
|
29
|
+
type: 'blob',
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
type main$schematype = typeof _mainSchema;
|
|
34
|
+
|
|
35
|
+
export interface mainSchema extends main$schematype {}
|
|
36
|
+
|
|
37
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
38
|
+
|
|
39
|
+
export interface $params extends v.InferInput<mainSchema['params']> {}
|
|
40
|
+
export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
|
|
41
|
+
|
|
42
|
+
declare module '@atcute/lexicons/ambient' {
|
|
43
|
+
interface XRPCQueries {
|
|
44
|
+
'sh.tangled.git.temp.getArchive': mainSchema;
|
|
45
|
+
}
|
|
46
|
+
}
|