@atcute/tangled 1.0.7 → 1.0.9

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/lexicons/index.d.ts +1 -0
  2. package/dist/lexicons/index.d.ts.map +1 -1
  3. package/dist/lexicons/index.js +1 -0
  4. package/dist/lexicons/index.js.map +1 -1
  5. package/dist/lexicons/types/sh/tangled/actor/profile.d.ts +26 -0
  6. package/dist/lexicons/types/sh/tangled/actor/profile.d.ts.map +1 -1
  7. package/dist/lexicons/types/sh/tangled/actor/profile.js +26 -0
  8. package/dist/lexicons/types/sh/tangled/actor/profile.js.map +1 -1
  9. package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts +27 -0
  10. package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts.map +1 -1
  11. package/dist/lexicons/types/sh/tangled/git/refUpdate.js +27 -0
  12. package/dist/lexicons/types/sh/tangled/git/refUpdate.js.map +1 -1
  13. package/dist/lexicons/types/sh/tangled/knot/listKeys.d.ts +22 -0
  14. package/dist/lexicons/types/sh/tangled/knot/listKeys.d.ts.map +1 -1
  15. package/dist/lexicons/types/sh/tangled/knot/listKeys.js +22 -0
  16. package/dist/lexicons/types/sh/tangled/knot/listKeys.js.map +1 -1
  17. package/dist/lexicons/types/sh/tangled/knot/member.d.ts +3 -0
  18. package/dist/lexicons/types/sh/tangled/knot/member.d.ts.map +1 -1
  19. package/dist/lexicons/types/sh/tangled/knot/member.js +3 -0
  20. package/dist/lexicons/types/sh/tangled/knot/member.js.map +1 -1
  21. package/dist/lexicons/types/sh/tangled/label/definition.d.ts +26 -0
  22. package/dist/lexicons/types/sh/tangled/label/definition.d.ts.map +1 -1
  23. package/dist/lexicons/types/sh/tangled/label/definition.js +26 -0
  24. package/dist/lexicons/types/sh/tangled/label/definition.js.map +1 -1
  25. package/dist/lexicons/types/sh/tangled/label/op.d.ts +9 -0
  26. package/dist/lexicons/types/sh/tangled/label/op.d.ts.map +1 -1
  27. package/dist/lexicons/types/sh/tangled/label/op.js +9 -0
  28. package/dist/lexicons/types/sh/tangled/label/op.js.map +1 -1
  29. package/dist/lexicons/types/sh/tangled/pipeline/status.d.ts +18 -0
  30. package/dist/lexicons/types/sh/tangled/pipeline/status.d.ts.map +1 -1
  31. package/dist/lexicons/types/sh/tangled/pipeline/status.js +18 -0
  32. package/dist/lexicons/types/sh/tangled/pipeline/status.js.map +1 -1
  33. package/dist/lexicons/types/sh/tangled/pipeline.d.ts +12 -0
  34. package/dist/lexicons/types/sh/tangled/pipeline.d.ts.map +1 -1
  35. package/dist/lexicons/types/sh/tangled/pipeline.js +12 -0
  36. package/dist/lexicons/types/sh/tangled/pipeline.js.map +1 -1
  37. package/dist/lexicons/types/sh/tangled/publicKey.d.ts +10 -0
  38. package/dist/lexicons/types/sh/tangled/publicKey.d.ts.map +1 -1
  39. package/dist/lexicons/types/sh/tangled/publicKey.js +10 -0
  40. package/dist/lexicons/types/sh/tangled/publicKey.js.map +1 -1
  41. package/dist/lexicons/types/sh/tangled/repo/addSecret.d.ts +8 -0
  42. package/dist/lexicons/types/sh/tangled/repo/addSecret.d.ts.map +1 -1
  43. package/dist/lexicons/types/sh/tangled/repo/addSecret.js +8 -0
  44. package/dist/lexicons/types/sh/tangled/repo/addSecret.js.map +1 -1
  45. package/dist/lexicons/types/sh/tangled/repo/archive.d.ts +14 -1
  46. package/dist/lexicons/types/sh/tangled/repo/archive.d.ts.map +1 -1
  47. package/dist/lexicons/types/sh/tangled/repo/archive.js +15 -1
  48. package/dist/lexicons/types/sh/tangled/repo/archive.js.map +1 -1
  49. package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts +19 -0
  50. package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts.map +1 -1
  51. package/dist/lexicons/types/sh/tangled/repo/artifact.js +19 -0
  52. package/dist/lexicons/types/sh/tangled/repo/artifact.js.map +1 -1
  53. package/dist/lexicons/types/sh/tangled/repo/blob.d.ts +55 -0
  54. package/dist/lexicons/types/sh/tangled/repo/blob.d.ts.map +1 -1
  55. package/dist/lexicons/types/sh/tangled/repo/blob.js +55 -0
  56. package/dist/lexicons/types/sh/tangled/repo/blob.js.map +1 -1
  57. package/dist/lexicons/types/sh/tangled/repo/branch.d.ts +33 -0
  58. package/dist/lexicons/types/sh/tangled/repo/branch.d.ts.map +1 -1
  59. package/dist/lexicons/types/sh/tangled/repo/branch.js +33 -0
  60. package/dist/lexicons/types/sh/tangled/repo/branch.js.map +1 -1
  61. package/dist/lexicons/types/sh/tangled/repo/branches.d.ts +12 -0
  62. package/dist/lexicons/types/sh/tangled/repo/branches.d.ts.map +1 -1
  63. package/dist/lexicons/types/sh/tangled/repo/branches.js +12 -0
  64. package/dist/lexicons/types/sh/tangled/repo/branches.js.map +1 -1
  65. package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts +3 -0
  66. package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts.map +1 -1
  67. package/dist/lexicons/types/sh/tangled/repo/collaborator.js +3 -0
  68. package/dist/lexicons/types/sh/tangled/repo/collaborator.js.map +1 -1
  69. package/dist/lexicons/types/sh/tangled/repo/compare.d.ts +9 -0
  70. package/dist/lexicons/types/sh/tangled/repo/compare.d.ts.map +1 -1
  71. package/dist/lexicons/types/sh/tangled/repo/compare.js +9 -0
  72. package/dist/lexicons/types/sh/tangled/repo/compare.js.map +1 -1
  73. package/dist/lexicons/types/sh/tangled/repo/create.d.ts +9 -0
  74. package/dist/lexicons/types/sh/tangled/repo/create.d.ts.map +1 -1
  75. package/dist/lexicons/types/sh/tangled/repo/create.js +9 -0
  76. package/dist/lexicons/types/sh/tangled/repo/create.js.map +1 -1
  77. package/dist/lexicons/types/sh/tangled/repo/delete.d.ts +9 -0
  78. package/dist/lexicons/types/sh/tangled/repo/delete.d.ts.map +1 -1
  79. package/dist/lexicons/types/sh/tangled/repo/delete.js +9 -0
  80. package/dist/lexicons/types/sh/tangled/repo/delete.js.map +1 -1
  81. package/dist/lexicons/types/sh/tangled/repo/deleteBranch.d.ts +23 -0
  82. package/dist/lexicons/types/sh/tangled/repo/deleteBranch.d.ts.map +1 -0
  83. package/dist/lexicons/types/sh/tangled/repo/deleteBranch.js +14 -0
  84. package/dist/lexicons/types/sh/tangled/repo/deleteBranch.js.map +1 -0
  85. package/dist/lexicons/types/sh/tangled/repo/diff.d.ts +6 -0
  86. package/dist/lexicons/types/sh/tangled/repo/diff.d.ts.map +1 -1
  87. package/dist/lexicons/types/sh/tangled/repo/diff.js +6 -0
  88. package/dist/lexicons/types/sh/tangled/repo/diff.js.map +1 -1
  89. package/dist/lexicons/types/sh/tangled/repo/forkStatus.d.ts +18 -0
  90. package/dist/lexicons/types/sh/tangled/repo/forkStatus.d.ts.map +1 -1
  91. package/dist/lexicons/types/sh/tangled/repo/forkStatus.js +18 -0
  92. package/dist/lexicons/types/sh/tangled/repo/forkStatus.js.map +1 -1
  93. package/dist/lexicons/types/sh/tangled/repo/forkSync.d.ts +12 -0
  94. package/dist/lexicons/types/sh/tangled/repo/forkSync.d.ts.map +1 -1
  95. package/dist/lexicons/types/sh/tangled/repo/forkSync.js +12 -0
  96. package/dist/lexicons/types/sh/tangled/repo/forkSync.js.map +1 -1
  97. package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.d.ts +27 -0
  98. package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.d.ts.map +1 -1
  99. package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.js +27 -0
  100. package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.js.map +1 -1
  101. package/dist/lexicons/types/sh/tangled/repo/hiddenRef.d.ts +18 -0
  102. package/dist/lexicons/types/sh/tangled/repo/hiddenRef.d.ts.map +1 -1
  103. package/dist/lexicons/types/sh/tangled/repo/hiddenRef.js +18 -0
  104. package/dist/lexicons/types/sh/tangled/repo/hiddenRef.js.map +1 -1
  105. package/dist/lexicons/types/sh/tangled/repo/issue/state.d.ts +4 -0
  106. package/dist/lexicons/types/sh/tangled/repo/issue/state.d.ts.map +1 -1
  107. package/dist/lexicons/types/sh/tangled/repo/issue/state.js +4 -0
  108. package/dist/lexicons/types/sh/tangled/repo/issue/state.js.map +1 -1
  109. package/dist/lexicons/types/sh/tangled/repo/languages.d.ts +34 -0
  110. package/dist/lexicons/types/sh/tangled/repo/languages.d.ts.map +1 -1
  111. package/dist/lexicons/types/sh/tangled/repo/languages.js +34 -0
  112. package/dist/lexicons/types/sh/tangled/repo/languages.js.map +1 -1
  113. package/dist/lexicons/types/sh/tangled/repo/listSecrets.d.ts +4 -0
  114. package/dist/lexicons/types/sh/tangled/repo/listSecrets.d.ts.map +1 -1
  115. package/dist/lexicons/types/sh/tangled/repo/listSecrets.js +4 -0
  116. package/dist/lexicons/types/sh/tangled/repo/listSecrets.js.map +1 -1
  117. package/dist/lexicons/types/sh/tangled/repo/log.d.ts +19 -0
  118. package/dist/lexicons/types/sh/tangled/repo/log.d.ts.map +1 -1
  119. package/dist/lexicons/types/sh/tangled/repo/log.js +19 -0
  120. package/dist/lexicons/types/sh/tangled/repo/log.js.map +1 -1
  121. package/dist/lexicons/types/sh/tangled/repo/merge.d.ts +24 -0
  122. package/dist/lexicons/types/sh/tangled/repo/merge.d.ts.map +1 -1
  123. package/dist/lexicons/types/sh/tangled/repo/merge.js +24 -0
  124. package/dist/lexicons/types/sh/tangled/repo/merge.js.map +1 -1
  125. package/dist/lexicons/types/sh/tangled/repo/mergeCheck.d.ts +30 -0
  126. package/dist/lexicons/types/sh/tangled/repo/mergeCheck.d.ts.map +1 -1
  127. package/dist/lexicons/types/sh/tangled/repo/mergeCheck.js +30 -0
  128. package/dist/lexicons/types/sh/tangled/repo/mergeCheck.js.map +1 -1
  129. package/dist/lexicons/types/sh/tangled/repo/pull/status.d.ts +4 -0
  130. package/dist/lexicons/types/sh/tangled/repo/pull/status.d.ts.map +1 -1
  131. package/dist/lexicons/types/sh/tangled/repo/pull/status.js +4 -0
  132. package/dist/lexicons/types/sh/tangled/repo/pull/status.js.map +1 -1
  133. package/dist/lexicons/types/sh/tangled/repo/pull.d.ts +4 -0
  134. package/dist/lexicons/types/sh/tangled/repo/pull.d.ts.map +1 -1
  135. package/dist/lexicons/types/sh/tangled/repo/pull.js +4 -0
  136. package/dist/lexicons/types/sh/tangled/repo/pull.js.map +1 -1
  137. package/dist/lexicons/types/sh/tangled/repo/removeSecret.d.ts +4 -0
  138. package/dist/lexicons/types/sh/tangled/repo/removeSecret.d.ts.map +1 -1
  139. package/dist/lexicons/types/sh/tangled/repo/removeSecret.js +4 -0
  140. package/dist/lexicons/types/sh/tangled/repo/removeSecret.js.map +1 -1
  141. package/dist/lexicons/types/sh/tangled/repo/tags.d.ts +12 -0
  142. package/dist/lexicons/types/sh/tangled/repo/tags.d.ts.map +1 -1
  143. package/dist/lexicons/types/sh/tangled/repo/tags.js +12 -0
  144. package/dist/lexicons/types/sh/tangled/repo/tags.js.map +1 -1
  145. package/dist/lexicons/types/sh/tangled/repo/tree.d.ts +64 -0
  146. package/dist/lexicons/types/sh/tangled/repo/tree.d.ts.map +1 -1
  147. package/dist/lexicons/types/sh/tangled/repo/tree.js +61 -0
  148. package/dist/lexicons/types/sh/tangled/repo/tree.js.map +1 -1
  149. package/dist/lexicons/types/sh/tangled/repo.d.ts +19 -0
  150. package/dist/lexicons/types/sh/tangled/repo.d.ts.map +1 -1
  151. package/dist/lexicons/types/sh/tangled/repo.js +19 -0
  152. package/dist/lexicons/types/sh/tangled/repo.js.map +1 -1
  153. package/dist/lexicons/types/sh/tangled/spindle/member.d.ts +3 -0
  154. package/dist/lexicons/types/sh/tangled/spindle/member.d.ts.map +1 -1
  155. package/dist/lexicons/types/sh/tangled/spindle/member.js +3 -0
  156. package/dist/lexicons/types/sh/tangled/spindle/member.js.map +1 -1
  157. package/dist/lexicons/types/sh/tangled/string.d.ts +10 -0
  158. package/dist/lexicons/types/sh/tangled/string.d.ts.map +1 -1
  159. package/dist/lexicons/types/sh/tangled/string.js +10 -0
  160. package/dist/lexicons/types/sh/tangled/string.js.map +1 -1
  161. package/lib/lexicons/index.ts +1 -0
  162. package/lib/lexicons/types/sh/tangled/actor/profile.ts +26 -0
  163. package/lib/lexicons/types/sh/tangled/git/refUpdate.ts +27 -0
  164. package/lib/lexicons/types/sh/tangled/knot/listKeys.ts +22 -0
  165. package/lib/lexicons/types/sh/tangled/knot/member.ts +3 -0
  166. package/lib/lexicons/types/sh/tangled/label/definition.ts +26 -0
  167. package/lib/lexicons/types/sh/tangled/label/op.ts +9 -0
  168. package/lib/lexicons/types/sh/tangled/pipeline/status.ts +18 -0
  169. package/lib/lexicons/types/sh/tangled/pipeline.ts +12 -0
  170. package/lib/lexicons/types/sh/tangled/publicKey.ts +10 -0
  171. package/lib/lexicons/types/sh/tangled/repo/addSecret.ts +8 -0
  172. package/lib/lexicons/types/sh/tangled/repo/archive.ts +17 -1
  173. package/lib/lexicons/types/sh/tangled/repo/artifact.ts +19 -0
  174. package/lib/lexicons/types/sh/tangled/repo/blob.ts +55 -0
  175. package/lib/lexicons/types/sh/tangled/repo/branch.ts +33 -0
  176. package/lib/lexicons/types/sh/tangled/repo/branches.ts +12 -0
  177. package/lib/lexicons/types/sh/tangled/repo/collaborator.ts +3 -0
  178. package/lib/lexicons/types/sh/tangled/repo/compare.ts +9 -0
  179. package/lib/lexicons/types/sh/tangled/repo/create.ts +9 -0
  180. package/lib/lexicons/types/sh/tangled/repo/delete.ts +9 -0
  181. package/lib/lexicons/types/sh/tangled/repo/deleteBranch.ts +30 -0
  182. package/lib/lexicons/types/sh/tangled/repo/diff.ts +6 -0
  183. package/lib/lexicons/types/sh/tangled/repo/forkStatus.ts +18 -0
  184. package/lib/lexicons/types/sh/tangled/repo/forkSync.ts +12 -0
  185. package/lib/lexicons/types/sh/tangled/repo/getDefaultBranch.ts +27 -0
  186. package/lib/lexicons/types/sh/tangled/repo/hiddenRef.ts +18 -0
  187. package/lib/lexicons/types/sh/tangled/repo/issue/state.ts +4 -0
  188. package/lib/lexicons/types/sh/tangled/repo/languages.ts +34 -0
  189. package/lib/lexicons/types/sh/tangled/repo/listSecrets.ts +4 -0
  190. package/lib/lexicons/types/sh/tangled/repo/log.ts +19 -0
  191. package/lib/lexicons/types/sh/tangled/repo/merge.ts +24 -0
  192. package/lib/lexicons/types/sh/tangled/repo/mergeCheck.ts +30 -0
  193. package/lib/lexicons/types/sh/tangled/repo/pull/status.ts +4 -0
  194. package/lib/lexicons/types/sh/tangled/repo/pull.ts +4 -0
  195. package/lib/lexicons/types/sh/tangled/repo/removeSecret.ts +4 -0
  196. package/lib/lexicons/types/sh/tangled/repo/tags.ts +12 -0
  197. package/lib/lexicons/types/sh/tangled/repo/tree.ts +64 -0
  198. package/lib/lexicons/types/sh/tangled/repo.ts +19 -0
  199. package/lib/lexicons/types/sh/tangled/spindle/member.ts +3 -0
  200. package/lib/lexicons/types/sh/tangled/string.ts +10 -0
  201. package/package.json +3 -3
