@atcute/tangled 1.0.0
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 +17 -0
- package/README.md +47 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/lexicons/index.d.ts +18 -0
- package/dist/lexicons/index.js +19 -0
- package/dist/lexicons/index.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/actor/profile.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/actor/profile.js +37 -0
- package/dist/lexicons/types/sh/tangled/actor/profile.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/feed/star.d.ts +18 -0
- package/dist/lexicons/types/sh/tangled/feed/star.js +10 -0
- package/dist/lexicons/types/sh/tangled/feed/star.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/graph/follow.d.ts +18 -0
- package/dist/lexicons/types/sh/tangled/graph/follow.js +10 -0
- package/dist/lexicons/types/sh/tangled/graph/follow.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/knot/member.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/knot/member.js +11 -0
- package/dist/lexicons/types/sh/tangled/knot/member.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/publicKey.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/publicKey.js +11 -0
- package/dist/lexicons/types/sh/tangled/publicKey.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts +21 -0
- package/dist/lexicons/types/sh/tangled/repo/artifact.js +13 -0
- package/dist/lexicons/types/sh/tangled/repo/artifact.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/comment.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/comment.js +14 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/comment.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.d.ts +8 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/open.d.ts +8 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/open.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state/open.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state.d.ts +18 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state.js +11 -0
- package/dist/lexicons/types/sh/tangled/repo/issue/state.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/issue.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/repo/issue.js +14 -0
- package/dist/lexicons/types/sh/tangled/repo/issue.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/comment.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/comment.js +14 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/comment.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.d.ts +8 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.d.ts +8 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/open.d.ts +8 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/open.js +4 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status/open.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status.d.ts +18 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status.js +11 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/status.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull.d.ts +35 -0
- package/dist/lexicons/types/sh/tangled/repo/pull.js +24 -0
- package/dist/lexicons/types/sh/tangled/repo/pull.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/repo.js +15 -0
- package/dist/lexicons/types/sh/tangled/repo.js.map +1 -0
- package/lib/index.ts +1 -0
- package/lib/lexicons/index.ts +18 -0
- package/lib/lexicons/types/sh/tangled/actor/profile.ts +62 -0
- package/lib/lexicons/types/sh/tangled/feed/star.ts +26 -0
- package/lib/lexicons/types/sh/tangled/graph/follow.ts +26 -0
- package/lib/lexicons/types/sh/tangled/knot/member.ts +27 -0
- package/lib/lexicons/types/sh/tangled/publicKey.ts +27 -0
- package/lib/lexicons/types/sh/tangled/repo/artifact.ts +29 -0
- package/lib/lexicons/types/sh/tangled/repo/issue/comment.ts +30 -0
- package/lib/lexicons/types/sh/tangled/repo/issue/state/closed.ts +12 -0
- package/lib/lexicons/types/sh/tangled/repo/issue/state/open.ts +12 -0
- package/lib/lexicons/types/sh/tangled/repo/issue/state.ts +31 -0
- package/lib/lexicons/types/sh/tangled/repo/issue.ts +30 -0
- package/lib/lexicons/types/sh/tangled/repo/pull/comment.ts +30 -0
- package/lib/lexicons/types/sh/tangled/repo/pull/status/closed.ts +12 -0
- package/lib/lexicons/types/sh/tangled/repo/pull/status/merged.ts +12 -0
- package/lib/lexicons/types/sh/tangled/repo/pull/status/open.ts +12 -0
- package/lib/lexicons/types/sh/tangled/repo/pull/status.ts +34 -0
- package/lib/lexicons/types/sh/tangled/repo/pull.ts +43 -0
- package/lib/lexicons/types/sh/tangled/repo.ts +32 -0
- package/package.json +41 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merged.js","sourceRoot":"","sources":["../../../../../../../../lib/lexicons/types/sh/tangled/repo/pull/status/merged.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,CAAC;AAMlF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.LiteralSchema<"sh.tangled.repo.pull.status.open">;
|
|
3
|
+
type main$schematype = typeof _mainSchema;
|
|
4
|
+
export interface mainSchema extends main$schematype {
|
|
5
|
+
}
|
|
6
|
+
export declare const mainSchema: mainSchema;
|
|
7
|
+
export type Main = v.InferInput<typeof mainSchema>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open.js","sourceRoot":"","sources":["../../../../../../../../lib/lexicons/types/sh/tangled/repo/pull/status/open.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC;AAMhF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
|
+
$type: v.LiteralSchema<"sh.tangled.repo.pull.status">;
|
|
4
|
+
pull: v.FormattedStringSchema<"at-uri">;
|
|
5
|
+
status: v.OptionalSchema<v.StringSchema<(string & {}) | "sh.tangled.repo.pull.status.open" | "sh.tangled.repo.pull.status.closed" | "sh.tangled.repo.pull.status.merged">, "sh.tangled.repo.pull.status.open">;
|
|
6
|
+
}>, v.FormattedStringSchema<"tid">>;
|
|
7
|
+
type main$schematype = typeof _mainSchema;
|
|
8
|
+
export interface mainSchema extends main$schematype {
|
|
9
|
+
}
|
|
10
|
+
export declare const mainSchema: mainSchema;
|
|
11
|
+
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
12
|
+
}
|
|
13
|
+
declare module '@atcute/lexicons/ambient' {
|
|
14
|
+
interface Records {
|
|
15
|
+
'sh.tangled.repo.pull.status': mainSchema;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
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.repo.pull.status'),
|
|
6
|
+
pull: /*#__PURE__*/ v.resourceUriString(),
|
|
7
|
+
status: /*#__PURE__*/ v.optional(
|
|
8
|
+
/*#__PURE__*/ v.string(), 'sh.tangled.repo.pull.status.open'),
|
|
9
|
+
}));
|
|
10
|
+
export const mainSchema = _mainSchema;
|
|
11
|
+
//# sourceMappingURL=status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../../../../../lib/lexicons/types/sh/tangled/repo/pull/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,6BAA6B,CAAC;IAC7D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IACzC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC/B,aAAa,CAAC,CAAC,CAAC,MAAM,EAKnB,EACH,kCAAkC,CAClC;CACD,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
|
+
$type: v.LiteralSchema<"sh.tangled.repo.pull">;
|
|
4
|
+
targetRepo: v.FormattedStringSchema<"at-uri">;
|
|
5
|
+
targetBranch: v.StringSchema<string>;
|
|
6
|
+
pullId: v.IntegerSchema;
|
|
7
|
+
title: v.StringSchema<string>;
|
|
8
|
+
body: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
9
|
+
patch: v.StringSchema<string>;
|
|
10
|
+
readonly source: v.OptionalSchema<sourceSchema, undefined>;
|
|
11
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
12
|
+
}>, v.FormattedStringSchema<"tid">>;
|
|
13
|
+
declare const _sourceSchema: v.ObjectSchema<{
|
|
14
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.repo.pull#source">, undefined>;
|
|
15
|
+
branch: v.StringSchema<string>;
|
|
16
|
+
repo: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
|
|
17
|
+
}>;
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
type source$schematype = typeof _sourceSchema;
|
|
20
|
+
export interface mainSchema extends main$schematype {
|
|
21
|
+
}
|
|
22
|
+
export interface sourceSchema extends source$schematype {
|
|
23
|
+
}
|
|
24
|
+
export declare const mainSchema: mainSchema;
|
|
25
|
+
export declare const sourceSchema: sourceSchema;
|
|
26
|
+
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
27
|
+
}
|
|
28
|
+
export interface Source extends v.InferInput<typeof sourceSchema> {
|
|
29
|
+
}
|
|
30
|
+
declare module '@atcute/lexicons/ambient' {
|
|
31
|
+
interface Records {
|
|
32
|
+
'sh.tangled.repo.pull': mainSchema;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
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.repo.pull'),
|
|
6
|
+
targetRepo: /*#__PURE__*/ v.resourceUriString(),
|
|
7
|
+
targetBranch: /*#__PURE__*/ v.string(),
|
|
8
|
+
pullId: /*#__PURE__*/ v.integer(),
|
|
9
|
+
title: /*#__PURE__*/ v.string(),
|
|
10
|
+
body: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
|
+
patch: /*#__PURE__*/ v.string(),
|
|
12
|
+
get source() {
|
|
13
|
+
return /*#__PURE__*/ v.optional(sourceSchema);
|
|
14
|
+
},
|
|
15
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
16
|
+
}));
|
|
17
|
+
const _sourceSchema = /*#__PURE__*/ v.object({
|
|
18
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.pull#source')),
|
|
19
|
+
branch: /*#__PURE__*/ v.string(),
|
|
20
|
+
repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
21
|
+
});
|
|
22
|
+
export const mainSchema = _mainSchema;
|
|
23
|
+
export const sourceSchema = _sourceSchema;
|
|
24
|
+
//# sourceMappingURL=pull.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pull.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/pull.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,sBAAsB,CAAC;IACtD,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IAC/C,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACtC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IACjC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC/B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC/B,IAAI,MAAM;QACT,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC/C,CAAC;IACD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CAC3C,CAAC,CACF,CAAC;AACF,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACvF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAChC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;CACnE,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
|
+
$type: v.LiteralSchema<"sh.tangled.repo">;
|
|
4
|
+
name: v.StringSchema<string>;
|
|
5
|
+
owner: v.FormattedStringSchema<"did">;
|
|
6
|
+
knot: v.StringSchema<string>;
|
|
7
|
+
description: v.OptionalSchema<v.SchemaWithConstraint<v.FormattedStringSchema<"datetime">, readonly [v.StringGraphemesConstraint<1, 140>]>, undefined>;
|
|
8
|
+
source: v.OptionalSchema<v.FormattedStringSchema<"uri">, undefined>;
|
|
9
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
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.repo': mainSchema;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
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.repo'),
|
|
6
|
+
name: /*#__PURE__*/ v.string(),
|
|
7
|
+
owner: /*#__PURE__*/ v.didString(),
|
|
8
|
+
knot: /*#__PURE__*/ v.string(),
|
|
9
|
+
description: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.datetimeString(), [/*#__PURE__*/ v.stringGraphemes(1, 140)])),
|
|
11
|
+
source: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()),
|
|
12
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
13
|
+
}));
|
|
14
|
+
export const mainSchema = _mainSchema;
|
|
15
|
+
//# sourceMappingURL=repo.js.map
|
|
@@ -0,0 +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,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IAClC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACpC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CACtG;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACpE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CAC3C,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
package/lib/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lexicons/index.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * as ShTangledActorProfile from './types/sh/tangled/actor/profile.js';
|
|
2
|
+
export * as ShTangledFeedStar from './types/sh/tangled/feed/star.js';
|
|
3
|
+
export * as ShTangledGraphFollow from './types/sh/tangled/graph/follow.js';
|
|
4
|
+
export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js';
|
|
5
|
+
export * as ShTangledPublicKey from './types/sh/tangled/publicKey.js';
|
|
6
|
+
export * as ShTangledRepo from './types/sh/tangled/repo.js';
|
|
7
|
+
export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.js';
|
|
8
|
+
export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.js';
|
|
9
|
+
export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.js';
|
|
10
|
+
export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.js';
|
|
11
|
+
export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.js';
|
|
12
|
+
export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.js';
|
|
13
|
+
export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.js';
|
|
14
|
+
export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.js';
|
|
15
|
+
export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.js';
|
|
16
|
+
export * as ShTangledRepoPullStatusClosed from './types/sh/tangled/repo/pull/status/closed.js';
|
|
17
|
+
export * as ShTangledRepoPullStatusMerged from './types/sh/tangled/repo/pull/status/merged.js';
|
|
18
|
+
export * as ShTangledRepoPullStatusOpen from './types/sh/tangled/repo/pull/status/open.js';
|
|
@@ -0,0 +1,62 @@
|
|
|
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.literal('self'),
|
|
7
|
+
/*#__PURE__*/ v.object({
|
|
8
|
+
$type: /*#__PURE__*/ v.literal('sh.tangled.actor.profile'),
|
|
9
|
+
description: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
11
|
+
/*#__PURE__*/ v.stringLength(0, 2560),
|
|
12
|
+
/*#__PURE__*/ v.stringGraphemes(0, 256),
|
|
13
|
+
]),
|
|
14
|
+
),
|
|
15
|
+
links: /*#__PURE__*/ v.optional(
|
|
16
|
+
/*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.genericUriString()), [
|
|
17
|
+
/*#__PURE__*/ v.arrayLength(0, 5),
|
|
18
|
+
]),
|
|
19
|
+
),
|
|
20
|
+
stats: /*#__PURE__*/ v.optional(
|
|
21
|
+
/*#__PURE__*/ v.constrain(
|
|
22
|
+
v.array(
|
|
23
|
+
/*#__PURE__*/ v.literalEnum([
|
|
24
|
+
'merged-pull-request-count',
|
|
25
|
+
'closed-pull-request-count',
|
|
26
|
+
'open-pull-request-count',
|
|
27
|
+
'open-issue-count',
|
|
28
|
+
'closed-issue-count',
|
|
29
|
+
'repository-count',
|
|
30
|
+
]),
|
|
31
|
+
),
|
|
32
|
+
[/*#__PURE__*/ v.arrayLength(0, 2)],
|
|
33
|
+
),
|
|
34
|
+
),
|
|
35
|
+
bluesky: /*#__PURE__*/ v.boolean(),
|
|
36
|
+
location: /*#__PURE__*/ v.optional(
|
|
37
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
38
|
+
/*#__PURE__*/ v.stringLength(0, 400),
|
|
39
|
+
/*#__PURE__*/ v.stringGraphemes(0, 40),
|
|
40
|
+
]),
|
|
41
|
+
),
|
|
42
|
+
pinnedRepositories: /*#__PURE__*/ v.optional(
|
|
43
|
+
/*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.resourceUriString()), [
|
|
44
|
+
/*#__PURE__*/ v.arrayLength(0, 6),
|
|
45
|
+
]),
|
|
46
|
+
),
|
|
47
|
+
}),
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
type main$schematype = typeof _mainSchema;
|
|
51
|
+
|
|
52
|
+
export interface mainSchema extends main$schematype {}
|
|
53
|
+
|
|
54
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
55
|
+
|
|
56
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
57
|
+
|
|
58
|
+
declare module '@atcute/lexicons/ambient' {
|
|
59
|
+
interface Records {
|
|
60
|
+
'sh.tangled.actor.profile': mainSchema;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.feed.star'),
|
|
9
|
+
subject: /*#__PURE__*/ v.resourceUriString(),
|
|
10
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
11
|
+
}),
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
type main$schematype = typeof _mainSchema;
|
|
15
|
+
|
|
16
|
+
export interface mainSchema extends main$schematype {}
|
|
17
|
+
|
|
18
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
21
|
+
|
|
22
|
+
declare module '@atcute/lexicons/ambient' {
|
|
23
|
+
interface Records {
|
|
24
|
+
'sh.tangled.feed.star': mainSchema;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.graph.follow'),
|
|
9
|
+
subject: /*#__PURE__*/ v.didString(),
|
|
10
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
11
|
+
}),
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
type main$schematype = typeof _mainSchema;
|
|
15
|
+
|
|
16
|
+
export interface mainSchema extends main$schematype {}
|
|
17
|
+
|
|
18
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
21
|
+
|
|
22
|
+
declare module '@atcute/lexicons/ambient' {
|
|
23
|
+
interface Records {
|
|
24
|
+
'sh.tangled.graph.follow': mainSchema;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.knot.member'),
|
|
9
|
+
subject: /*#__PURE__*/ v.didString(),
|
|
10
|
+
domain: /*#__PURE__*/ v.string(),
|
|
11
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
12
|
+
}),
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
type main$schematype = typeof _mainSchema;
|
|
16
|
+
|
|
17
|
+
export interface mainSchema extends main$schematype {}
|
|
18
|
+
|
|
19
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
20
|
+
|
|
21
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
22
|
+
|
|
23
|
+
declare module '@atcute/lexicons/ambient' {
|
|
24
|
+
interface Records {
|
|
25
|
+
'sh.tangled.knot.member': mainSchema;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.publicKey'),
|
|
9
|
+
key: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 4096)]),
|
|
10
|
+
name: /*#__PURE__*/ v.string(),
|
|
11
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
12
|
+
}),
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
type main$schematype = typeof _mainSchema;
|
|
16
|
+
|
|
17
|
+
export interface mainSchema extends main$schematype {}
|
|
18
|
+
|
|
19
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
20
|
+
|
|
21
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
22
|
+
|
|
23
|
+
declare module '@atcute/lexicons/ambient' {
|
|
24
|
+
interface Records {
|
|
25
|
+
'sh.tangled.publicKey': mainSchema;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.repo.artifact'),
|
|
9
|
+
name: /*#__PURE__*/ v.string(),
|
|
10
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
11
|
+
tag: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(20, 20)]),
|
|
12
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
13
|
+
artifact: /*#__PURE__*/ v.blob(),
|
|
14
|
+
}),
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
type main$schematype = typeof _mainSchema;
|
|
18
|
+
|
|
19
|
+
export interface mainSchema extends main$schematype {}
|
|
20
|
+
|
|
21
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
22
|
+
|
|
23
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
24
|
+
|
|
25
|
+
declare module '@atcute/lexicons/ambient' {
|
|
26
|
+
interface Records {
|
|
27
|
+
'sh.tangled.repo.artifact': mainSchema;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.repo.issue.comment'),
|
|
9
|
+
issue: /*#__PURE__*/ v.resourceUriString(),
|
|
10
|
+
repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
11
|
+
commentId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
12
|
+
owner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
13
|
+
body: /*#__PURE__*/ v.string(),
|
|
14
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface mainSchema extends main$schematype {}
|
|
21
|
+
|
|
22
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
23
|
+
|
|
24
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
25
|
+
|
|
26
|
+
declare module '@atcute/lexicons/ambient' {
|
|
27
|
+
interface Records {
|
|
28
|
+
'sh.tangled.repo.issue.comment': mainSchema;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
|
|
4
|
+
const _mainSchema = /*#__PURE__*/ v.literal('sh.tangled.repo.issue.state.closed');
|
|
5
|
+
|
|
6
|
+
type main$schematype = typeof _mainSchema;
|
|
7
|
+
|
|
8
|
+
export interface mainSchema extends main$schematype {}
|
|
9
|
+
|
|
10
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
11
|
+
|
|
12
|
+
export type Main = v.InferInput<typeof mainSchema>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
|
|
4
|
+
const _mainSchema = /*#__PURE__*/ v.literal('sh.tangled.repo.issue.state.open');
|
|
5
|
+
|
|
6
|
+
type main$schematype = typeof _mainSchema;
|
|
7
|
+
|
|
8
|
+
export interface mainSchema extends main$schematype {}
|
|
9
|
+
|
|
10
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
11
|
+
|
|
12
|
+
export type Main = v.InferInput<typeof mainSchema>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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.repo.issue.state'),
|
|
9
|
+
issue: /*#__PURE__*/ v.resourceUriString(),
|
|
10
|
+
state: /*#__PURE__*/ v.optional(
|
|
11
|
+
/*#__PURE__*/ v.string<
|
|
12
|
+
'sh.tangled.repo.issue.state.open' | 'sh.tangled.repo.issue.state.closed' | (string & {})
|
|
13
|
+
>(),
|
|
14
|
+
'sh.tangled.repo.issue.state.open',
|
|
15
|
+
),
|
|
16
|
+
}),
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
type main$schematype = typeof _mainSchema;
|
|
20
|
+
|
|
21
|
+
export interface mainSchema extends main$schematype {}
|
|
22
|
+
|
|
23
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
24
|
+
|
|
25
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
26
|
+
|
|
27
|
+
declare module '@atcute/lexicons/ambient' {
|
|
28
|
+
interface Records {
|
|
29
|
+
'sh.tangled.repo.issue.state': mainSchema;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.repo.issue'),
|
|
9
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
10
|
+
issueId: /*#__PURE__*/ v.integer(),
|
|
11
|
+
owner: /*#__PURE__*/ v.didString(),
|
|
12
|
+
title: /*#__PURE__*/ v.string(),
|
|
13
|
+
body: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface mainSchema extends main$schematype {}
|
|
21
|
+
|
|
22
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
23
|
+
|
|
24
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
25
|
+
|
|
26
|
+
declare module '@atcute/lexicons/ambient' {
|
|
27
|
+
interface Records {
|
|
28
|
+
'sh.tangled.repo.issue': mainSchema;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.repo.pull.comment'),
|
|
9
|
+
pull: /*#__PURE__*/ v.resourceUriString(),
|
|
10
|
+
repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
11
|
+
commentId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
12
|
+
owner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
13
|
+
body: /*#__PURE__*/ v.string(),
|
|
14
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface mainSchema extends main$schematype {}
|
|
21
|
+
|
|
22
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
23
|
+
|
|
24
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
25
|
+
|
|
26
|
+
declare module '@atcute/lexicons/ambient' {
|
|
27
|
+
interface Records {
|
|
28
|
+
'sh.tangled.repo.pull.comment': mainSchema;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
|
|
4
|
+
const _mainSchema = /*#__PURE__*/ v.literal('sh.tangled.repo.pull.status.closed');
|
|
5
|
+
|
|
6
|
+
type main$schematype = typeof _mainSchema;
|
|
7
|
+
|
|
8
|
+
export interface mainSchema extends main$schematype {}
|
|
9
|
+
|
|
10
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
11
|
+
|
|
12
|
+
export type Main = v.InferInput<typeof mainSchema>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
|
|
4
|
+
const _mainSchema = /*#__PURE__*/ v.literal('sh.tangled.repo.pull.status.merged');
|
|
5
|
+
|
|
6
|
+
type main$schematype = typeof _mainSchema;
|
|
7
|
+
|
|
8
|
+
export interface mainSchema extends main$schematype {}
|
|
9
|
+
|
|
10
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
11
|
+
|
|
12
|
+
export type Main = v.InferInput<typeof mainSchema>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
|
|
4
|
+
const _mainSchema = /*#__PURE__*/ v.literal('sh.tangled.repo.pull.status.open');
|
|
5
|
+
|
|
6
|
+
type main$schematype = typeof _mainSchema;
|
|
7
|
+
|
|
8
|
+
export interface mainSchema extends main$schematype {}
|
|
9
|
+
|
|
10
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
11
|
+
|
|
12
|
+
export type Main = v.InferInput<typeof mainSchema>;
|
|
@@ -0,0 +1,34 @@
|
|
|
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.repo.pull.status'),
|
|
9
|
+
pull: /*#__PURE__*/ v.resourceUriString(),
|
|
10
|
+
status: /*#__PURE__*/ v.optional(
|
|
11
|
+
/*#__PURE__*/ v.string<
|
|
12
|
+
| 'sh.tangled.repo.pull.status.open'
|
|
13
|
+
| 'sh.tangled.repo.pull.status.closed'
|
|
14
|
+
| 'sh.tangled.repo.pull.status.merged'
|
|
15
|
+
| (string & {})
|
|
16
|
+
>(),
|
|
17
|
+
'sh.tangled.repo.pull.status.open',
|
|
18
|
+
),
|
|
19
|
+
}),
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
type main$schematype = typeof _mainSchema;
|
|
23
|
+
|
|
24
|
+
export interface mainSchema extends main$schematype {}
|
|
25
|
+
|
|
26
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
27
|
+
|
|
28
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
29
|
+
|
|
30
|
+
declare module '@atcute/lexicons/ambient' {
|
|
31
|
+
interface Records {
|
|
32
|
+
'sh.tangled.repo.pull.status': mainSchema;
|
|
33
|
+
}
|
|
34
|
+
}
|