@atcute/tangled 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +12 -15
- package/README.md +24 -0
- package/dist/lexicons/index.d.ts +20 -0
- package/dist/lexicons/index.js +20 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/feed/reaction.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/feed/reaction.js +11 -0
- package/dist/lexicons/types/sh/tangled/feed/reaction.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.d.ts +77 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.js +58 -0
- package/dist/lexicons/types/sh/tangled/git/refUpdate.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/knot.d.ts +17 -0
- package/dist/lexicons/types/sh/tangled/knot.js +9 -0
- package/dist/lexicons/types/sh/tangled/knot.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.js +14 -0
- package/dist/lexicons/types/sh/tangled/pipeline/status.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/pipeline.d.ts +116 -0
- package/dist/lexicons/types/sh/tangled/pipeline.js +84 -0
- package/dist/lexicons/types/sh/tangled/pipeline.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/addSecret.d.ts +23 -0
- package/dist/lexicons/types/sh/tangled/repo/addSecret.js +15 -0
- package/dist/lexicons/types/sh/tangled/repo/addSecret.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/collaborator.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/repo/collaborator.js +11 -0
- package/dist/lexicons/types/sh/tangled/repo/collaborator.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/create.d.ts +23 -0
- package/dist/lexicons/types/sh/tangled/repo/create.js +15 -0
- package/dist/lexicons/types/sh/tangled/repo/create.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/delete.d.ts +23 -0
- package/dist/lexicons/types/sh/tangled/repo/delete.js +15 -0
- package/dist/lexicons/types/sh/tangled/repo/delete.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/forkStatus.d.ts +32 -0
- package/dist/lexicons/types/sh/tangled/repo/forkStatus.js +22 -0
- package/dist/lexicons/types/sh/tangled/repo/forkStatus.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/forkSync.d.ts +24 -0
- package/dist/lexicons/types/sh/tangled/repo/forkSync.js +16 -0
- package/dist/lexicons/types/sh/tangled/repo/forkSync.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/hiddenRef.d.ts +32 -0
- package/dist/lexicons/types/sh/tangled/repo/hiddenRef.js +22 -0
- package/dist/lexicons/types/sh/tangled/repo/hiddenRef.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.d.ts +36 -0
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.js +24 -0
- package/dist/lexicons/types/sh/tangled/repo/listSecrets.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/merge.d.ts +28 -0
- package/dist/lexicons/types/sh/tangled/repo/merge.js +20 -0
- package/dist/lexicons/types/sh/tangled/repo/merge.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/mergeCheck.d.ts +45 -0
- package/dist/lexicons/types/sh/tangled/repo/mergeCheck.js +32 -0
- package/dist/lexicons/types/sh/tangled/repo/mergeCheck.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/pull/comment.d.ts +0 -3
- package/dist/lexicons/types/sh/tangled/repo/pull/comment.js +0 -3
- package/dist/lexicons/types/sh/tangled/repo/pull/comment.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/pull.d.ts +13 -3
- package/dist/lexicons/types/sh/tangled/repo/pull.js +10 -3
- package/dist/lexicons/types/sh/tangled/repo/pull.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.js +14 -0
- package/dist/lexicons/types/sh/tangled/repo/removeSecret.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.d.ts +22 -0
- package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.js +14 -0
- package/dist/lexicons/types/sh/tangled/repo/setDefaultBranch.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/repo.d.ts +1 -0
- package/dist/lexicons/types/sh/tangled/repo.js +1 -0
- package/dist/lexicons/types/sh/tangled/repo.js.map +1 -1
- package/dist/lexicons/types/sh/tangled/spindle/member.d.ts +19 -0
- package/dist/lexicons/types/sh/tangled/spindle/member.js +11 -0
- package/dist/lexicons/types/sh/tangled/spindle/member.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/spindle.d.ts +17 -0
- package/dist/lexicons/types/sh/tangled/spindle.js +9 -0
- package/dist/lexicons/types/sh/tangled/spindle.js.map +1 -0
- package/dist/lexicons/types/sh/tangled/string.d.ts +20 -0
- package/dist/lexicons/types/sh/tangled/string.js +14 -0
- package/dist/lexicons/types/sh/tangled/string.js.map +1 -0
- package/lib/lexicons/index.ts +20 -0
- package/lib/lexicons/types/sh/tangled/feed/reaction.ts +27 -0
- package/lib/lexicons/types/sh/tangled/git/refUpdate.ts +91 -0
- package/lib/lexicons/types/sh/tangled/knot.ts +25 -0
- package/lib/lexicons/types/sh/tangled/pipeline/status.ts +30 -0
- package/lib/lexicons/types/sh/tangled/pipeline.ts +124 -0
- package/lib/lexicons/types/sh/tangled/repo/addSecret.ts +31 -0
- package/lib/lexicons/types/sh/tangled/repo/collaborator.ts +27 -0
- package/lib/lexicons/types/sh/tangled/repo/create.ts +31 -0
- package/lib/lexicons/types/sh/tangled/repo/delete.ts +31 -0
- package/lib/lexicons/types/sh/tangled/repo/forkStatus.ts +39 -0
- package/lib/lexicons/types/sh/tangled/repo/forkSync.ts +32 -0
- package/lib/lexicons/types/sh/tangled/repo/hiddenRef.ts +39 -0
- package/lib/lexicons/types/sh/tangled/repo/listSecrets.ts +44 -0
- package/lib/lexicons/types/sh/tangled/repo/merge.ts +36 -0
- package/lib/lexicons/types/sh/tangled/repo/mergeCheck.ts +53 -0
- package/lib/lexicons/types/sh/tangled/repo/pull/comment.ts +0 -3
- package/lib/lexicons/types/sh/tangled/repo/pull.ts +13 -3
- package/lib/lexicons/types/sh/tangled/repo/removeSecret.ts +30 -0
- package/lib/lexicons/types/sh/tangled/repo/setDefaultBranch.ts +30 -0
- package/lib/lexicons/types/sh/tangled/repo.ts +1 -0
- package/lib/lexicons/types/sh/tangled/spindle/member.ts +27 -0
- package/lib/lexicons/types/sh/tangled/spindle.ts +25 -0
- package/lib/lexicons/types/sh/tangled/string.ts +30 -0
- package/package.json +6 -6
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
key: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<1, 50>]>;
|
|
6
|
+
repo: v.FormattedStringSchema<"at-uri">;
|
|
7
|
+
value: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<1, 200>]>;
|
|
8
|
+
}>;
|
|
9
|
+
}, null, "sh.tangled.repo.addSecret">;
|
|
10
|
+
type main$schematype = typeof _mainSchema;
|
|
11
|
+
export interface mainSchema extends main$schematype {
|
|
12
|
+
}
|
|
13
|
+
export declare const mainSchema: mainSchema;
|
|
14
|
+
export interface $params {
|
|
15
|
+
}
|
|
16
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
17
|
+
}
|
|
18
|
+
declare module '@atcute/lexicons/ambient' {
|
|
19
|
+
interface XRPCProcedures {
|
|
20
|
+
'sh.tangled.repo.addSecret': mainSchema;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.addSecret', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
key: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(1, 50)]),
|
|
8
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
9
|
+
value: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(1, 200)]),
|
|
10
|
+
}),
|
|
11
|
+
},
|
|
12
|
+
output: null,
|
|
13
|
+
});
|
|
14
|
+
export const mainSchema = _mainSchema;
|
|
15
|
+
//# sourceMappingURL=addSecret.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addSecret.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/addSecret.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,2BAA2B,EAAE;IAC1E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;YAC/F,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;YACzC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;SAClG,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -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.repo.collaborator">;
|
|
4
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
5
|
+
repo: v.FormattedStringSchema<"at-uri">;
|
|
6
|
+
subject: v.FormattedStringSchema<"did">;
|
|
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.repo.collaborator': 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.repo.collaborator'),
|
|
6
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
7
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
8
|
+
subject: /*#__PURE__*/ v.didString(),
|
|
9
|
+
}));
|
|
10
|
+
export const mainSchema = _mainSchema;
|
|
11
|
+
//# sourceMappingURL=collaborator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collaborator.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/collaborator.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,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;IACzC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;CACpC,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
defaultBranch: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
6
|
+
rkey: v.StringSchema<string>;
|
|
7
|
+
source: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
8
|
+
}>;
|
|
9
|
+
}, null, "sh.tangled.repo.create">;
|
|
10
|
+
type main$schematype = typeof _mainSchema;
|
|
11
|
+
export interface mainSchema extends main$schematype {
|
|
12
|
+
}
|
|
13
|
+
export declare const mainSchema: mainSchema;
|
|
14
|
+
export interface $params {
|
|
15
|
+
}
|
|
16
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
17
|
+
}
|
|
18
|
+
declare module '@atcute/lexicons/ambient' {
|
|
19
|
+
interface XRPCProcedures {
|
|
20
|
+
'sh.tangled.repo.create': mainSchema;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.create', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
defaultBranch: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
|
+
rkey: /*#__PURE__*/ v.string(),
|
|
9
|
+
source: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
+
}),
|
|
11
|
+
},
|
|
12
|
+
output: null,
|
|
13
|
+
});
|
|
14
|
+
export const mainSchema = _mainSchema;
|
|
15
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/create.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,wBAAwB,EAAE;IACvE,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YACjE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SAC1D,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
did: v.FormattedStringSchema<"did">;
|
|
6
|
+
name: v.StringSchema<string>;
|
|
7
|
+
rkey: v.StringSchema<string>;
|
|
8
|
+
}>;
|
|
9
|
+
}, null, "sh.tangled.repo.delete">;
|
|
10
|
+
type main$schematype = typeof _mainSchema;
|
|
11
|
+
export interface mainSchema extends main$schematype {
|
|
12
|
+
}
|
|
13
|
+
export declare const mainSchema: mainSchema;
|
|
14
|
+
export interface $params {
|
|
15
|
+
}
|
|
16
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
17
|
+
}
|
|
18
|
+
declare module '@atcute/lexicons/ambient' {
|
|
19
|
+
interface XRPCProcedures {
|
|
20
|
+
'sh.tangled.repo.delete': mainSchema;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.delete', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
name: /*#__PURE__*/ v.string(),
|
|
9
|
+
rkey: /*#__PURE__*/ v.string(),
|
|
10
|
+
}),
|
|
11
|
+
},
|
|
12
|
+
output: null,
|
|
13
|
+
});
|
|
14
|
+
export const mainSchema = _mainSchema;
|
|
15
|
+
//# sourceMappingURL=delete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/delete.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,wBAAwB,EAAE;IACvE,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;YAChC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAC9B,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
branch: v.StringSchema<string>;
|
|
6
|
+
did: v.FormattedStringSchema<"did">;
|
|
7
|
+
hiddenRef: v.StringSchema<string>;
|
|
8
|
+
name: v.StringSchema<string>;
|
|
9
|
+
source: v.StringSchema<string>;
|
|
10
|
+
}>;
|
|
11
|
+
}, {
|
|
12
|
+
type: "lex";
|
|
13
|
+
schema: v.ObjectSchema<{
|
|
14
|
+
status: v.IntegerSchema;
|
|
15
|
+
}>;
|
|
16
|
+
}, "sh.tangled.repo.forkStatus">;
|
|
17
|
+
type main$schematype = typeof _mainSchema;
|
|
18
|
+
export interface mainSchema extends main$schematype {
|
|
19
|
+
}
|
|
20
|
+
export declare const mainSchema: mainSchema;
|
|
21
|
+
export interface $params {
|
|
22
|
+
}
|
|
23
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
24
|
+
}
|
|
25
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
26
|
+
}
|
|
27
|
+
declare module '@atcute/lexicons/ambient' {
|
|
28
|
+
interface XRPCProcedures {
|
|
29
|
+
'sh.tangled.repo.forkStatus': mainSchema;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.forkStatus', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
branch: /*#__PURE__*/ v.string(),
|
|
8
|
+
did: /*#__PURE__*/ v.didString(),
|
|
9
|
+
hiddenRef: /*#__PURE__*/ v.string(),
|
|
10
|
+
name: /*#__PURE__*/ v.string(),
|
|
11
|
+
source: /*#__PURE__*/ v.string(),
|
|
12
|
+
}),
|
|
13
|
+
},
|
|
14
|
+
output: {
|
|
15
|
+
type: 'lex',
|
|
16
|
+
schema: /*#__PURE__*/ v.object({
|
|
17
|
+
status: /*#__PURE__*/ v.integer(),
|
|
18
|
+
}),
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
export const mainSchema = _mainSchema;
|
|
22
|
+
//# sourceMappingURL=forkStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forkStatus.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/forkStatus.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,4BAA4B,EAAE;IAC3E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAChC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;YAChC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YACnC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAChC,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;SACjC,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
branch: v.StringSchema<string>;
|
|
6
|
+
did: v.FormattedStringSchema<"did">;
|
|
7
|
+
name: v.StringSchema<string>;
|
|
8
|
+
source: v.FormattedStringSchema<"at-uri">;
|
|
9
|
+
}>;
|
|
10
|
+
}, null, "sh.tangled.repo.forkSync">;
|
|
11
|
+
type main$schematype = typeof _mainSchema;
|
|
12
|
+
export interface mainSchema extends main$schematype {
|
|
13
|
+
}
|
|
14
|
+
export declare const mainSchema: mainSchema;
|
|
15
|
+
export interface $params {
|
|
16
|
+
}
|
|
17
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
18
|
+
}
|
|
19
|
+
declare module '@atcute/lexicons/ambient' {
|
|
20
|
+
interface XRPCProcedures {
|
|
21
|
+
'sh.tangled.repo.forkSync': mainSchema;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.forkSync', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
branch: /*#__PURE__*/ v.string(),
|
|
8
|
+
did: /*#__PURE__*/ v.didString(),
|
|
9
|
+
name: /*#__PURE__*/ v.string(),
|
|
10
|
+
source: /*#__PURE__*/ v.resourceUriString(),
|
|
11
|
+
}),
|
|
12
|
+
},
|
|
13
|
+
output: null,
|
|
14
|
+
});
|
|
15
|
+
export const mainSchema = _mainSchema;
|
|
16
|
+
//# sourceMappingURL=forkSync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forkSync.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/forkSync.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,0BAA0B,EAAE;IACzE,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAChC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;YAChC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;SAC3C,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
forkRef: v.StringSchema<string>;
|
|
6
|
+
remoteRef: v.StringSchema<string>;
|
|
7
|
+
repo: v.FormattedStringSchema<"at-uri">;
|
|
8
|
+
}>;
|
|
9
|
+
}, {
|
|
10
|
+
type: "lex";
|
|
11
|
+
schema: v.ObjectSchema<{
|
|
12
|
+
error: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
13
|
+
ref: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
14
|
+
success: v.BooleanSchema;
|
|
15
|
+
}>;
|
|
16
|
+
}, "sh.tangled.repo.hiddenRef">;
|
|
17
|
+
type main$schematype = typeof _mainSchema;
|
|
18
|
+
export interface mainSchema extends main$schematype {
|
|
19
|
+
}
|
|
20
|
+
export declare const mainSchema: mainSchema;
|
|
21
|
+
export interface $params {
|
|
22
|
+
}
|
|
23
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
24
|
+
}
|
|
25
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
26
|
+
}
|
|
27
|
+
declare module '@atcute/lexicons/ambient' {
|
|
28
|
+
interface XRPCProcedures {
|
|
29
|
+
'sh.tangled.repo.hiddenRef': mainSchema;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.hiddenRef', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
forkRef: /*#__PURE__*/ v.string(),
|
|
8
|
+
remoteRef: /*#__PURE__*/ v.string(),
|
|
9
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
10
|
+
}),
|
|
11
|
+
},
|
|
12
|
+
output: {
|
|
13
|
+
type: 'lex',
|
|
14
|
+
schema: /*#__PURE__*/ v.object({
|
|
15
|
+
error: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
16
|
+
ref: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
17
|
+
success: /*#__PURE__*/ v.boolean(),
|
|
18
|
+
}),
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
export const mainSchema = _mainSchema;
|
|
22
|
+
//# sourceMappingURL=hiddenRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hiddenRef.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/hiddenRef.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,2BAA2B,EAAE;IAC1E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YACjC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YACnC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;SACzC,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YACzD,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YACvD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;SAClC,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
3
|
+
repo: v.FormattedStringSchema<"at-uri">;
|
|
4
|
+
}>, {
|
|
5
|
+
type: "lex";
|
|
6
|
+
schema: v.ObjectSchema<{
|
|
7
|
+
readonly secrets: v.ArraySchema<secretSchema>;
|
|
8
|
+
}>;
|
|
9
|
+
}, "sh.tangled.repo.listSecrets">;
|
|
10
|
+
declare const _secretSchema: v.ObjectSchema<{
|
|
11
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.repo.listSecrets#secret">, undefined>;
|
|
12
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
13
|
+
createdBy: v.FormattedStringSchema<"did">;
|
|
14
|
+
key: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<1, 50>]>;
|
|
15
|
+
repo: v.FormattedStringSchema<"at-uri">;
|
|
16
|
+
}>;
|
|
17
|
+
type main$schematype = typeof _mainSchema;
|
|
18
|
+
type secret$schematype = typeof _secretSchema;
|
|
19
|
+
export interface mainSchema extends main$schematype {
|
|
20
|
+
}
|
|
21
|
+
export interface secretSchema extends secret$schematype {
|
|
22
|
+
}
|
|
23
|
+
export declare const mainSchema: mainSchema;
|
|
24
|
+
export declare const secretSchema: secretSchema;
|
|
25
|
+
export interface Secret extends v.InferInput<typeof secretSchema> {
|
|
26
|
+
}
|
|
27
|
+
export interface $params extends v.InferInput<mainSchema['params']> {
|
|
28
|
+
}
|
|
29
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
30
|
+
}
|
|
31
|
+
declare module '@atcute/lexicons/ambient' {
|
|
32
|
+
interface XRPCQueries {
|
|
33
|
+
'sh.tangled.repo.listSecrets': mainSchema;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.query('sh.tangled.repo.listSecrets', {
|
|
3
|
+
params: /*#__PURE__*/ v.object({
|
|
4
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
5
|
+
}),
|
|
6
|
+
output: {
|
|
7
|
+
type: 'lex',
|
|
8
|
+
schema: /*#__PURE__*/ v.object({
|
|
9
|
+
get secrets() {
|
|
10
|
+
return /*#__PURE__*/ v.array(secretSchema);
|
|
11
|
+
},
|
|
12
|
+
}),
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
const _secretSchema = /*#__PURE__*/ v.object({
|
|
16
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.listSecrets#secret')),
|
|
17
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
18
|
+
createdBy: /*#__PURE__*/ v.didString(),
|
|
19
|
+
key: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(1, 50)]),
|
|
20
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
21
|
+
});
|
|
22
|
+
export const mainSchema = _mainSchema;
|
|
23
|
+
export const secretSchema = _secretSchema;
|
|
24
|
+
//# sourceMappingURL=listSecrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listSecrets.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/listSecrets.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,6BAA6B,EAAE;IACxE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;KACzC,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,OAAO;gBACV,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAC5C,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AACH,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,CAAC;IAC9F,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IACtC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IAC/F,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;CACzC,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
authorEmail: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
6
|
+
authorName: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
7
|
+
branch: v.StringSchema<string>;
|
|
8
|
+
commitBody: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
9
|
+
commitMessage: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
10
|
+
did: v.FormattedStringSchema<"did">;
|
|
11
|
+
name: v.StringSchema<string>;
|
|
12
|
+
patch: v.StringSchema<string>;
|
|
13
|
+
}>;
|
|
14
|
+
}, null, "sh.tangled.repo.merge">;
|
|
15
|
+
type main$schematype = typeof _mainSchema;
|
|
16
|
+
export interface mainSchema extends main$schematype {
|
|
17
|
+
}
|
|
18
|
+
export declare const mainSchema: mainSchema;
|
|
19
|
+
export interface $params {
|
|
20
|
+
}
|
|
21
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
22
|
+
}
|
|
23
|
+
declare module '@atcute/lexicons/ambient' {
|
|
24
|
+
interface XRPCProcedures {
|
|
25
|
+
'sh.tangled.repo.merge': mainSchema;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.merge', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
authorEmail: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
|
+
authorName: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
branch: /*#__PURE__*/ v.string(),
|
|
10
|
+
commitBody: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
|
+
commitMessage: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
|
+
did: /*#__PURE__*/ v.didString(),
|
|
13
|
+
name: /*#__PURE__*/ v.string(),
|
|
14
|
+
patch: /*#__PURE__*/ v.string(),
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
output: null,
|
|
18
|
+
});
|
|
19
|
+
export const mainSchema = _mainSchema;
|
|
20
|
+
//# sourceMappingURL=merge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/merge.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,uBAAuB,EAAE;IACtE,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAC/D,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAC9D,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAChC,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAC9D,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YACjE,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;YAChC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAC/B,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _conflictInfoSchema: v.ObjectSchema<{
|
|
3
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.repo.mergeCheck#conflictInfo">, undefined>;
|
|
4
|
+
filename: v.StringSchema<string>;
|
|
5
|
+
reason: v.StringSchema<string>;
|
|
6
|
+
}>;
|
|
7
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
8
|
+
type: "lex";
|
|
9
|
+
schema: v.ObjectSchema<{
|
|
10
|
+
branch: v.StringSchema<string>;
|
|
11
|
+
did: v.FormattedStringSchema<"did">;
|
|
12
|
+
name: v.StringSchema<string>;
|
|
13
|
+
patch: v.StringSchema<string>;
|
|
14
|
+
}>;
|
|
15
|
+
}, {
|
|
16
|
+
type: "lex";
|
|
17
|
+
schema: v.ObjectSchema<{
|
|
18
|
+
readonly conflicts: v.OptionalSchema<v.ArraySchema<conflictInfoSchema>, undefined>;
|
|
19
|
+
error: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
20
|
+
is_conflicted: v.BooleanSchema;
|
|
21
|
+
message: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
22
|
+
}>;
|
|
23
|
+
}, "sh.tangled.repo.mergeCheck">;
|
|
24
|
+
type conflictInfo$schematype = typeof _conflictInfoSchema;
|
|
25
|
+
type main$schematype = typeof _mainSchema;
|
|
26
|
+
export interface conflictInfoSchema extends conflictInfo$schematype {
|
|
27
|
+
}
|
|
28
|
+
export interface mainSchema extends main$schematype {
|
|
29
|
+
}
|
|
30
|
+
export declare const conflictInfoSchema: conflictInfoSchema;
|
|
31
|
+
export declare const mainSchema: mainSchema;
|
|
32
|
+
export interface ConflictInfo extends v.InferInput<typeof conflictInfoSchema> {
|
|
33
|
+
}
|
|
34
|
+
export interface $params {
|
|
35
|
+
}
|
|
36
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {
|
|
37
|
+
}
|
|
38
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {
|
|
39
|
+
}
|
|
40
|
+
declare module '@atcute/lexicons/ambient' {
|
|
41
|
+
interface XRPCProcedures {
|
|
42
|
+
'sh.tangled.repo.mergeCheck': mainSchema;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _conflictInfoSchema = /*#__PURE__*/ v.object({
|
|
3
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.mergeCheck#conflictInfo')),
|
|
4
|
+
filename: /*#__PURE__*/ v.string(),
|
|
5
|
+
reason: /*#__PURE__*/ v.string(),
|
|
6
|
+
});
|
|
7
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.mergeCheck', {
|
|
8
|
+
params: null,
|
|
9
|
+
input: {
|
|
10
|
+
type: 'lex',
|
|
11
|
+
schema: /*#__PURE__*/ v.object({
|
|
12
|
+
branch: /*#__PURE__*/ v.string(),
|
|
13
|
+
did: /*#__PURE__*/ v.didString(),
|
|
14
|
+
name: /*#__PURE__*/ v.string(),
|
|
15
|
+
patch: /*#__PURE__*/ v.string(),
|
|
16
|
+
}),
|
|
17
|
+
},
|
|
18
|
+
output: {
|
|
19
|
+
type: 'lex',
|
|
20
|
+
schema: /*#__PURE__*/ v.object({
|
|
21
|
+
get conflicts() {
|
|
22
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(conflictInfoSchema));
|
|
23
|
+
},
|
|
24
|
+
error: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
25
|
+
is_conflicted: /*#__PURE__*/ v.boolean(),
|
|
26
|
+
message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
27
|
+
}),
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
export const conflictInfoSchema = _conflictInfoSchema;
|
|
31
|
+
export const mainSchema = _mainSchema;
|
|
32
|
+
//# sourceMappingURL=mergeCheck.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mergeCheck.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/mergeCheck.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,mBAAmB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAClD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACnG,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAClC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;CAChC,CAAC,CAAC;AACH,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,4BAA4B,EAAE;IAC3E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAChC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;YAChC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;YAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAC/B,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,SAAS;gBACZ,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC;YAC5E,CAAC;YACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YACzD,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;YACxC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SAC3D,CAAC;KACF;CACD,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAyC,CAAC;AAC5E,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -2,11 +2,8 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
3
|
$type: v.LiteralSchema<"sh.tangled.repo.pull.comment">;
|
|
4
4
|
body: v.StringSchema<string>;
|
|
5
|
-
commentId: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
6
5
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
7
|
-
owner: v.OptionalSchema<v.FormattedStringSchema<"did">, undefined>;
|
|
8
6
|
pull: v.FormattedStringSchema<"at-uri">;
|
|
9
|
-
repo: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
|
|
10
7
|
}>, v.FormattedStringSchema<"tid">>;
|
|
11
8
|
type main$schematype = typeof _mainSchema;
|
|
12
9
|
export interface mainSchema extends main$schematype {
|
|
@@ -4,11 +4,8 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
4
4
|
/*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.literal('sh.tangled.repo.pull.comment'),
|
|
6
6
|
body: /*#__PURE__*/ v.string(),
|
|
7
|
-
commentId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
8
7
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
9
|
-
owner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
10
8
|
pull: /*#__PURE__*/ v.resourceUriString(),
|
|
11
|
-
repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
12
9
|
}));
|
|
13
10
|
export const mainSchema = _mainSchema;
|
|
14
11
|
//# sourceMappingURL=comment.js.map
|
|
@@ -1 +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,MAAM,EAAE;IAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,
|
|
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,MAAM,EAAE;IAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;CACzC,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -4,29 +4,39 @@ declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
|
4
4
|
body: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
5
5
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
6
6
|
patch: v.StringSchema<string>;
|
|
7
|
-
pullId: v.IntegerSchema;
|
|
8
7
|
readonly source: v.OptionalSchema<sourceSchema, undefined>;
|
|
9
|
-
|
|
10
|
-
targetRepo: v.FormattedStringSchema<"at-uri">;
|
|
8
|
+
readonly target: targetSchema;
|
|
11
9
|
title: v.StringSchema<string>;
|
|
12
10
|
}>, v.FormattedStringSchema<"tid">>;
|
|
13
11
|
declare const _sourceSchema: v.ObjectSchema<{
|
|
14
12
|
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.repo.pull#source">, undefined>;
|
|
15
13
|
branch: v.StringSchema<string>;
|
|
16
14
|
repo: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
|
|
15
|
+
sha: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<40, 40>]>;
|
|
16
|
+
}>;
|
|
17
|
+
declare const _targetSchema: v.ObjectSchema<{
|
|
18
|
+
$type: v.OptionalSchema<v.LiteralSchema<"sh.tangled.repo.pull#target">, undefined>;
|
|
19
|
+
branch: v.StringSchema<string>;
|
|
20
|
+
repo: v.FormattedStringSchema<"at-uri">;
|
|
17
21
|
}>;
|
|
18
22
|
type main$schematype = typeof _mainSchema;
|
|
19
23
|
type source$schematype = typeof _sourceSchema;
|
|
24
|
+
type target$schematype = typeof _targetSchema;
|
|
20
25
|
export interface mainSchema extends main$schematype {
|
|
21
26
|
}
|
|
22
27
|
export interface sourceSchema extends source$schematype {
|
|
23
28
|
}
|
|
29
|
+
export interface targetSchema extends target$schematype {
|
|
30
|
+
}
|
|
24
31
|
export declare const mainSchema: mainSchema;
|
|
25
32
|
export declare const sourceSchema: sourceSchema;
|
|
33
|
+
export declare const targetSchema: targetSchema;
|
|
26
34
|
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
27
35
|
}
|
|
28
36
|
export interface Source extends v.InferInput<typeof sourceSchema> {
|
|
29
37
|
}
|
|
38
|
+
export interface Target extends v.InferInput<typeof targetSchema> {
|
|
39
|
+
}
|
|
30
40
|
declare module '@atcute/lexicons/ambient' {
|
|
31
41
|
interface Records {
|
|
32
42
|
'sh.tangled.repo.pull': mainSchema;
|