@atcute/tangled 1.0.6 → 1.0.8
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 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lexicons/index.d.ts +3 -0
- package/dist/lexicons/index.d.ts.map +1 -0
- package/dist/lexicons/index.js +2 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/actor/profile.d.ts +27 -0
- package/dist/lexicons/types/sh/tangled/actor/profile.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/actor/profile.js +26 -0
- package/dist/lexicons/types/sh/tangled/actor/profile.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/feed/reaction.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/feed/reaction.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/feed/star.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/feed/star.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts +28 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.js +27 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/graph/follow.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/graph/follow.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/knot/listKeys.d.ts +23 -0
- package/dist/lexicons/types/sh/tangled/knot/listKeys.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/knot/listKeys.js +22 -0
- package/dist/lexicons/types/sh/tangled/knot/listKeys.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/knot/member.d.ts +4 -0
- package/dist/lexicons/types/sh/tangled/knot/member.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/knot/member.js +3 -0
- package/dist/lexicons/types/sh/tangled/knot/member.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/knot/version.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/knot/version.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/knot.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/knot.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/label/definition.d.ts +61 -0
- package/dist/lexicons/types/sh/tangled/label/definition.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/label/definition.js +49 -0
- package/dist/lexicons/types/sh/tangled/label/definition.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/label/op.d.ts +41 -0
- package/dist/lexicons/types/sh/tangled/label/op.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/label/op.js +31 -0
- package/dist/lexicons/types/sh/tangled/label/op.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/owner.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/owner.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.js +18 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/pipeline.d.ts +13 -0
- package/dist/lexicons/types/sh/tangled/pipeline.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/pipeline.js +12 -0
- package/dist/lexicons/types/sh/tangled/pipeline.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/publicKey.d.ts +11 -0
- package/dist/lexicons/types/sh/tangled/publicKey.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/publicKey.js +10 -0
- package/dist/lexicons/types/sh/tangled/publicKey.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/addSecret.d.ts +9 -0
- package/dist/lexicons/types/sh/tangled/repo/addSecret.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/addSecret.js +8 -0
- package/dist/lexicons/types/sh/tangled/repo/addSecret.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/archive.d.ts +15 -1
- package/dist/lexicons/types/sh/tangled/repo/archive.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/archive.js +15 -1
- package/dist/lexicons/types/sh/tangled/repo/archive.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts +20 -0
- package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/artifact.js +19 -0
- package/dist/lexicons/types/sh/tangled/repo/artifact.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/blob.d.ts +56 -0
- package/dist/lexicons/types/sh/tangled/repo/blob.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/blob.js +55 -0
- package/dist/lexicons/types/sh/tangled/repo/blob.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/branch.d.ts +34 -0
- package/dist/lexicons/types/sh/tangled/repo/branch.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/branch.js +33 -0
- package/dist/lexicons/types/sh/tangled/repo/branch.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/branches.d.ts +13 -0
- package/dist/lexicons/types/sh/tangled/repo/branches.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/branches.js +12 -0
- package/dist/lexicons/types/sh/tangled/repo/branches.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts +4 -0
- package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/collaborator.js +3 -0
- package/dist/lexicons/types/sh/tangled/repo/collaborator.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/compare.d.ts +10 -0
- package/dist/lexicons/types/sh/tangled/repo/compare.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/compare.js +9 -0
- package/dist/lexicons/types/sh/tangled/repo/compare.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/create.d.ts +10 -0
- package/dist/lexicons/types/sh/tangled/repo/create.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/create.js +9 -0
- package/dist/lexicons/types/sh/tangled/repo/create.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/delete.d.ts +10 -0
- package/dist/lexicons/types/sh/tangled/repo/delete.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/delete.js +9 -0
- package/dist/lexicons/types/sh/tangled/repo/delete.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/diff.d.ts +7 -0
- package/dist/lexicons/types/sh/tangled/repo/diff.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/diff.js +6 -0
- package/dist/lexicons/types/sh/tangled/repo/diff.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/forkStatus.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/repo/forkStatus.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/forkStatus.js +18 -0
- package/dist/lexicons/types/sh/tangled/repo/forkStatus.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/forkSync.d.ts +13 -0
- package/dist/lexicons/types/sh/tangled/repo/forkSync.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/forkSync.js +12 -0
- package/dist/lexicons/types/sh/tangled/repo/forkSync.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.d.ts +28 -0
- package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.js +27 -0
- package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/hiddenRef.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/repo/hiddenRef.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/hiddenRef.js +18 -0
- package/dist/lexicons/types/sh/tangled/repo/hiddenRef.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/issue/comment.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/comment.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/open.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/open.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state.d.ts +5 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/issue.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/languages.d.ts +35 -0
- package/dist/lexicons/types/sh/tangled/repo/languages.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/languages.js +34 -0
- package/dist/lexicons/types/sh/tangled/repo/languages.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.d.ts +5 -0
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/log.d.ts +20 -0
- package/dist/lexicons/types/sh/tangled/repo/log.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/log.js +19 -0
- package/dist/lexicons/types/sh/tangled/repo/log.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/merge.d.ts +25 -0
- package/dist/lexicons/types/sh/tangled/repo/merge.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/merge.js +24 -0
- package/dist/lexicons/types/sh/tangled/repo/merge.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/mergeCheck.d.ts +31 -0
- package/dist/lexicons/types/sh/tangled/repo/mergeCheck.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/mergeCheck.js +30 -0
- package/dist/lexicons/types/sh/tangled/repo/mergeCheck.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull/comment.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/comment.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/open.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/open.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status.d.ts +5 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull.d.ts +5 -0
- package/dist/lexicons/types/sh/tangled/repo/pull.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/pull.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.d.ts +5 -0
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/tags.d.ts +13 -0
- package/dist/lexicons/types/sh/tangled/repo/tags.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/tags.js +12 -0
- package/dist/lexicons/types/sh/tangled/repo/tags.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/tree.d.ts +44 -0
- package/dist/lexicons/types/sh/tangled/repo/tree.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/tree.js +43 -0
- package/dist/lexicons/types/sh/tangled/repo/tree.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo.d.ts +21 -1
- package/dist/lexicons/types/sh/tangled/repo.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo.js +20 -1
- package/dist/lexicons/types/sh/tangled/repo.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/spindle/member.d.ts +4 -0
- package/dist/lexicons/types/sh/tangled/spindle/member.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/spindle/member.js +3 -0
- package/dist/lexicons/types/sh/tangled/spindle/member.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/spindle.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/spindle.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/string.d.ts +11 -0
- package/dist/lexicons/types/sh/tangled/string.d.ts.map +1 -0
- package/dist/lexicons/types/sh/tangled/string.js +10 -0
- package/dist/lexicons/types/sh/tangled/string.js.map +1 -1
- package/lib/lexicons/index.ts +2 -0
- package/lib/lexicons/types/sh/tangled/actor/profile.ts +26 -0
- package/lib/lexicons/types/sh/tangled/git/refUpdate.ts +27 -0
- package/lib/lexicons/types/sh/tangled/knot/listKeys.ts +22 -0
- package/lib/lexicons/types/sh/tangled/knot/member.ts +3 -0
- package/lib/lexicons/types/sh/tangled/label/definition.ts +68 -0
- package/lib/lexicons/types/sh/tangled/label/op.ts +50 -0
- package/lib/lexicons/types/sh/tangled/pipeline/status.ts +18 -0
- package/lib/lexicons/types/sh/tangled/pipeline.ts +12 -0
- package/lib/lexicons/types/sh/tangled/publicKey.ts +10 -0
- package/lib/lexicons/types/sh/tangled/repo/addSecret.ts +8 -0
- package/lib/lexicons/types/sh/tangled/repo/archive.ts +17 -1
- package/lib/lexicons/types/sh/tangled/repo/artifact.ts +19 -0
- package/lib/lexicons/types/sh/tangled/repo/blob.ts +55 -0
- package/lib/lexicons/types/sh/tangled/repo/branch.ts +33 -0
- package/lib/lexicons/types/sh/tangled/repo/branches.ts +12 -0
- package/lib/lexicons/types/sh/tangled/repo/collaborator.ts +3 -0
- package/lib/lexicons/types/sh/tangled/repo/compare.ts +9 -0
- package/lib/lexicons/types/sh/tangled/repo/create.ts +9 -0
- package/lib/lexicons/types/sh/tangled/repo/delete.ts +9 -0
- package/lib/lexicons/types/sh/tangled/repo/diff.ts +6 -0
- package/lib/lexicons/types/sh/tangled/repo/forkStatus.ts +18 -0
- package/lib/lexicons/types/sh/tangled/repo/forkSync.ts +12 -0
- package/lib/lexicons/types/sh/tangled/repo/getDefaultBranch.ts +27 -0
- package/lib/lexicons/types/sh/tangled/repo/hiddenRef.ts +18 -0
- package/lib/lexicons/types/sh/tangled/repo/issue/state.ts +4 -0
- package/lib/lexicons/types/sh/tangled/repo/languages.ts +34 -0
- package/lib/lexicons/types/sh/tangled/repo/listSecrets.ts +4 -0
- package/lib/lexicons/types/sh/tangled/repo/log.ts +19 -0
- package/lib/lexicons/types/sh/tangled/repo/merge.ts +24 -0
- package/lib/lexicons/types/sh/tangled/repo/mergeCheck.ts +30 -0
- package/lib/lexicons/types/sh/tangled/repo/pull/status.ts +4 -0
- package/lib/lexicons/types/sh/tangled/repo/pull.ts +4 -0
- package/lib/lexicons/types/sh/tangled/repo/removeSecret.ts +4 -0
- package/lib/lexicons/types/sh/tangled/repo/tags.ts +12 -0
- package/lib/lexicons/types/sh/tangled/repo/tree.ts +43 -0
- package/lib/lexicons/types/sh/tangled/repo.ts +20 -1
- package/lib/lexicons/types/sh/tangled/spindle/member.ts +3 -0
- package/lib/lexicons/types/sh/tangled/string.ts +10 -0
- package/package.json +4 -4
|
@@ -2,11 +2,30 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
3
|
$type: v.LiteralSchema<"sh.tangled.repo">;
|
|
4
4
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
5
|
+
/**
|
|
6
|
+
* @minGraphemes 1
|
|
7
|
+
* @maxGraphemes 140
|
|
8
|
+
*/
|
|
5
9
|
description: v.OptionalSchema<v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringGraphemesConstraint<1, 140>]>, undefined>;
|
|
10
|
+
/**
|
|
11
|
+
* knot where the repo was created
|
|
12
|
+
*/
|
|
6
13
|
knot: v.StringSchema<string>;
|
|
14
|
+
/**
|
|
15
|
+
* List of labels that this repo subscribes to
|
|
16
|
+
*/
|
|
17
|
+
labels: v.OptionalSchema<v.ArraySchema<v.FormattedStringSchema<"at-uri">>, undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* name of the repo
|
|
20
|
+
*/
|
|
7
21
|
name: v.StringSchema<string>;
|
|
8
|
-
|
|
22
|
+
/**
|
|
23
|
+
* source of the repo
|
|
24
|
+
*/
|
|
9
25
|
source: v.OptionalSchema<v.FormattedStringSchema<"uri">, undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* CI runner to send jobs to and receive results from
|
|
28
|
+
*/
|
|
10
29
|
spindle: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
11
30
|
}>, v.FormattedStringSchema<"tid">>;
|
|
12
31
|
type main$schematype = typeof _mainSchema;
|
|
@@ -21,3 +40,4 @@ declare module '@atcute/lexicons/ambient' {
|
|
|
21
40
|
}
|
|
22
41
|
}
|
|
23
42
|
export {};
|
|
43
|
+
//# sourceMappingURL=repo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/repo.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;;;IAKf;;;OAGG;;IAIH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;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;IACzC,UAAU,OAAO;QAChB,iBAAiB,EAAE,UAAU,CAAC;KAC9B;CACD"}
|
|
@@ -4,12 +4,31 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
4
4
|
/*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.literal('sh.tangled.repo'),
|
|
6
6
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
7
|
+
/**
|
|
8
|
+
* @minGraphemes 1
|
|
9
|
+
* @maxGraphemes 140
|
|
10
|
+
*/
|
|
7
11
|
description: /*#__PURE__*/ v.optional(
|
|
8
12
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringGraphemes(1, 140)])),
|
|
13
|
+
/**
|
|
14
|
+
* knot where the repo was created
|
|
15
|
+
*/
|
|
9
16
|
knot: /*#__PURE__*/ v.string(),
|
|
17
|
+
/**
|
|
18
|
+
* List of labels that this repo subscribes to
|
|
19
|
+
*/
|
|
20
|
+
labels: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.resourceUriString())),
|
|
21
|
+
/**
|
|
22
|
+
* name of the repo
|
|
23
|
+
*/
|
|
10
24
|
name: /*#__PURE__*/ v.string(),
|
|
11
|
-
|
|
25
|
+
/**
|
|
26
|
+
* source of the repo
|
|
27
|
+
*/
|
|
12
28
|
source: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
29
|
+
/**
|
|
30
|
+
* CI runner to send jobs to and receive results from
|
|
31
|
+
*/
|
|
13
32
|
spindle: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
33
|
}));
|
|
15
34
|
export const mainSchema = _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repo.js","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/repo.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,iBAAiB,CAAC;IACjD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACpC,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,CAC9F;IACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,
|
|
1
|
+
{"version":3,"file":"repo.js","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/repo.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,iBAAiB,CAAC;IACjD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C;;;OAGG;IACH,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACpC,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,CAC9F;IACD;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC5F;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACpE;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3D,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -2,6 +2,9 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
3
|
$type: v.LiteralSchema<"sh.tangled.spindle.member">;
|
|
4
4
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
5
|
+
/**
|
|
6
|
+
* spindle instance that the subject is now a member of
|
|
7
|
+
*/
|
|
5
8
|
instance: v.StringSchema<string>;
|
|
6
9
|
subject: v.FormattedStringSchema<"did">;
|
|
7
10
|
}>, v.FormattedStringSchema<"tid">>;
|
|
@@ -17,3 +20,4 @@ declare module '@atcute/lexicons/ambient' {
|
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
export {};
|
|
23
|
+
//# sourceMappingURL=member.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"member.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/spindle/member.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,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;IACzC,UAAU,OAAO;QAChB,2BAA2B,EAAE,UAAU,CAAC;KACxC;CACD"}
|
|
@@ -4,6 +4,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
4
4
|
/*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.literal('sh.tangled.spindle.member'),
|
|
6
6
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
7
|
+
/**
|
|
8
|
+
* spindle instance that the subject is now a member of
|
|
9
|
+
*/
|
|
7
10
|
instance: /*#__PURE__*/ v.string(),
|
|
8
11
|
subject: /*#__PURE__*/ v.didString(),
|
|
9
12
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"member.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/spindle/member.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,2BAA2B,CAAC;IAC3D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAClC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;CACpC,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"member.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/spindle/member.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,2BAA2B,CAAC;IAC3D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C;;OAEG;IACH,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAClC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;CACpC,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spindle.d.ts","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/spindle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,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;IACzC,UAAU,OAAO;QAChB,oBAAoB,EAAE,UAAU,CAAC;KACjC;CACD"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
3
|
$type: v.LiteralSchema<"sh.tangled.string">;
|
|
4
|
+
/**
|
|
5
|
+
* @minGraphemes 1
|
|
6
|
+
*/
|
|
4
7
|
contents: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringGraphemesConstraint<1, number>]>;
|
|
5
8
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
9
|
+
/**
|
|
10
|
+
* @maxGraphemes 280
|
|
11
|
+
*/
|
|
6
12
|
description: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringGraphemesConstraint<0, 280>]>;
|
|
13
|
+
/**
|
|
14
|
+
* @minGraphemes 1
|
|
15
|
+
* @maxGraphemes 140
|
|
16
|
+
*/
|
|
7
17
|
filename: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringGraphemesConstraint<1, 140>]>;
|
|
8
18
|
}>, v.FormattedStringSchema<"tid">>;
|
|
9
19
|
type main$schematype = typeof _mainSchema;
|
|
@@ -18,3 +28,4 @@ declare module '@atcute/lexicons/ambient' {
|
|
|
18
28
|
}
|
|
19
29
|
}
|
|
20
30
|
export {};
|
|
31
|
+
//# sourceMappingURL=string.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/string.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,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;IACzC,UAAU,OAAO;QAChB,mBAAmB,EAAE,UAAU,CAAC;KAChC;CACD"}
|
|
@@ -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"}
|
package/lib/lexicons/index.ts
CHANGED
|
@@ -7,6 +7,8 @@ export * as ShTangledKnot from './types/sh/tangled/knot.js';
|
|
|
7
7
|
export * as ShTangledKnotListKeys from './types/sh/tangled/knot/listKeys.js';
|
|
8
8
|
export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js';
|
|
9
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';
|
|
10
12
|
export * as ShTangledOwner from './types/sh/tangled/owner.js';
|
|
11
13
|
export * as ShTangledPipeline from './types/sh/tangled/pipeline.js';
|
|
12
14
|
export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.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
|
}),
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
6
|
+
/*#__PURE__*/ v.string(),
|
|
7
|
+
/*#__PURE__*/ v.object({
|
|
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
|
+
*/
|
|
12
|
+
color: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
14
|
+
/**
|
|
15
|
+
* Whether this label can be repeated for a given entity, eg.: [reviewer:foo, reviewer:bar]
|
|
16
|
+
*/
|
|
17
|
+
multiple: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
18
|
+
/**
|
|
19
|
+
* The display name of this label.
|
|
20
|
+
* @minGraphemes 1
|
|
21
|
+
* @maxGraphemes 40
|
|
22
|
+
*/
|
|
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
|
+
*/
|
|
27
|
+
scope: /*#__PURE__*/ v.array(/*#__PURE__*/ v.nsidString()),
|
|
28
|
+
/**
|
|
29
|
+
* The type definition of this label. Appviews may allow sorting for certain types.
|
|
30
|
+
*/
|
|
31
|
+
get valueType() {
|
|
32
|
+
return valueTypeSchema;
|
|
33
|
+
},
|
|
34
|
+
}),
|
|
35
|
+
);
|
|
36
|
+
const _valueTypeSchema = /*#__PURE__*/ v.object({
|
|
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
|
+
*/
|
|
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
|
+
*/
|
|
45
|
+
format: /*#__PURE__*/ v.literalEnum(['any', 'did', 'nsid']),
|
|
46
|
+
/**
|
|
47
|
+
* The concrete type of this label's value.
|
|
48
|
+
*/
|
|
49
|
+
type: /*#__PURE__*/ v.literalEnum(['boolean', 'integer', 'null', 'string']),
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
type main$schematype = typeof _mainSchema;
|
|
53
|
+
type valueType$schematype = typeof _valueTypeSchema;
|
|
54
|
+
|
|
55
|
+
export interface mainSchema extends main$schematype {}
|
|
56
|
+
export interface valueTypeSchema extends valueType$schematype {}
|
|
57
|
+
|
|
58
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
59
|
+
export const valueTypeSchema = _valueTypeSchema as valueTypeSchema;
|
|
60
|
+
|
|
61
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
62
|
+
export interface ValueType extends v.InferInput<typeof valueTypeSchema> {}
|
|
63
|
+
|
|
64
|
+
declare module '@atcute/lexicons/ambient' {
|
|
65
|
+
interface Records {
|
|
66
|
+
'sh.tangled.label.definition': mainSchema;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
6
|
+
/*#__PURE__*/ v.tidString(),
|
|
7
|
+
/*#__PURE__*/ v.object({
|
|
8
|
+
$type: /*#__PURE__*/ v.literal('sh.tangled.label.op'),
|
|
9
|
+
get add() {
|
|
10
|
+
return /*#__PURE__*/ v.array(operandSchema);
|
|
11
|
+
},
|
|
12
|
+
get delete() {
|
|
13
|
+
return /*#__PURE__*/ v.array(operandSchema);
|
|
14
|
+
},
|
|
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
|
+
*/
|
|
19
|
+
subject: /*#__PURE__*/ v.resourceUriString(),
|
|
20
|
+
}),
|
|
21
|
+
);
|
|
22
|
+
const _operandSchema = /*#__PURE__*/ v.object({
|
|
23
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.label.op#operand')),
|
|
24
|
+
/**
|
|
25
|
+
* ATURI to the label definition
|
|
26
|
+
*/
|
|
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
|
+
*/
|
|
31
|
+
value: /*#__PURE__*/ v.string(),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
type main$schematype = typeof _mainSchema;
|
|
35
|
+
type operand$schematype = typeof _operandSchema;
|
|
36
|
+
|
|
37
|
+
export interface mainSchema extends main$schematype {}
|
|
38
|
+
export interface operandSchema extends operand$schematype {}
|
|
39
|
+
|
|
40
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
41
|
+
export const operandSchema = _operandSchema as operandSchema;
|
|
42
|
+
|
|
43
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
44
|
+
export interface Operand extends v.InferInput<typeof operandSchema> {}
|
|
45
|
+
|
|
46
|
+
declare module '@atcute/lexicons/ambient' {
|
|
47
|
+
interface Records {
|
|
48
|
+
'sh.tangled.label.op': mainSchema;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -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
|
-
|
|
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
|
);
|