@atcute/tangled 1.0.3 → 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/dist/lexicons/index.d.ts +8 -0
- package/dist/lexicons/index.js +8 -0
- package/dist/lexicons/index.js.map +1 -1
- 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/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/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 +12 -3
- package/dist/lexicons/types/sh/tangled/repo/pull.js +9 -3
- package/dist/lexicons/types/sh/tangled/repo/pull.js.map +1 -1
- package/lib/lexicons/index.ts +8 -0
- package/lib/lexicons/types/sh/tangled/knot.ts +25 -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/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 +12 -3
- package/package.json +4 -4
package/dist/lexicons/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.js';
|
|
|
3
3
|
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
|
+
export * as ShTangledKnot from './types/sh/tangled/knot.js';
|
|
6
7
|
export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js';
|
|
7
8
|
export * as ShTangledPipeline from './types/sh/tangled/pipeline.js';
|
|
8
9
|
export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.js';
|
|
@@ -11,12 +12,19 @@ export * as ShTangledRepo from './types/sh/tangled/repo.js';
|
|
|
11
12
|
export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.js';
|
|
12
13
|
export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.js';
|
|
13
14
|
export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.js';
|
|
15
|
+
export * as ShTangledRepoCreate from './types/sh/tangled/repo/create.js';
|
|
16
|
+
export * as ShTangledRepoDelete from './types/sh/tangled/repo/delete.js';
|
|
17
|
+
export * as ShTangledRepoForkStatus from './types/sh/tangled/repo/forkStatus.js';
|
|
18
|
+
export * as ShTangledRepoForkSync from './types/sh/tangled/repo/forkSync.js';
|
|
19
|
+
export * as ShTangledRepoHiddenRef from './types/sh/tangled/repo/hiddenRef.js';
|
|
14
20
|
export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.js';
|
|
15
21
|
export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.js';
|
|
16
22
|
export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.js';
|
|
17
23
|
export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.js';
|
|
18
24
|
export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.js';
|
|
19
25
|
export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.js';
|
|
26
|
+
export * as ShTangledRepoMerge from './types/sh/tangled/repo/merge.js';
|
|
27
|
+
export * as ShTangledRepoMergeCheck from './types/sh/tangled/repo/mergeCheck.js';
|
|
20
28
|
export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.js';
|
|
21
29
|
export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.js';
|
|
22
30
|
export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.js';
|
package/dist/lexicons/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.js';
|
|
|
3
3
|
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
|
+
export * as ShTangledKnot from './types/sh/tangled/knot.js';
|
|
6
7
|
export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js';
|
|
7
8
|
export * as ShTangledPipeline from './types/sh/tangled/pipeline.js';
|
|
8
9
|
export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.js';
|
|
@@ -11,12 +12,19 @@ export * as ShTangledRepo from './types/sh/tangled/repo.js';
|
|
|
11
12
|
export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.js';
|
|
12
13
|
export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.js';
|
|
13
14
|
export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.js';
|
|
15
|
+
export * as ShTangledRepoCreate from './types/sh/tangled/repo/create.js';
|
|
16
|
+
export * as ShTangledRepoDelete from './types/sh/tangled/repo/delete.js';
|
|
17
|
+
export * as ShTangledRepoForkStatus from './types/sh/tangled/repo/forkStatus.js';
|
|
18
|
+
export * as ShTangledRepoForkSync from './types/sh/tangled/repo/forkSync.js';
|
|
19
|
+
export * as ShTangledRepoHiddenRef from './types/sh/tangled/repo/hiddenRef.js';
|
|
14
20
|
export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.js';
|
|
15
21
|
export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.js';
|
|
16
22
|
export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.js';
|
|
17
23
|
export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.js';
|
|
18
24
|
export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.js';
|
|
19
25
|
export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.js';
|
|
26
|
+
export * as ShTangledRepoMerge from './types/sh/tangled/repo/merge.js';
|
|
27
|
+
export * as ShTangledRepoMergeCheck from './types/sh/tangled/repo/mergeCheck.js';
|
|
20
28
|
export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.js';
|
|
21
29
|
export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.js';
|
|
22
30
|
export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/lexicons/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,iBAAiB,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,mBAAmB,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,iBAAiB,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,kBAAkB,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,aAAa,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,yBAAyB,MAAM,yCAAyC,CAAC;AACrF,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,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,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;AAC3F,OAAO,KAAK,yBAAyB,MAAM,yCAAyC,CAAC;AACrF,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,eAAe,MAAM,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/lexicons/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,iBAAiB,MAAM,iCAAiC,CAAC;AACrE,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,oBAAoB,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,aAAa,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,mBAAmB,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,iBAAiB,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,kBAAkB,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,aAAa,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,yBAAyB,MAAM,yCAAyC,CAAC;AACrF,OAAO,KAAK,mBAAmB,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,mBAAmB,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,OAAO,KAAK,qBAAqB,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,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,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,kBAAkB,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,uBAAuB,MAAM,uCAAuC,CAAC;AACjF,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;AAC3F,OAAO,KAAK,yBAAyB,MAAM,yCAAyC,CAAC;AACrF,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,sBAAsB,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,eAAe,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
|
+
$type: v.LiteralSchema<"sh.tangled.knot">;
|
|
4
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
5
|
+
}>, v.StringSchema<string>>;
|
|
6
|
+
type main$schematype = typeof _mainSchema;
|
|
7
|
+
export interface mainSchema extends main$schematype {
|
|
8
|
+
}
|
|
9
|
+
export declare const mainSchema: mainSchema;
|
|
10
|
+
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
11
|
+
}
|
|
12
|
+
declare module '@atcute/lexicons/ambient' {
|
|
13
|
+
interface Records {
|
|
14
|
+
'sh.tangled.knot': mainSchema;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
3
|
+
/*#__PURE__*/ v.string(),
|
|
4
|
+
/*#__PURE__*/ v.object({
|
|
5
|
+
$type: /*#__PURE__*/ v.literal('sh.tangled.knot'),
|
|
6
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
7
|
+
}));
|
|
8
|
+
export const mainSchema = _mainSchema;
|
|
9
|
+
//# sourceMappingURL=knot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knot.js","sourceRoot":"","sources":["../../../../../lib/lexicons/types/sh/tangled/knot.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;AACxB,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;CAC3C,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,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,10 +4,8 @@ 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<{
|
|
@@ -16,18 +14,29 @@ declare const _sourceSchema: v.ObjectSchema<{
|
|
|
16
14
|
repo: v.OptionalSchema<v.FormattedStringSchema<"at-uri">, undefined>;
|
|
17
15
|
sha: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<40, 40>]>;
|
|
18
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">;
|
|
21
|
+
}>;
|
|
19
22
|
type main$schematype = typeof _mainSchema;
|
|
20
23
|
type source$schematype = typeof _sourceSchema;
|
|
24
|
+
type target$schematype = typeof _targetSchema;
|
|
21
25
|
export interface mainSchema extends main$schematype {
|
|
22
26
|
}
|
|
23
27
|
export interface sourceSchema extends source$schematype {
|
|
24
28
|
}
|
|
29
|
+
export interface targetSchema extends target$schematype {
|
|
30
|
+
}
|
|
25
31
|
export declare const mainSchema: mainSchema;
|
|
26
32
|
export declare const sourceSchema: sourceSchema;
|
|
33
|
+
export declare const targetSchema: targetSchema;
|
|
27
34
|
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
28
35
|
}
|
|
29
36
|
export interface Source extends v.InferInput<typeof sourceSchema> {
|
|
30
37
|
}
|
|
38
|
+
export interface Target extends v.InferInput<typeof targetSchema> {
|
|
39
|
+
}
|
|
31
40
|
declare module '@atcute/lexicons/ambient' {
|
|
32
41
|
interface Records {
|
|
33
42
|
'sh.tangled.repo.pull': mainSchema;
|
|
@@ -6,12 +6,12 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
6
6
|
body: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
7
7
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
8
8
|
patch: /*#__PURE__*/ v.string(),
|
|
9
|
-
pullId: /*#__PURE__*/ v.integer(),
|
|
10
9
|
get source() {
|
|
11
10
|
return /*#__PURE__*/ v.optional(sourceSchema);
|
|
12
11
|
},
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
get target() {
|
|
13
|
+
return targetSchema;
|
|
14
|
+
},
|
|
15
15
|
title: /*#__PURE__*/ v.string(),
|
|
16
16
|
}));
|
|
17
17
|
const _sourceSchema = /*#__PURE__*/ v.object({
|
|
@@ -20,6 +20,12 @@ const _sourceSchema = /*#__PURE__*/ v.object({
|
|
|
20
20
|
repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
21
21
|
sha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
|
|
22
22
|
});
|
|
23
|
+
const _targetSchema = /*#__PURE__*/ v.object({
|
|
24
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.pull#target')),
|
|
25
|
+
branch: /*#__PURE__*/ v.string(),
|
|
26
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
27
|
+
});
|
|
23
28
|
export const mainSchema = _mainSchema;
|
|
24
29
|
export const sourceSchema = _sourceSchema;
|
|
30
|
+
export const targetSchema = _targetSchema;
|
|
25
31
|
//# sourceMappingURL=pull.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pull.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/pull.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;AAC3B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;IACtD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC/B,
|
|
1
|
+
{"version":3,"file":"pull.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/sh/tangled/repo/pull.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;AAC3B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;IACtD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxD,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC/B,IAAI,MAAM;QACT,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC/C,CAAC;IACD,IAAI,MAAM;QACT,OAAO,YAAY,CAAC;IACrB,CAAC;IACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;CAC/B,CAAC,CACF,CAAC;AACF,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACvF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAChC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACnE,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;CAChG,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,6BAA6B,CAAC,CAAC;IACvF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAChC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,iBAAiB,EAAE;CACzC,CAAC,CAAC;AAUH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC"}
|
package/lib/lexicons/index.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * as ShTangledFeedReaction from './types/sh/tangled/feed/reaction.js';
|
|
|
3
3
|
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
|
+
export * as ShTangledKnot from './types/sh/tangled/knot.js';
|
|
6
7
|
export * as ShTangledKnotMember from './types/sh/tangled/knot/member.js';
|
|
7
8
|
export * as ShTangledPipeline from './types/sh/tangled/pipeline.js';
|
|
8
9
|
export * as ShTangledPipelineStatus from './types/sh/tangled/pipeline/status.js';
|
|
@@ -11,12 +12,19 @@ export * as ShTangledRepo from './types/sh/tangled/repo.js';
|
|
|
11
12
|
export * as ShTangledRepoAddSecret from './types/sh/tangled/repo/addSecret.js';
|
|
12
13
|
export * as ShTangledRepoArtifact from './types/sh/tangled/repo/artifact.js';
|
|
13
14
|
export * as ShTangledRepoCollaborator from './types/sh/tangled/repo/collaborator.js';
|
|
15
|
+
export * as ShTangledRepoCreate from './types/sh/tangled/repo/create.js';
|
|
16
|
+
export * as ShTangledRepoDelete from './types/sh/tangled/repo/delete.js';
|
|
17
|
+
export * as ShTangledRepoForkStatus from './types/sh/tangled/repo/forkStatus.js';
|
|
18
|
+
export * as ShTangledRepoForkSync from './types/sh/tangled/repo/forkSync.js';
|
|
19
|
+
export * as ShTangledRepoHiddenRef from './types/sh/tangled/repo/hiddenRef.js';
|
|
14
20
|
export * as ShTangledRepoIssue from './types/sh/tangled/repo/issue.js';
|
|
15
21
|
export * as ShTangledRepoIssueComment from './types/sh/tangled/repo/issue/comment.js';
|
|
16
22
|
export * as ShTangledRepoIssueState from './types/sh/tangled/repo/issue/state.js';
|
|
17
23
|
export * as ShTangledRepoIssueStateClosed from './types/sh/tangled/repo/issue/state/closed.js';
|
|
18
24
|
export * as ShTangledRepoIssueStateOpen from './types/sh/tangled/repo/issue/state/open.js';
|
|
19
25
|
export * as ShTangledRepoListSecrets from './types/sh/tangled/repo/listSecrets.js';
|
|
26
|
+
export * as ShTangledRepoMerge from './types/sh/tangled/repo/merge.js';
|
|
27
|
+
export * as ShTangledRepoMergeCheck from './types/sh/tangled/repo/mergeCheck.js';
|
|
20
28
|
export * as ShTangledRepoPull from './types/sh/tangled/repo/pull.js';
|
|
21
29
|
export * as ShTangledRepoPullComment from './types/sh/tangled/repo/pull/comment.js';
|
|
22
30
|
export * as ShTangledRepoPullStatus from './types/sh/tangled/repo/pull/status.js';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
6
|
+
/*#__PURE__*/ v.string(),
|
|
7
|
+
/*#__PURE__*/ v.object({
|
|
8
|
+
$type: /*#__PURE__*/ v.literal('sh.tangled.knot'),
|
|
9
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
10
|
+
}),
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
type main$schematype = typeof _mainSchema;
|
|
14
|
+
|
|
15
|
+
export interface mainSchema extends main$schematype {}
|
|
16
|
+
|
|
17
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
18
|
+
|
|
19
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
20
|
+
|
|
21
|
+
declare module '@atcute/lexicons/ambient' {
|
|
22
|
+
interface Records {
|
|
23
|
+
'sh.tangled.knot': mainSchema;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.create', {
|
|
6
|
+
params: null,
|
|
7
|
+
input: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
defaultBranch: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
|
+
rkey: /*#__PURE__*/ v.string(),
|
|
12
|
+
source: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
|
+
}),
|
|
14
|
+
},
|
|
15
|
+
output: null,
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface mainSchema extends main$schematype {}
|
|
21
|
+
|
|
22
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
23
|
+
|
|
24
|
+
export interface $params {}
|
|
25
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
26
|
+
|
|
27
|
+
declare module '@atcute/lexicons/ambient' {
|
|
28
|
+
interface XRPCProcedures {
|
|
29
|
+
'sh.tangled.repo.create': mainSchema;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.delete', {
|
|
6
|
+
params: null,
|
|
7
|
+
input: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
did: /*#__PURE__*/ v.didString(),
|
|
11
|
+
name: /*#__PURE__*/ v.string(),
|
|
12
|
+
rkey: /*#__PURE__*/ v.string(),
|
|
13
|
+
}),
|
|
14
|
+
},
|
|
15
|
+
output: null,
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface mainSchema extends main$schematype {}
|
|
21
|
+
|
|
22
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
23
|
+
|
|
24
|
+
export interface $params {}
|
|
25
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
26
|
+
|
|
27
|
+
declare module '@atcute/lexicons/ambient' {
|
|
28
|
+
interface XRPCProcedures {
|
|
29
|
+
'sh.tangled.repo.delete': mainSchema;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.procedure('sh.tangled.repo.forkStatus', {
|
|
6
|
+
params: null,
|
|
7
|
+
input: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
branch: /*#__PURE__*/ v.string(),
|
|
11
|
+
did: /*#__PURE__*/ v.didString(),
|
|
12
|
+
hiddenRef: /*#__PURE__*/ v.string(),
|
|
13
|
+
name: /*#__PURE__*/ v.string(),
|
|
14
|
+
source: /*#__PURE__*/ v.string(),
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
output: {
|
|
18
|
+
type: 'lex',
|
|
19
|
+
schema: /*#__PURE__*/ v.object({
|
|
20
|
+
status: /*#__PURE__*/ v.integer(),
|
|
21
|
+
}),
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
type main$schematype = typeof _mainSchema;
|
|
26
|
+
|
|
27
|
+
export interface mainSchema extends main$schematype {}
|
|
28
|
+
|
|
29
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
30
|
+
|
|
31
|
+
export interface $params {}
|
|
32
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
33
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
|
|
34
|
+
|
|
35
|
+
declare module '@atcute/lexicons/ambient' {
|
|
36
|
+
interface XRPCProcedures {
|
|
37
|
+
'sh.tangled.repo.forkStatus': mainSchema;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.procedure('sh.tangled.repo.forkSync', {
|
|
6
|
+
params: null,
|
|
7
|
+
input: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
branch: /*#__PURE__*/ v.string(),
|
|
11
|
+
did: /*#__PURE__*/ v.didString(),
|
|
12
|
+
name: /*#__PURE__*/ v.string(),
|
|
13
|
+
source: /*#__PURE__*/ v.resourceUriString(),
|
|
14
|
+
}),
|
|
15
|
+
},
|
|
16
|
+
output: null,
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
type main$schematype = typeof _mainSchema;
|
|
20
|
+
|
|
21
|
+
export interface mainSchema extends main$schematype {}
|
|
22
|
+
|
|
23
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
24
|
+
|
|
25
|
+
export interface $params {}
|
|
26
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
27
|
+
|
|
28
|
+
declare module '@atcute/lexicons/ambient' {
|
|
29
|
+
interface XRPCProcedures {
|
|
30
|
+
'sh.tangled.repo.forkSync': mainSchema;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.procedure('sh.tangled.repo.hiddenRef', {
|
|
6
|
+
params: null,
|
|
7
|
+
input: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
forkRef: /*#__PURE__*/ v.string(),
|
|
11
|
+
remoteRef: /*#__PURE__*/ v.string(),
|
|
12
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
13
|
+
}),
|
|
14
|
+
},
|
|
15
|
+
output: {
|
|
16
|
+
type: 'lex',
|
|
17
|
+
schema: /*#__PURE__*/ v.object({
|
|
18
|
+
error: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
19
|
+
ref: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
20
|
+
success: /*#__PURE__*/ v.boolean(),
|
|
21
|
+
}),
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
type main$schematype = typeof _mainSchema;
|
|
26
|
+
|
|
27
|
+
export interface mainSchema extends main$schematype {}
|
|
28
|
+
|
|
29
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
30
|
+
|
|
31
|
+
export interface $params {}
|
|
32
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
33
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
|
|
34
|
+
|
|
35
|
+
declare module '@atcute/lexicons/ambient' {
|
|
36
|
+
interface XRPCProcedures {
|
|
37
|
+
'sh.tangled.repo.hiddenRef': mainSchema;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.procedure('sh.tangled.repo.merge', {
|
|
6
|
+
params: null,
|
|
7
|
+
input: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
authorEmail: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
|
+
authorName: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
|
+
branch: /*#__PURE__*/ v.string(),
|
|
13
|
+
commitBody: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
commitMessage: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
|
+
did: /*#__PURE__*/ v.didString(),
|
|
16
|
+
name: /*#__PURE__*/ v.string(),
|
|
17
|
+
patch: /*#__PURE__*/ v.string(),
|
|
18
|
+
}),
|
|
19
|
+
},
|
|
20
|
+
output: null,
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
type main$schematype = typeof _mainSchema;
|
|
24
|
+
|
|
25
|
+
export interface mainSchema extends main$schematype {}
|
|
26
|
+
|
|
27
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
28
|
+
|
|
29
|
+
export interface $params {}
|
|
30
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
31
|
+
|
|
32
|
+
declare module '@atcute/lexicons/ambient' {
|
|
33
|
+
interface XRPCProcedures {
|
|
34
|
+
'sh.tangled.repo.merge': mainSchema;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _conflictInfoSchema = /*#__PURE__*/ v.object({
|
|
6
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.mergeCheck#conflictInfo')),
|
|
7
|
+
filename: /*#__PURE__*/ v.string(),
|
|
8
|
+
reason: /*#__PURE__*/ v.string(),
|
|
9
|
+
});
|
|
10
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('sh.tangled.repo.mergeCheck', {
|
|
11
|
+
params: null,
|
|
12
|
+
input: {
|
|
13
|
+
type: 'lex',
|
|
14
|
+
schema: /*#__PURE__*/ v.object({
|
|
15
|
+
branch: /*#__PURE__*/ v.string(),
|
|
16
|
+
did: /*#__PURE__*/ v.didString(),
|
|
17
|
+
name: /*#__PURE__*/ v.string(),
|
|
18
|
+
patch: /*#__PURE__*/ v.string(),
|
|
19
|
+
}),
|
|
20
|
+
},
|
|
21
|
+
output: {
|
|
22
|
+
type: 'lex',
|
|
23
|
+
schema: /*#__PURE__*/ v.object({
|
|
24
|
+
get conflicts() {
|
|
25
|
+
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(conflictInfoSchema));
|
|
26
|
+
},
|
|
27
|
+
error: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
28
|
+
is_conflicted: /*#__PURE__*/ v.boolean(),
|
|
29
|
+
message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
30
|
+
}),
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
type conflictInfo$schematype = typeof _conflictInfoSchema;
|
|
35
|
+
type main$schematype = typeof _mainSchema;
|
|
36
|
+
|
|
37
|
+
export interface conflictInfoSchema extends conflictInfo$schematype {}
|
|
38
|
+
export interface mainSchema extends main$schematype {}
|
|
39
|
+
|
|
40
|
+
export const conflictInfoSchema = _conflictInfoSchema as conflictInfoSchema;
|
|
41
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
42
|
+
|
|
43
|
+
export interface ConflictInfo extends v.InferInput<typeof conflictInfoSchema> {}
|
|
44
|
+
|
|
45
|
+
export interface $params {}
|
|
46
|
+
export interface $input extends v.InferXRPCBodyInput<mainSchema['input']> {}
|
|
47
|
+
export interface $output extends v.InferXRPCBodyInput<mainSchema['output']> {}
|
|
48
|
+
|
|
49
|
+
declare module '@atcute/lexicons/ambient' {
|
|
50
|
+
interface XRPCProcedures {
|
|
51
|
+
'sh.tangled.repo.mergeCheck': mainSchema;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -7,11 +7,8 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
7
7
|
/*#__PURE__*/ v.object({
|
|
8
8
|
$type: /*#__PURE__*/ v.literal('sh.tangled.repo.pull.comment'),
|
|
9
9
|
body: /*#__PURE__*/ v.string(),
|
|
10
|
-
commentId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
11
10
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
12
|
-
owner: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
13
11
|
pull: /*#__PURE__*/ v.resourceUriString(),
|
|
14
|
-
repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
15
12
|
}),
|
|
16
13
|
);
|
|
17
14
|
|
|
@@ -9,12 +9,12 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
9
9
|
body: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
10
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
11
11
|
patch: /*#__PURE__*/ v.string(),
|
|
12
|
-
pullId: /*#__PURE__*/ v.integer(),
|
|
13
12
|
get source() {
|
|
14
13
|
return /*#__PURE__*/ v.optional(sourceSchema);
|
|
15
14
|
},
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
get target() {
|
|
16
|
+
return targetSchema;
|
|
17
|
+
},
|
|
18
18
|
title: /*#__PURE__*/ v.string(),
|
|
19
19
|
}),
|
|
20
20
|
);
|
|
@@ -24,18 +24,27 @@ const _sourceSchema = /*#__PURE__*/ v.object({
|
|
|
24
24
|
repo: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),
|
|
25
25
|
sha: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(40, 40)]),
|
|
26
26
|
});
|
|
27
|
+
const _targetSchema = /*#__PURE__*/ v.object({
|
|
28
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('sh.tangled.repo.pull#target')),
|
|
29
|
+
branch: /*#__PURE__*/ v.string(),
|
|
30
|
+
repo: /*#__PURE__*/ v.resourceUriString(),
|
|
31
|
+
});
|
|
27
32
|
|
|
28
33
|
type main$schematype = typeof _mainSchema;
|
|
29
34
|
type source$schematype = typeof _sourceSchema;
|
|
35
|
+
type target$schematype = typeof _targetSchema;
|
|
30
36
|
|
|
31
37
|
export interface mainSchema extends main$schematype {}
|
|
32
38
|
export interface sourceSchema extends source$schematype {}
|
|
39
|
+
export interface targetSchema extends target$schematype {}
|
|
33
40
|
|
|
34
41
|
export const mainSchema = _mainSchema as mainSchema;
|
|
35
42
|
export const sourceSchema = _sourceSchema as sourceSchema;
|
|
43
|
+
export const targetSchema = _targetSchema as targetSchema;
|
|
36
44
|
|
|
37
45
|
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
38
46
|
export interface Source extends v.InferInput<typeof sourceSchema> {}
|
|
47
|
+
export interface Target extends v.InferInput<typeof targetSchema> {}
|
|
39
48
|
|
|
40
49
|
declare module '@atcute/lexicons/ambient' {
|
|
41
50
|
interface Records {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@atcute/tangled",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"description": "Tangled (sh.tangled.*) schema definitions",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"atcute",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"./types/*": "./dist/lexicons/types/sh/tangled/*.js"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atcute/
|
|
28
|
-
"@atcute/
|
|
27
|
+
"@atcute/atproto": "^3.1.2",
|
|
28
|
+
"@atcute/lexicons": "^1.1.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@atcute/tangled": "file:",
|
|
32
32
|
"vitest": "^3.2.4",
|
|
33
|
-
"@atcute/lex-cli": "^2.
|
|
33
|
+
"@atcute/lex-cli": "^2.2.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsc",
|