@@ -3,11 +3,21 @@ const _mainSchema = /*#__PURE__*/ v.record(
3
3
  /*#__PURE__*/ v.tidString(),
4
4
  /*#__PURE__*/ v.object({
5
5
  $type: /*#__PURE__*/ v.literal('sh.tangled.string'),
6
+ /**
7
+ * @minGraphemes 1
8
+ */
6
9
  contents: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringGraphemes(1)]),
7
10
  createdAt: /*#__PURE__*/ v.datetimeString(),
11
+ /**
12
+ * @maxGraphemes 280
13
+ */
8
14
  description: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
9
15
  /*#__PURE__*/ v.stringGraphemes(0, 280),
10
16
  ]),
17
+ /**
18
+ * @minGraphemes 1
19
+ * @maxGraphemes 140
20
+ */
11
21
  filename: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringGraphemes(1, 140)]),
12
22
  }));
13
23
  export const mainSchema = _mainSchema;
@@ -1 +1 @@
1
- {"version":3,"file":"string.js","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/string.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;AAC3B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;IACnD,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IACnG,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE;QAChE,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC;KACvC,CAAC;IACF,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;CACxG,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
1
+ {"version":3,"file":"string.js","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/string.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;AAC3B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;IACnD;;OAEG;IACH,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;IACnG,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C;;OAEG;IACH,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE;QAChE,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC;KACvC,CAAC;IACF;;;OAGG;IACH,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;CACxG,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -24,6 +24,7 @@ export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator
24
24
  export * as ShTangledRepoCompare from './types/sh/tangled/repo/compare.js';
25
25
  export * as ShTangledRepoCreate from './types/sh/tangled/repo/create.js';
26
26
  export * as ShTangledRepoDelete from './types/sh/tangled/repo/delete.js';
27
+ export * as ShTangledRepoDeleteBranch from './types/sh/tangled/repo/deleteBranch.js';
27
28
  export * as ShTangledRepoDiff from './types/sh/tangled/repo/diff.js';
28
29
  export * as ShTangledRepoForkStatus from './types/sh/tangled/repo/forkStatus.js';
29
30
  export * as ShTangledRepoForkSync from './types/sh/tangled/repo/forkSync.js';
@@ -6,29 +6,55 @@ const _mainSchema = /*#__PURE__*/ v.record(
6
6
  /*#__PURE__*/ v.literal('self'),
7
7
  /*#__PURE__*/ v.object({
8
8
  $type: /*#__PURE__*/ v.literal('sh.tangled.actor.profile'),
9
+ /**
10
+ * Include link to this account on Bluesky.
11
+ */
9
12
  bluesky: /*#__PURE__*/ v.boolean(),
13
+ /**
14
+ * Free-form profile description text.
15
+ * @maxLength 2560
16
+ * @maxGraphemes 256
17
+ */
10
18
  description: /*#__PURE__*/ v.optional(
11
19
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
12
20
  /*#__PURE__*/ v.stringLength(0, 2560),
13
21
  /*#__PURE__*/ v.stringGraphemes(0, 256),
14
22
  ]),
15
23
  ),
24
+ /**
25
+ * @minLength 0
26
+ * @maxLength 5
27
+ */
16
28
  links: /*#__PURE__*/ v.optional(
17
29
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.genericUriString()), [
18
30
  /*#__PURE__*/ v.arrayLength(0, 5),
19
31
  ]),
20
32
  ),
33
+ /**
34
+ * Free-form location text.
35
+ * @maxLength 400
36
+ * @maxGraphemes 40
37
+ */
21
38
  location: /*#__PURE__*/ v.optional(
22
39
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
23
40
  /*#__PURE__*/ v.stringLength(0, 400),
24
41
  /*#__PURE__*/ v.stringGraphemes(0, 40),
25
42
  ]),
