@atcute/tangled 1.0.4 → 1.0.6

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 (73) hide show
  1. package/dist/lexicons/index.d.ts +14 -0
  2. package/dist/lexicons/index.js +14 -0
  3. package/dist/lexicons/index.js.map +1 -1
  4. package/dist/lexicons/types/sh/tangled/knot/listKeys.d.ts +37 -0
  5. package/dist/lexicons/types/sh/tangled/knot/listKeys.js +26 -0
  6. package/dist/lexicons/types/sh/tangled/knot/listKeys.js.map +1 -0
  7. package/dist/lexicons/types/sh/tangled/knot/version.d.ts +21 -0
  8. package/dist/lexicons/types/sh/tangled/knot/version.js +12 -0
  9. package/dist/lexicons/types/sh/tangled/knot/version.js.map +1 -0
  10. package/dist/lexicons/types/sh/tangled/owner.d.ts +21 -0
  11. package/dist/lexicons/types/sh/tangled/owner.js +12 -0
  12. package/dist/lexicons/types/sh/tangled/owner.js.map +1 -0
  13. package/dist/lexicons/types/sh/tangled/repo/archive.d.ts +22 -0
  14. package/dist/lexicons/types/sh/tangled/repo/archive.js +14 -0
  15. package/dist/lexicons/types/sh/tangled/repo/archive.js.map +1 -0
  16. package/dist/lexicons/types/sh/tangled/repo/blob.d.ts +59 -0
  17. package/dist/lexicons/types/sh/tangled/repo/blob.js +44 -0
  18. package/dist/lexicons/types/sh/tangled/repo/blob.js.map +1 -0
  19. package/dist/lexicons/types/sh/tangled/repo/branch.d.ts +42 -0
  20. package/dist/lexicons/types/sh/tangled/repo/branch.js +30 -0
  21. package/dist/lexicons/types/sh/tangled/repo/branch.js.map +1 -0
  22. package/dist/lexicons/types/sh/tangled/repo/branches.d.ts +21 -0
  23. package/dist/lexicons/types/sh/tangled/repo/branches.js +14 -0
  24. package/dist/lexicons/types/sh/tangled/repo/branches.js.map +1 -0
  25. package/dist/lexicons/types/sh/tangled/repo/compare.d.ts +21 -0
  26. package/dist/lexicons/types/sh/tangled/repo/compare.js +13 -0
  27. package/dist/lexicons/types/sh/tangled/repo/compare.js.map +1 -0
  28. package/dist/lexicons/types/sh/tangled/repo/diff.d.ts +20 -0
  29. package/dist/lexicons/types/sh/tangled/repo/diff.js +12 -0
  30. package/dist/lexicons/types/sh/tangled/repo/diff.js.map +1 -0
  31. package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.d.ts +40 -0
  32. package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.js +28 -0
  33. package/dist/lexicons/types/sh/tangled/repo/getDefaultBranch.js.map +1 -0
  34. package/dist/lexicons/types/sh/tangled/repo/issue/comment.d.ts +1 -3
  35. package/dist/lexicons/types/sh/tangled/repo/issue/comment.js +1 -3
  36. package/dist/lexicons/types/sh/tangled/repo/issue/comment.js.map +1 -1
  37. package/dist/lexicons/types/sh/tangled/repo/issue.d.ts +0 -2
  38. package/dist/lexicons/types/sh/tangled/repo/issue.js +0 -2
  39. package/dist/lexicons/types/sh/tangled/repo/issue.js.map +1 -1
  40. package/dist/lexicons/types/sh/tangled/repo/languages.d.ts +42 -0
  41. package/dist/lexicons/types/sh/tangled/repo/languages.js +30 -0
  42. package/dist/lexicons/types/sh/tangled/repo/languages.js.map +1 -0
  43. package/dist/lexicons/types/sh/tangled/repo/log.d.ts +23 -0
  44. package/dist/lexicons/types/sh/tangled/repo/log.js +16 -0
  45. package/dist/lexicons/types/sh/tangled/repo/log.js.map +1 -0
  46. package/dist/lexicons/types/sh/tangled/repo/tags.d.ts +21 -0
  47. package/dist/lexicons/types/sh/tangled/repo/tags.js +14 -0
  48. package/dist/lexicons/types/sh/tangled/repo/tags.js.map +1 -0
  49. package/dist/lexicons/types/sh/tangled/repo/tree.d.ts +55 -0
  50. package/dist/lexicons/types/sh/tangled/repo/tree.js +40 -0
  51. package/dist/lexicons/types/sh/tangled/repo/tree.js.map +1 -0
  52. package/dist/lexicons/types/sh/tangled/repo.d.ts +1 -1
  53. package/dist/lexicons/types/sh/tangled/repo.js +1 -1
  54. package/dist/lexicons/types/sh/tangled/repo.js.map +1 -1
  55. package/lib/lexicons/index.ts +14 -0
  56. package/lib/lexicons/types/sh/tangled/knot/listKeys.ts +48 -0
  57. package/lib/lexicons/types/sh/tangled/knot/version.ts +28 -0
  58. package/lib/lexicons/types/sh/tangled/owner.ts +28 -0
  59. package/lib/lexicons/types/sh/tangled/repo/archive.ts +30 -0
  60. package/lib/lexicons/types/sh/tangled/repo/blob.ts +67 -0
  61. package/lib/lexicons/types/sh/tangled/repo/branch.ts +50 -0
  62. package/lib/lexicons/types/sh/tangled/repo/branches.ts +32 -0
  63. package/lib/lexicons/types/sh/tangled/repo/compare.ts +29 -0
  64. package/lib/lexicons/types/sh/tangled/repo/diff.ts +28 -0
  65. package/lib/lexicons/types/sh/tangled/repo/getDefaultBranch.ts +48 -0
  66. package/lib/lexicons/types/sh/tangled/repo/issue/comment.ts +1 -3
  67. package/lib/lexicons/types/sh/tangled/repo/issue.ts +0 -2
  68. package/lib/lexicons/types/sh/tangled/repo/languages.ts +50 -0
  69. package/lib/lexicons/types/sh/tangled/repo/log.ts +34 -0
  70. package/lib/lexicons/types/sh/tangled/repo/tags.ts +32 -0
  71. package/lib/lexicons/types/sh/tangled/repo/tree.ts +63 -0
  72. package/lib/lexicons/types/sh/tangled/repo.ts +1 -1
  73. package/package.json +2 -2
