@atcute/tangled 1.0.17 → 1.0.19

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.
Files changed (201) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/lexicons/index.d.ts +74 -57
  3. package/dist/lexicons/index.d.ts.map +1 -1
  4. package/dist/lexicons/index.js +17 -0
  5. package/dist/lexicons/index.js.map +1 -1
  6. package/dist/lexicons/types/sh/tangled/actor/profile.d.ts +8 -3
  7. package/dist/lexicons/types/sh/tangled/actor/profile.d.ts.map +1 -1
  8. package/dist/lexicons/types/sh/tangled/actor/profile.js +13 -3
  9. package/dist/lexicons/types/sh/tangled/actor/profile.js.map +1 -1
  10. package/dist/lexicons/types/sh/tangled/feed/reaction.d.ts.map +1 -1
  11. package/dist/lexicons/types/sh/tangled/feed/reaction.js.map +1 -1
  12. package/dist/lexicons/types/sh/tangled/feed/star.d.ts +2 -1
  13. package/dist/lexicons/types/sh/tangled/feed/star.d.ts.map +1 -1
  14. package/dist/lexicons/types/sh/tangled/feed/star.js +2 -1
  15. package/dist/lexicons/types/sh/tangled/feed/star.js.map +1 -1
  16. package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts +6 -2
  17. package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts.map +1 -1
  18. package/dist/lexicons/types/sh/tangled/git/refUpdate.js +6 -2
  19. package/dist/lexicons/types/sh/tangled/git/refUpdate.js.map +1 -1
  20. package/dist/lexicons/types/sh/tangled/git/temp/analyzeMerge.d.ts +59 -0
  21. package/dist/lexicons/types/sh/tangled/git/temp/analyzeMerge.d.ts.map +1 -0
  22. package/dist/lexicons/types/sh/tangled/git/temp/analyzeMerge.js +46 -0
  23. package/dist/lexicons/types/sh/tangled/git/temp/analyzeMerge.js.map +1 -0
  24. package/dist/lexicons/types/sh/tangled/git/temp/defs.d.ts +121 -0
  25. package/dist/lexicons/types/sh/tangled/git/temp/defs.d.ts.map +1 -0
  26. package/dist/lexicons/types/sh/tangled/git/temp/defs.js +102 -0
  27. package/dist/lexicons/types/sh/tangled/git/temp/defs.js.map +1 -0
  28. package/dist/lexicons/types/sh/tangled/git/temp/getArchive.d.ts +36 -0
  29. package/dist/lexicons/types/sh/tangled/git/temp/getArchive.d.ts.map +1 -0
  30. package/dist/lexicons/types/sh/tangled/git/temp/getArchive.js +28 -0
  31. package/dist/lexicons/types/sh/tangled/git/temp/getArchive.js.map +1 -0
  32. package/dist/lexicons/types/sh/tangled/git/temp/getBlob.d.ts +32 -0
  33. package/dist/lexicons/types/sh/tangled/git/temp/getBlob.d.ts.map +1 -0
  34. package/dist/lexicons/types/sh/tangled/git/temp/getBlob.js +23 -0
  35. package/dist/lexicons/types/sh/tangled/git/temp/getBlob.js.map +1 -0
  36. package/dist/lexicons/types/sh/tangled/git/temp/getBranch.d.ts +48 -0
  37. package/dist/lexicons/types/sh/tangled/git/temp/getBranch.d.ts.map +1 -0
  38. package/dist/lexicons/types/sh/tangled/git/temp/getBranch.js +40 -0
  39. package/dist/lexicons/types/sh/tangled/git/temp/getBranch.js.map +1 -0
  40. package/dist/lexicons/types/sh/tangled/git/temp/getCommit.d.ts +29 -0
  41. package/dist/lexicons/types/sh/tangled/git/temp/getCommit.d.ts.map +1 -0
  42. package/dist/lexicons/types/sh/tangled/git/temp/getCommit.js +22 -0
  43. package/dist/lexicons/types/sh/tangled/git/temp/getCommit.js.map +1 -0
  44. package/dist/lexicons/types/sh/tangled/git/temp/getDiff.d.ts +31 -0
  45. package/dist/lexicons/types/sh/tangled/git/temp/getDiff.d.ts.map +1 -0
  46. package/dist/lexicons/types/sh/tangled/git/temp/getDiff.js +22 -0
  47. package/dist/lexicons/types/sh/tangled/git/temp/getDiff.js.map +1 -0
  48. package/dist/lexicons/types/sh/tangled/git/temp/getEntity.d.ts +34 -0
  49. package/dist/lexicons/types/sh/tangled/git/temp/getEntity.d.ts.map +1 -0
  50. package/dist/lexicons/types/sh/tangled/git/temp/getEntity.js +27 -0
  51. package/dist/lexicons/types/sh/tangled/git/temp/getEntity.js.map +1 -0
  52. package/dist/lexicons/types/sh/tangled/git/temp/getHead.d.ts +25 -0
  53. package/dist/lexicons/types/sh/tangled/git/temp/getHead.d.ts.map +1 -0
  54. package/dist/lexicons/types/sh/tangled/git/temp/getHead.js +18 -0
  55. package/dist/lexicons/types/sh/tangled/git/temp/getHead.js.map +1 -0
  56. package/dist/lexicons/types/sh/tangled/git/temp/getTag.d.ts +27 -0
  57. package/dist/lexicons/types/sh/tangled/git/temp/getTag.d.ts.map +1 -0
  58. package/dist/lexicons/types/sh/tangled/git/temp/getTag.js +18 -0
  59. package/dist/lexicons/types/sh/tangled/git/temp/getTag.js.map +1 -0
  60. package/dist/lexicons/types/sh/tangled/git/temp/getTree.d.ts +135 -0
  61. package/dist/lexicons/types/sh/tangled/git/temp/getTree.d.ts.map +1 -0
  62. package/dist/lexicons/types/sh/tangled/git/temp/getTree.js +115 -0
  63. package/dist/lexicons/types/sh/tangled/git/temp/getTree.js.map +1 -0
  64. package/dist/lexicons/types/sh/tangled/git/temp/listBranches.d.ts +34 -0
  65. package/dist/lexicons/types/sh/tangled/git/temp/listBranches.d.ts.map +1 -0
  66. package/dist/lexicons/types/sh/tangled/git/temp/listBranches.js +26 -0
  67. package/dist/lexicons/types/sh/tangled/git/temp/listBranches.js.map +1 -0
  68. package/dist/lexicons/types/sh/tangled/git/temp/listCommits.d.ts +38 -0
  69. package/dist/lexicons/types/sh/tangled/git/temp/listCommits.d.ts.map +1 -0
  70. package/dist/lexicons/types/sh/tangled/git/temp/listCommits.js +30 -0
  71. package/dist/lexicons/types/sh/tangled/git/temp/listCommits.js.map +1 -0
  72. package/dist/lexicons/types/sh/tangled/git/temp/listLanguages.d.ts +77 -0
  73. package/dist/lexicons/types/sh/tangled/git/temp/listLanguages.d.ts.map +1 -0
  74. package/dist/lexicons/types/sh/tangled/git/temp/listLanguages.js +64 -0
  75. package/dist/lexicons/types/sh/tangled/git/temp/listLanguages.js.map +1 -0
  76. package/dist/lexicons/types/sh/tangled/git/temp/listTags.d.ts +34 -0
  77. package/dist/lexicons/types/sh/tangled/git/temp/listTags.d.ts.map +1 -0
  78. package/dist/lexicons/types/sh/tangled/git/temp/listTags.js +26 -0
  79. package/dist/lexicons/types/sh/tangled/git/temp/listTags.js.map +1 -0
  80. package/dist/lexicons/types/sh/tangled/graph/follow.d.ts.map +1 -1
  81. package/dist/lexicons/types/sh/tangled/knot/listKeys.d.ts.map +1 -1
  82. package/dist/lexicons/types/sh/tangled/knot/listKeys.js.map +1 -1
  83. package/dist/lexicons/types/sh/tangled/knot/member.d.ts.map +1 -1
  84. package/dist/lexicons/types/sh/tangled/knot/subscribeRepos.d.ts +74 -0
  85. package/dist/lexicons/types/sh/tangled/knot/subscribeRepos.d.ts.map +1 -0
  86. package/dist/lexicons/types/sh/tangled/knot/subscribeRepos.js +52 -0
  87. package/dist/lexicons/types/sh/tangled/knot/subscribeRepos.js.map +1 -0
  88. package/dist/lexicons/types/sh/tangled/knot/version.d.ts.map +1 -1
  89. package/dist/lexicons/types/sh/tangled/knot.d.ts.map +1 -1
  90. package/dist/lexicons/types/sh/tangled/label/definition.d.ts.map +1 -1
  91. package/dist/lexicons/types/sh/tangled/label/definition.js.map +1 -1
  92. package/dist/lexicons/types/sh/tangled/label/op.d.ts.map +1 -1
  93. package/dist/lexicons/types/sh/tangled/label/op.js.map +1 -1
  94. package/dist/lexicons/types/sh/tangled/owner.d.ts.map +1 -1
  95. package/dist/lexicons/types/sh/tangled/pipeline/cancelPipeline.d.ts.map +1 -1
  96. package/dist/lexicons/types/sh/tangled/pipeline/status.d.ts.map +1 -1
  97. package/dist/lexicons/types/sh/tangled/pipeline.d.ts +5 -1
  98. package/dist/lexicons/types/sh/tangled/pipeline.d.ts.map +1 -1
  99. package/dist/lexicons/types/sh/tangled/pipeline.js +5 -1
  100. package/dist/lexicons/types/sh/tangled/pipeline.js.map +1 -1
  101. package/dist/lexicons/types/sh/tangled/publicKey.d.ts.map +1 -1
  102. package/dist/lexicons/types/sh/tangled/repo/addSecret.d.ts.map +1 -1
  103. package/dist/lexicons/types/sh/tangled/repo/archive.d.ts.map +1 -1
  104. package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts +3 -2
  105. package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts.map +1 -1
  106. package/dist/lexicons/types/sh/tangled/repo/artifact.js +3 -2
  107. package/dist/lexicons/types/sh/tangled/repo/artifact.js.map +1 -1
  108. package/dist/lexicons/types/sh/tangled/repo/blob.d.ts.map +1 -1
  109. package/dist/lexicons/types/sh/tangled/repo/blob.js.map +1 -1
  110. package/dist/lexicons/types/sh/tangled/repo/branch.d.ts.map +1 -1
  111. package/dist/lexicons/types/sh/tangled/repo/branch.js.map +1 -1
  112. package/dist/lexicons/types/sh/tangled/repo/branches.d.ts.map +1 -1
  113. package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts +2 -1
  114. package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts.map +1 -1
  115. package/dist/lexicons/types/sh/tangled/repo/collaborator.js +2 -1
  116. package/dist/lexicons/types/sh/tangled/repo/collaborator.js.map +1 -1
  117. package/dist/lexicons/types/sh/tangled/repo/compare.d.ts.map +1 -1
  118. package/dist/lexicons/types/sh/tangled/repo/create.d.ts +16 -1
  119. package/dist/lexicons/types/sh/tangled/repo/create.d.ts.map +1 -1
  120. package/dist/lexicons/types/sh/tangled/repo/create.js +14 -1
  121. package/dist/lexicons/types/sh/tangled/repo/create.js.map +1 -1
  122. package/dist/lexicons/types/sh/tangled/repo/delete.d.ts.map +1 -1
  123. package/dist/lexicons/types/sh/tangled/repo/deleteBranch.d.ts.map +1 -1
  124. package/dist/lexicons/types/sh/tangled/repo/diff.d.ts.map +1 -1
  125. package/dist/lexicons/types/sh/tangled/repo/forkStatus.d.ts.map +1 -1
  126. package/dist/lexicons/types/sh/tangled/repo/forkSync.d.ts.map +1 -1
  127. package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.d.ts.map +1 -1
  128. package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.js.map +1 -1
  129. package/dist/lexicons/types/sh/tangled/repo/hiddenRef.d.ts.map +1 -1
  130. package/dist/lexicons/types/sh/tangled/repo/issue/comment.d.ts.map +1 -1
  131. package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.d.ts.map +1 -1
  132. package/dist/lexicons/types/sh/tangled/repo/issue/state/open.d.ts.map +1 -1
  133. package/dist/lexicons/types/sh/tangled/repo/issue/state.d.ts.map +1 -1
  134. package/dist/lexicons/types/sh/tangled/repo/issue.d.ts +2 -1
  135. package/dist/lexicons/types/sh/tangled/repo/issue.d.ts.map +1 -1
  136. package/dist/lexicons/types/sh/tangled/repo/issue.js +2 -1
  137. package/dist/lexicons/types/sh/tangled/repo/issue.js.map +1 -1
  138. package/dist/lexicons/types/sh/tangled/repo/languages.d.ts.map +1 -1
  139. package/dist/lexicons/types/sh/tangled/repo/languages.js.map +1 -1
  140. package/dist/lexicons/types/sh/tangled/repo/listSecrets.d.ts.map +1 -1
  141. package/dist/lexicons/types/sh/tangled/repo/listSecrets.js.map +1 -1
  142. package/dist/lexicons/types/sh/tangled/repo/log.d.ts.map +1 -1
  143. package/dist/lexicons/types/sh/tangled/repo/merge.d.ts.map +1 -1
  144. package/dist/lexicons/types/sh/tangled/repo/mergeCheck.d.ts.map +1 -1
  145. package/dist/lexicons/types/sh/tangled/repo/mergeCheck.js.map +1 -1
  146. package/dist/lexicons/types/sh/tangled/repo/pull/comment.d.ts.map +1 -1
  147. package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.d.ts.map +1 -1
  148. package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.d.ts.map +1 -1
  149. package/dist/lexicons/types/sh/tangled/repo/pull/status/open.d.ts.map +1 -1
  150. package/dist/lexicons/types/sh/tangled/repo/pull/status.d.ts.map +1 -1
  151. package/dist/lexicons/types/sh/tangled/repo/pull.d.ts +4 -2
  152. package/dist/lexicons/types/sh/tangled/repo/pull.d.ts.map +1 -1
  153. package/dist/lexicons/types/sh/tangled/repo/pull.js +6 -2
  154. package/dist/lexicons/types/sh/tangled/repo/pull.js.map +1 -1
  155. package/dist/lexicons/types/sh/tangled/repo/removeSecret.d.ts.map +1 -1
  156. package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.d.ts.map +1 -1
  157. package/dist/lexicons/types/sh/tangled/repo/tag.d.ts.map +1 -1
  158. package/dist/lexicons/types/sh/tangled/repo/tags.d.ts.map +1 -1
  159. package/dist/lexicons/types/sh/tangled/repo/tree.d.ts.map +1 -1
  160. package/dist/lexicons/types/sh/tangled/repo/tree.js.map +1 -1
  161. package/dist/lexicons/types/sh/tangled/repo.d.ts +4 -0
  162. package/dist/lexicons/types/sh/tangled/repo.d.ts.map +1 -1
  163. package/dist/lexicons/types/sh/tangled/repo.js +4 -0
  164. package/dist/lexicons/types/sh/tangled/repo.js.map +1 -1
  165. package/dist/lexicons/types/sh/tangled/spindle/member.d.ts.map +1 -1
  166. package/dist/lexicons/types/sh/tangled/spindle.d.ts.map +1 -1
  167. package/dist/lexicons/types/sh/tangled/string.d.ts.map +1 -1
  168. package/dist/lexicons/types/sh/tangled/sync/requestCrawl.d.ts +29 -0
  169. package/dist/lexicons/types/sh/tangled/sync/requestCrawl.d.ts.map +1 -0
  170. package/dist/lexicons/types/sh/tangled/sync/requestCrawl.js +20 -0
  171. package/dist/lexicons/types/sh/tangled/sync/requestCrawl.js.map +1 -0
  172. package/lib/index.ts +1 -1
  173. package/lib/lexicons/index.ts +74 -57
  174. package/lib/lexicons/types/sh/tangled/actor/profile.ts +15 -3
  175. package/lib/lexicons/types/sh/tangled/feed/star.ts +2 -1
  176. package/lib/lexicons/types/sh/tangled/git/refUpdate.ts +6 -2
  177. package/lib/lexicons/types/sh/tangled/git/temp/analyzeMerge.ts +66 -0
  178. package/lib/lexicons/types/sh/tangled/git/temp/defs.ts +128 -0
  179. package/lib/lexicons/types/sh/tangled/git/temp/getArchive.ts +46 -0
  180. package/lib/lexicons/types/sh/tangled/git/temp/getBlob.ts +39 -0
  181. package/lib/lexicons/types/sh/tangled/git/temp/getBranch.ts +57 -0
  182. package/lib/lexicons/types/sh/tangled/git/temp/getCommit.ts +39 -0
  183. package/lib/lexicons/types/sh/tangled/git/temp/getDiff.ts +38 -0
  184. package/lib/lexicons/types/sh/tangled/git/temp/getEntity.ts +44 -0
  185. package/lib/lexicons/types/sh/tangled/git/temp/getHead.ts +35 -0
  186. package/lib/lexicons/types/sh/tangled/git/temp/getTag.ts +34 -0
  187. package/lib/lexicons/types/sh/tangled/git/temp/getTree.ts +144 -0
  188. package/lib/lexicons/types/sh/tangled/git/temp/listBranches.ts +44 -0
  189. package/lib/lexicons/types/sh/tangled/git/temp/listCommits.ts +48 -0
  190. package/lib/lexicons/types/sh/tangled/git/temp/listLanguages.ts +84 -0
  191. package/lib/lexicons/types/sh/tangled/git/temp/listTags.ts +44 -0
  192. package/lib/lexicons/types/sh/tangled/knot/subscribeRepos.ts +79 -0
  193. package/lib/lexicons/types/sh/tangled/pipeline.ts +5 -1
  194. package/lib/lexicons/types/sh/tangled/repo/artifact.ts +3 -2
  195. package/lib/lexicons/types/sh/tangled/repo/collaborator.ts +2 -1
  196. package/lib/lexicons/types/sh/tangled/repo/create.ts +15 -1
  197. package/lib/lexicons/types/sh/tangled/repo/issue.ts +2 -1
  198. package/lib/lexicons/types/sh/tangled/repo/pull.ts +6 -2
  199. package/lib/lexicons/types/sh/tangled/repo.ts +4 -0
  200. package/lib/lexicons/types/sh/tangled/sync/requestCrawl.ts +36 -0
  201. package/package.json +4 -4
