@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.
Files changed (83) hide show
  1. package/LICENSE +17 -0
  2. package/README.md +47 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +2 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/lexicons/index.d.ts +18 -0
  7. package/dist/lexicons/index.js +19 -0
  8. package/dist/lexicons/index.js.map +1 -0
  9. package/dist/lexicons/types/sh/tangled/actor/profile.d.ts +22 -0
  10. package/dist/lexicons/types/sh/tangled/actor/profile.js +37 -0
  11. package/dist/lexicons/types/sh/tangled/actor/profile.js.map +1 -0
  12. package/dist/lexicons/types/sh/tangled/feed/star.d.ts +18 -0
  13. package/dist/lexicons/types/sh/tangled/feed/star.js +10 -0
  14. package/dist/lexicons/types/sh/tangled/feed/star.js.map +1 -0
  15. package/dist/lexicons/types/sh/tangled/graph/follow.d.ts +18 -0
  16. package/dist/lexicons/types/sh/tangled/graph/follow.js +10 -0
  17. package/dist/lexicons/types/sh/tangled/graph/follow.js.map +1 -0
  18. package/dist/lexicons/types/sh/tangled/knot/member.d.ts +19 -0
  19. package/dist/lexicons/types/sh/tangled/knot/member.js +11 -0
  20. package/dist/lexicons/types/sh/tangled/knot/member.js.map +1 -0
  21. package/dist/lexicons/types/sh/tangled/publicKey.d.ts +19 -0
  22. package/dist/lexicons/types/sh/tangled/publicKey.js +11 -0
  23. package/dist/lexicons/types/sh/tangled/publicKey.js.map +1 -0
  24. package/dist/lexicons/types/sh/tangled/repo/artifact.d.ts +21 -0
  25. package/dist/lexicons/types/sh/tangled/repo/artifact.js +13 -0
  26. package/dist/lexicons/types/sh/tangled/repo/artifact.js.map +1 -0
  27. package/dist/lexicons/types/sh/tangled/repo/issue/comment.d.ts +22 -0
  28. package/dist/lexicons/types/sh/tangled/repo/issue/comment.js +14 -0
  29. package/dist/lexicons/types/sh/tangled/repo/issue/comment.js.map +1 -0
  30. package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.d.ts +8 -0
  31. package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.js +4 -0
  32. package/dist/lexicons/types/sh/tangled/repo/issue/state/closed.js.map +1 -0
  33. package/dist/lexicons/types/sh/tangled/repo/issue/state/open.d.ts +8 -0
  34. package/dist/lexicons/types/sh/tangled/repo/issue/state/open.js +4 -0
  35. package/dist/lexicons/types/sh/tangled/repo/issue/state/open.js.map +1 -0
  36. package/dist/lexicons/types/sh/tangled/repo/issue/state.d.ts +18 -0
  37. package/dist/lexicons/types/sh/tangled/repo/issue/state.js +11 -0
  38. package/dist/lexicons/types/sh/tangled/repo/issue/state.js.map +1 -0
  39. package/dist/lexicons/types/sh/tangled/repo/issue.d.ts +22 -0
  40. package/dist/lexicons/types/sh/tangled/repo/issue.js +14 -0
  41. package/dist/lexicons/types/sh/tangled/repo/issue.js.map +1 -0
  42. package/dist/lexicons/types/sh/tangled/repo/pull/comment.d.ts +22 -0
  43. package/dist/lexicons/types/sh/tangled/repo/pull/comment.js +14 -0
  44. package/dist/lexicons/types/sh/tangled/repo/pull/comment.js.map +1 -0
  45. package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.d.ts +8 -0
  46. package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.js +4 -0
  47. package/dist/lexicons/types/sh/tangled/repo/pull/status/closed.js.map +1 -0
  48. package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.d.ts +8 -0
  49. package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.js +4 -0
  50. package/dist/lexicons/types/sh/tangled/repo/pull/status/merged.js.map +1 -0
  51. package/dist/lexicons/types/sh/tangled/repo/pull/status/open.d.ts +8 -0
  52. package/dist/lexicons/types/sh/tangled/repo/pull/status/open.js +4 -0
  53. package/dist/lexicons/types/sh/tangled/repo/pull/status/open.js.map +1 -0
  54. package/dist/lexicons/types/sh/tangled/repo/pull/status.d.ts +18 -0
  55. package/dist/lexicons/types/sh/tangled/repo/pull/status.js +11 -0
  56. package/dist/lexicons/types/sh/tangled/repo/pull/status.js.map +1 -0
  57. package/dist/lexicons/types/sh/tangled/repo/pull.d.ts +35 -0
  58. package/dist/lexicons/types/sh/tangled/repo/pull.js +24 -0
  59. package/dist/lexicons/types/sh/tangled/repo/pull.js.map +1 -0
  60. package/dist/lexicons/types/sh/tangled/repo.d.ts +22 -0
  61. package/dist/lexicons/types/sh/tangled/repo.js +15 -0
  62. package/dist/lexicons/types/sh/tangled/repo.js.map +1 -0
  63. package/lib/index.ts +1 -0
  64. package/lib/lexicons/index.ts +18 -0
  65. package/lib/lexicons/types/sh/tangled/actor/profile.ts +62 -0
  66. package/lib/lexicons/types/sh/tangled/feed/star.ts +26 -0
  67. package/lib/lexicons/types/sh/tangled/graph/follow.ts +26 -0
  68. package/lib/lexicons/types/sh/tangled/knot/member.ts +27 -0
  69. package/lib/lexicons/types/sh/tangled/publicKey.ts +27 -0
  70. package/lib/lexicons/types/sh/tangled/repo/artifact.ts +29 -0
  71. package/lib/lexicons/types/sh/tangled/repo/issue/comment.ts +30 -0
  72. package/lib/lexicons/types/sh/tangled/repo/issue/state/closed.ts +12 -0
  73. package/lib/lexicons/types/sh/tangled/repo/issue/state/open.ts +12 -0
  74. package/lib/lexicons/types/sh/tangled/repo/issue/state.ts +31 -0
  75. package/lib/lexicons/types/sh/tangled/repo/issue.ts +30 -0
  76. package/lib/lexicons/types/sh/tangled/repo/pull/comment.ts +30 -0
  77. package/lib/lexicons/types/sh/tangled/repo/pull/status/closed.ts +12 -0
  78. package/lib/lexicons/types/sh/tangled/repo/pull/status/merged.ts +12 -0
  79. package/lib/lexicons/types/sh/tangled/repo/pull/status/open.ts +12 -0
  80. package/lib/lexicons/types/sh/tangled/repo/pull/status.ts +34 -0
  81. package/lib/lexicons/types/sh/tangled/repo/pull.ts +43 -0
  82. package/lib/lexicons/types/sh/tangled/repo.ts +32 -0
  83. package/package.json +41 -0