26
43
  ),
44
+ /**
45
+ * Any ATURI, it is up to appviews to validate these fields.
46
+ * @minLength 0
47
+ * @maxLength 6
48
+ */
27
49
  pinnedRepositories: /*#__PURE__*/ v.optional(
28
50
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.resourceUriString()), [
29
51
  /*#__PURE__*/ v.arrayLength(0, 6),
30
52
  ]),
31
53
  ),
54
+ /**
55
+ * @minLength 0
56
+ * @maxLength 2
57
+ */
32
58
  stats: /*#__PURE__*/ v.optional(
33
59
  /*#__PURE__*/ v.constrain(
34
60
  /*#__PURE__*/ v.array(
@@ -30,17 +30,41 @@ const _mainSchema = /*#__PURE__*/ v.record(
30
30
  /*#__PURE__*/ v.tidString(),
31
31
  /*#__PURE__*/ v.object({
32
32
  $type: /*#__PURE__*/ v.literal('sh.tangled.git.refUpdate'),
33
+ /**
34
+ * did of the user that pushed this ref
35
+ */
33
36
  committerDid: /*#__PURE__*/ v.didString(),
34
37
  get meta() {
35
38
  return metaSchema;
36
39
  },
40
+ /**
41
+ * new SHA of this ref
42
+ * @minLength 40
43
+ * @maxLength 40
44
+ */
37
45
  newSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
46
+ /**
47
+ * old SHA of this ref
48
+ * @minLength 40
49
+ * @maxLength 40
50
+ */
38
51
  oldSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
52
+ /**
53
+ * Ref being updated
54
+ * @maxLength 2560
55
+ * @maxGraphemes 256
56
+ */
39
57
  ref: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
40
58
  /*#__PURE__*/ v.stringLength(0, 2560),
41
59
  /*#__PURE__*/ v.stringGraphemes(0, 256),
42
60
  ]),
61
+ /**
62
+ * did of the owner of the repo
63
+ */
43
64
  repoDid: /*#__PURE__*/ v.didString(),
65
+ /**
66
+ * name of the repo
67
+ */
44
68
  repoName: /*#__PURE__*/ v.string(),
45
69
  }),
46
70
  );
@@ -49,6 +73,9 @@ const _metaSchema = /*#__PURE__*/ v.object({
49
73
  get commitCount() {
50
74
  return commitCountBreakdownSchema;
51
75
  },
76
+ /**
77
+ * @default false
78
+ */
52
79
  isDefaultRef: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), false),
53
80
  get langBreakdown() {
54
81
  return /*#__PURE__*/ v.optional(langBreakdownSchema);
@@ -4,7 +4,16 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.knot.listKeys', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * Pagination cursor
9
+ */
7
10
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
11
+ /**
12
+ * Maximum number of keys to return
13
+ * @minimum 1
14
+ * @maximum 1000
15
+ * @default 100
16
+ */
8
17
  limit: /*#__PURE__*/ v.optional(
9
18
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
10
19
  100,
@@ -13,6 +22,9 @@ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.knot.listKeys', {
13
22
  output: {
14
23
  type: 'lex',
15
24
  schema: /*#__PURE__*/ v.object({
25
+ /**
26
+ * Pagination cursor for next page
27
+ */
16
28
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
17
29
  get keys() {
18
30
  return /*#__PURE__*/ v.array(publicKeySchema);
@@ -22,8 +34,18 @@ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.knot.listKeys', {
22
34
  });
23
35
  const _publicKeySchema = /*#__PURE__*/ v.object({
24
36
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.knot.listKeys#publicKey')),
37
+ /**
38
+ * Key upload timestamp
39
+ */
25
40
  createdAt: /*#__PURE__*/ v.datetimeString(),
41
+ /**
42
+ * DID associated with the public key
43
+ */
26
44
  did: /*#__PURE__*/ v.didString(),
45
+ /**
46
+ * Public key contents
47
+ * @maxLength 4096
48
+ */
27
49
  key: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 4096)]),
28
50
  });
29
51
 
@@ -7,6 +7,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
7
7
  /*#__PURE__*/ v.object({
8
8
  $type: /*#__PURE__*/ v.literal('sh.tangled.knot.member'),
9
9
  createdAt: /*#__PURE__*/ v.datetimeString(),
10
+ /**
11
+ * domain that this member now belongs to
12
+ */
10
13
  domain: /*#__PURE__*/ v.string(),
11
14
  subject: /*#__PURE__*/ v.didString(),
12
15
  }),
@@ -6,11 +6,28 @@ const _mainSchema = /*#__PURE__*/ v.record(
6
6
  /*#__PURE__*/ v.string(),
7
7
  /*#__PURE__*/ v.object({
8
8
  $type: /*#__PURE__*/ v.literal('sh.tangled.label.definition'),
9
+ /**
10
+ * The hex value for the background color for the label. Appviews may choose to respect this.
11
+ */
9
12
  color: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
10
13
  createdAt: /*#__PURE__*/ v.datetimeString(),
14
+ /**
15
+ * Whether this label can be repeated for a given entity, eg.: [reviewer:foo, reviewer:bar]
16
+ */
11
17
  multiple: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
18
+ /**
19
+ * The display name of this label.
20
+ * @minGraphemes 1
21
+ * @maxGraphemes 40
22
+ */
12
23
  name: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringGraphemes(1, 40)]),
24
+ /**
25
+ * The areas of the repo this label may apply to, eg.: sh.tangled.repo.issue. Appviews may choose to respect this.
26
+ */
13
27
  scope: /*#__PURE__*/ v.array(/*#__PURE__*/ v.nsidString()),
28
+ /**
29
+ * The type definition of this label. Appviews may allow sorting for certain types.
30
+ */
14
31
  get valueType() {
15
32
  return valueTypeSchema;
16
33
  },
@@ -18,8 +35,17 @@ const _mainSchema = /*#__PURE__*/ v.record(
18
35
  );
19
36
  const _valueTypeSchema = /*#__PURE__*/ v.object({
20
37
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.label.definition#valueType')),
38
+ /**
39
+ * Closed set of values that this label can take.
40
+ */
21
41
  enum: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
42
+ /**
43
+ * An optional constraint that can be applied on string concrete types.
44
+ */
22
45
  format: /*#__PURE__*/ v.literalEnum(['any', 'did', 'nsid']),
46
+ /**
47
+ * The concrete type of this label's value.
48
+ */
23
49
  type: /*#__PURE__*/ v.literalEnum(['boolean', 'integer', 'null', 'string']),
24
50
  });
25
51
 
@@ -13,12 +13,21 @@ const _mainSchema = /*#__PURE__*/ v.record(
13
13
  return /*#__PURE__*/ v.array(operandSchema);
14
14
  },
15
15
  performedAt: /*#__PURE__*/ v.datetimeString(),
16
+ /**
17
+ * The subject (task, pull or discussion) of this label. Appviews may apply a `scope` check and refuse this op.
18
+ */
16
19
  subject: /*#__PURE__*/ v.resourceUriString(),
17
20
  }),
18
21
  );