@@ -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.js';
1
+ export * from './lexicons/index.ts';
@@ -1,57 +1,74 @@
1
- export * as ShTangledActorProfile from './types/sh/tangled/actor/profile.js';
2
- export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.js';
3
- export * as ShTangledFeedStar from './types/sh/tangled/feed/star.js';
4
- export * as ShTangledGitRefUpdate from './types/sh/tangled/git/refUpdate.js';
5
- export * as ShTangledGraphFollow from './types/sh/tangled/graph/follow.js';
6
- export * as ShTangledKnot from './types/sh/tangled/knot.js';
7
- export * as ShTangledKnotListKeys from './types/sh/tangled/knot/listKeys.js';
8
- export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js';
9
- export * as ShTangledKnotVersion from './types/sh/tangled/knot/version.js';
10
- export * as ShTangledLabelDefinition from './types/sh/tangled/label/definition.js';
11
- export * as ShTangledLabelOp from './types/sh/tangled/label/op.js';
12
- export * as ShTangledOwner from './types/sh/tangled/owner.js';
13
- export * as ShTangledPipeline from './types/sh/tangled/pipeline.js';
14
- export * as ShTangledPipelineCancelPipeline from './types/sh/tangled/pipeline/cancelPipeline.js';
15
- export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.js';
16
- export * as ShTangledPublicKey from './types/sh/tangled/publicKey.js';
17
- export * as ShTangledRepo from './types/sh/tangled/repo.js';
18
- export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.js';
19
- export * as ShTangledRepoArchive from './types/sh/tangled/repo/archive.js';
20
- export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.js';
21
- export * as ShTangledRepoBlob from './types/sh/tangled/repo/blob.js';
22
- export * as ShTangledRepoBranch from './types/sh/tangled/repo/branch.js';
23
- export * as ShTangledRepoBranches from './types/sh/tangled/repo/branches.js';
24
- export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.js';
25
- export * as ShTangledRepoCompare from './types/sh/tangled/repo/compare.js';
26
- export * as ShTangledRepoCreate from './types/sh/tangled/repo/create.js';
27
- export * as ShTangledRepoDelete from './types/sh/tangled/repo/delete.js';
28
- export * as ShTangledRepoDeleteBranch from './types/sh/tangled/repo/deleteBranch.js';
29
- export * as ShTangledRepoDiff from './types/sh/tangled/repo/diff.js';
30
- export * as ShTangledRepoForkStatus from './types/sh/tangled/repo/forkStatus.js';
31
- export * as ShTangledRepoForkSync from './types/sh/tangled/repo/forkSync.js';
32
- export * as ShTangledRepoGetDefaultBranch from './types/sh/tangled/repo/getDefaultBranch.js';
33
- export * as ShTangledRepoHiddenRef from './types/sh/tangled/repo/hiddenRef.js';
34
- export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.js';
35
- export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.js';
36
- export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.js';
37
- export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.js';
38
- export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.js';
39
- export * as ShTangledRepoLanguages from './types/sh/tangled/repo/languages.js';
40
- export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.js';
41
- export * as ShTangledRepoLog from './types/sh/tangled/repo/log.js';
42
- export * as ShTangledRepoMerge from './types/sh/tangled/repo/merge.js';
43
- export * as ShTangledRepoMergeCheck from './types/sh/tangled/repo/mergeCheck.js';
44
- export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.js';
45
- export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.js';
46
- export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.js';
47
- export * as ShTangledRepoPullStatusClosed from './types/sh/tangled/repo/pull/status/closed.js';
48
- export * as ShTangledRepoPullStatusMerged from './types/sh/tangled/repo/pull/status/merged.js';
49
- export * as ShTangledRepoPullStatusOpen from './types/sh/tangled/repo/pull/status/open.js';
50
- export * as ShTangledRepoRemoveSecret from './types/sh/tangled/repo/removeSecret.js';
51
- export * as ShTangledRepoSetDefaultBranch from './types/sh/tangled/repo/setDefaultBranch.js';
52
- export * as ShTangledRepoTag from './types/sh/tangled/repo/tag.js';
53
- export * as ShTangledRepoTags from './types/sh/tangled/repo/tags.js';
54
- export * as ShTangledRepoTree from './types/sh/tangled/repo/tree.js';
55
- export * as ShTangledSpindle from './types/sh/tangled/spindle.js';
56
- export * as ShTangledSpindleMember from './types/sh/tangled/spindle/member.js';
57
- export * as ShTangledString from './types/sh/tangled/string.js';
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';
@@ -11,7 +11,12 @@ const _mainSchema = /*#__PURE__*/ v.record(
11
11
  * @accept image/png, image/jpeg
12
12
  * @maxSize 1000000
13
13
  */
14
- avatar: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.blob()),
14
+ avatar: /*#__PURE__*/ v.optional(
15
+ /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.blob(), [
16
+ /*#__PURE__*/ v.blobSize(1000000),
17
+ /*#__PURE__*/ v.blobAccept(['image/png', 'image/jpeg']),
18
+ ]),
19
+ ),
15
20
  /**
16
21
  * Include link to this account on Bluesky.
17
22
  */
