@atcute/tangled 1.0.2 → 1.0.3
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/LICENSE +12 -15
- package/README.md +24 -0
- package/dist/lexicons/index.d.ts +12 -0
- package/dist/lexicons/index.js +12 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/feed/reaction.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/feed/reaction.js +11 -0
- package/dist/lexicons/types/sh/tangled/feed/reaction.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts +77 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.js +58 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.js +14 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/pipeline.d.ts +116 -0
- package/dist/lexicons/types/sh/tangled/pipeline.js +84 -0
- package/dist/lexicons/types/sh/tangled/pipeline.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/addSecret.d.ts +23 -0
- package/dist/lexicons/types/sh/tangled/repo/addSecret.js +15 -0
- package/dist/lexicons/types/sh/tangled/repo/addSecret.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/repo/collaborator.js +11 -0
- package/dist/lexicons/types/sh/tangled/repo/collaborator.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.d.ts +36 -0
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.js +24 -0
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull.js +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.js +14 -0
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.js +14 -0
- package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo.js +1 -0
- package/dist/lexicons/types/sh/tangled/repo.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/spindle/member.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/spindle/member.js +11 -0
- package/dist/lexicons/types/sh/tangled/spindle/member.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/spindle.d.ts +17 -0
- package/dist/lexicons/types/sh/tangled/spindle.js +9 -0
- package/dist/lexicons/types/sh/tangled/spindle.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/string.d.ts +20 -0
- package/dist/lexicons/types/sh/tangled/string.js +14 -0
- package/dist/lexicons/types/sh/tangled/string.js.map +1 -0
- package/lib/lexicons/index.ts +12 -0
- package/lib/lexicons/types/sh/tangled/feed/reaction.ts +27 -0
- package/lib/lexicons/types/sh/tangled/git/refUpdate.ts +91 -0
- package/lib/lexicons/types/sh/tangled/pipeline/status.ts +30 -0
- package/lib/lexicons/types/sh/tangled/pipeline.ts +124 -0
- package/lib/lexicons/types/sh/tangled/repo/addSecret.ts +31 -0
- package/lib/lexicons/types/sh/tangled/repo/collaborator.ts +27 -0
- package/lib/lexicons/types/sh/tangled/repo/listSecrets.ts +44 -0
- package/lib/lexicons/types/sh/tangled/repo/pull.ts +1 -0
- package/lib/lexicons/types/sh/tangled/repo/removeSecret.ts +30 -0
- package/lib/lexicons/types/sh/tangled/repo/setDefaultBranch.ts +30 -0
- package/lib/lexicons/types/sh/tangled/repo.ts +1 -0
- package/lib/lexicons/types/sh/tangled/spindle/member.ts +27 -0
- package/lib/lexicons/types/sh/tangled/spindle.ts +25 -0
- package/lib/lexicons/types/sh/tangled/string.ts +30 -0
- package/package.json +6 -6
package/LICENSE
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
3
|
-
in the Software without restriction, including without limitation the rights
|
|
4
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
5
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
6
|
-
furnished to do so, subject to the following conditions:
|
|
1
|
+
BSD Zero Clause License
|
|
7
2
|
|
|
8
|
-
|
|
9
|
-
copies or substantial portions of the Software.
|
|
3
|
+
Copyright (c) 2025 Mary
|
|
10
4
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
+
PERFORMANCE OF THIS SOFTWARE.
|
package/README.md
CHANGED
|
@@ -45,3 +45,27 @@ import type {} from '@atcute/tangled';
|
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
now all the XRPC operations should be visible in the client
|
|
48
|
+
|
|
49
|
+
## with `@atcute/lex-cli`
|
|
50
|
+
|
|
51
|
+
when building your own lexicons that reference Tangled types, configure lex-cli to import from this
|
|
52
|
+
package:
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
// file: lex.config.js
|
|
56
|
+
import { defineLexiconConfig } from '@atcute/lex-cli';
|
|
57
|
+
|
|
58
|
+
export default defineLexiconConfig({
|
|
59
|
+
files: ['lexicons/**/*.json'],
|
|
60
|
+
outdir: 'src/lexicons/',
|
|
61
|
+
mappings: [
|
|
62
|
+
{
|
|
63
|
+
nsid: ['sh.tangled.*'],
|
|
64
|
+
imports: (nsid) => {
|
|
65
|
+
const specifier = nsid.slice('sh.tangled.'.length).replaceAll('.', '/');
|
|
66
|
+
return { type: 'namespace', from: `@atcute/tangled/types/${specifier}` };
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
});
|
|
71
|
+
```
|
package/dist/lexicons/index.d.ts
CHANGED
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
export * as ShTangledActorProfile from './types/sh/tangled/actor/profile.js';
|
|
2
|
+
export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.js';
|
|
2
3
|
export * as ShTangledFeedStar from './types/sh/tangled/feed/star.js';
|
|
4
|
+
export * as ShTangledGitRefUpdate from './types/sh/tangled/git/refUpdate.js';
|
|
3
5
|
export * as ShTangledGraphFollow from './types/sh/tangled/graph/follow.js';
|
|
4
6
|
export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js';
|
|
7
|
+
export * as ShTangledPipeline from './types/sh/tangled/pipeline.js';
|
|
8
|
+
export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.js';
|
|
5
9
|
export * as ShTangledPublicKey from './types/sh/tangled/publicKey.js';
|
|
6
10
|
export * as ShTangledRepo from './types/sh/tangled/repo.js';
|
|
11
|
+
export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.js';
|
|
7
12
|
export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.js';
|
|
13
|
+
export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.js';
|
|
8
14
|
export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.js';
|
|
9
15
|
export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.js';
|
|
10
16
|
export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.js';
|
|
11
17
|
export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.js';
|
|
12
18
|
export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.js';
|
|
19
|
+
export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.js';
|
|
13
20
|
export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.js';
|
|
14
21
|
export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.js';
|
|
15
22
|
export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.js';
|
|
16
23
|
export * as ShTangledRepoPullStatusClosed from './types/sh/tangled/repo/pull/status/closed.js';
|
|
17
24
|
export * as ShTangledRepoPullStatusMerged from './types/sh/tangled/repo/pull/status/merged.js';
|
|
18
25
|
export * as ShTangledRepoPullStatusOpen from './types/sh/tangled/repo/pull/status/open.js';
|
|
26
|
+
export * as ShTangledRepoRemoveSecret from './types/sh/tangled/repo/removeSecret.js';
|
|
27
|
+
export * as ShTangledRepoSetDefaultBranch from './types/sh/tangled/repo/setDefaultBranch.js';
|
|
28
|
+
export * as ShTangledSpindle from './types/sh/tangled/spindle.js';
|
|
29
|
+
export * as ShTangledSpindleMember from './types/sh/tangled/spindle/member.js';
|
|
30
|
+
export * as ShTangledString from './types/sh/tangled/string.js';
|
package/dist/lexicons/index.js
CHANGED
|
@@ -1,19 +1,31 @@
|
|
|
1
1
|
export * as ShTangledActorProfile from './types/sh/tangled/actor/profile.js';
|
|
2
|
+
export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.js';
|
|
2
3
|
export * as ShTangledFeedStar from './types/sh/tangled/feed/star.js';
|
|
4
|
+
export * as ShTangledGitRefUpdate from './types/sh/tangled/git/refUpdate.js';
|
|
3
5
|
export * as ShTangledGraphFollow from './types/sh/tangled/graph/follow.js';
|
|
4
6
|
export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js';
|
|
7
|
+
export * as ShTangledPipeline from './types/sh/tangled/pipeline.js';
|
|
8
|
+
export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.js';
|
|
5
9
|
export * as ShTangledPublicKey from './types/sh/tangled/publicKey.js';
|
|
6
10
|
export * as ShTangledRepo from './types/sh/tangled/repo.js';
|
|
11
|
+
export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.js';
|
|
7
12
|
export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.js';
|
|
13
|
+
export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.js';
|
|
8
14
|
export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.js';
|
|
9
15
|
export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.js';
|
|
10
16
|
export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.js';
|
|
11
17
|
export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.js';
|
|
12
18
|
export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.js';
|
|
19
|
+
export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.js';
|
|
13
20
|
export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.js';
|
|
14
21
|
export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.js';
|
|
15
22
|
export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.js';
|
|
16
23
|
export * as ShTangledRepoPullStatusClosed from './types/sh/tangled/repo/pull/status/closed.js';
|
|
17
24
|
export * as ShTangledRepoPullStatusMerged from './types/sh/tangled/repo/pull/status/merged.js';
|
|
18
25
|
export * as ShTangledRepoPullStatusOpen from './types/sh/tangled/repo/pull/status/open.js';
|
|
26
|
+
export * as ShTangledRepoRemoveSecret from './types/sh/tangled/repo/removeSecret.js';
|
|
27
|
+
export * as ShTangledRepoSetDefaultBranch from './types/sh/tangled/repo/setDefaultBranch.js';
|
|
28
|
+
export * as ShTangledSpindle from './types/sh/tangled/spindle.js';
|
|
29
|
+
export * as ShTangledSpindleMember from './types/sh/tangled/spindle/member.js';
|
|
30
|
+
export * as ShTangledString from './types/sh/tangled/string.js';
|
|
19
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/lexicons/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,iBAAiB,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,mBAAmB,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,kBAAkB,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,aAAa,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,kBAAkB,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,yBAAyB,MAAM,0CAA0C,CAAC;AACtF,OAAO,KAAK,uBAAuB,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,6BAA6B,MAAM,+CAA+C,CAAC;AAC/F,OAAO,KAAK,2BAA2B,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,iBAAiB,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,wBAAwB,MAAM,yCAAyC,CAAC;AACpF,OAAO,KAAK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yCAAyC,CAAC;AACpF,OAAO,KAAK,uBAAuB,MAAM,wCAAwC,CAAC;AAClF,OAAO,KAAK,6BAA6B,MAAM,+CAA+C,CAAC;AAC/F,OAAO,KAAK,6BAA6B,MAAM,+CAA+C,CAAC;AAC/F,OAAO,KAAK,2BAA2B,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,yBAAyB,MAAM,yCAAyC,CAAC;AACrF,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,eAAe,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
|
+
$type: v.LiteralSchema<"sh.tangled.feed.reaction">;
|
|
4
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
5
|
+
reaction: v.LiteralEnumSchema<readonly ["❤️", "🎉", "👀", "👍", "👎", "😆", "🚀", "🫤"]>;
|
|
6
|
+
subject: v.FormattedStringSchema<"at-uri">;
|
|
7
|
+
}>, v.FormattedStringSchema<"tid">>;
|
|
8
|
+
type main$schematype = typeof _mainSchema;
|
|
9
|
+
export interface mainSchema extends main$schematype {
|
|
10
|
+
}
|
|
11
|
+
export declare const mainSchema: mainSchema;
|
|
12
|
+
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
13
|
+
}
|
|
14
|
+
declare module '@atcute/lexicons/ambient' {
|
|
15
|
+
interface Records {
|
|
16
|
+
'sh.tangled.feed.reaction': mainSchema;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
3
|
+
/*#__PURE__*/ v.tidString(),
|
|
4
|
+
/*#__PURE__*/ v.object({
|
|
5
|
+
$type: /*#__PURE__*/ v.literal('sh.tangled.feed.reaction'),
|
|
6
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
7
|
+
reaction: /*#__PURE__*/ v.literalEnum(['❤️', '🎉', '👀', '👍', '👎', '😆', '🚀', '🫤']),
|
|
8
|
+
subject: /*#__PURE__*/ v.resourceUriString(),
|
|
9
|
+
}));
|
|
10
|
+
export const mainSchema = _mainSchema;
|
|
11
|
+
//# sourceMappingURL=reaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reaction.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/feed/reaction.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,0BAA0B,CAAC;IAC1D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACvF,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;CAC5C,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _commitCountBreakdownSchema: v.ObjectSchema<{
|
|
3
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.git.refUpdate#commitCountBreakdown">, undefined>;
|
|
4
|
+
readonly byEmail: v.OptionalSchema<v.ArraySchema<individualEmailCommitCountSchema>, undefined>;
|
|
5
|
+
}>;
|
|
6
|
+
declare const _individualEmailCommitCountSchema: v.ObjectSchema<{
|
|
7
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.git.refUpdate#individualEmailCommitCount">, undefined>;
|
|
8
|
+
count: v.IntegerSchema;
|
|
9
|
+
email: v.StringSchema<string>;
|
|
10
|
+
}>;
|
|
11
|
+
declare const _individualLanguageSizeSchema: v.ObjectSchema<{
|
|
12
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.git.refUpdate#individualLanguageSize">, undefined>;
|
|
13
|
+
lang: v.StringSchema<string>;
|
|
14
|
+
size: v.IntegerSchema;
|
|
15
|
+
}>;
|
|
16
|
+
declare const _langBreakdownSchema: v.ObjectSchema<{
|
|
17
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.git.refUpdate#langBreakdown">, undefined>;
|
|
18
|
+
readonly inputs: v.OptionalSchema<v.ArraySchema<individualLanguageSizeSchema>, undefined>;
|
|
19
|
+
}>;
|
|
20
|
+
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
21
|
+
$type: v.LiteralSchema<"sh.tangled.git.refUpdate">;
|
|
22
|
+
committerDid: v.FormattedStringSchema<"did">;
|
|
23
|
+
readonly meta: metaSchema;
|
|
24
|
+
newSha: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<40, 40>]>;
|
|
25
|
+
oldSha: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<40, 40>]>;
|
|
26
|
+
ref: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<0, 2560>, v.StringGraphemesConstraint<0, 256>]>;
|
|
27
|
+
repoDid: v.FormattedStringSchema<"did">;
|
|
28
|
+
repoName: v.StringSchema<string>;
|
|
29
|
+
}>, v.FormattedStringSchema<"tid">>;
|
|
30
|
+
declare const _metaSchema: v.ObjectSchema<{
|
|
31
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.git.refUpdate#meta">, undefined>;
|
|
32
|
+
readonly commitCount: commitCountBreakdownSchema;
|
|
33
|
+
isDefaultRef: v.OptionalSchema<v.BooleanSchema, false>;
|
|
34
|
+
readonly langBreakdown: v.OptionalSchema<langBreakdownSchema, undefined>;
|
|
35
|
+
}>;
|
|
36
|
+
type commitCountBreakdown$schematype = typeof _commitCountBreakdownSchema;
|
|
37
|
+
type individualEmailCommitCount$schematype = typeof _individualEmailCommitCountSchema;
|
|
38
|
+
type individualLanguageSize$schematype = typeof _individualLanguageSizeSchema;
|
|
39
|
+
type langBreakdown$schematype = typeof _langBreakdownSchema;
|
|
40
|
+
type main$schematype = typeof _mainSchema;
|
|
41
|
+
type meta$schematype = typeof _metaSchema;
|
|
42
|
+
export interface commitCountBreakdownSchema extends commitCountBreakdown$schematype {
|
|
43
|
+
}
|
|
44
|
+
export interface individualEmailCommitCountSchema extends individualEmailCommitCount$schematype {
|
|
45
|
+
}
|
|
46
|
+
export interface individualLanguageSizeSchema extends individualLanguageSize$schematype {
|
|
47
|
+
}
|
|
48
|
+
export interface langBreakdownSchema extends langBreakdown$schematype {
|
|
49
|
+
}
|
|
50
|
+
export interface mainSchema extends main$schematype {
|
|
51
|
+
}
|
|
52
|
+
export interface metaSchema extends meta$schematype {
|
|
53
|
+
}
|
|
54
|
+
export declare const commitCountBreakdownSchema: commitCountBreakdownSchema;
|
|
55
|
+
export declare const individualEmailCommitCountSchema: individualEmailCommitCountSchema;
|
|
56
|
+
export declare const individualLanguageSizeSchema: individualLanguageSizeSchema;
|
|
57
|
+
export declare const langBreakdownSchema: langBreakdownSchema;
|
|
58
|
+
export declare const mainSchema: mainSchema;
|
|
59
|
+
export declare const metaSchema: metaSchema;
|
|
60
|
+
export interface CommitCountBreakdown extends v.InferInput<typeof commitCountBreakdownSchema> {
|
|
61
|
+
}
|
|
62
|
+
export interface IndividualEmailCommitCount extends v.InferInput<typeof individualEmailCommitCountSchema> {
|
|
63
|
+
}
|
|
64
|
+
export interface IndividualLanguageSize extends v.InferInput<typeof individualLanguageSizeSchema> {
|
|
65
|
+
}
|
|
66
|
+
export interface LangBreakdown extends v.InferInput<typeof langBreakdownSchema> {
|
|
67
|
+
}
|
|
68
|
+
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
69
|
+
}
|
|
70
|
+
export interface Meta extends v.InferInput<typeof metaSchema> {
|
|
71
|
+
}
|
|
72
|
+
declare module '@atcute/lexicons/ambient' {
|
|
73
|
+
interface Records {
|
|
74
|
+
'sh.tangled.git.refUpdate': mainSchema;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _commitCountBreakdownSchema = /*#__PURE__*/ v.object({
|
|
3
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.refUpdate#commitCountBreakdown')),
|
|
4
|
+
get byEmail() {
|
|
5
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(individualEmailCommitCountSchema));
|
|
6
|
+
},
|
|
7
|
+
});
|
|
8
|
+
const _individualEmailCommitCountSchema = /*#__PURE__*/ v.object({
|
|
9
|
+
$type: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.literal('sh.tangled.git.refUpdate#individualEmailCommitCount')),
|
|
11
|
+
count: /*#__PURE__*/ v.integer(),
|
|
12
|
+
email: /*#__PURE__*/ v.string(),
|
|
13
|
+
});
|
|
14
|
+
const _individualLanguageSizeSchema = /*#__PURE__*/ v.object({
|
|
15
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.refUpdate#individualLanguageSize')),
|
|
16
|
+
lang: /*#__PURE__*/ v.string(),
|
|
17
|
+
size: /*#__PURE__*/ v.integer(),
|
|
18
|
+
});
|
|
19
|
+
const _langBreakdownSchema = /*#__PURE__*/ v.object({
|
|
20
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.refUpdate#langBreakdown')),
|
|
21
|
+
get inputs() {
|
|
22
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(individualLanguageSizeSchema));
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
26
|
+
/*#__PURE__*/ v.tidString(),
|
|
27
|
+
/*#__PURE__*/ v.object({
|
|
28
|
+
$type: /*#__PURE__*/ v.literal('sh.tangled.git.refUpdate'),
|
|
29
|
+
committerDid: /*#__PURE__*/ v.didString(),
|
|
30
|
+
get meta() {
|
|
31
|
+
return metaSchema;
|
|
32
|
+
},
|
|
33
|
+
newSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
|
|
34
|
+
oldSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
|
|
35
|
+
ref: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
36
|
+
/*#__PURE__*/ v.stringLength(0, 2560),
|
|
37
|
+
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
38
|
+
]),
|
|
39
|
+
repoDid: /*#__PURE__*/ v.didString(),
|
|
40
|
+
repoName: /*#__PURE__*/ v.string(),
|
|
41
|
+
}));
|
|
42
|
+
const _metaSchema = /*#__PURE__*/ v.object({
|
|
43
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.git.refUpdate#meta')),
|
|
44
|
+
get commitCount() {
|
|
45
|
+
return commitCountBreakdownSchema;
|
|
46
|
+
},
|
|
47
|
+
isDefaultRef: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), false),
|
|
48
|
+
get langBreakdown() {
|
|
49
|
+
return /*#__PURE__*/ v.optional(langBreakdownSchema);
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
export const commitCountBreakdownSchema = _commitCountBreakdownSchema;
|
|
53
|
+
export const individualEmailCommitCountSchema = _individualEmailCommitCountSchema;
|
|
54
|
+
export const individualLanguageSizeSchema = _individualLanguageSizeSchema;
|
|
55
|
+
export const langBreakdownSchema = _langBreakdownSchema;
|
|
56
|
+
export const mainSchema = _mainSchema;
|
|
57
|
+
export const metaSchema = _metaSchema;
|
|
58
|
+
//# sourceMappingURL=refUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refUpdate.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/git/refUpdate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,2BAA2B,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,+CAA+C,CAAC,CAAC;IACzG,IAAI,OAAO;QACV,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC,CAAC;IAC1F,CAAC;CACD,CAAC,CAAC;AACH,MAAM,iCAAiC,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAChE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,qDAAqD,CAAC,CAC9E;IACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAChC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;CAC/B,CAAC,CAAC;AACH,MAAM,6BAA6B,GAAG,aAAa,CAAC,CA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
|
2
|
+
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
|
+
$type: v.LiteralSchema<"sh.tangled.pipeline.status">;
|
|
4
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
5
|
+
error: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
6
|
+
exitCode: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
7
|
+
pipeline: v.FormattedStringSchema<"at-uri">;
|
|
8
|
+
status: v.LiteralEnumSchema<readonly ["cancelled", "failed", "pending", "running", "success", "timeout"]>;
|
|
9
|
+
workflow: v.FormattedStringSchema<"at-uri">;
|
|
10
|
+
}>, v.FormattedStringSchema<"tid">>;
|
|
11
|
+
type main$schematype = typeof _mainSchema;
|
|
12
|
+
export interface mainSchema extends main$schematype {
|
|
13
|
+
}
|
|
14
|
+
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
16
|
+
}
|
|
17
|
+
declare module '@atcute/lexicons/ambient' {
|
|
18
|
+
interface Records {
|
|
19
|
+
'sh.tangled.pipeline.status': mainSchema;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
3
|
+
/*#__PURE__*/ v.tidString(),
|
|
4
|
+
/*#__PURE__*/ v.object({
|
|
5
|
+
$type: /*#__PURE__*/ v.literal('sh.tangled.pipeline.status'),
|
|
6
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
7
|
+
error: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
|
+
exitCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
9
|
+
pipeline: /*#__PURE__*/ v.resourceUriString(),
|
|
10
|
+
status: /*#__PURE__*/ v.literalEnum(['cancelled', 'failed', 'pending', 'running', 'success', 'timeout']),
|
|
11
|
+
workflow: /*#__PURE__*/ v.resourceUriString(),
|
|
12
|
+
}));
|
|
13
|
+
export const mainSchema = _mainSchema;
|
|
14
|
+
//# sourceMappingURL=status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/pipeline/status.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,4BAA4B,CAAC;IAC5D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzD,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC7D,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IAC7C,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IACxG,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;CAC7C,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _cloneOptsSchema: v.ObjectSchema<{
|
|
3
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.pipeline#cloneOpts">, undefined>;
|
|
4
|
+
depth: v.IntegerSchema;
|
|
5
|
+
skip: v.BooleanSchema;
|
|
6
|
+
submodules: v.BooleanSchema;
|
|
7
|
+
}>;
|
|
8
|
+
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
9
|
+
$type: v.LiteralSchema<"sh.tangled.pipeline">;
|
|
10
|
+
readonly triggerMetadata: triggerMetadataSchema;
|
|
11
|
+
readonly workflows: v.ArraySchema<workflowSchema>;
|
|
12
|
+
}>, v.FormattedStringSchema<"tid">>;
|
|
13
|
+
declare const _manualTriggerDataSchema: v.ObjectSchema<{
|
|
14
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.pipeline#manualTriggerData">, undefined>;
|
|
15
|
+
readonly inputs: v.OptionalSchema<v.ArraySchema<pairSchema>, undefined>;
|
|
16
|
+
}>;
|
|
17
|
+
declare const _pairSchema: v.ObjectSchema<{
|
|
18
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.pipeline#pair">, undefined>;
|
|
19
|
+
key: v.StringSchema<string>;
|
|
20
|
+
value: v.StringSchema<string>;
|
|
21
|
+
}>;
|
|
22
|
+
declare const _pullRequestTriggerDataSchema: v.ObjectSchema<{
|
|
23
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.pipeline#pullRequestTriggerData">, undefined>;
|
|
24
|
+
action: v.StringSchema<string>;
|
|
25
|
+
sourceBranch: v.StringSchema<string>;
|
|
26
|
+
sourceSha: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<40, 40>]>;
|
|
27
|
+
targetBranch: v.StringSchema<string>;
|
|
28
|
+
}>;
|
|
29
|
+
declare const _pushTriggerDataSchema: v.ObjectSchema<{
|
|
30
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.pipeline#pushTriggerData">, undefined>;
|
|
31
|
+
newSha: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<40, 40>]>;
|
|
32
|
+
oldSha: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<40, 40>]>;
|
|
33
|
+
ref: v.StringSchema<string>;
|
|
34
|
+
}>;
|
|
35
|
+
declare const _triggerMetadataSchema: v.ObjectSchema<{
|
|
36
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.pipeline#triggerMetadata">, undefined>;
|
|
37
|
+
kind: v.LiteralEnumSchema<readonly ["manual", "pull_request", "push"]>;
|
|
38
|
+
readonly manual: v.OptionalSchema<manualTriggerDataSchema, undefined>;
|
|
39
|
+
readonly pullRequest: v.OptionalSchema<pullRequestTriggerDataSchema, undefined>;
|
|
40
|
+
readonly push: v.OptionalSchema<pushTriggerDataSchema, undefined>;
|
|
41
|
+
readonly repo: triggerRepoSchema;
|
|
42
|
+
}>;
|
|
43
|
+
declare const _triggerRepoSchema: v.ObjectSchema<{
|
|
44
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.pipeline#triggerRepo">, undefined>;
|
|
45
|
+
defaultBranch: v.StringSchema<string>;
|
|
46
|
+
did: v.FormattedStringSchema<"did">;
|
|
47
|
+
knot: v.StringSchema<string>;
|
|
48
|
+
repo: v.StringSchema<string>;
|
|
49
|
+
}>;
|
|
50
|
+
declare const _workflowSchema: v.ObjectSchema<{
|
|
51
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.pipeline#workflow">, undefined>;
|
|
52
|
+
readonly clone: cloneOptsSchema;
|
|
53
|
+
engine: v.StringSchema<string>;
|
|
54
|
+
name: v.StringSchema<string>;
|
|
55
|
+
raw: v.StringSchema<string>;
|
|
56
|
+
}>;
|
|
57
|
+
type cloneOpts$schematype = typeof _cloneOptsSchema;
|
|
58
|
+
type main$schematype = typeof _mainSchema;
|
|
59
|
+
type manualTriggerData$schematype = typeof _manualTriggerDataSchema;
|
|
60
|
+
type pair$schematype = typeof _pairSchema;
|
|
61
|
+
type pullRequestTriggerData$schematype = typeof _pullRequestTriggerDataSchema;
|
|
62
|
+
type pushTriggerData$schematype = typeof _pushTriggerDataSchema;
|
|
63
|
+
type triggerMetadata$schematype = typeof _triggerMetadataSchema;
|
|
64
|
+
type triggerRepo$schematype = typeof _triggerRepoSchema;
|
|
65
|
+
type workflow$schematype = typeof _workflowSchema;
|
|
66
|
+
export interface cloneOptsSchema extends cloneOpts$schematype {
|
|
67
|
+
}
|
|
68
|
+
export interface mainSchema extends main$schematype {
|
|
69
|
+
}
|
|
70
|
+
export interface manualTriggerDataSchema extends manualTriggerData$schematype {
|
|
71
|
+
}
|
|
72
|
+
export interface pairSchema extends pair$schematype {
|
|
73
|
+
}
|
|
74
|
+
export interface pullRequestTriggerDataSchema extends pullRequestTriggerData$schematype {
|
|
75
|
+
}
|
|
76
|
+
export interface pushTriggerDataSchema extends pushTriggerData$schematype {
|
|
77
|
+
}
|
|
78
|
+
export interface triggerMetadataSchema extends triggerMetadata$schematype {
|
|
79
|
+
}
|
|
80
|
+
export interface triggerRepoSchema extends triggerRepo$schematype {
|
|
81
|
+
}
|
|
82
|
+
export interface workflowSchema extends workflow$schematype {
|
|
83
|
+
}
|
|
84
|
+
export declare const cloneOptsSchema: cloneOptsSchema;
|
|
85
|
+
export declare const mainSchema: mainSchema;
|
|
86
|
+
export declare const manualTriggerDataSchema: manualTriggerDataSchema;
|
|
87
|
+
export declare const pairSchema: pairSchema;
|
|
88
|
+
export declare const pullRequestTriggerDataSchema: pullRequestTriggerDataSchema;
|
|
89
|
+
export declare const pushTriggerDataSchema: pushTriggerDataSchema;
|
|
90
|
+
export declare const triggerMetadataSchema: triggerMetadataSchema;
|
|
91
|
+
export declare const triggerRepoSchema: triggerRepoSchema;
|
|
92
|
+
export declare const workflowSchema: workflowSchema;
|
|
93
|
+
export interface CloneOpts extends v.InferInput<typeof cloneOptsSchema> {
|
|
94
|
+
}
|
|
95
|
+
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
96
|
+
}
|
|
97
|
+
export interface ManualTriggerData extends v.InferInput<typeof manualTriggerDataSchema> {
|
|
98
|
+
}
|
|
99
|
+
export interface Pair extends v.InferInput<typeof pairSchema> {
|
|
100
|
+
}
|
|
101
|
+
export interface PullRequestTriggerData extends v.InferInput<typeof pullRequestTriggerDataSchema> {
|
|
102
|
+
}
|
|
103
|
+
export interface PushTriggerData extends v.InferInput<typeof pushTriggerDataSchema> {
|
|
104
|
+
}
|
|
105
|
+
export interface TriggerMetadata extends v.InferInput<typeof triggerMetadataSchema> {
|
|
106
|
+
}
|
|
107
|
+
export interface TriggerRepo extends v.InferInput<typeof triggerRepoSchema> {
|
|
108
|
+
}
|
|
109
|
+
export interface Workflow extends v.InferInput<typeof workflowSchema> {
|
|
110
|
+
}
|
|
111
|
+
declare module '@atcute/lexicons/ambient' {
|
|
112
|
+
interface Records {
|
|
113
|
+
'sh.tangled.pipeline': mainSchema;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
export {};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _cloneOptsSchema = /*#__PURE__*/ v.object({
|
|
3
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#cloneOpts')),
|
|
4
|
+
depth: /*#__PURE__*/ v.integer(),
|
|
5
|
+
skip: /*#__PURE__*/ v.boolean(),
|
|
6
|
+
submodules: /*#__PURE__*/ v.boolean(),
|
|
7
|
+
});
|
|
8
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
9
|
+
/*#__PURE__*/ v.tidString(),
|
|
10
|
+
/*#__PURE__*/ v.object({
|
|
11
|
+
$type: /*#__PURE__*/ v.literal('sh.tangled.pipeline'),
|
|
12
|
+
get triggerMetadata() {
|
|
13
|
+
return triggerMetadataSchema;
|
|
14
|
+
},
|
|
15
|
+
get workflows() {
|
|
16
|
+
return /*#__PURE__*/ v.array(workflowSchema);
|
|
17
|
+
},
|
|
18
|
+
}));
|
|
19
|
+
const _manualTriggerDataSchema = /*#__PURE__*/ v.object({
|
|
20
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#manualTriggerData')),
|
|
21
|
+
get inputs() {
|
|
22
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(pairSchema));
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
const _pairSchema = /*#__PURE__*/ v.object({
|
|
26
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#pair')),
|
|
27
|
+
key: /*#__PURE__*/ v.string(),
|
|
28
|
+
value: /*#__PURE__*/ v.string(),
|
|
29
|
+
});
|
|
30
|
+
const _pullRequestTriggerDataSchema = /*#__PURE__*/ v.object({
|
|
31
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#pullRequestTriggerData')),
|
|
32
|
+
action: /*#__PURE__*/ v.string(),
|
|
33
|
+
sourceBranch: /*#__PURE__*/ v.string(),
|
|
34
|
+
sourceSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
|
|
35
|
+
targetBranch: /*#__PURE__*/ v.string(),
|
|
36
|
+
});
|
|
37
|
+
const _pushTriggerDataSchema = /*#__PURE__*/ v.object({
|
|
38
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#pushTriggerData')),
|
|
39
|
+
newSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
|
|
40
|
+
oldSha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
|
|
41
|
+
ref: /*#__PURE__*/ v.string(),
|
|
42
|
+
});
|
|
43
|
+
const _triggerMetadataSchema = /*#__PURE__*/ v.object({
|
|
44
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#triggerMetadata')),
|
|
45
|
+
kind: /*#__PURE__*/ v.literalEnum(['manual', 'pull_request', 'push']),
|
|
46
|
+
get manual() {
|
|
47
|
+
return /*#__PURE__*/ v.optional(manualTriggerDataSchema);
|
|
48
|
+
},
|
|
49
|
+
get pullRequest() {
|
|
50
|
+
return /*#__PURE__*/ v.optional(pullRequestTriggerDataSchema);
|
|
51
|
+
},
|
|
52
|
+
get push() {
|
|
53
|
+
return /*#__PURE__*/ v.optional(pushTriggerDataSchema);
|
|
54
|
+
},
|
|
55
|
+
get repo() {
|
|
56
|
+
return triggerRepoSchema;
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
const _triggerRepoSchema = /*#__PURE__*/ v.object({
|
|
60
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#triggerRepo')),
|
|
61
|
+
defaultBranch: /*#__PURE__*/ v.string(),
|
|
62
|
+
did: /*#__PURE__*/ v.didString(),
|
|
63
|
+
knot: /*#__PURE__*/ v.string(),
|
|
64
|
+
repo: /*#__PURE__*/ v.string(),
|
|
65
|
+
});
|
|
66
|
+
const _workflowSchema = /*#__PURE__*/ v.object({
|
|
67
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.pipeline#workflow')),
|
|
68
|
+
get clone() {
|
|
69
|
+
return cloneOptsSchema;
|
|
70
|
+
},
|
|
71
|
+
engine: /*#__PURE__*/ v.string(),
|
|
72
|
+
name: /*#__PURE__*/ v.string(),
|
|
73
|
+
raw: /*#__PURE__*/ v.string(),
|
|
74
|
+
});
|
|
75
|
+
export const cloneOptsSchema = _cloneOptsSchema;
|
|
76
|
+
export const mainSchema = _mainSchema;
|
|
77
|
+
export const manualTriggerDataSchema = _manualTriggerDataSchema;
|
|
78
|
+
export const pairSchema = _pairSchema;
|
|
79
|
+
export const pullRequestTriggerDataSchema = _pullRequestTriggerDataSchema;
|
|
80
|
+
export const pushTriggerDataSchema = _pushTriggerDataSchema;
|
|
81
|
+
export const triggerMetadataSchema = _triggerMetadataSchema;
|
|
82
|
+
export const triggerRepoSchema = _triggerRepoSchema;
|
|
83
|
+
export const workflowSchema = _workflowSchema;
|
|
84
|
+
//# sourceMappingURL=pipeline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/pipeline.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,gBAAgB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC/C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,+BAA+B,CAAC,CAAC;IACzF,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAChC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAC/B,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;CACrC,CAAC,CAAC;AACH,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,qBAAqB,CAAC;IACrD,IAAI,eAAe;QAClB,OAAO,qBAAqB,CAAC;IAC9B,CAAC;IACD,IAAI,SAAS;QACZ,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAC9C,CAAC;CACD,CAAC,CACF,CAAC;AACF,MAAM,wBAAwB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACvD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,C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ema<{
|
|
5
|
+
key: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<1, 50>]>;
|
|
6
|
+
repo: v.FormattedStringSchema<"at-uri">;
|
|
7
|
+
value: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<1, 200>]>;
|
|
8
|
+
}>;
|
|
9
|
+
}, null, "sh.tangled.repo.addSecret">;
|
|
10
|
+
type main$schematype = typeof _mainSchema;
|
|
11
|
+
export interface mainSchema extends main$schematype {
|
|
12
|
+
}
|
|
13
|
+
export declare const mainSchema: mainSchema;
|
|
14
|
+
export interface $params {
|
|
15
|
+
}
|
|
16
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
17
|
+
}
|
|
18
|
+
declare module '@atcute/lexicons/ambient' {
|
|
19
|
+
interface XRPCProcedures {
|
|
20
|
+
'sh.tangled.repo.addSecret': mainSchema;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.addSecret', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
key: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(1, 50)]),
|
|
8
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
9
|
+
value: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(1, 200)]),
|
|
10
|
+
}),
|
|
11
|
+
},
|
|
12
|
+
output: null,
|
|
13
|
+
});
|
|
14
|
+
export const mainSchema = _mainSchema;
|
|
15
|
+
//# sourceMappingURL=addSecret.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addSecret.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/addSecret.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,2BAA2B,EAAE;IAC1E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;YAC/F,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;YACzC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;SAClG,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|