19
22
  const _operandSchema = /*#__PURE__*/ v.object({
20
23
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.label.op#operand')),
24
+ /**
25
+ * ATURI to the label definition
26
+ */
21
27
  key: /*#__PURE__*/ v.resourceUriString(),
28
+ /**
29
+ * Stringified value of the label. This is first unstringed by appviews and then interpreted as a concrete value.
30
+ */
22
31
  value: /*#__PURE__*/ v.string(),
23
32
  });
24
33
 
@@ -6,11 +6,29 @@ const _mainSchema = /*#__PURE__*/ v.record(
6
6
  /*#__PURE__*/ v.tidString(),
7
7
  /*#__PURE__*/ v.object({
8
8
  $type: /*#__PURE__*/ v.literal('sh.tangled.pipeline.status'),
9
+ /**
10
+ * time of creation of this status update
11
+ */
9
12
  createdAt: /*#__PURE__*/ v.datetimeString(),
13
+ /**
14
+ * error message if failed
15
+ */
10
16
  error: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
17
+ /**
18
+ * exit code if failed
19
+ */
11
20
  exitCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
21
+ /**
22
+ * ATURI of the pipeline
23
+ */
12
24
  pipeline: /*#__PURE__*/ v.resourceUriString(),
25
+ /**
26
+ * status of the workflow
27
+ */
13
28
  status: /*#__PURE__*/ v.literalEnum(['cancelled', 'failed', 'pending', 'running', 'success', 'timeout']),
29
+ /**
30
+ * name of the workflow within this pipeline
31
+ */
14
32
  workflow: /*#__PURE__*/ v.resourceUriString(),
15
33
  }),
16
34
  );