@@ -0,0 +1,40 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
3
+ repo: v.StringSchema<string>;
4
+ }>, {
5
+ type: "lex";
6
+ schema: v.ObjectSchema<{
7
+ readonly author: v.OptionalSchema<signatureSchema, undefined>;
8
+ hash: v.StringSchema<string>;
9
+ message: v.OptionalSchema<v.StringSchema<string>, undefined>;
10
+ name: v.StringSchema<string>;
11
+ shortHash: v.OptionalSchema<v.StringSchema<string>, undefined>;
12
+ when: v.FormattedStringSchema<"datetime">;
13
+ }>;
14
+ }, "sh.tangled.repo.getDefaultBranch">;
15
+ declare const _signatureSchema: v.ObjectSchema<{
16
+ $type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.repo.getDefaultBranch#signature">, undefined>;
17
+ email: v.StringSchema<string>;
18
+ name: v.StringSchema<string>;
19
+ when: v.FormattedStringSchema<"datetime">;
20
+ }>;
21
+ type main$schematype = typeof _mainSchema;
22
+ type signature$schematype = typeof _signatureSchema;
23
+ export interface mainSchema extends main$schematype {
24
+ }
25
+ export interface signatureSchema extends signature$schematype {
26
+ }
27
+ export declare const mainSchema: mainSchema;
28
+ export declare const signatureSchema: signatureSchema;
29
+ export interface Signature extends v.InferInput<typeof signatureSchema> {
30
+ }
31
+ export interface $params extends v.InferInput<mainSchema['params']> {
32
+ }
33
+ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
34
+ }
35
+ declare module '@atcute/lexicons/ambient' {
36
+ interface XRPCQueries {
37
+ 'sh.tangled.repo.getDefaultBranch': mainSchema;
38
+ }
39
+ }
40
+ export {};
@@ -0,0 +1,28 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.getDefaultBranch', {
3
+ params: /*#__PURE__*/ v.object({
4
+ repo: /*#__PURE__*/ v.string(),
5
+ }),
6
+ output: {
7
+ type: 'lex',
8
+ schema: /*#__PURE__*/ v.object({
9
+ get author() {
10
+ return /*#__PURE__*/ v.optional(signatureSchema);
11
+ },
12
+ hash: /*#__PURE__*/ v.string(),
13
+ message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
14
+ name: /*#__PURE__*/ v.string(),
15
+ shortHash: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
16
+ when: /*#__PURE__*/ v.datetimeString(),
17
+ }),
18
+ },
19
+ });
20
+ const _signatureSchema = /*#__PURE__*/ v.object({
21
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.getDefaultBranch#signature')),
22
+ email: /*#__PURE__*/ v.string(),
23
+ name: /*#__PURE__*/ v.string(),
24
+ when: /*#__PURE__*/ v.datetimeString(),
25
+ });
26
+ export const mainSchema = _mainSchema;
27
+ export const signatureSchema = _signatureSchema;
28
+ //# sourceMappingURL=getDefaultBranch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDefaultBranch.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/getDefaultBranch.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,kCAAkC,EAAE;IAC7E,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;KAC9B,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,MAAM;gBACT,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;YAClD,CAAC;YACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC9B,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAC3D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAC7D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;SACtC,CAAC;KACF;CACD,CAAC,CAAC;AACH,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,4CAA4C,CAAC,CAAC;IACtG,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC/B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CACtC,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAmC,CAAC"}
@@ -2,11 +2,9 @@ import * as v from '@atcute/lexicons/validations';
2
2
  declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
