@atproto/api 0.0.1 → 0.0.2
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/build.js +6 -0
- package/package.json +5 -2
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +1 -0
- package/dist/src/client/index.d.ts +0 -462
- package/dist/src/client/lexicons.d.ts +0 -2910
- package/dist/src/client/schemas.d.ts +0 -17
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +0 -15
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +0 -14
- package/dist/src/client/types/app/bsky/actor/search.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -28
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +0 -48
- package/dist/src/client/types/app/bsky/embed/external.d.ts +0 -26
- package/dist/src/client/types/app/bsky/embed/images.d.ts +0 -23
- package/dist/src/client/types/app/bsky/feed/debug.d.ts +0 -57
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +0 -36
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +0 -26
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getLikedBy.d.ts +0 -29
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +0 -43
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -35
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +0 -33
- package/dist/src/client/types/app/bsky/feed/like.d.ts +0 -10
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +0 -18
- package/dist/src/client/types/app/bsky/feed/post.d.ts +0 -54
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +0 -7
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +0 -7
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +0 -8
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +0 -6
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +0 -43
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +0 -34
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/invite.d.ts +0 -10
- package/dist/src/client/types/app/bsky/graph/inviteAccept.d.ts +0 -14
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +0 -17
- package/dist/src/client/types/app/bsky/notification/list.d.ts +0 -32
- package/dist/src/client/types/app/bsky/notification/updateSeen.d.ts +0 -17
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +0 -5
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +0 -4
- package/dist/src/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
- package/dist/src/client/types/com/atproto/account/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +0 -22
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +0 -39
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +0 -26
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +0 -19
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +0 -23
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +0 -30
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +0 -27
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +0 -5
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -24
- package/dist/src/client/types/com/atproto/session/create.d.ts +0 -26
- package/dist/src/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +0 -21
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +0 -18
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/src/index.d.ts +0 -4
- package/dist/src/session.d.ts +0 -42
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { MethodSchema, RecordSchema } from '@atproto/lexicon';
|
|
2
|
-
export declare const methodSchemaDict: Record<string, MethodSchema>;
|
|
3
|
-
export declare const methodSchemas: MethodSchema[];
|
|
4
|
-
export declare const ids: {
|
|
5
|
-
AppBskyActorProfile: string;
|
|
6
|
-
AppBskyFeedMediaEmbed: string;
|
|
7
|
-
AppBskyFeedPost: string;
|
|
8
|
-
AppBskyFeedRepost: string;
|
|
9
|
-
AppBskyFeedTrend: string;
|
|
10
|
-
AppBskyFeedVote: string;
|
|
11
|
-
AppBskyGraphAssertion: string;
|
|
12
|
-
AppBskyGraphConfirmation: string;
|
|
13
|
-
AppBskyGraphFollow: string;
|
|
14
|
-
AppBskySystemDeclaration: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const recordSchemaDict: Record<string, RecordSchema>;
|
|
17
|
-
export declare const recordSchemas: RecordSchema[];
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
}
|
|
5
|
-
export interface InputSchema {
|
|
6
|
-
handle: string;
|
|
7
|
-
recoveryKey?: string;
|
|
8
|
-
[k: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
export interface OutputSchema {
|
|
11
|
-
handle: string;
|
|
12
|
-
did: string;
|
|
13
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
14
|
-
[k: string]: unknown;
|
|
15
|
-
}
|
|
16
|
-
export interface CallOptions {
|
|
17
|
-
headers?: Headers;
|
|
18
|
-
qp?: QueryParams;
|
|
19
|
-
encoding: 'application/json';
|
|
20
|
-
}
|
|
21
|
-
export interface Response {
|
|
22
|
-
success: boolean;
|
|
23
|
-
headers: Headers;
|
|
24
|
-
data: OutputSchema;
|
|
25
|
-
}
|
|
26
|
-
export declare class InvalidHandleError extends XRPCError {
|
|
27
|
-
constructor(src: XRPCError);
|
|
28
|
-
}
|
|
29
|
-
export declare class HandleNotAvailableError extends XRPCError {
|
|
30
|
-
constructor(src: XRPCError);
|
|
31
|
-
}
|
|
32
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
actor: string;
|
|
5
|
-
}
|
|
6
|
-
export declare type InputSchema = undefined;
|
|
7
|
-
export interface OutputSchema {
|
|
8
|
-
did: string;
|
|
9
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
10
|
-
handle: string;
|
|
11
|
-
creator: string;
|
|
12
|
-
displayName?: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
avatar?: string;
|
|
15
|
-
banner?: string;
|
|
16
|
-
followersCount: number;
|
|
17
|
-
followsCount: number;
|
|
18
|
-
membersCount: number;
|
|
19
|
-
postsCount: number;
|
|
20
|
-
myState?: MyState;
|
|
21
|
-
[k: string]: unknown;
|
|
22
|
-
}
|
|
23
|
-
export interface CallOptions {
|
|
24
|
-
headers?: Headers;
|
|
25
|
-
}
|
|
26
|
-
export interface Response {
|
|
27
|
-
success: boolean;
|
|
28
|
-
headers: Headers;
|
|
29
|
-
data: OutputSchema;
|
|
30
|
-
}
|
|
31
|
-
export declare function toKnownErr(e: any): any;
|
|
32
|
-
export interface MyState {
|
|
33
|
-
follow?: string;
|
|
34
|
-
member?: string;
|
|
35
|
-
[k: string]: unknown;
|
|
36
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
limit?: number;
|
|
5
|
-
cursor?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare type InputSchema = undefined;
|
|
8
|
-
export interface OutputSchema {
|
|
9
|
-
cursor?: string;
|
|
10
|
-
actors: Actor[];
|
|
11
|
-
[k: string]: unknown;
|
|
12
|
-
}
|
|
13
|
-
export interface CallOptions {
|
|
14
|
-
headers?: Headers;
|
|
15
|
-
}
|
|
16
|
-
export interface Response {
|
|
17
|
-
success: boolean;
|
|
18
|
-
headers: Headers;
|
|
19
|
-
data: OutputSchema;
|
|
20
|
-
}
|
|
21
|
-
export declare function toKnownErr(e: any): any;
|
|
22
|
-
export interface Actor {
|
|
23
|
-
did: string;
|
|
24
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
25
|
-
handle: string;
|
|
26
|
-
displayName?: string;
|
|
27
|
-
description?: string;
|
|
28
|
-
avatar?: string;
|
|
29
|
-
indexedAt?: string;
|
|
30
|
-
myState?: MyState;
|
|
31
|
-
[k: string]: unknown;
|
|
32
|
-
}
|
|
33
|
-
export interface MyState {
|
|
34
|
-
follow?: string;
|
|
35
|
-
[k: string]: unknown;
|
|
36
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface Record {
|
|
2
|
-
displayName: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
avatar?: {
|
|
5
|
-
cid: string;
|
|
6
|
-
mimeType: string;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
};
|
|
9
|
-
banner?: {
|
|
10
|
-
cid: string;
|
|
11
|
-
mimeType: string;
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
};
|
|
14
|
-
[k: string]: unknown;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
2
|
-
export interface Main {
|
|
3
|
-
did: string;
|
|
4
|
-
declarationCid: string;
|
|
5
|
-
[k: string]: unknown;
|
|
6
|
-
}
|
|
7
|
-
export interface WithInfo {
|
|
8
|
-
did: string;
|
|
9
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
10
|
-
handle: string;
|
|
11
|
-
displayName?: string;
|
|
12
|
-
avatar?: string;
|
|
13
|
-
[k: string]: unknown;
|
|
14
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
term: string;
|
|
5
|
-
limit?: number;
|
|
6
|
-
before?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare type InputSchema = undefined;
|
|
9
|
-
export interface OutputSchema {
|
|
10
|
-
cursor?: string;
|
|
11
|
-
users: User[];
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface CallOptions {
|
|
15
|
-
headers?: Headers;
|
|
16
|
-
}
|
|
17
|
-
export interface Response {
|
|
18
|
-
success: boolean;
|
|
19
|
-
headers: Headers;
|
|
20
|
-
data: OutputSchema;
|
|
21
|
-
}
|
|
22
|
-
export declare function toKnownErr(e: any): any;
|
|
23
|
-
export interface User {
|
|
24
|
-
did: string;
|
|
25
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
26
|
-
handle: string;
|
|
27
|
-
displayName?: string;
|
|
28
|
-
avatar?: string;
|
|
29
|
-
description?: string;
|
|
30
|
-
indexedAt?: string;
|
|
31
|
-
[k: string]: unknown;
|
|
32
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
term: string;
|
|
5
|
-
limit?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare type InputSchema = undefined;
|
|
8
|
-
export interface OutputSchema {
|
|
9
|
-
users: User[];
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
export interface CallOptions {
|
|
13
|
-
headers?: Headers;
|
|
14
|
-
}
|
|
15
|
-
export interface Response {
|
|
16
|
-
success: boolean;
|
|
17
|
-
headers: Headers;
|
|
18
|
-
data: OutputSchema;
|
|
19
|
-
}
|
|
20
|
-
export declare function toKnownErr(e: any): any;
|
|
21
|
-
export interface User {
|
|
22
|
-
did: string;
|
|
23
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
24
|
-
handle: string;
|
|
25
|
-
displayName?: string;
|
|
26
|
-
avatar?: string;
|
|
27
|
-
[k: string]: unknown;
|
|
28
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
did?: string;
|
|
6
|
-
displayName?: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
avatar?: {
|
|
9
|
-
cid: string;
|
|
10
|
-
mimeType: string;
|
|
11
|
-
[k: string]: unknown;
|
|
12
|
-
};
|
|
13
|
-
banner?: {
|
|
14
|
-
cid: string;
|
|
15
|
-
mimeType: string;
|
|
16
|
-
[k: string]: unknown;
|
|
17
|
-
};
|
|
18
|
-
[k: string]: unknown;
|
|
19
|
-
}
|
|
20
|
-
export interface OutputSchema {
|
|
21
|
-
uri: string;
|
|
22
|
-
cid: string;
|
|
23
|
-
record: {};
|
|
24
|
-
[k: string]: unknown;
|
|
25
|
-
}
|
|
26
|
-
export interface CallOptions {
|
|
27
|
-
headers?: Headers;
|
|
28
|
-
qp?: QueryParams;
|
|
29
|
-
encoding: 'application/json';
|
|
30
|
-
}
|
|
31
|
-
export interface Response {
|
|
32
|
-
success: boolean;
|
|
33
|
-
headers: Headers;
|
|
34
|
-
data: OutputSchema;
|
|
35
|
-
}
|
|
36
|
-
export declare class InvalidBlobError extends XRPCError {
|
|
37
|
-
constructor(src: XRPCError);
|
|
38
|
-
}
|
|
39
|
-
export declare class BlobTooLargeError extends XRPCError {
|
|
40
|
-
constructor(src: XRPCError);
|
|
41
|
-
}
|
|
42
|
-
export declare class InvalidMimeTypeError extends XRPCError {
|
|
43
|
-
constructor(src: XRPCError);
|
|
44
|
-
}
|
|
45
|
-
export declare class InvalidImageDimensionsError extends XRPCError {
|
|
46
|
-
constructor(src: XRPCError);
|
|
47
|
-
}
|
|
48
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export interface Main {
|
|
2
|
-
external: External;
|
|
3
|
-
[k: string]: unknown;
|
|
4
|
-
}
|
|
5
|
-
export interface External {
|
|
6
|
-
uri: string;
|
|
7
|
-
title: string;
|
|
8
|
-
description: string;
|
|
9
|
-
thumb?: {
|
|
10
|
-
cid: string;
|
|
11
|
-
mimeType: string;
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
};
|
|
14
|
-
[k: string]: unknown;
|
|
15
|
-
}
|
|
16
|
-
export interface Presented {
|
|
17
|
-
external: PresentedExternal;
|
|
18
|
-
[k: string]: unknown;
|
|
19
|
-
}
|
|
20
|
-
export interface PresentedExternal {
|
|
21
|
-
uri: string;
|
|
22
|
-
title: string;
|
|
23
|
-
description: string;
|
|
24
|
-
thumb?: string;
|
|
25
|
-
[k: string]: unknown;
|
|
26
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface Main {
|
|
2
|
-
images: Image[];
|
|
3
|
-
[k: string]: unknown;
|
|
4
|
-
}
|
|
5
|
-
export interface Image {
|
|
6
|
-
image: {
|
|
7
|
-
cid: string;
|
|
8
|
-
mimeType: string;
|
|
9
|
-
[k: string]: unknown;
|
|
10
|
-
};
|
|
11
|
-
alt: string;
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface Presented {
|
|
15
|
-
images: PresentedImage[];
|
|
16
|
-
[k: string]: unknown;
|
|
17
|
-
}
|
|
18
|
-
export interface PresentedImage {
|
|
19
|
-
thumb: string;
|
|
20
|
-
fullsize: string;
|
|
21
|
-
alt: string;
|
|
22
|
-
[k: string]: unknown;
|
|
23
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export interface Record {
|
|
2
|
-
text: string;
|
|
3
|
-
entities?: Entity[];
|
|
4
|
-
reply?: Reply;
|
|
5
|
-
createdAt: string;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export declare const SOMETOKEN = "app.bsky.feed.debug#someToken";
|
|
9
|
-
export declare type Unknown = {};
|
|
10
|
-
export declare type Boolean = boolean;
|
|
11
|
-
export declare type Number = number;
|
|
12
|
-
export declare type Integer = number;
|
|
13
|
-
export declare type String = string;
|
|
14
|
-
export declare type Blob = {
|
|
15
|
-
cid: string;
|
|
16
|
-
mimeType: string;
|
|
17
|
-
[k: string]: unknown;
|
|
18
|
-
};
|
|
19
|
-
export declare type Image = {
|
|
20
|
-
cid: string;
|
|
21
|
-
mimeType: string;
|
|
22
|
-
[k: string]: unknown;
|
|
23
|
-
};
|
|
24
|
-
export declare type Video = {
|
|
25
|
-
cid: string;
|
|
26
|
-
mimeType: string;
|
|
27
|
-
[k: string]: unknown;
|
|
28
|
-
};
|
|
29
|
-
export declare type Audio = {
|
|
30
|
-
cid: string;
|
|
31
|
-
mimeType: string;
|
|
32
|
-
[k: string]: unknown;
|
|
33
|
-
};
|
|
34
|
-
export declare type StringArr = string[];
|
|
35
|
-
export declare type ReplyArr = Reply[];
|
|
36
|
-
export declare type MultiArr = (Reply | PostRef | Entity)[];
|
|
37
|
-
export interface Reply {
|
|
38
|
-
root: PostRef;
|
|
39
|
-
parent: PostRef;
|
|
40
|
-
[k: string]: unknown;
|
|
41
|
-
}
|
|
42
|
-
export interface PostRef {
|
|
43
|
-
uri: string;
|
|
44
|
-
cid: string;
|
|
45
|
-
[k: string]: unknown;
|
|
46
|
-
}
|
|
47
|
-
export interface Entity {
|
|
48
|
-
index: TextSlice;
|
|
49
|
-
type: string;
|
|
50
|
-
value: string;
|
|
51
|
-
[k: string]: unknown;
|
|
52
|
-
}
|
|
53
|
-
export interface TextSlice {
|
|
54
|
-
start: number;
|
|
55
|
-
end: number;
|
|
56
|
-
[k: string]: unknown;
|
|
57
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as AppBskyActorRef from '../actor/ref';
|
|
2
|
-
export interface Main {
|
|
3
|
-
items?: (Media | Record | External | {
|
|
4
|
-
$type: string;
|
|
5
|
-
[k: string]: unknown;
|
|
6
|
-
})[];
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface Media {
|
|
10
|
-
alt?: string;
|
|
11
|
-
thumb?: {
|
|
12
|
-
cid: string;
|
|
13
|
-
mimeType: string;
|
|
14
|
-
[k: string]: unknown;
|
|
15
|
-
};
|
|
16
|
-
original: {
|
|
17
|
-
cid: string;
|
|
18
|
-
mimeType: string;
|
|
19
|
-
[k: string]: unknown;
|
|
20
|
-
};
|
|
21
|
-
[k: string]: unknown;
|
|
22
|
-
}
|
|
23
|
-
export interface Record {
|
|
24
|
-
type: 'record';
|
|
25
|
-
author: AppBskyActorRef.WithInfo;
|
|
26
|
-
record: {};
|
|
27
|
-
[k: string]: unknown;
|
|
28
|
-
}
|
|
29
|
-
export interface External {
|
|
30
|
-
type: 'external';
|
|
31
|
-
uri: string;
|
|
32
|
-
title: string;
|
|
33
|
-
description: string;
|
|
34
|
-
imageUri: string;
|
|
35
|
-
[k: string]: unknown;
|
|
36
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as AppBskyFeedPost from './post';
|
|
2
|
-
import * as AppBskyActorRef from '../actor/ref';
|
|
3
|
-
export interface Main {
|
|
4
|
-
post: AppBskyFeedPost.View;
|
|
5
|
-
reply?: ReplyRef;
|
|
6
|
-
reason?: ReasonTrend | ReasonRepost | {
|
|
7
|
-
$type: string;
|
|
8
|
-
[k: string]: unknown;
|
|
9
|
-
};
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
export interface ReplyRef {
|
|
13
|
-
root: AppBskyFeedPost.View;
|
|
14
|
-
parent: AppBskyFeedPost.View;
|
|
15
|
-
[k: string]: unknown;
|
|
16
|
-
}
|
|
17
|
-
export interface ReasonTrend {
|
|
18
|
-
by: AppBskyActorRef.WithInfo;
|
|
19
|
-
indexedAt: string;
|
|
20
|
-
[k: string]: unknown;
|
|
21
|
-
}
|
|
22
|
-
export interface ReasonRepost {
|
|
23
|
-
by: AppBskyActorRef.WithInfo;
|
|
24
|
-
indexedAt: string;
|
|
25
|
-
[k: string]: unknown;
|
|
26
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskyFeedFeedViewPost from './feedViewPost';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
author: string;
|
|
5
|
-
limit?: number;
|
|
6
|
-
before?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare type InputSchema = undefined;
|
|
9
|
-
export interface OutputSchema {
|
|
10
|
-
cursor?: string;
|
|
11
|
-
feed: AppBskyFeedFeedViewPost.Main[];
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface CallOptions {
|
|
15
|
-
headers?: Headers;
|
|
16
|
-
}
|
|
17
|
-
export interface Response {
|
|
18
|
-
success: boolean;
|
|
19
|
-
headers: Headers;
|
|
20
|
-
data: OutputSchema;
|
|
21
|
-
}
|
|
22
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
uri: string;
|
|
4
|
-
cid?: string;
|
|
5
|
-
limit?: number;
|
|
6
|
-
before?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
}
|
|
11
|
-
export declare type InputSchema = undefined;
|
|
12
|
-
export interface OutputSchema {
|
|
13
|
-
uri: string;
|
|
14
|
-
cid?: string;
|
|
15
|
-
cursor?: string;
|
|
16
|
-
likedBy: {
|
|
17
|
-
did: string;
|
|
18
|
-
handle: string;
|
|
19
|
-
displayName?: string;
|
|
20
|
-
createdAt?: string;
|
|
21
|
-
indexedAt: string;
|
|
22
|
-
}[];
|
|
23
|
-
}
|
|
24
|
-
export interface Response {
|
|
25
|
-
success: boolean;
|
|
26
|
-
headers: Headers;
|
|
27
|
-
data: OutputSchema;
|
|
28
|
-
}
|
|
29
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskyFeedPost from './post';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
uri: string;
|
|
5
|
-
depth?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare type InputSchema = undefined;
|
|
8
|
-
export interface OutputSchema {
|
|
9
|
-
thread: ThreadViewPost | NotFoundPost | {
|
|
10
|
-
$type: string;
|
|
11
|
-
[k: string]: unknown;
|
|
12
|
-
};
|
|
13
|
-
[k: string]: unknown;
|
|
14
|
-
}
|
|
15
|
-
export interface CallOptions {
|
|
16
|
-
headers?: Headers;
|
|
17
|
-
}
|
|
18
|
-
export interface Response {
|
|
19
|
-
success: boolean;
|
|
20
|
-
headers: Headers;
|
|
21
|
-
data: OutputSchema;
|
|
22
|
-
}
|
|
23
|
-
export declare class NotFoundError extends XRPCError {
|
|
24
|
-
constructor(src: XRPCError);
|
|
25
|
-
}
|
|
26
|
-
export declare function toKnownErr(e: any): any;
|
|
27
|
-
export interface ThreadViewPost {
|
|
28
|
-
post: AppBskyFeedPost.View;
|
|
29
|
-
parent?: ThreadViewPost | NotFoundPost | {
|
|
30
|
-
$type: string;
|
|
31
|
-
[k: string]: unknown;
|
|
32
|
-
};
|
|
33
|
-
replies?: (ThreadViewPost | NotFoundPost | {
|
|
34
|
-
$type: string;
|
|
35
|
-
[k: string]: unknown;
|
|
36
|
-
})[];
|
|
37
|
-
[k: string]: unknown;
|
|
38
|
-
}
|
|
39
|
-
export interface NotFoundPost {
|
|
40
|
-
uri: string;
|
|
41
|
-
notFound: true;
|
|
42
|
-
[k: string]: unknown;
|
|
43
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
uri: string;
|
|
5
|
-
cid?: string;
|
|
6
|
-
limit?: number;
|
|
7
|
-
before?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type InputSchema = undefined;
|
|
10
|
-
export interface OutputSchema {
|
|
11
|
-
uri: string;
|
|
12
|
-
cid?: string;
|
|
13
|
-
cursor?: string;
|
|
14
|
-
repostedBy: RepostedBy[];
|
|
15
|
-
[k: string]: unknown;
|
|
16
|
-
}
|
|
17
|
-
export interface CallOptions {
|
|
18
|
-
headers?: Headers;
|
|
19
|
-
}
|
|
20
|
-
export interface Response {
|
|
21
|
-
success: boolean;
|
|
22
|
-
headers: Headers;
|
|
23
|
-
data: OutputSchema;
|
|
24
|
-
}
|
|
25
|
-
export declare function toKnownErr(e: any): any;
|
|
26
|
-
export interface RepostedBy {
|
|
27
|
-
did: string;
|
|
28
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
29
|
-
handle: string;
|
|
30
|
-
displayName?: string;
|
|
31
|
-
avatar?: string;
|
|
32
|
-
createdAt?: string;
|
|
33
|
-
indexedAt: string;
|
|
34
|
-
[k: string]: unknown;
|
|
35
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskyFeedFeedViewPost from './feedViewPost';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
algorithm?: string;
|
|
5
|
-
limit?: number;
|
|
6
|
-
before?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare type InputSchema = undefined;
|
|
9
|
-
export interface OutputSchema {
|
|
10
|
-
cursor?: string;
|
|
11
|
-
feed: AppBskyFeedFeedViewPost.Main[];
|
|
12
|
-
[k: string]: unknown;
|
|
13
|
-
}
|
|
14
|
-
export interface CallOptions {
|
|
15
|
-
headers?: Headers;
|
|
16
|
-
}
|
|
17
|
-
export interface Response {
|
|
18
|
-
success: boolean;
|
|
19
|
-
headers: Headers;
|
|
20
|
-
data: OutputSchema;
|
|
21
|
-
}
|
|
22
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskyActorRef from '../actor/ref';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
uri: string;
|
|
5
|
-
cid?: string;
|
|
6
|
-
direction?: 'up' | 'down';
|
|
7
|
-
limit?: number;
|
|
8
|
-
before?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare type InputSchema = undefined;
|
|
11
|
-
export interface OutputSchema {
|
|
12
|
-
uri: string;
|
|
13
|
-
cid?: string;
|
|
14
|
-
cursor?: string;
|
|
15
|
-
votes: Vote[];
|
|
16
|
-
[k: string]: unknown;
|
|
17
|
-
}
|
|
18
|
-
export interface CallOptions {
|
|
19
|
-
headers?: Headers;
|
|
20
|
-
}
|
|
21
|
-
export interface Response {
|
|
22
|
-
success: boolean;
|
|
23
|
-
headers: Headers;
|
|
24
|
-
data: OutputSchema;
|
|
25
|
-
}
|
|
26
|
-
export declare function toKnownErr(e: any): any;
|
|
27
|
-
export interface Vote {
|
|
28
|
-
direction: 'up' | 'down';
|
|
29
|
-
indexedAt: string;
|
|
30
|
-
createdAt: string;
|
|
31
|
-
actor: AppBskyActorRef.WithInfo;
|
|
32
|
-
[k: string]: unknown;
|
|
33
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface Main {
|
|
2
|
-
media: MediaEmbed[];
|
|
3
|
-
[k: string]: unknown;
|
|
4
|
-
}
|
|
5
|
-
export interface MediaEmbed {
|
|
6
|
-
alt?: string;
|
|
7
|
-
thumb?: {
|
|
8
|
-
cid: string;
|
|
9
|
-
mimeType: string;
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
};
|
|
12
|
-
original: {
|
|
13
|
-
cid: string;
|
|
14
|
-
mimeType: string;
|
|
15
|
-
[k: string]: unknown;
|
|
16
|
-
};
|
|
17
|
-
[k: string]: unknown;
|
|
18
|
-
}
|