@@ -35,12 +35,24 @@ const _pullRequestTriggerDataSchema = /*#__PURE__*/ v.object({
35
35
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#pullRequestTriggerData')),
36
36
  action: /*#__PURE__*/ v.string(),
37
37
  sourceBranch: /*#__PURE__*/ v.string(),
38
+ /**
39
+ * @minLength 40
40
+ * @maxLength 40
41
+ */
38
42
  sourceSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
39
43
  targetBranch: /*#__PURE__*/ v.string(),
40
44
  });
41
45
  const _pushTriggerDataSchema = /*#__PURE__*/ v.object({
42
46
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#pushTriggerData')),
47
+ /**
48
+ * @minLength 40
49
+ * @maxLength 40
50
+ */
43
51
  newSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
52
+ /**
53
+ * @minLength 40
54
+ * @maxLength 40
55
+ */
44
56
  oldSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
45
57
  ref: /*#__PURE__*/ v.string(),
46
58
  });
@@ -6,8 +6,18 @@ const _mainSchema = /*#__PURE__*/ v.record(
6
6
  /*#__PURE__*/ v.tidString(),
7
7
  /*#__PURE__*/ v.object({
8
8
  $type: /*#__PURE__*/ v.literal('sh.tangled.publicKey'),
9
+ /**
10
+ * key upload timestamp
11
+ */
9
12
  createdAt: /*#__PURE__*/ v.datetimeString(),
13
+ /**
14
+ * public key contents
15
+ * @maxLength 4096
16
+ */
10
17
  key: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 4096)]),