3
3
  $type: v.LiteralSchema<"sh.tangled.repo.issue.comment">;
4
4
  body: v.StringSchema<string>;
5
- commentId: v.OptionalSchema<v.IntegerSchema, undefined>;
6
5
  createdAt: v.FormattedStringSchema<"datetime">;
7
6
  issue: v.FormattedStringSchema<"at-uri">;
8
- owner: v.OptionalSchema<v.FormattedStringSchema<"did">, undefined>;
9
- repo: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
7
+ replyTo: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
10
8
  }>, v.FormattedStringSchema<"tid">>;
11
9
  type main$schematype = typeof _mainSchema;
12
10
  export interface mainSchema extends main$schematype {
@@ -4,11 +4,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
4
4
  /*#__PURE__*/ v.object({
5
5
  $type: /*#__PURE__*/ v.literal('sh.tangled.repo.issue.comment'),
6
6
  body: /*#__PURE__*/ v.string(),
7
- commentId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
8
7
  createdAt: /*#__PURE__*/ v.datetimeString(),
9
8
  issue: /*#__PURE__*/ v.resourceUriString(),
10
- owner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
11
- repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
9
+ replyTo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
12
10
  }));
13
11
  export const mainSchema = _mainSchema;
14
12
  //# sourceMappingURL=comment.js.map
@@ -1 +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,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IAC9D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;CACnE,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
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,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IAC1C,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;CACtE,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -3,8 +3,6 @@ declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
3
3
  $type: v.LiteralSchema<"sh.tangled.repo.issue">;
4
4
  body: v.OptionalSchema<v.StringSchema<string>, undefined>;
5
5
  createdAt: v.FormattedStringSchema<"datetime">;
6
- issueId: v.IntegerSchema;
7
- owner: v.FormattedStringSchema<"did">;
8
6
  repo: v.FormattedStringSchema<"at-uri">;
9
7
  title: v.StringSchema<string>;
10
8
  }>, v.FormattedStringSchema<"tid">>;
@@ -5,8 +5,6 @@ const _mainSchema = /*#__PURE__*/ v.record(
5
5
  $type: /*#__PURE__*/ v.literal('sh.tangled.repo.issue'),
6
6
  body: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
7
7
  createdAt: /*#__PURE__*/ v.datetimeString(),
8
- issueId: /*#__PURE__*/ v.integer(),
9
- owner: /*#__PURE__*/ v.didString(),
10
8
  repo: /*#__PURE__*/ v.resourceUriString(),
11
9
  title: /*#__PURE__*/ v.string(),
12
10
  }));
