@atproto/api 0.12.13 → 0.12.14
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/CHANGELOG.md +6 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +13 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +105 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +185 -4
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getBlob.d.ts +16 -1
- package/dist/client/types/com/atproto/sync/getBlob.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getBlob.js +41 -1
- package/dist/client/types/com/atproto/sync/getBlob.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts +16 -1
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getBlocks.js +41 -1
- package/dist/client/types/com/atproto/sync/getBlocks.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getLatestCommit.d.ts +9 -0
- package/dist/client/types/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getLatestCommit.js +25 -1
- package/dist/client/types/com/atproto/sync/getLatestCommit.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +16 -1
- package/dist/client/types/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getRecord.js +41 -1
- package/dist/client/types/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getRepo.d.ts +13 -1
- package/dist/client/types/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/getRepo.js +33 -1
- package/dist/client/types/com/atproto/sync/getRepo.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getRepoStatus.d.ts +31 -0
- package/dist/client/types/com/atproto/sync/getRepoStatus.d.ts.map +1 -0
- package/dist/client/types/com/atproto/sync/getRepoStatus.js +22 -0
- package/dist/client/types/com/atproto/sync/getRepoStatus.js.map +1 -0
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts +13 -1
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/listBlobs.js +33 -1
- package/dist/client/types/com/atproto/sync/listBlobs.js.map +1 -1
- package/dist/client/types/com/atproto/sync/listRepos.d.ts +3 -0
- package/dist/client/types/com/atproto/sync/listRepos.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts +18 -3
- package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/subscribeRepos.js +11 -1
- package/dist/client/types/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +13 -0
- package/src/client/lexicons.ts +193 -7
- package/src/client/types/chat/bsky/convo/defs.ts +1 -1
- package/src/client/types/com/atproto/sync/getBlob.ts +35 -0
- package/src/client/types/com/atproto/sync/getBlocks.ts +35 -0
- package/src/client/types/com/atproto/sync/getLatestCommit.ts +21 -0
- package/src/client/types/com/atproto/sync/getRecord.ts +35 -0
- package/src/client/types/com/atproto/sync/getRepo.ts +28 -0
- package/src/client/types/com/atproto/sync/getRepoStatus.ts +48 -0
- package/src/client/types/com/atproto/sync/listBlobs.ts +28 -0
- package/src/client/types/com/atproto/sync/listRepos.ts +3 -0
- package/src/client/types/com/atproto/sync/subscribeRepos.ts +29 -3
|
@@ -31,7 +31,7 @@ export interface MessageView {
|
|
|
31
31
|
text: string;
|
|
32
32
|
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
|
33
33
|
facets?: AppBskyRichtextFacet.Main[];
|
|
34
|
-
embed?: AppBskyEmbedRecord.
|
|
34
|
+
embed?: AppBskyEmbedRecord.View | {
|
|
35
35
|
$type: string;
|
|
36
36
|
[k: string]: unknown;
|
|
37
37
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
|
-
import { Headers } from '@atproto/xrpc';
|
|
4
|
+
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
5
|
export interface QueryParams {
|
|
6
6
|
/** The DID of the account. */
|
|
7
7
|
did: string;
|
|
@@ -17,5 +17,20 @@ export interface Response {
|
|
|
17
17
|
headers: Headers;
|
|
18
18
|
data: Uint8Array;
|
|
19
19
|
}
|
|
20
|
+
export declare class BlobNotFoundError extends XRPCError {
|
|
21
|
+
constructor(src: XRPCError);
|
|
22
|
+
}
|
|
23
|
+
export declare class RepoNotFoundError extends XRPCError {
|
|
24
|
+
constructor(src: XRPCError);
|
|
25
|
+
}
|
|
26
|
+
export declare class RepoTakendownError extends XRPCError {
|
|
27
|
+
constructor(src: XRPCError);
|
|
28
|
+
}
|
|
29
|
+
export declare class RepoSuspendedError extends XRPCError {
|
|
30
|
+
constructor(src: XRPCError);
|
|
31
|
+
}
|
|
32
|
+
export declare class RepoDeactivatedError extends XRPCError {
|
|
33
|
+
constructor(src: XRPCError);
|
|
34
|
+
}
|
|
20
35
|
export declare function toKnownErr(e: any): any;
|
|
21
36
|
//# sourceMappingURL=getBlob.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBlob.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getBlob.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"getBlob.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getBlob.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAMlD,MAAM,WAAW,WAAW;IAC1B,8BAA8B;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,mCAAmC;IACnC,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,UAAU,CAAA;CACjB;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAShC"}
|
|
@@ -1,12 +1,52 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toKnownErr = void 0;
|
|
3
|
+
exports.toKnownErr = exports.RepoDeactivatedError = exports.RepoSuspendedError = exports.RepoTakendownError = exports.RepoNotFoundError = exports.BlobNotFoundError = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED CODE - DO NOT MODIFY
|
|
6
6
|
*/
|
|
7
7
|
const xrpc_1 = require("@atproto/xrpc");
|
|
8
|
+
class BlobNotFoundError extends xrpc_1.XRPCError {
|
|
9
|
+
constructor(src) {
|
|
10
|
+
super(src.status, src.error, src.message, src.headers);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.BlobNotFoundError = BlobNotFoundError;
|
|
14
|
+
class RepoNotFoundError extends xrpc_1.XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RepoNotFoundError = RepoNotFoundError;
|
|
20
|
+
class RepoTakendownError extends xrpc_1.XRPCError {
|
|
21
|
+
constructor(src) {
|
|
22
|
+
super(src.status, src.error, src.message, src.headers);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.RepoTakendownError = RepoTakendownError;
|
|
26
|
+
class RepoSuspendedError extends xrpc_1.XRPCError {
|
|
27
|
+
constructor(src) {
|
|
28
|
+
super(src.status, src.error, src.message, src.headers);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.RepoSuspendedError = RepoSuspendedError;
|
|
32
|
+
class RepoDeactivatedError extends xrpc_1.XRPCError {
|
|
33
|
+
constructor(src) {
|
|
34
|
+
super(src.status, src.error, src.message, src.headers);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.RepoDeactivatedError = RepoDeactivatedError;
|
|
8
38
|
function toKnownErr(e) {
|
|
9
39
|
if (e instanceof xrpc_1.XRPCError) {
|
|
40
|
+
if (e.error === 'BlobNotFound')
|
|
41
|
+
return new BlobNotFoundError(e);
|
|
42
|
+
if (e.error === 'RepoNotFound')
|
|
43
|
+
return new RepoNotFoundError(e);
|
|
44
|
+
if (e.error === 'RepoTakendown')
|
|
45
|
+
return new RepoTakendownError(e);
|
|
46
|
+
if (e.error === 'RepoSuspended')
|
|
47
|
+
return new RepoSuspendedError(e);
|
|
48
|
+
if (e.error === 'RepoDeactivated')
|
|
49
|
+
return new RepoDeactivatedError(e);
|
|
10
50
|
}
|
|
11
51
|
return e;
|
|
12
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBlob.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getBlob.ts"],"names":[],"mappings":";;;A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CACF;AAJD,oDAIC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;QAC/D,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;QAC/D,IAAI,CAAC,CAAC,KAAK,KAAK,eAAe;YAAE,OAAO,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAAA;QACjE,IAAI,CAAC,CAAC,KAAK,KAAK,eAAe;YAAE,OAAO,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAAA;QACjE,IAAI,CAAC,CAAC,KAAK,KAAK,iBAAiB;YAAE,OAAO,IAAI,oBAAoB,CAAC,CAAC,CAAC,CAAA;IACvE,CAAC;IACD,OAAO,CAAC,CAAA;AACV,CAAC;AATD,gCASC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
|
-
import { Headers } from '@atproto/xrpc';
|
|
4
|
+
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
5
|
export interface QueryParams {
|
|
6
6
|
/** The DID of the repo. */
|
|
7
7
|
did: string;
|
|
@@ -16,5 +16,20 @@ export interface Response {
|
|
|
16
16
|
headers: Headers;
|
|
17
17
|
data: Uint8Array;
|
|
18
18
|
}
|
|
19
|
+
export declare class BlockNotFoundError extends XRPCError {
|
|
20
|
+
constructor(src: XRPCError);
|
|
21
|
+
}
|
|
22
|
+
export declare class RepoNotFoundError extends XRPCError {
|
|
23
|
+
constructor(src: XRPCError);
|
|
24
|
+
}
|
|
25
|
+
export declare class RepoTakendownError extends XRPCError {
|
|
26
|
+
constructor(src: XRPCError);
|
|
27
|
+
}
|
|
28
|
+
export declare class RepoSuspendedError extends XRPCError {
|
|
29
|
+
constructor(src: XRPCError);
|
|
30
|
+
}
|
|
31
|
+
export declare class RepoDeactivatedError extends XRPCError {
|
|
32
|
+
constructor(src: XRPCError);
|
|
33
|
+
}
|
|
19
34
|
export declare function toKnownErr(e: any): any;
|
|
20
35
|
//# sourceMappingURL=getBlocks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBlocks.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getBlocks.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"getBlocks.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getBlocks.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAMlD,MAAM,WAAW,WAAW;IAC1B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,EAAE,CAAA;CACf;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,UAAU,CAAA;CACjB;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAShC"}
|
|
@@ -1,12 +1,52 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toKnownErr = void 0;
|
|
3
|
+
exports.toKnownErr = exports.RepoDeactivatedError = exports.RepoSuspendedError = exports.RepoTakendownError = exports.RepoNotFoundError = exports.BlockNotFoundError = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED CODE - DO NOT MODIFY
|
|
6
6
|
*/
|
|
7
7
|
const xrpc_1 = require("@atproto/xrpc");
|
|
8
|
+
class BlockNotFoundError extends xrpc_1.XRPCError {
|
|
9
|
+
constructor(src) {
|
|
10
|
+
super(src.status, src.error, src.message, src.headers);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.BlockNotFoundError = BlockNotFoundError;
|
|
14
|
+
class RepoNotFoundError extends xrpc_1.XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RepoNotFoundError = RepoNotFoundError;
|
|
20
|
+
class RepoTakendownError extends xrpc_1.XRPCError {
|
|
21
|
+
constructor(src) {
|
|
22
|
+
super(src.status, src.error, src.message, src.headers);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.RepoTakendownError = RepoTakendownError;
|
|
26
|
+
class RepoSuspendedError extends xrpc_1.XRPCError {
|
|
27
|
+
constructor(src) {
|
|
28
|
+
super(src.status, src.error, src.message, src.headers);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.RepoSuspendedError = RepoSuspendedError;
|
|
32
|
+
class RepoDeactivatedError extends xrpc_1.XRPCError {
|
|
33
|
+
constructor(src) {
|
|
34
|
+
super(src.status, src.error, src.message, src.headers);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.RepoDeactivatedError = RepoDeactivatedError;
|
|
8
38
|
function toKnownErr(e) {
|
|
9
39
|
if (e instanceof xrpc_1.XRPCError) {
|
|
40
|
+
if (e.error === 'BlockNotFound')
|
|
41
|
+
return new BlockNotFoundError(e);
|
|
42
|
+
if (e.error === 'RepoNotFound')
|
|
43
|
+
return new RepoNotFoundError(e);
|
|
44
|
+
if (e.error === 'RepoTakendown')
|
|
45
|
+
return new RepoTakendownError(e);
|
|
46
|
+
if (e.error === 'RepoSuspended')
|
|
47
|
+
return new RepoSuspendedError(e);
|
|
48
|
+
if (e.error === 'RepoDeactivated')
|
|
49
|
+
return new RepoDeactivatedError(e);
|
|
10
50
|
}
|
|
11
51
|
return e;
|
|
12
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBlocks.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getBlocks.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wCAAkD;AAwBlD,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getBlocks.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getBlocks.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wCAAkD;AAwBlD,MAAa,kBAAmB,SAAQ,gBAAS;IAC/C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,gDAIC;AAED,MAAa,iBAAkB,SAAQ,gBAAS;IAC9C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,8CAIC;AAED,MAAa,kBAAmB,SAAQ,gBAAS;IAC/C,YAAY,GAAc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|
|
24
24
|
constructor(src: XRPCError);
|
|
25
25
|
}
|
|
26
|
+
export declare class RepoTakendownError extends XRPCError {
|
|
27
|
+
constructor(src: XRPCError);
|
|
28
|
+
}
|
|
29
|
+
export declare class RepoSuspendedError extends XRPCError {
|
|
30
|
+
constructor(src: XRPCError);
|
|
31
|
+
}
|
|
32
|
+
export declare class RepoDeactivatedError extends XRPCError {
|
|
33
|
+
constructor(src: XRPCError);
|
|
34
|
+
}
|
|
26
35
|
export declare function toKnownErr(e: any): any;
|
|
27
36
|
//# sourceMappingURL=getLatestCommit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLatestCommit.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getLatestCommit.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAMlD,MAAM,WAAW,WAAW;IAC1B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"getLatestCommit.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getLatestCommit.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAMlD,MAAM,WAAW,WAAW;IAC1B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAQhC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toKnownErr = exports.RepoNotFoundError = void 0;
|
|
3
|
+
exports.toKnownErr = exports.RepoDeactivatedError = exports.RepoSuspendedError = exports.RepoTakendownError = exports.RepoNotFoundError = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED CODE - DO NOT MODIFY
|
|
6
6
|
*/
|
|
@@ -11,10 +11,34 @@ class RepoNotFoundError extends xrpc_1.XRPCError {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
exports.RepoNotFoundError = RepoNotFoundError;
|
|
14
|
+
class RepoTakendownError extends xrpc_1.XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RepoTakendownError = RepoTakendownError;
|
|
20
|
+
class RepoSuspendedError extends xrpc_1.XRPCError {
|
|
21
|
+
constructor(src) {
|
|
22
|
+
super(src.status, src.error, src.message, src.headers);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.RepoSuspendedError = RepoSuspendedError;
|
|
26
|
+
class RepoDeactivatedError extends xrpc_1.XRPCError {
|
|
27
|
+
constructor(src) {
|
|
28
|
+
super(src.status, src.error, src.message, src.headers);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.RepoDeactivatedError = RepoDeactivatedError;
|
|
14
32
|
function toKnownErr(e) {
|
|
15
33
|
if (e instanceof xrpc_1.XRPCError) {
|
|
16
34
|
if (e.error === 'RepoNotFound')
|
|
17
35
|
return new RepoNotFoundError(e);
|
|
36
|
+
if (e.error === 'RepoTakendown')
|
|
37
|
+
return new RepoTakendownError(e);
|
|
38
|
+
if (e.error === 'RepoSuspended')
|
|
39
|
+
return new RepoSuspendedError(e);
|
|
40
|
+
if (e.error === 'RepoDeactivated')
|
|
41
|
+
return new RepoDeactivatedError(e);
|
|
18
42
|
}
|
|
19
43
|
return e;
|
|
20
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLatestCommit.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getLatestCommit.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wCAAkD;AA6BlD,MAAa,iBAAkB,SAAQ,gBAAS;IAC9C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,8CAIC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"getLatestCommit.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getLatestCommit.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wCAAkD;AA6BlD,MAAa,iBAAkB,SAAQ,gBAAS;IAC9C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,8CAIC;AAED,MAAa,kBAAmB,SAAQ,gBAAS;IAC/C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,gDAIC;AAED,MAAa,kBAAmB,SAAQ,gBAAS;IAC/C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,gDAIC;AAED,MAAa,oBAAqB,SAAQ,gBAAS;IACjD,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,oDAIC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;QAC/D,IAAI,CAAC,CAAC,KAAK,KAAK,eAAe;YAAE,OAAO,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAAA;QACjE,IAAI,CAAC,CAAC,KAAK,KAAK,eAAe;YAAE,OAAO,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAAA;QACjE,IAAI,CAAC,CAAC,KAAK,KAAK,iBAAiB;YAAE,OAAO,IAAI,oBAAoB,CAAC,CAAC,CAAC,CAAA;IACvE,CAAC;IACD,OAAO,CAAC,CAAA;AACV,CAAC;AARD,gCAQC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
|
-
import { Headers } from '@atproto/xrpc';
|
|
4
|
+
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
5
|
export interface QueryParams {
|
|
6
6
|
/** The DID of the repo. */
|
|
7
7
|
did: string;
|
|
@@ -20,5 +20,20 @@ export interface Response {
|
|
|
20
20
|
headers: Headers;
|
|
21
21
|
data: Uint8Array;
|
|
22
22
|
}
|
|
23
|
+
export declare class RecordNotFoundError extends XRPCError {
|
|
24
|
+
constructor(src: XRPCError);
|
|
25
|
+
}
|
|
26
|
+
export declare class RepoNotFoundError extends XRPCError {
|
|
27
|
+
constructor(src: XRPCError);
|
|
28
|
+
}
|
|
29
|
+
export declare class RepoTakendownError extends XRPCError {
|
|
30
|
+
constructor(src: XRPCError);
|
|
31
|
+
}
|
|
32
|
+
export declare class RepoSuspendedError extends XRPCError {
|
|
33
|
+
constructor(src: XRPCError);
|
|
34
|
+
}
|
|
35
|
+
export declare class RepoDeactivatedError extends XRPCError {
|
|
36
|
+
constructor(src: XRPCError);
|
|
37
|
+
}
|
|
23
38
|
export declare function toKnownErr(e: any): any;
|
|
24
39
|
//# sourceMappingURL=getRecord.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRecord.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRecord.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"getRecord.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRecord.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAMlD,MAAM,WAAW,WAAW;IAC1B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,0FAA0F;IAC1F,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,UAAU,CAAA;CACjB;AAED,qBAAa,mBAAoB,SAAQ,SAAS;gBACpC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAShC"}
|
|
@@ -1,12 +1,52 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toKnownErr = void 0;
|
|
3
|
+
exports.toKnownErr = exports.RepoDeactivatedError = exports.RepoSuspendedError = exports.RepoTakendownError = exports.RepoNotFoundError = exports.RecordNotFoundError = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED CODE - DO NOT MODIFY
|
|
6
6
|
*/
|
|
7
7
|
const xrpc_1 = require("@atproto/xrpc");
|
|
8
|
+
class RecordNotFoundError extends xrpc_1.XRPCError {
|
|
9
|
+
constructor(src) {
|
|
10
|
+
super(src.status, src.error, src.message, src.headers);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.RecordNotFoundError = RecordNotFoundError;
|
|
14
|
+
class RepoNotFoundError extends xrpc_1.XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RepoNotFoundError = RepoNotFoundError;
|
|
20
|
+
class RepoTakendownError extends xrpc_1.XRPCError {
|
|
21
|
+
constructor(src) {
|
|
22
|
+
super(src.status, src.error, src.message, src.headers);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.RepoTakendownError = RepoTakendownError;
|
|
26
|
+
class RepoSuspendedError extends xrpc_1.XRPCError {
|
|
27
|
+
constructor(src) {
|
|
28
|
+
super(src.status, src.error, src.message, src.headers);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.RepoSuspendedError = RepoSuspendedError;
|
|
32
|
+
class RepoDeactivatedError extends xrpc_1.XRPCError {
|
|
33
|
+
constructor(src) {
|
|
34
|
+
super(src.status, src.error, src.message, src.headers);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.RepoDeactivatedError = RepoDeactivatedError;
|
|
8
38
|
function toKnownErr(e) {
|
|
9
39
|
if (e instanceof xrpc_1.XRPCError) {
|
|
40
|
+
if (e.error === 'RecordNotFound')
|
|
41
|
+
return new RecordNotFoundError(e);
|
|
42
|
+
if (e.error === 'RepoNotFound')
|
|
43
|
+
return new RepoNotFoundError(e);
|
|
44
|
+
if (e.error === 'RepoTakendown')
|
|
45
|
+
return new RepoTakendownError(e);
|
|
46
|
+
if (e.error === 'RepoSuspended')
|
|
47
|
+
return new RepoSuspendedError(e);
|
|
48
|
+
if (e.error === 'RepoDeactivated')
|
|
49
|
+
return new RepoDeactivatedError(e);
|
|
10
50
|
}
|
|
11
51
|
return e;
|
|
12
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRecord.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wCAAkD;AA4BlD,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRecord.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wCAAkD;AA4BlD,MAAa,mBAAoB,SAAQ,gBAAS;IAChD,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,kDAIC;AAED,MAAa,iBAAkB,SAAQ,gBAAS;IAC9C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,8CAIC;AAED,MAAa,kBAAmB,SAAQ,gBAAS;IAC/C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;I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{
|
|
6
6
|
/** The DID of the repo. */
|
|
7
7
|
did: string;
|
|
@@ -17,5 +17,17 @@ export interface Response {
|
|
|
17
17
|
headers: Headers;
|
|
18
18
|
data: Uint8Array;
|
|
19
19
|
}
|
|
20
|
+
export declare class RepoNotFoundError extends XRPCError {
|
|
21
|
+
constructor(src: XRPCError);
|
|
22
|
+
}
|
|
23
|
+
export declare class RepoTakendownError extends XRPCError {
|
|
24
|
+
constructor(src: XRPCError);
|
|
25
|
+
}
|
|
26
|
+
export declare class RepoSuspendedError extends XRPCError {
|
|
27
|
+
constructor(src: XRPCError);
|
|
28
|
+
}
|
|
29
|
+
export declare class RepoDeactivatedError extends XRPCError {
|
|
30
|
+
constructor(src: XRPCError);
|
|
31
|
+
}
|
|
20
32
|
export declare function toKnownErr(e: any): any;
|
|
21
33
|
//# sourceMappingURL=getRepo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepo.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRepo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"getRepo.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRepo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAMlD,MAAM,WAAW,WAAW;IAC1B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,UAAU,CAAA;CACjB;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAQhC"}
|
|
@@ -1,12 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toKnownErr = void 0;
|
|
3
|
+
exports.toKnownErr = exports.RepoDeactivatedError = exports.RepoSuspendedError = exports.RepoTakendownError = exports.RepoNotFoundError = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED CODE - DO NOT MODIFY
|
|
6
6
|
*/
|
|
7
7
|
const xrpc_1 = require("@atproto/xrpc");
|
|
8
|
+
class RepoNotFoundError extends xrpc_1.XRPCError {
|
|
9
|
+
constructor(src) {
|
|
10
|
+
super(src.status, src.error, src.message, src.headers);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.RepoNotFoundError = RepoNotFoundError;
|
|
14
|
+
class RepoTakendownError extends xrpc_1.XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RepoTakendownError = RepoTakendownError;
|
|
20
|
+
class RepoSuspendedError extends xrpc_1.XRPCError {
|
|
21
|
+
constructor(src) {
|
|
22
|
+
super(src.status, src.error, src.message, src.headers);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.RepoSuspendedError = RepoSuspendedError;
|
|
26
|
+
class RepoDeactivatedError extends xrpc_1.XRPCError {
|
|
27
|
+
constructor(src) {
|
|
28
|
+
super(src.status, src.error, src.message, src.headers);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.RepoDeactivatedError = RepoDeactivatedError;
|
|
8
32
|
function toKnownErr(e) {
|
|
9
33
|
if (e instanceof xrpc_1.XRPCError) {
|
|
34
|
+
if (e.error === 'RepoNotFound')
|
|
35
|
+
return new RepoNotFoundError(e);
|
|
36
|
+
if (e.error === 'RepoTakendown')
|
|
37
|
+
return new RepoTakendownError(e);
|
|
38
|
+
if (e.error === 'RepoSuspended')
|
|
39
|
+
return new RepoSuspendedError(e);
|
|
40
|
+
if (e.error === 'RepoDeactivated')
|
|
41
|
+
return new RepoDeactivatedError(e);
|
|
10
42
|
}
|
|
11
43
|
return e;
|
|
12
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepo.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRepo.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wCAAkD;AAyBlD,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"getRepo.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRepo.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wCAAkD;AAyBlD,MAAa,iBAAkB,SAAQ,gBAAS;IAC9C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,8CAIC;AAED,MAAa,kBAAmB,SAAQ,gBAAS;IAC/C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,gDAIC;AAED,MAAa,kBAAmB,SAAQ,gBAAS;IAC/C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,gDAIC;AAED,MAAa,oBAAqB,SAAQ,gBAAS;IACjD,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,oDAIC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;QAC/D,IAAI,CAAC,CAAC,KAAK,KAAK,eAAe;YAAE,OAAO,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAAA;QACjE,IAAI,CAAC,CAAC,KAAK,KAAK,eAAe;YAAE,OAAO,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAAA;QACjE,IAAI,CAAC,CAAC,KAAK,KAAK,iBAAiB;YAAE,OAAO,IAAI,oBAAoB,CAAC,CAAC,CAAC,CAAA;IACvE,CAAC;IACD,OAAO,CAAC,CAAA;AACV,CAAC;AARD,gCAQC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
export interface QueryParams {
|
|
6
|
+
/** The DID of the repo. */
|
|
7
|
+
did: string;
|
|
8
|
+
}
|
|
9
|
+
export type InputSchema = undefined;
|
|
10
|
+
export interface OutputSchema {
|
|
11
|
+
did: string;
|
|
12
|
+
active: boolean;
|
|
13
|
+
/** If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. */
|
|
14
|
+
status?: 'takendown' | 'suspended' | 'deactivated' | (string & {});
|
|
15
|
+
/** Optional field, the current rev of the repo, if active=true */
|
|
16
|
+
rev?: string;
|
|
17
|
+
[k: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface CallOptions {
|
|
20
|
+
headers?: Headers;
|
|
21
|
+
}
|
|
22
|
+
export interface Response {
|
|
23
|
+
success: boolean;
|
|
24
|
+
headers: Headers;
|
|
25
|
+
data: OutputSchema;
|
|
26
|
+
}
|
|
27
|
+
export declare class RepoNotFoundError extends XRPCError {
|
|
28
|
+
constructor(src: XRPCError);
|
|
29
|
+
}
|
|
30
|
+
export declare function toKnownErr(e: any): any;
|
|
31
|
+
//# sourceMappingURL=getRepoStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepoStatus.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRepoStatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAMlD,MAAM,WAAW,WAAW;IAC1B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,OAAO,CAAA;IACf,oOAAoO;IACpO,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,aAAa,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IAClE,kEAAkE;IAClE,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAKhC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toKnownErr = exports.RepoNotFoundError = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
6
|
+
*/
|
|
7
|
+
const xrpc_1 = require("@atproto/xrpc");
|
|
8
|
+
class RepoNotFoundError extends xrpc_1.XRPCError {
|
|
9
|
+
constructor(src) {
|
|
10
|
+
super(src.status, src.error, src.message, src.headers);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.RepoNotFoundError = RepoNotFoundError;
|
|
14
|
+
function toKnownErr(e) {
|
|
15
|
+
if (e instanceof xrpc_1.XRPCError) {
|
|
16
|
+
if (e.error === 'RepoNotFound')
|
|
17
|
+
return new RepoNotFoundError(e);
|
|
18
|
+
}
|
|
19
|
+
return e;
|
|
20
|
+
}
|
|
21
|
+
exports.toKnownErr = toKnownErr;
|
|
22
|
+
//# sourceMappingURL=getRepoStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepoStatus.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/getRepoStatus.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wCAAkD;AAiClD,MAAa,iBAAkB,SAAQ,gBAAS;IAC9C,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACxD,CAAC;CACF;AAJD,8CAIC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,cAAc;YAAE,OAAO,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;IACjE,CAAC;IACD,OAAO,CAAC,CAAA;AACV,CAAC;AALD,gCAKC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
|
-
import { Headers } from '@atproto/xrpc';
|
|
4
|
+
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
5
|
export interface QueryParams {
|
|
6
6
|
/** The DID of the repo. */
|
|
7
7
|
did: string;
|
|
@@ -24,5 +24,17 @@ export interface Response {
|
|
|
24
24
|
headers: Headers;
|
|
25
25
|
data: OutputSchema;
|
|
26
26
|
}
|
|
27
|
+
export declare class RepoNotFoundError extends XRPCError {
|
|
28
|
+
constructor(src: XRPCError);
|
|
29
|
+
}
|
|
30
|
+
export declare class RepoTakendownError extends XRPCError {
|
|
31
|
+
constructor(src: XRPCError);
|
|
32
|
+
}
|
|
33
|
+
export declare class RepoSuspendedError extends XRPCError {
|
|
34
|
+
constructor(src: XRPCError);
|
|
35
|
+
}
|
|
36
|
+
export declare class RepoDeactivatedError extends XRPCError {
|
|
37
|
+
constructor(src: XRPCError);
|
|
38
|
+
}
|
|
27
39
|
export declare function toKnownErr(e: any): any;
|
|
28
40
|
//# sourceMappingURL=listBlobs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listBlobs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/listBlobs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"listBlobs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/listBlobs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAMlD,MAAM,WAAW,WAAW;IAC1B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,kBAAmB,SAAQ,SAAS;gBACnC,GAAG,EAAE,SAAS;CAG3B;AAED,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAQhC"}
|
|
@@ -1,12 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toKnownErr = void 0;
|
|
3
|
+
exports.toKnownErr = exports.RepoDeactivatedError = exports.RepoSuspendedError = exports.RepoTakendownError = exports.RepoNotFoundError = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED CODE - DO NOT MODIFY
|
|
6
6
|
*/
|
|
7
7
|
const xrpc_1 = require("@atproto/xrpc");
|
|
8
|
+
class RepoNotFoundError extends xrpc_1.XRPCError {
|
|
9
|
+
constructor(src) {
|
|
10
|
+
super(src.status, src.error, src.message, src.headers);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.RepoNotFoundError = RepoNotFoundError;
|
|
14
|
+
class RepoTakendownError extends xrpc_1.XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.RepoTakendownError = RepoTakendownError;
|
|
20
|
+
class RepoSuspendedError extends xrpc_1.XRPCError {
|
|
21
|
+
constructor(src) {
|
|
22
|
+
super(src.status, src.error, src.message, src.headers);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.RepoSuspendedError = RepoSuspendedError;
|
|
26
|
+
class RepoDeactivatedError extends xrpc_1.XRPCError {
|
|
27
|
+
constructor(src) {
|
|
28
|
+
super(src.status, src.error, src.message, src.headers);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.RepoDeactivatedError = RepoDeactivatedError;
|
|
8
32
|
function toKnownErr(e) {
|
|
9
33
|
if (e instanceof xrpc_1.XRPCError) {
|
|
34
|
+
if (e.error === 'RepoNotFound')
|
|
35
|
+
return new RepoNotFoundError(e);
|
|
36
|
+
if (e.error === 'RepoTakendown')
|
|
37
|
+
return new RepoTakendownError(e);
|
|
38
|
+
if (e.error === 'RepoSuspended')
|
|
39
|
+
return new RepoSuspendedError(e);
|
|
40
|
+
if (e.error === 'RepoDeactivated')
|
|
41
|
+
return new RepoDeactivatedError(e);
|
|
10
42
|
}
|
|
11
43
|
return e;
|
|
12
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listBlobs.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/listBlobs.ts"],"names":[],"mappings":";;;AAAA;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AC,KAAK,KAAK,eAAe;YAAE,OAAO,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAAA;QACjE,IAAI,CAAC,CAAC,KAAK,KAAK,eAAe;YAAE,OAAO,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAAA;QACjE,IAAI,CAAC,CAAC,KAAK,KAAK,iBAAiB;YAAE,OAAO,IAAI,oBAAoB,CAAC,CAAC,CAAC,CAAA;IACvE,CAAC;IACD,OAAO,CAAC,CAAA;AACV,CAAC;AARD,gCAQC"}
|
|
@@ -27,6 +27,9 @@ export interface Repo {
|
|
|
27
27
|
/** Current repo commit CID */
|
|
28
28
|
head: string;
|
|
29
29
|
rev: string;
|
|
30
|
+
active?: boolean;
|
|
31
|
+
/** If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted. */
|
|
32
|
+
status?: 'takendown' | 'suspended' | 'deactivated' | (string & {});
|
|
30
33
|
[k: string]: unknown;
|
|
31
34
|
}
|
|
32
35
|
export declare function isRepo(v: unknown): v is Repo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listRepos.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/listRepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAa,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAK5D,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAIhC;AAED,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAM5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD"}
|
|
1
|
+
{"version":3,"file":"listRepos.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/sync/listRepos.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,OAAO,EAAa,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAK5D,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAIhC;AAED,MAAM,WAAW,IAAI;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,oOAAoO;IACpO,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,aAAa,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IAClE,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,IAAI,CAM5C;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEzD"}
|