18
+ /**
19
+ * human-readable name for this key
20
+ */
11
21
  name: /*#__PURE__*/ v.string(),
12
22
  }),
13
23
  );
@@ -7,8 +7,16 @@ const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.addSecret', {
7
7
  input: {
8
8
  type: 'lex',
9
9
  schema: /*#__PURE__*/ v.object({
10
+ /**
11
+ * @minLength 1
12
+ * @maxLength 50
13
+ */
10
14
  key: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(1, 50)]),
11
15
  repo: /*#__PURE__*/ v.resourceUriString(),
16
+ /**
17
+ * @minLength 1
18
+ * @maxLength 200
19
+ */
12
20
  value: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(1, 200)]),
13
21
  }),
14
22
  },
@@ -4,9 +4,25 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.archive', {
6
6
  params: /*#__PURE__*/ v.object({
7
- format: /*#__PURE__*/ v.literalEnum(['tar', 'tar.bz2', 'tar.gz', 'tar.xz', 'zip']),
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
+ */
8
18
  prefix: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
19
+ /**
20
+ * Git reference (branch, tag, or commit SHA)
21
+ */
9
22
  ref: /*#__PURE__*/ v.string(),
23
+ /**
24
+ * Repository identifier in format 'did:plc:.../repoName'
25
+ */
10
26
  repo: /*#__PURE__*/ v.string(),
11
27
  }),