@@ -1 +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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AC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -0,0 +1,42 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ declare const _languageSchema: v.ObjectSchema<{
3
+ $type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.repo.languages#language">, undefined>;
4
+ color: v.OptionalSchema<v.StringSchema<string>, undefined>;
5
+ extensions: v.OptionalSchema<v.ArraySchema<v.StringSchema<string>>, undefined>;
6
+ fileCount: v.OptionalSchema<v.IntegerSchema, undefined>;
7
+ name: v.StringSchema<string>;
8
+ percentage: v.IntegerSchema;
9
+ size: v.IntegerSchema;
10
+ }>;
11
+ declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
12
+ ref: v.OptionalSchema<v.StringSchema<string>, "HEAD">;
13
+ repo: v.StringSchema<string>;
14
+ }>, {
15
+ type: "lex";
16
+ schema: v.ObjectSchema<{
17
+ readonly languages: v.ArraySchema<languageSchema>;
18
+ ref: v.StringSchema<string>;
19
+ totalFiles: v.OptionalSchema<v.IntegerSchema, undefined>;
20
+ totalSize: v.OptionalSchema<v.IntegerSchema, undefined>;
21
+ }>;
22
+ }, "sh.tangled.repo.languages">;
23
+ type language$schematype = typeof _languageSchema;
24
+ type main$schematype = typeof _mainSchema;
25
+ export interface languageSchema extends language$schematype {
26
+ }
27
+ export interface mainSchema extends main$schematype {
28
+ }
29
+ export declare const languageSchema: languageSchema;
30
+ export declare const mainSchema: mainSchema;
31
+ export interface Language extends v.InferInput<typeof languageSchema> {
32
+ }
33
+ export interface $params extends v.InferInput<mainSchema['params']> {
34
+ }
35
+ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
36
+ }
37
+ declare module '@atcute/lexicons/ambient' {
38
+ interface XRPCQueries {
39
+ 'sh.tangled.repo.languages': mainSchema;
40
+ }
41
+ }
42
+ export {};
@@ -0,0 +1,30 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ const _languageSchema = /*#__PURE__*/ v.object({
3
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.languages#language')),
4
+ color: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
5
+ extensions: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
6
+ fileCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
7
+ name: /*#__PURE__*/ v.string(),
8
+ percentage: /*#__PURE__*/ v.integer(),
9
+ size: /*#__PURE__*/ v.integer(),
10
+ });
11
+ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.languages', {
12
+ params: /*#__PURE__*/ v.object({
13
+ ref: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string(), 'HEAD'),
14
+ repo: /*#__PURE__*/ v.string(),
15
+ }),
16
+ output: {
17
+ type: 'lex',
18
+ schema: /*#__PURE__*/ v.object({
19
+ get languages() {
20
+ return /*#__PURE__*/ v.array(languageSchema);
21
+ },
22
+ ref: /*#__PURE__*/ v.string(),
23
+ totalFiles: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
24
+ totalSize: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
25
+ }),
26
+ },
27
+ });
28
+ export const languageSchema = _languageSchema;
29
+ export const mainSchema = _mainSchema;
30
+ //# sourceMappingURL=languages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"languages.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/languages.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,eAAe,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC9C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,CAAC;IAC9F,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa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AAC,CAAC;AAQH,MAAM,CAAC,MAAM,cAAc,GAAG,eAAiC,CAAC;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
3
+ cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
4
+ limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 100>]>, 50>;
5
+ path: v.OptionalSchema<v.StringSchema<string>, "">;
6
+ ref: v.StringSchema<string>;
7
+ repo: v.StringSchema<string>;
8
+ }>, {
9
+ type: "blob";
10
+ }, "sh.tangled.repo.log">;
11
+ type main$schematype = typeof _mainSchema;
12
+ export interface mainSchema extends main$schematype {
13
+ }
14
+ export declare const mainSchema: mainSchema;
15
+ export interface $params extends v.InferInput<mainSchema['params']> {
16
+ }
17
+ export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
18
+ declare module '@atcute/lexicons/ambient' {
19
+ interface XRPCQueries {
20
+ 'sh.tangled.repo.log': mainSchema;
21
+ }
22
+ }
23
+ export {};
@@ -0,0 +1,16 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.log', {
3
+ params: /*#__PURE__*/ v.object({
4
+ cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
5
+ limit: /*#__PURE__*/ v.optional(
6
+ /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]), 50),
7
+ path: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string(), ''),
8
+ ref: /*#__PURE__*/ v.string(),
9
+ repo: /*#__PURE__*/ v.string(),
10
+ }),
11
+ output: {
12
+ type: 'blob',
13
+ },
14
+ });
15
+ export const mainSchema = _mainSchema;
16
+ //# sourceMappingURL=log.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/log.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,EAAE;IAChE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QAC1D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;QAC9B,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAC5F,EAAE,CACF;QACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,EAAE,CAAC;QAC5D,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;QAC7B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;KAC9B,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,MAAM;KACZ;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
3
+ cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
4
+ limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 100>]>, 50>;
5
+ repo: v.StringSchema<string>;
6
+ }>, {
7
+ type: "blob";
8
+ }, "sh.tangled.repo.tags">;
9
+ type main$schematype = typeof _mainSchema;
10
+ export interface mainSchema extends main$schematype {
11
+ }
12
+ export declare const mainSchema: mainSchema;
13
+ export interface $params extends v.InferInput<mainSchema['params']> {
14
+ }
15
+ export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
16
+ declare module '@atcute/lexicons/ambient' {
17
+ interface XRPCQueries {
18
+ 'sh.tangled.repo.tags': mainSchema;
19
+ }
20
+ }
21
+ export {};
@@ -0,0 +1,14 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.tags', {
3
+ params: /*#__PURE__*/ v.object({
4
+ cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
5
+ limit: /*#__PURE__*/ v.optional(
6
+ /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]), 50),
7
+ repo: /*#__PURE__*/ v.string(),
8
+ }),
9
+ output: {
10
+ type: 'blob',
11
+ },
12
+ });
13
+ export const mainSchema = _mainSchema;
14
+ //# sourceMappingURL=tags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/tags.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,EAAE;IACjE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QAC1D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;QAC9B,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAC5F,EAAE,CACF;QACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;KAC9B,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,MAAM;KACZ;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -0,0 +1,55 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ declare const _lastCommitSchema: v.ObjectSchema<{
3
+ $type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.repo.tree#lastCommit">, undefined>;
4
+ hash: v.StringSchema<string>;
5
+ message: v.StringSchema<string>;
6
+ when: v.FormattedStringSchema<"datetime">;
7
+ }>;
8
+ declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
9
+ path: v.OptionalSchema<v.StringSchema<string>, "">;
10
+ ref: v.StringSchema<string>;
11
+ repo: v.StringSchema<string>;
12
+ }>, {
13
+ type: "lex";
14
+ schema: v.ObjectSchema<{
15
+ dotdot: v.OptionalSchema<v.StringSchema<string>, undefined>;
16
+ readonly files: v.ArraySchema<treeEntrySchema>;
17
+ parent: v.OptionalSchema<v.StringSchema<string>, undefined>;
18
+ ref: v.StringSchema<string>;
19
+ }>;
20
+ }, "sh.tangled.repo.tree">;
21
+ declare const _treeEntrySchema: v.ObjectSchema<{
22
+ $type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.repo.tree#treeEntry">, undefined>;
23
+ is_file: v.BooleanSchema;
24
+ is_subtree: v.BooleanSchema;
25
+ readonly last_commit: v.OptionalSchema<lastCommitSchema, undefined>;
26
+ mode: v.StringSchema<string>;
27
+ name: v.StringSchema<string>;
28
+ size: v.IntegerSchema;
29
+ }>;
30
+ type lastCommit$schematype = typeof _lastCommitSchema;
31
+ type main$schematype = typeof _mainSchema;
32
+ type treeEntry$schematype = typeof _treeEntrySchema;
33
+ export interface lastCommitSchema extends lastCommit$schematype {
34
+ }
35
+ export interface mainSchema extends main$schematype {
36
+ }
37
+ export interface treeEntrySchema extends treeEntry$schematype {
38
+ }
39
+ export declare const lastCommitSchema: lastCommitSchema;
40
+ export declare const mainSchema: mainSchema;
41
+ export declare const treeEntrySchema: treeEntrySchema;
42
+ export interface LastCommit extends v.InferInput<typeof lastCommitSchema> {
43
+ }
44
+ export interface TreeEntry extends v.InferInput<typeof treeEntrySchema> {
45
+ }
46
+ export interface $params extends v.InferInput<mainSchema['params']> {
47
+ }
48
+ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
49
+ }
50
+ declare module '@atcute/lexicons/ambient' {
51
+ interface XRPCQueries {
52
+ 'sh.tangled.repo.tree': mainSchema;
53
+ }
54
+ }
55
+ export {};
@@ -0,0 +1,40 @@
1
+ import * as v from '@atcute/lexicons/validations';
2
+ const _lastCommitSchema = /*#__PURE__*/ v.object({
3
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.tree#lastCommit')),
4
+ hash: /*#__PURE__*/ v.string(),
5
+ message: /*#__PURE__*/ v.string(),
6
+ when: /*#__PURE__*/ v.datetimeString(),
7
+ });
8
+ const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.tree', {
9
+ params: /*#__PURE__*/ v.object({
10
+ path: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string(), ''),
11
+ ref: /*#__PURE__*/ v.string(),
12
+ repo: /*#__PURE__*/ v.string(),
13
+ }),
14
+ output: {
15
+ type: 'lex',
16
+ schema: /*#__PURE__*/ v.object({
17
+ dotdot: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
18
+ get files() {
19
+ return /*#__PURE__*/ v.array(treeEntrySchema);
20
+ },
21
+ parent: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
22
+ ref: /*#__PURE__*/ v.string(),
23
+ }),
24
+ },
25
+ });
26
+ const _treeEntrySchema = /*#__PURE__*/ v.object({
27
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.tree#treeEntry')),
28
+ is_file: /*#__PURE__*/ v.boolean(),
29
+ is_subtree: /*#__PURE__*/ v.boolean(),
30
+ get last_commit() {
31
+ return /*#__PURE__*/ v.optional(lastCommitSchema);
32
+ },
33
+ mode: /*#__PURE__*/ v.string(),
34
+ name: /*#__PURE__*/ v.string(),
35
+ size: /*#__PURE__*/ v.integer(),
36
+ });
37
+ export const lastCommitSchema = _lastCommitSchema;
38
+ export const mainSchema = _mainSchema;
39
+ export const treeEntrySchema = _treeEntrySchema;
40
+ //# sourceMappingURL=tree.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tree.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/tree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC3F,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACjC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CACtC,CAAC,CAAC;AACH,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,EAAE;IACjE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,EAAE,CAAC;QAC5D,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;QAC7B,IAAI,EAAE,aAAa,CAAC,CAAC,CA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,7 +2,7 @@ import * as v from '@atcute/lexicons/validations';
2
2
  declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