@@ -48,15 +53,22 @@ const _mainSchema = /*#__PURE__*/ v.record(
48
53
  ]),
49
54
  ),
50
55
  /**
51
- * Any ATURI, it is up to appviews to validate these fields.
56
+ * Pinned repositories. Values are repo DIDs for repos that have them, or AT-URIs for legacy repos.
52
57
  * @minLength 0
53
58
  * @maxLength 6
54
59
  */
55
60
  pinnedRepositories: /*#__PURE__*/ v.optional(
56
- /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.resourceUriString()), [
61
+ /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), [
57
62
  /*#__PURE__*/ v.arrayLength(0, 6),
58
63
  ]),
59
64
  ),
65
+ /**
66
+ * A handle the user prefers to be displayed as.
67
+ * @maxLength 253
68
+ */
69
+ preferredHandle: /*#__PURE__*/ v.optional(
70
+ /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.handleString(), [/*#__PURE__*/ v.stringLength(0, 253)]),
71
+ ),
60
72
  /**
61
73
  * Preferred gender pronouns.
62
74
  * @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
- * did of the owner of the repo
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
+ }
@@ -0,0 +1,39 @@
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.getBlob', {
6
+ params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * Path within the repository tree
9
+ */
10
+ path: /*#__PURE__*/ v.string(),
11
+ /**
12
+ * Git reference (branch, tag, or commit SHA)
13
+ * @default "HEAD"
14
+ */
15
+ ref: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string(), 'HEAD'),
16
+ /**
17
+ * AT-URI of the repository
18
+ */
19
+ repo: /*#__PURE__*/ v.resourceUriString(),
20
+ }),
21
+ output: {
22
+ type: 'blob',
23
+ },
24
+ });
25
+
26
+ type main$schematype = typeof _mainSchema;
27
+
28
+ export interface mainSchema extends main$schematype {}
29
+
30
+ export const mainSchema = _mainSchema as mainSchema;
31
+
32
+ export interface $params extends v.InferInput<mainSchema['params']> {}
33
+ export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
34
+
35
+ declare module '@atcute/lexicons/ambient' {
36
+ interface XRPCQueries {
37
+ 'sh.tangled.git.temp.getBlob': mainSchema;
38
+ }
39
+ }
@@ -0,0 +1,57 @@
1
+ import type {} from '@atcute/lexicons';
2
+ import type {} from '@atcute/lexicons/ambient';
3
+ import * as v from '@atcute/lexicons/validations';
4
+
5
+ import * as ShTangledGitTempDefs from './defs.ts';
6
+
7
+ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.git.temp.getBranch', {
8
+ params: /*#__PURE__*/ v.object({
9
+ /**
10
+ * Branch name to get information for
11
+ */
12
+ name: /*#__PURE__*/ v.string(),
13
+ /**
14
+ * AT-URI of the repository
15
+ */
16
+ repo: /*#__PURE__*/ v.resourceUriString(),
17
+ }),
18
+ output: {
19
+ type: 'lex',
20
+ schema: /*#__PURE__*/ v.object({
21
+ get author() {
22
+ return /*#__PURE__*/ v.optional(ShTangledGitTempDefs.signatureSchema);
23
+ },
24
+ /**
25
+ * Latest commit hash on this branch
26
+ */
27
+ hash: /*#__PURE__*/ v.string(),
28
+ /**
29
+ * Latest commit message
30
+ */
31
+ message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
32
+ /**
33
+ * Branch name
34
+ */
35
+ name: /*#__PURE__*/ v.string(),
36
+ /**
37
+ * Timestamp of latest commit
38
+ */
39
+ when: /*#__PURE__*/ v.datetimeString(),
40
+ }),
41
+ },
42
+ });
43
+
44
+ type main$schematype = typeof _mainSchema;
45
+
46
+ export interface mainSchema extends main$schematype {}
47
+
48
+ export const mainSchema = _mainSchema as mainSchema;
49
+
50
+ export interface $params extends v.InferInput<mainSchema['params']> {}
51
+ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
52
+
53
+ declare module '@atcute/lexicons/ambient' {
54
+ interface XRPCQueries {
55
+ 'sh.tangled.git.temp.getBranch': mainSchema;
56
+ }
57
+ }
@@ -0,0 +1,39 @@
1
+ import type {} from '@atcute/lexicons';
2
+ import type {} from '@atcute/lexicons/ambient';
3
+ import * as v from '@atcute/lexicons/validations';
4
+
5
+ import * as ShTangledGitTempDefs from './defs.ts';
6
+
7
+ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.git.temp.getCommit', {
8
+ params: /*#__PURE__*/ v.object({
9
+ /**
10
+ * reference name to resolve
11
+ */
12
+ ref: /*#__PURE__*/ v.string(),
13
+ /**
14
+ * AT-URI of the repository
15
+ */
16
+ repo: /*#__PURE__*/ v.resourceUriString(),
17
+ }),
18
+ output: {
19
+ type: 'lex',
20
+ get schema() {
21
+ return ShTangledGitTempDefs.commitSchema;
22
+ },
23
+ },
24
+ });
25
+
26
+ type main$schematype = typeof _mainSchema;
27
+
28
+ export interface mainSchema extends main$schematype {}
29
+
30
+ export const mainSchema = _mainSchema as mainSchema;
31
+
32
+ export interface $params extends v.InferInput<mainSchema['params']> {}
33
+ export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
34
+
35
+ declare module '@atcute/lexicons/ambient' {
36
+ interface XRPCQueries {
37
+ 'sh.tangled.git.temp.getCommit': mainSchema;
38
+ }
39
+ }