12
28
  output: {
@@ -6,10 +6,29 @@ const _mainSchema = /*#__PURE__*/ v.record(
6
6
  /*#__PURE__*/ v.tidString(),
7
7
  /*#__PURE__*/ v.object({
8
8
  $type: /*#__PURE__*/ v.literal('sh.tangled.repo.artifact'),
9
+ /**
10
+ * the artifact
11
+ * @accept *\/*
12
+ * @maxSize 52428800
13
+ */
9
14
  artifact: /*#__PURE__*/ v.blob(),
15
+ /**
16
+ * time of creation of this artifact
17
+ */
10
18
  createdAt: /*#__PURE__*/ v.datetimeString(),
19
+ /**
20
+ * name of the artifact
21
+ */
11
22
  name: /*#__PURE__*/ v.string(),
23
+ /**
24
+ * repo that this artifact is being uploaded to
25
+ */
12
26
  repo: /*#__PURE__*/ v.resourceUriString(),
27
+ /**
28
+ * hash of the tag object that this artifact is attached to (only annotated tags are supported)
29
+ * @minLength 20
30
+ * @maxLength 20
31
+ */
13
32
  tag: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(20, 20)]),
14
33
  }),
15
34
  );
@@ -7,38 +7,93 @@ const _lastCommitSchema = /*#__PURE__*/ v.object({
7
7
  get author() {
8
8
  return /*#__PURE__*/ v.optional(signatureSchema);
9
9
  },
10
+ /**
11
+ * Commit hash
12
+ */
10
13
  hash: /*#__PURE__*/ v.string(),
14
+ /**
15
+ * Commit message
16
+ */
11
17
  message: /*#__PURE__*/ v.string(),
18
+ /**
19
+ * Short commit hash
20
+ */
12
21
  shortHash: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
22
+ /**
23
+ * Commit timestamp
24
+ */
13
25
  when: /*#__PURE__*/ v.datetimeString(),
14
26
  });
15
27
  const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.blob', {
16
28
  params: /*#__PURE__*/ v.object({
29
+ /**
30
+ * Path to the file within the repository
31
+ */
17
32
  path: /*#__PURE__*/ v.string(),
33
+ /**
34
+ * Return raw file content instead of JSON response
35
+ * @default false
36
+ */
18
37
  raw: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), false),
38
+ /**
39
+ * Git reference (branch, tag, or commit SHA)
40
+ */
19
41
  ref: /*#__PURE__*/ v.string(),
42
+ /**
43
+ * Repository identifier in format 'did:plc:.../repoName'
44
+ */
20
45
  repo: /*#__PURE__*/ v.string(),
21
46
  }),
22
47
  output: {
23
48
  type: 'lex',
24
49
  schema: /*#__PURE__*/ v.object({
50
+ /**
51
+ * File content (base64 encoded for binary files)
52
+ */
25
53
  content: /*#__PURE__*/ v.string(),
54
+ /**
55
+ * Content encoding
56
+ */
26
57
  encoding: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literalEnum(['base64', 'utf-8'])),
58
+ /**
59
+ * Whether the file is binary
60
+ */
27
61
  isBinary: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
28
62
  get lastCommit() {
29
63
  return /*#__PURE__*/ v.optional(lastCommitSchema);
30
64
  },
65
+ /**
66
+ * MIME type of the file
67
+ */
31
68
  mimeType: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
69
+ /**
70
+ * The file path
71
+ */
32
72
  path: /*#__PURE__*/ v.string(),
73
+ /**
74
+ * The git reference used
75
+ */
33
76
  ref: /*#__PURE__*/ v.string(),
77
+ /**
78
+ * File size in bytes
79
+ */
34
80
  size: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
35
81
  }),