3
3
  $type: v.LiteralSchema<"sh.tangled.repo">;
4
4
  createdAt: v.FormattedStringSchema<"datetime">;
5
- description: v.OptionalSchema<v.SchemaWithConstraint<v.FormattedStringSchema<"datetime">, readonly [v.StringGraphemesConstraint<1, 140>]>, undefined>;
5
+ description: v.OptionalSchema<v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringGraphemesConstraint<1, 140>]>, undefined>;
6
6
  knot: v.StringSchema<string>;
7
7
  name: v.StringSchema<string>;
8
8
  owner: v.FormattedStringSchema<"did">;
@@ -5,7 +5,7 @@ const _mainSchema = /*#__PURE__*/ v.record(
5
5
  $type: /*#__PURE__*/ v.literal('sh.tangled.repo'),
6
6
  createdAt: /*#__PURE__*/ v.datetimeString(),
7
7
  description: /*#__PURE__*/ v.optional(
8
- /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.datetimeString(), [/*#__PURE__*/ v.stringGraphemes(1, 140)])),
8
+ /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringGraphemes(1, 140)])),
9
9
  knot: /*#__PURE__*/ v.string(),
10
10
  name: /*#__PURE__*/ v.string(),
11
11
  owner: /*#__PURE__*/ v.didString(),