package/LICENSE ADDED
@@ -0,0 +1,17 @@
1
+ Permission is hereby granted, free of charge, to any person obtaining a copy
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:
7
+
8
+ The above copyright notice and this permission notice shall be included in all
9
+ copies or substantial portions of the Software.
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,47 @@
1
+ # @atcute/tangled
2
+
3
+ [Tangled](https://tangled.sh/) (sh.tangled.\*) schema definitions
4
+
5
+ ## usage
6
+
7
+ ```ts
8
+ import { ShTangledRepoPullComment } from '@atcute/tangled';
9
+ import { is } from '@atcute/lexicons';
10
+
11
+ const comment: ShTangledRepoPullComment.Main = {
12
+ $type: 'sh.tangled.repo.pull.comment',
13
+ repo: 'at://did:plc:wshs7t2adsemcrrd4snkeqli/sh.tangled.repo/3liuighjy2h22',
14
+ pull: 'at://did:plc:ia76kvnndjutgedggx2ibrem/sh.tangled.repo.pull/3lp3tg57oyv22',
15
+ owner: 'did:plc:ia76kvnndjutgedggx2ibrem',
16
+ createdAt: '2025-05-14T01:29:08Z',
17
+ body: 'not sure what went wrong with that first round (probably pasted the diffs wrong) but I think this should work',
18
+ };
19
+
20
+ is(ShTangledRepoPullComment.mainSchema, comment);
21
+ // -> true
22
+ ```
23
+
24
+ ### with `@atcute/client`
25
+
26
+ pick either one of these 3 options to register the ambient declarations
27
+
28
+ ```jsonc
29
+ // tsconfig.json
30
+ {
31
+ "compilerOptions": {
32
+ "types": ["@atcute/tangled"],
33
+ },
34
+ }
35
+ ```
36
+
37
+ ```ts
38
+ // env.d.ts
39
+ /// <reference types="@atcute/tangled" />
40
+ ```
41
+
42
+ ```ts
43
+ // index.ts
44
+ import type {} from '@atcute/tangled';
45
+ ```
46
+
47
+ now all the XRPC operations should be visible in the client
@@ -0,0 +1 @@
1
+ export * from './lexicons/index.js';
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from './lexicons/index.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -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,19 @@
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';
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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,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"}
@@ -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.actor.profile">;
4
+ description: v.OptionalSchema<v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<0, 2560>, v.StringGraphemesConstraint<0, 256>]>, undefined>;
5
+ links: v.OptionalSchema<v.SchemaWithConstraint<v.ArraySchema<v.FormattedStringSchema<"uri">>, readonly [v.ArrayLengthConstraint<0, 5>]>, undefined>;
6
+ stats: v.OptionalSchema<v.SchemaWithConstraint<v.ArraySchema<v.LiteralEnumSchema<readonly ["merged-pull-request-count", "closed-pull-request-count", "open-pull-request-count", "open-issue-count", "closed-issue-count", "repository-count"]>>, readonly [v.ArrayLengthConstraint<0, 2>]>, undefined>;
7
+ bluesky: v.BooleanSchema;
8
+ location: v.OptionalSchema<v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<0, 400>, v.StringGraphemesConstraint<0, 40>]>, undefined>;
9
+ pinnedRepositories: v.OptionalSchema<v.SchemaWithConstraint<v.ArraySchema<v.FormattedStringSchema<"at-uri">>, readonly [v.ArrayLengthConstraint<0, 6>]>, undefined>;
10
+ }>, v.LiteralSchema<"self">>;
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.actor.profile': mainSchema;
20
+ }
21
+ }
22
+ export {};
@@ -0,0 +1,37 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ const _mainSchema = /*#__PURE__*/ v.record(
3
+ /*#__PURE__*/ v.literal('self'),
4
+ /*#__PURE__*/ v.object({
5
+ $type: /*#__PURE__*/ v.literal('sh.tangled.actor.profile'),
6
+ description: /*#__PURE__*/ v.optional(
7
+ /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
8
+ /*#__PURE__*/ v.stringLength(0, 2560),
9
+ /*#__PURE__*/ v.stringGraphemes(0, 256),
10
+ ])),
11
+ links: /*#__PURE__*/ v.optional(
12
+ /*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.genericUriString()), [
13
+ /*#__PURE__*/ v.arrayLength(0, 5),
14
+ ])),
15
+ stats: /*#__PURE__*/ v.optional(
16
+ /*#__PURE__*/ v.constrain(v.array(
17
+ /*#__PURE__*/ v.literalEnum([
18
+ 'merged-pull-request-count',
19
+ 'closed-pull-request-count',
20
+ 'open-pull-request-count',
21
+ 'open-issue-count',
22
+ 'closed-issue-count',
23
+ 'repository-count',
24
+ ])), [/*#__PURE__*/ v.arrayLength(0, 2)])),
25
+ bluesky: /*#__PURE__*/ v.boolean(),
26
+ location: /*#__PURE__*/ v.optional(
27
+ /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
28
+ /*#__PURE__*/ v.stringLength(0, 400),
29
+ /*#__PURE__*/ v.stringGraphemes(0, 40),
30
+ ])),
31
+ pinnedRepositories: /*#__PURE__*/ v.optional(
32
+ /*#__PURE__*/ v.constrain(v.array(/*#__PURE__*/ v.resourceUriString()), [
33
+ /*#__PURE__*/ v.arrayLength(0, 6),
34
+ ])),
35
+ }));
36
+ export const mainSchema = _mainSchema;
37
+ //# sourceMappingURL=profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/actor/profile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;AAC/B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC1D,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACpC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE;QACnD,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC;QACrC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC;KACvC,CAAC,CACF;IACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC,EAAE;QACtE,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC;KACjC,CAAC,CACF;IACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,SAAS,CACxB,CAAC,CAAC,KAAK;IACN,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;QAC3B,2BAA2B;QAC3B,2BAA2B;QAC3B,yBAAyB;QACzB,kBAAkB;QAClB,oBAAoB;QACpB,kBAAkB;KAClB,CAAC,CACF,EACD,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CACnC,CACD;IACD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAClC,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IACjC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE;QACnD,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC;QACpC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,EAAE,CAAC;KACtC,CAAC,CACF;IACD,kBAAkB,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC3C,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC,EAAE;QACvE,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC;KACjC,CAAC,CACF;CACD,CAAC,CACF,CAAC;AAMF,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.feed.star">;
4
+ subject: v.FormattedStringSchema<"at-uri">;
5
+ createdAt: v.FormattedStringSchema<"datetime">;
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.feed.star': mainSchema;
16
+ }
17
+ }
18
+ export {};
@@ -0,0 +1,10 @@
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.star'),
6
+ subject: /*#__PURE__*/ v.resourceUriString(),
7
+ createdAt: /*#__PURE__*/ v.datetimeString(),
8
+ }));
9
+ export const mainSchema = _mainSchema;
10
+ //# sourceMappingURL=star.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"star.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/feed/star.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,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IAC5C,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CAC3C,CAAC,CACF,CAAC;AAMF,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.graph.follow">;
4
+ subject: v.FormattedStringSchema<"did">;
5
+ createdAt: v.FormattedStringSchema<"datetime">;
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.graph.follow': mainSchema;
16
+ }
17
+ }
18
+ export {};
@@ -0,0 +1,10 @@
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.graph.follow'),
6
+ subject: /*#__PURE__*/ v.didString(),
7
+ createdAt: /*#__PURE__*/ v.datetimeString(),
8
+ }));
9
+ export const mainSchema = _mainSchema;
10
+ //# sourceMappingURL=follow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"follow.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/graph/follow.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,yBAAyB,CAAC;IACzD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IACpC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CAC3C,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,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.knot.member">;
4
+ subject: v.FormattedStringSchema<"did">;
5
+ domain: v.StringSchema<string>;
6
+ createdAt: v.FormattedStringSchema<"datetime">;
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.knot.member': 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.knot.member'),
6
+ subject: /*#__PURE__*/ v.didString(),
7
+ domain: /*#__PURE__*/ v.string(),
8
+ createdAt: /*#__PURE__*/ v.datetimeString(),
9
+ }));
10
+ export const mainSchema = _mainSchema;
11
+ //# sourceMappingURL=member.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"member.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/knot/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,wBAAwB,CAAC;IACxD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IACpC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAChC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CAC3C,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,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.publicKey">;
4
+ key: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<0, 4096>]>;
5
+ name: v.StringSchema<string>;
6
+ createdAt: v.FormattedStringSchema<"datetime">;
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.publicKey': 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.publicKey'),
6
+ key: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 4096)]),
7
+ name: /*#__PURE__*/ v.string(),
8
+ createdAt: /*#__PURE__*/ v.datetimeString(),
9
+ }));
10
+ export const mainSchema = _mainSchema;
11
+ //# sourceMappingURL=publicKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publicKey.js","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/publicKey.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,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACjG,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CAC3C,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
3
+ $type: v.LiteralSchema<"sh.tangled.repo.artifact">;
4
+ name: v.StringSchema<string>;
5
+ repo: v.FormattedStringSchema<"at-uri">;
6
+ tag: v.SchemaWithConstraint<v.BytesSchema, readonly [v.BytesSizeConstraint<20, 20>]>;
7
+ createdAt: v.FormattedStringSchema<"datetime">;
8
+ artifact: v.BlobSchema;
9
+ }>, v.FormattedStringSchema<"tid">>;
10
+ type main$schematype = typeof _mainSchema;
11
+ export interface mainSchema extends main$schematype {
12
+ }
13
+ export declare const mainSchema: mainSchema;
14
+ export interface Main extends v.InferInput<typeof mainSchema> {
15
+ }
16
+ declare module '@atcute/lexicons/ambient' {
17
+ interface Records {
18
+ 'sh.tangled.repo.artifact': mainSchema;
19
+ }
20
+ }
21
+ export {};
@@ -0,0 +1,13 @@
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.artifact'),
6
+ name: /*#__PURE__*/ v.string(),
7
+ repo: /*#__PURE__*/ v.resourceUriString(),
8
+ tag: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(20, 20)]),
9
+ createdAt: /*#__PURE__*/ v.datetimeString(),
10
+ artifact: /*#__PURE__*/ v.blob(),
11
+ }));
12
+ export const mainSchema = _mainSchema;
13
+ //# sourceMappingURL=artifact.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/artifact.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,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IACzC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;IAC5F,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,IAAI,EAAE;CAChC,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,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.issue.comment">;
4
+ issue: v.FormattedStringSchema<"at-uri">;
5
+ repo: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
6
+ commentId: v.OptionalSchema<v.IntegerSchema, undefined>;
7
+ owner: v.OptionalSchema<v.FormattedStringSchema<"did">, undefined>;
8
+ body: v.StringSchema<string>;
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.issue.comment': 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.repo.issue.comment'),
6
+ issue: /*#__PURE__*/ v.resourceUriString(),
7
+ repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
8
+ commentId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
9
+ owner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
10
+ body: /*#__PURE__*/ v.string(),
11
+ createdAt: /*#__PURE__*/ v.datetimeString(),
12
+ }));
13
+ export const mainSchema = _mainSchema;
14
+ //# sourceMappingURL=comment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../../../../../lib/lexicons/types/sh/tangled/repo/issue/comment.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,+BAA+B,CAAC;IAC/D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IAC1C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACnE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC9D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CAC3C,CAAC,CACF,CAAC;AAMF,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.issue.state.closed">;
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,4 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ const _mainSchema = /*#__PURE__*/ v.literal('sh.tangled.repo.issue.state.closed');
3
+ export const mainSchema = _mainSchema;
4
+ //# sourceMappingURL=closed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"closed.js","sourceRoot":"","sources":["../../../../../../../../lib/lexicons/types/sh/tangled/repo/issue/state/closed.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.issue.state.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,4 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ const _mainSchema = /*#__PURE__*/ v.literal('sh.tangled.repo.issue.state.open');
3
+ export const mainSchema = _mainSchema;
4
+ //# sourceMappingURL=open.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"open.js","sourceRoot":"","sources":["../../../../../../../../lib/lexicons/types/sh/tangled/repo/issue/state/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.issue.state">;
4
+ issue: v.FormattedStringSchema<"at-uri">;
5
+ state: v.OptionalSchema<v.StringSchema<(string & {}) | "sh.tangled.repo.issue.state.open" | "sh.tangled.repo.issue.state.closed">, "sh.tangled.repo.issue.state.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.issue.state': 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.issue.state'),
6
+ issue: /*#__PURE__*/ v.resourceUriString(),
7
+ state: /*#__PURE__*/ v.optional(
8
+ /*#__PURE__*/ v.string(), 'sh.tangled.repo.issue.state.open'),
9
+ }));
10
+ export const mainSchema = _mainSchema;
11
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../../lib/lexicons/types/sh/tangled/repo/issue/state.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,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,MAAM,EAEnB,EACH,kCAAkC,CAClC;CACD,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,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.issue">;
4
+ repo: v.FormattedStringSchema<"at-uri">;
5
+ issueId: v.IntegerSchema;
6
+ owner: v.FormattedStringSchema<"did">;
7
+ title: v.StringSchema<string>;
8
+ body: v.OptionalSchema<v.StringSchema<string>, 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.issue': 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.repo.issue'),
6
+ repo: /*#__PURE__*/ v.resourceUriString(),
7
+ issueId: /*#__PURE__*/ v.integer(),
8
+ owner: /*#__PURE__*/ v.didString(),
9
+ title: /*#__PURE__*/ v.string(),
10
+ body: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
11
+ createdAt: /*#__PURE__*/ v.datetimeString(),
12
+ }));
13
+ export const mainSchema = _mainSchema;
14
+ //# sourceMappingURL=issue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/issue.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,uBAAuB,CAAC;IACvD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IACzC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAClC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IAClC,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,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CAC3C,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,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.pull.comment">;
4
+ pull: v.FormattedStringSchema<"at-uri">;
5
+ repo: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
6
+ commentId: v.OptionalSchema<v.IntegerSchema, undefined>;
7
+ owner: v.OptionalSchema<v.FormattedStringSchema<"did">, undefined>;
8
+ body: v.StringSchema<string>;
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.pull.comment': 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.repo.pull.comment'),
6
+ pull: /*#__PURE__*/ v.resourceUriString(),
7
+ repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
8
+ commentId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
9
+ owner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
10
+ body: /*#__PURE__*/ v.string(),
11
+ createdAt: /*#__PURE__*/ v.datetimeString(),
12
+ }));
13
+ export const mainSchema = _mainSchema;
14
+ //# sourceMappingURL=comment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../../../../../lib/lexicons/types/sh/tangled/repo/pull/comment.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,8BAA8B,CAAC;IAC9D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IACzC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACnE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC9D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CAC3C,CAAC,CACF,CAAC;AAMF,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.closed">;
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,4 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ const _mainSchema = /*#__PURE__*/ v.literal('sh.tangled.repo.pull.status.closed');
3
+ export const mainSchema = _mainSchema;
4
+ //# sourceMappingURL=closed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"closed.js","sourceRoot":"","sources":["../../../../../../../../lib/lexicons/types/sh/tangled/repo/pull/status/closed.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.merged">;
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 {};