36
82
  },
37
83
  });
38
84
  const _signatureSchema = /*#__PURE__*/ v.object({
39
85
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.blob#signature')),
86
+ /**
87
+ * Author email
88
+ */
40
89
  email: /*#__PURE__*/ v.string(),
90
+ /**
91
+ * Author name
92
+ */
41
93
  name: /*#__PURE__*/ v.string(),
94
+ /**
95
+ * Author timestamp
96
+ */
42
97
  when: /*#__PURE__*/ v.datetimeString(),
43
98
  });
44
99
 
@@ -4,7 +4,13 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.branch', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * Branch name to get information for
9
+ */
7
10
  name: /*#__PURE__*/ v.string(),
11
+ /**
12
+ * Repository identifier in format 'did:plc:.../repoName'
13
+ */
8
14
  repo: /*#__PURE__*/ v.string(),
9
15
  }),
10
16
  output: {
@@ -13,19 +19,46 @@ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.branch', {
13
19
  get author() {
14
20
  return /*#__PURE__*/ v.optional(signatureSchema);
15
21
  },
22
+ /**
23
+ * Latest commit hash on this branch
24
+ */
16
25
  hash: /*#__PURE__*/ v.string(),
26
+ /**
27
+ * Whether this is the default branch
28
+ */
17
29
  isDefault: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
30
+ /**
31
+ * Latest commit message
32
+ */
18
33
  message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
34
+ /**
35
+ * Branch name
36
+ */
19
37
  name: /*#__PURE__*/ v.string(),
38
+ /**
39
+ * Short commit hash
40
+ */
20
41
  shortHash: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
42
+ /**
43
+ * Timestamp of latest commit
44
+ */
21
45
  when: /*#__PURE__*/ v.datetimeString(),
22
46
  }),
23
47
  },
24
48
  });
25
49
  const _signatureSchema = /*#__PURE__*/ v.object({
26
50
  $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.branch#signature')),
51
+ /**
52
+ * Author email
53
+ */
27
54
  email: /*#__PURE__*/ v.string(),
55
+ /**
56
+ * Author name
57
+ */
28
58
  name: /*#__PURE__*/ v.string(),
59
+ /**
60
+ * Author timestamp
61
+ */
29
62
  when: /*#__PURE__*/ v.datetimeString(),
30
63
  });
31
64
 
@@ -4,11 +4,23 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.branches', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * Pagination cursor
9
+ */
7
10
  cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
11
+ /**
12
+ * Maximum number of branches to return
13
+ * @minimum 1
14
+ * @maximum 100
15
+ * @default 50
16
+ */
8
17
  limit: /*#__PURE__*/ v.optional(
9
18
  /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
10
19
  50,
11
20
  ),
21
+ /**
22
+ * Repository identifier in format 'did:plc:.../repoName'
23
+ */
12
24
  repo: /*#__PURE__*/ v.string(),
13
25
  }),
14
26
  output: {
@@ -7,6 +7,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
7
7
  /*#__PURE__*/ v.object({
8
8
  $type: /*#__PURE__*/ v.literal('sh.tangled.repo.collaborator'),
9
9
  createdAt: /*#__PURE__*/ v.datetimeString(),
10
+ /**
11
+ * repo to add this user to
12
+ */
10
13
  repo: /*#__PURE__*/ v.resourceUriString(),
11
14
  subject: /*#__PURE__*/ v.didString(),
12
15
  }),
@@ -4,8 +4,17 @@ import type {} from '@atcute/lexicons/ambient';
4
4
 
5
5
  const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.compare', {
6
6
  params: /*#__PURE__*/ v.object({
7
+ /**
8
+ * Repository identifier in format 'did:plc:.../repoName'
9
+ */
7
10
  repo: /*#__PURE__*/ v.string(),
11
+ /**
12
+ * First revision (commit, branch, or tag)
13
+ */
8
14
  rev1: /*#__PURE__*/ v.string(),
15
+ /**
16
+ * Second revision (commit, branch, or tag)
17
+ */
9
18
  rev2: /*#__PURE__*/ v.string(),
10
19
  }),
11
20
  output: {
@@ -7,8 +7,17 @@ const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.create', {
7
7
  input: {
8
8
  type: 'lex',
9
9
  schema: /*#__PURE__*/ v.object({
10
+ /**
11
+ * Default branch to push to
12
+ */
10
13
  defaultBranch: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
14
+ /**
15
+ * Rkey of the repository record
16
+ */
11
17
  rkey: /*#__PURE__*/ v.string(),
18
+ /**
19
+ * A source URL to clone from, populate this when forking or importing a repository.
20
+ */
12
21
  source: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
13
22
  }),
14
23
  },
@@ -7,8 +7,17 @@ const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.delete', {
7
7
  input: {
8
8
  type: 'lex',
9
9
  schema: /*#__PURE__*/ v.object({
10
+ /**
11
+ * DID of the repository owner
12
+ */
10
13
  did: /*#__PURE__*/ v.didString(),
14
+ /**
15
+ * Name of the repository to delete
16
+ */
11
17
  name: /*#__PURE__*/ v.string(),
18
+ /**
19
+ * Rkey of the repository record
20
+ */
12
21
  rkey: /*#__PURE__*/ v.string(),
13
22
  }),
14
23
  },