@@ -1 +1 @@
1
- {"version":3,"file":"repo.js","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/repo.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;AAC3B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAAC;IACjD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IA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AE,GAAG,CAAC,CAAC,CAAC,CAC9F;IACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IAClC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACpE,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3D,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
@@ -4,25 +4,37 @@ export * as ShTangledFeedStar from './types/sh/tangled/feed/star.js';
4
4
  export * as ShTangledGitRefUpdate from './types/sh/tangled/git/refUpdate.js';
5
5
  export * as ShTangledGraphFollow from './types/sh/tangled/graph/follow.js';
6
6
  export * as ShTangledKnot from './types/sh/tangled/knot.js';
7
+ export * as ShTangledKnotListKeys from './types/sh/tangled/knot/listKeys.js';
7
8
  export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js';
9
+ export * as ShTangledKnotVersion from './types/sh/tangled/knot/version.js';
10
+ export * as ShTangledOwner from './types/sh/tangled/owner.js';
8
11
  export * as ShTangledPipeline from './types/sh/tangled/pipeline.js';
9
12
  export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.js';
10
13
  export * as ShTangledPublicKey from './types/sh/tangled/publicKey.js';
11
14
  export * as ShTangledRepo from './types/sh/tangled/repo.js';
12
15
  export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.js';
16
+ export * as ShTangledRepoArchive from './types/sh/tangled/repo/archive.js';
13
17
  export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.js';
18
+ export * as ShTangledRepoBlob from './types/sh/tangled/repo/blob.js';
19
+ export * as ShTangledRepoBranch from './types/sh/tangled/repo/branch.js';
20
+ export * as ShTangledRepoBranches from './types/sh/tangled/repo/branches.js';
14
21
  export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.js';
22
+ export * as ShTangledRepoCompare from './types/sh/tangled/repo/compare.js';
15
23
  export * as ShTangledRepoCreate from './types/sh/tangled/repo/create.js';
16
24
  export * as ShTangledRepoDelete from './types/sh/tangled/repo/delete.js';
25
+ export * as ShTangledRepoDiff from './types/sh/tangled/repo/diff.js';
17
26
  export * as ShTangledRepoForkStatus from './types/sh/tangled/repo/forkStatus.js';
18
27
  export * as ShTangledRepoForkSync from './types/sh/tangled/repo/forkSync.js';
28
+ export * as ShTangledRepoGetDefaultBranch from './types/sh/tangled/repo/getDefaultBranch.js';
19
29
  export * as ShTangledRepoHiddenRef from './types/sh/tangled/repo/hiddenRef.js';
20
30
  export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.js';
21
31
  export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.js';
22
32
  export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.js';
23
33
  export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.js';
24
34
  export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.js';
35
+ export * as ShTangledRepoLanguages from './types/sh/tangled/repo/languages.js';
25
36
  export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.js';
37
+ export * as ShTangledRepoLog from './types/sh/tangled/repo/log.js';
26
38
  export * as ShTangledRepoMerge from './types/sh/tangled/repo/merge.js';
27
39
  export * as ShTangledRepoMergeCheck from './types/sh/tangled/repo/mergeCheck.js';
28
40
  export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.js';
@@ -33,6 +45,8 @@ export * as ShTangledRepoPullStatusMerged from './types/sh/tangled/repo/pull/sta
33
45
  export * as ShTangledRepoPullStatusOpen from './types/sh/tangled/repo/pull/status/open.js';
34
46
  export * as ShTangledRepoRemoveSecret from './types/sh/tangled/repo/removeSecret.js';
35
47
  export * as ShTangledRepoSetDefaultBranch from './types/sh/tangled/repo/setDefaultBranch.js';
48
+ export * as ShTangledRepoTags from './types/sh/tangled/repo/tags.js';
49
+ export * as ShTangledRepoTree from './types/sh/tangled/repo/tree.js';
36
50
  export * as ShTangledSpindle from './types/sh/tangled/spindle.js';
37
51
  export * as ShTangledSpindleMember from './types/sh/tangled/spindle/member.js';
38
52
  export * as ShTangledString from './types/sh/tangled/string.js';
@@ -0,0 +1,48 @@
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.query('sh.tangled.knot.listKeys', {
6
+ params: /*#__PURE__*/ v.object({
7
+ cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
8
+ limit: /*#__PURE__*/ v.optional(
9
+ /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
10
+ 100,
11
+ ),
12
+ }),
13
+ output: {
14
+ type: 'lex',
15
+ schema: /*#__PURE__*/ v.object({
16
+ cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
17
+ get keys() {
18
+ return /*#__PURE__*/ v.array(publicKeySchema);
19
+ },
20
+ }),
21
+ },
22
+ });
23
+ const _publicKeySchema = /*#__PURE__*/ v.object({
24
+ $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.knot.listKeys#publicKey')),
25
+ createdAt: /*#__PURE__*/ v.datetimeString(),
26
+ did: /*#__PURE__*/ v.didString(),
27
+ key: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 4096)]),
28
+ });
29
+
30
+ type main$schematype = typeof _mainSchema;
31
+ type publicKey$schematype = typeof _publicKeySchema;
32
+
33
+ export interface mainSchema extends main$schematype {}
34
+ export interface publicKeySchema extends publicKey$schematype {}
35
+
36
+ export const mainSchema = _mainSchema as mainSchema;
37
+ export const publicKeySchema = _publicKeySchema as publicKeySchema;
38
+
39
+ export interface PublicKey extends v.InferInput<typeof publicKeySchema> {}
40
+
41
+ export interface $params extends v.InferInput<mainSchema['params']> {}
42
+ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
43
+
44
+ declare module '@atcute/lexicons/ambient' {
45
+ interface XRPCQueries {
46
+ 'sh.tangled.knot.listKeys': mainSchema;
47
+ }
48
+ }
@@ -0,0 +1,28 @@
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.query('sh.tangled.knot.version', {
6
+ params: null,
7
+ output: {
8
+ type: 'lex',
9
+ schema: /*#__PURE__*/ v.object({
10
+ version: /*#__PURE__*/ v.string(),
11
+ }),
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 $params {}
22
+ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
23
+
24
+ declare module '@atcute/lexicons/ambient' {
25
+ interface XRPCQueries {
26
+ 'sh.tangled.knot.version': mainSchema;
27
+ }
28
+ }
@@ -0,0 +1,28 @@
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.query('sh.tangled.owner', {
6
+ params: null,
7
+ output: {
8
+ type: 'lex',
9
+ schema: /*#__PURE__*/ v.object({
10
+ owner: /*#__PURE__*/ v.didString(),
11
+ }),
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 $params {}
22
+ export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
23
+
24
+ declare module '@atcute/lexicons/ambient' {
25
+ interface XRPCQueries {
26
+ 'sh.tangled.owner': mainSchema;
27
+ }
28
+ }
@@ -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.query('sh.tangled.repo.archive', {
6
+ params: /*#__PURE__*/ v.object({
7
+ format: /*#__PURE__*/ v.literalEnum(['tar', 'tar.bz2', 'tar.gz', 'tar.xz', 'zip']),
8
+ prefix: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
9
+ ref: /*#__PURE__*/ v.string(),
10
+ repo: /*#__PURE__*/ v.string(),
11
+ }),
12
+ output: {
13
+ type: '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 $params extends v.InferInput<mainSchema['params']> {}
24
+ export type $output = v.InferXRPCBodyInput<mainSchema['output']>;
25
+
26
+ declare module '@atcute/lexicons/ambient' {
27
+ interface XRPCQueries {
28
+ 'sh.tangled.repo.archive': mainSchema;
29
+ }
30
+ }