@atproto/api 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.d.ts +19 -0
- package/dist/client/lexicons.d.ts +364 -7
- package/dist/client/types/app/bsky/actor/defs.d.ts +4 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts +2 -0
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +2 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +4 -1
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +2 -0
- package/dist/client/types/com/atproto/{handle/update.d.ts → admin/updateAccountHandle.d.ts} +1 -0
- package/dist/client/types/com/atproto/label/defs.d.ts +12 -0
- package/dist/client/types/{app/bsky/feed/getAuthorFeed.d.ts → com/atproto/label/queryLabels.d.ts} +4 -3
- package/dist/client/types/com/atproto/label/subscribeLabels.d.ts +16 -0
- package/dist/client/types/com/atproto/{account/createInviteCode.d.ts → server/createInviteCodes.d.ts} +3 -1
- package/dist/client/types/com/atproto/server/createSession.d.ts +1 -1
- package/dist/client/types/{app/bsky/actor/getSuggestions.d.ts → com/atproto/sync/listRepos.d.ts} +9 -2
- package/dist/index.js +675 -230
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/client/index.ts +66 -0
- package/src/client/lexicons.ts +377 -10
- package/src/client/types/app/bsky/actor/defs.ts +4 -0
- package/src/client/types/app/bsky/feed/defs.ts +2 -0
- package/src/client/types/app/bsky/notification/listNotifications.ts +2 -0
- package/src/client/types/com/atproto/admin/defs.ts +4 -1
- package/src/client/types/com/atproto/admin/takeModerationAction.ts +2 -0
- package/src/client/types/com/atproto/admin/updateAccountHandle.ts +33 -0
- package/src/client/types/com/atproto/label/defs.ts +36 -0
- package/src/client/types/com/atproto/label/queryLabels.ts +42 -0
- package/src/client/types/com/atproto/label/subscribeLabels.ts +45 -0
- package/src/client/types/com/atproto/repo/listRecords.ts +2 -2
- package/src/client/types/com/atproto/server/createInviteCodes.ts +40 -0
- package/src/client/types/com/atproto/server/createSession.ts +1 -1
- package/src/client/types/com/atproto/sync/listRepos.ts +55 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/agent.d.ts +0 -27
- package/dist/bsky-agent.d.ts +0 -43
- package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +0 -16
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts +0 -19
- package/dist/client/types/app/bsky/actor/profile.d.ts +0 -10
- package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
- package/dist/client/types/app/bsky/actor/search.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchActors.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +0 -20
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -40
- package/dist/client/types/app/bsky/embed/external.d.ts +0 -31
- package/dist/client/types/app/bsky/embed/images.d.ts +0 -28
- package/dist/client/types/app/bsky/embed/record.d.ts +0 -41
- package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts +0 -24
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
- package/dist/client/types/app/bsky/feed/getLikes.d.ts +0 -34
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts +0 -26
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -25
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
- package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
- package/dist/client/types/app/bsky/feed/like.d.ts +0 -9
- package/dist/client/types/app/bsky/feed/post.d.ts +0 -43
- package/dist/client/types/app/bsky/feed/repost.d.ts +0 -9
- package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
- package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
- package/dist/client/types/app/bsky/graph/follow.d.ts +0 -8
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts +0 -23
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +0 -23
- package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/getMutes.d.ts +0 -21
- package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
- package/dist/client/types/app/bsky/graph/muteActor.d.ts +0 -17
- package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
- package/dist/client/types/app/bsky/graph/unmuteActor.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/getCount.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
- package/dist/client/types/app/bsky/notification/updateSeen.d.ts +0 -17
- package/dist/client/types/app/bsky/richtext/facet.d.ts +0 -30
- package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
- package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
- package/dist/client/types/app/bsky/unspecced/getPopular.d.ts +0 -21
- package/dist/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
- package/dist/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
- package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +0 -22
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +0 -23
- package/dist/client/types/com/atproto/admin/getRecord.d.ts +0 -17
- package/dist/client/types/com/atproto/admin/getRepo.d.ts +0 -16
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
- package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
- package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +0 -22
- package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +0 -22
- package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/client/types/com/atproto/identity/resolveHandle.d.ts +0 -18
- package/dist/client/types/com/atproto/identity/updateHandle.d.ts +0 -17
- package/dist/client/types/com/atproto/moderation/createReport.d.ts +0 -38
- package/dist/client/types/com/atproto/moderation/defs.d.ts +0 -3
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts +0 -47
- package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
- package/dist/client/types/com/atproto/repo/createRecord.d.ts +0 -31
- package/dist/client/types/com/atproto/repo/deleteRecord.d.ts +0 -24
- package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/client/types/com/atproto/repo/describeRepo.d.ts +0 -22
- package/dist/client/types/com/atproto/repo/getRecord.d.ts +0 -23
- package/dist/client/types/com/atproto/repo/putRecord.d.ts +0 -32
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
- package/dist/client/types/com/atproto/repo/strongRef.d.ts +0 -8
- package/dist/client/types/com/atproto/repo/uploadBlob.d.ts +0 -20
- package/dist/client/types/com/atproto/report/create.d.ts +0 -39
- package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
- package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
- package/dist/client/types/com/atproto/server/createAccount.d.ts +0 -44
- package/dist/client/types/com/atproto/server/deleteAccount.d.ts +0 -25
- package/dist/client/types/com/atproto/server/deleteSession.d.ts +0 -13
- package/dist/client/types/com/atproto/server/describeServer.d.ts +0 -27
- package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -27
- package/dist/client/types/com/atproto/server/refreshSession.d.ts +0 -24
- package/dist/client/types/com/atproto/server/requestAccountDelete.d.ts +0 -13
- package/dist/client/types/com/atproto/server/requestPasswordReset.d.ts +0 -17
- package/dist/client/types/com/atproto/server/resetPassword.d.ts +0 -24
- package/dist/client/types/com/atproto/session/create.d.ts +0 -29
- package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/client/types/com/atproto/session/refresh.d.ts +0 -24
- package/dist/client/types/com/atproto/sync/getBlob.d.ts +0 -15
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts +0 -15
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts +0 -15
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
- package/dist/client/types/com/atproto/sync/getHead.d.ts +0 -18
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +0 -17
- package/dist/client/types/com/atproto/sync/getRepo.d.ts +0 -16
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -18
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts +0 -20
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts +0 -13
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +0 -13
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
- package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts +0 -58
- package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/client/util.d.ts +0 -2
- package/dist/helpers/bsky.d.ts +0 -20
- package/dist/index.d.ts +0 -10
- package/dist/mixins/bsky.d.ts +0 -23
- package/dist/rich-text/detection.d.ts +0 -4
- package/dist/rich-text/rich-text.d.ts +0 -39
- package/dist/rich-text/sanitization.d.ts +0 -4
- package/dist/rich-text/sanitize.d.ts +0 -4
- package/dist/rich-text/unicode.d.ts +0 -11
- package/dist/session.d.ts +0 -42
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
3
|
-
import * as AppBskyActorRef from '../actor/ref';
|
|
4
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
5
|
-
export interface QueryParams {
|
|
6
|
-
actor: string;
|
|
7
|
-
limit?: number;
|
|
8
|
-
before?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare type InputSchema = undefined;
|
|
11
|
-
export interface OutputSchema {
|
|
12
|
-
subject: AppBskyActorRef.WithInfo;
|
|
13
|
-
cursor?: string;
|
|
14
|
-
members: Member[];
|
|
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 Member {
|
|
27
|
-
did: string;
|
|
28
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
29
|
-
handle: string;
|
|
30
|
-
displayName?: string;
|
|
31
|
-
createdAt?: string;
|
|
32
|
-
indexedAt: string;
|
|
33
|
-
[k: string]: unknown;
|
|
34
|
-
}
|
|
35
|
-
export declare function isMember(v: unknown): v is Member;
|
|
36
|
-
export declare function validateMember(v: unknown): ValidationResult;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
3
|
-
import * as AppBskyActorRef from '../actor/ref';
|
|
4
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
5
|
-
export interface QueryParams {
|
|
6
|
-
actor: string;
|
|
7
|
-
limit?: number;
|
|
8
|
-
before?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare type InputSchema = undefined;
|
|
11
|
-
export interface OutputSchema {
|
|
12
|
-
subject: AppBskyActorRef.WithInfo;
|
|
13
|
-
cursor?: string;
|
|
14
|
-
memberships: Membership[];
|
|
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 Membership {
|
|
27
|
-
did: string;
|
|
28
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
29
|
-
handle: string;
|
|
30
|
-
displayName?: string;
|
|
31
|
-
createdAt?: string;
|
|
32
|
-
indexedAt: string;
|
|
33
|
-
[k: string]: unknown;
|
|
34
|
-
}
|
|
35
|
-
export declare function isMembership(v: unknown): v is Membership;
|
|
36
|
-
export declare function validateMembership(v: unknown): ValidationResult;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskyActorDefs from '../actor/defs';
|
|
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
|
-
mutes: AppBskyActorDefs.ProfileView[];
|
|
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;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
user: string;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
qp?: QueryParams;
|
|
11
|
-
encoding: 'application/json';
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
actor: string;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
qp?: QueryParams;
|
|
11
|
-
encoding: 'application/json';
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
user: string;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
qp?: QueryParams;
|
|
11
|
-
encoding: 'application/json';
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
actor: string;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
qp?: QueryParams;
|
|
11
|
-
encoding: 'application/json';
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = undefined;
|
|
5
|
-
export interface OutputSchema {
|
|
6
|
-
count: number;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface CallOptions {
|
|
10
|
-
headers?: Headers;
|
|
11
|
-
}
|
|
12
|
-
export interface Response {
|
|
13
|
-
success: boolean;
|
|
14
|
-
headers: Headers;
|
|
15
|
-
data: OutputSchema;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = undefined;
|
|
5
|
-
export interface OutputSchema {
|
|
6
|
-
count: number;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface CallOptions {
|
|
10
|
-
headers?: Headers;
|
|
11
|
-
}
|
|
12
|
-
export interface Response {
|
|
13
|
-
success: boolean;
|
|
14
|
-
headers: Headers;
|
|
15
|
-
data: OutputSchema;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
3
|
-
import * as AppBskyActorRef from '../actor/ref';
|
|
4
|
-
export interface QueryParams {
|
|
5
|
-
limit?: number;
|
|
6
|
-
before?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare type InputSchema = undefined;
|
|
9
|
-
export interface OutputSchema {
|
|
10
|
-
cursor?: string;
|
|
11
|
-
notifications: Notification[];
|
|
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 Notification {
|
|
24
|
-
uri: string;
|
|
25
|
-
cid: string;
|
|
26
|
-
author: AppBskyActorRef.WithInfo;
|
|
27
|
-
reason: 'vote' | 'repost' | 'follow' | 'invite' | 'mention' | 'reply' | (string & {});
|
|
28
|
-
reasonSubject?: string;
|
|
29
|
-
record: {};
|
|
30
|
-
isRead: boolean;
|
|
31
|
-
indexedAt: string;
|
|
32
|
-
[k: string]: unknown;
|
|
33
|
-
}
|
|
34
|
-
export declare function isNotification(v: unknown): v is Notification;
|
|
35
|
-
export declare function validateNotification(v: unknown): ValidationResult;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
seenAt: string;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
qp?: QueryParams;
|
|
11
|
-
encoding: 'application/json';
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
2
|
-
export interface Main {
|
|
3
|
-
index: ByteSlice;
|
|
4
|
-
features: (Mention | Link | {
|
|
5
|
-
$type: string;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
})[];
|
|
8
|
-
[k: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
export declare function isMain(v: unknown): v is Main;
|
|
11
|
-
export declare function validateMain(v: unknown): ValidationResult;
|
|
12
|
-
export interface Mention {
|
|
13
|
-
did: string;
|
|
14
|
-
[k: string]: unknown;
|
|
15
|
-
}
|
|
16
|
-
export declare function isMention(v: unknown): v is Mention;
|
|
17
|
-
export declare function validateMention(v: unknown): ValidationResult;
|
|
18
|
-
export interface Link {
|
|
19
|
-
uri: string;
|
|
20
|
-
[k: string]: unknown;
|
|
21
|
-
}
|
|
22
|
-
export declare function isLink(v: unknown): v is Link;
|
|
23
|
-
export declare function validateLink(v: unknown): ValidationResult;
|
|
24
|
-
export interface ByteSlice {
|
|
25
|
-
byteStart: number;
|
|
26
|
-
byteEnd: number;
|
|
27
|
-
[k: string]: unknown;
|
|
28
|
-
}
|
|
29
|
-
export declare function isByteSlice(v: unknown): v is ByteSlice;
|
|
30
|
-
export declare function validateByteSlice(v: unknown): ValidationResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MAIN = "app.bsky.system.actorScene#main";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MAIN = "app.bsky.system.actorUser#main";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
2
|
-
export interface Main {
|
|
3
|
-
cid: string;
|
|
4
|
-
actorType: 'app.bsky.system.actorUser' | (string & {});
|
|
5
|
-
[k: string]: unknown;
|
|
6
|
-
}
|
|
7
|
-
export declare function isMain(v: unknown): v is Main;
|
|
8
|
-
export declare function validateMain(v: unknown): ValidationResult;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
2
|
-
export interface Record {
|
|
3
|
-
actorType: 'app.bsky.system.actorUser' | (string & {});
|
|
4
|
-
[k: string]: unknown;
|
|
5
|
-
}
|
|
6
|
-
export declare function isRecord(v: unknown): v is Record;
|
|
7
|
-
export declare function validateRecord(v: unknown): ValidationResult;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as AppBskyFeedDefs from '../feed/defs';
|
|
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
|
-
feed: AppBskyFeedDefs.FeedViewPost[];
|
|
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;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
email: string;
|
|
6
|
-
handle: string;
|
|
7
|
-
inviteCode?: string;
|
|
8
|
-
password: string;
|
|
9
|
-
recoveryKey?: string;
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
export interface OutputSchema {
|
|
13
|
-
accessJwt: string;
|
|
14
|
-
refreshJwt: string;
|
|
15
|
-
handle: string;
|
|
16
|
-
did: string;
|
|
17
|
-
[k: string]: unknown;
|
|
18
|
-
}
|
|
19
|
-
export interface CallOptions {
|
|
20
|
-
headers?: Headers;
|
|
21
|
-
qp?: QueryParams;
|
|
22
|
-
encoding: 'application/json';
|
|
23
|
-
}
|
|
24
|
-
export interface Response {
|
|
25
|
-
success: boolean;
|
|
26
|
-
headers: Headers;
|
|
27
|
-
data: OutputSchema;
|
|
28
|
-
}
|
|
29
|
-
export declare class InvalidHandleError extends XRPCError {
|
|
30
|
-
constructor(src: XRPCError);
|
|
31
|
-
}
|
|
32
|
-
export declare class InvalidPasswordError extends XRPCError {
|
|
33
|
-
constructor(src: XRPCError);
|
|
34
|
-
}
|
|
35
|
-
export declare class InvalidInviteCodeError extends XRPCError {
|
|
36
|
-
constructor(src: XRPCError);
|
|
37
|
-
}
|
|
38
|
-
export declare class HandleNotAvailableError extends XRPCError {
|
|
39
|
-
constructor(src: XRPCError);
|
|
40
|
-
}
|
|
41
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
did: string;
|
|
6
|
-
password: string;
|
|
7
|
-
token: string;
|
|
8
|
-
[k: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
export interface CallOptions {
|
|
11
|
-
headers?: Headers;
|
|
12
|
-
qp?: QueryParams;
|
|
13
|
-
encoding: 'application/json';
|
|
14
|
-
}
|
|
15
|
-
export interface Response {
|
|
16
|
-
success: boolean;
|
|
17
|
-
headers: Headers;
|
|
18
|
-
}
|
|
19
|
-
export declare class ExpiredTokenError extends XRPCError {
|
|
20
|
-
constructor(src: XRPCError);
|
|
21
|
-
}
|
|
22
|
-
export declare class InvalidTokenError extends XRPCError {
|
|
23
|
-
constructor(src: XRPCError);
|
|
24
|
-
}
|
|
25
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = undefined;
|
|
5
|
-
export interface CallOptions {
|
|
6
|
-
headers?: Headers;
|
|
7
|
-
}
|
|
8
|
-
export interface Response {
|
|
9
|
-
success: boolean;
|
|
10
|
-
headers: Headers;
|
|
11
|
-
}
|
|
12
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export declare type InputSchema = undefined;
|
|
5
|
-
export interface CallOptions {
|
|
6
|
-
headers?: Headers;
|
|
7
|
-
qp?: QueryParams;
|
|
8
|
-
}
|
|
9
|
-
export interface Response {
|
|
10
|
-
success: boolean;
|
|
11
|
-
headers: Headers;
|
|
12
|
-
}
|
|
13
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
email: string;
|
|
6
|
-
[k: string]: unknown;
|
|
7
|
-
}
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
qp?: QueryParams;
|
|
11
|
-
encoding: 'application/json';
|
|
12
|
-
}
|
|
13
|
-
export interface Response {
|
|
14
|
-
success: boolean;
|
|
15
|
-
headers: Headers;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
-
export interface QueryParams {
|
|
3
|
-
}
|
|
4
|
-
export interface InputSchema {
|
|
5
|
-
token: string;
|
|
6
|
-
password: string;
|
|
7
|
-
[k: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
export interface CallOptions {
|
|
10
|
-
headers?: Headers;
|
|
11
|
-
qp?: QueryParams;
|
|
12
|
-
encoding: 'application/json';
|
|
13
|
-
}
|
|
14
|
-
export interface Response {
|
|
15
|
-
success: boolean;
|
|
16
|
-
headers: Headers;
|
|
17
|
-
}
|
|
18
|
-
export declare class ExpiredTokenError extends XRPCError {
|
|
19
|
-
constructor(src: XRPCError);
|
|
20
|
-
}
|
|
21
|
-
export declare class InvalidTokenError extends XRPCError {
|
|
22
|
-
constructor(src: XRPCError);
|
|
23
|
-
}
|
|
24
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ValidationResult } from '@atproto/lexicon';
|
|
2
|
-
import * as ComAtprotoAdminModerationAction from './moderationAction';
|
|
3
|
-
export interface View {
|
|
4
|
-
cid: string;
|
|
5
|
-
mimeType: string;
|
|
6
|
-
size: number;
|
|
7
|
-
createdAt: string;
|
|
8
|
-
details?: ImageDetails | VideoDetails | {
|
|
9
|
-
$type: string;
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
};
|
|
12
|
-
moderation?: Moderation;
|
|
13
|
-
[k: string]: unknown;
|
|
14
|
-
}
|
|
15
|
-
export declare function isView(v: unknown): v is View;
|
|
16
|
-
export declare function validateView(v: unknown): ValidationResult;
|
|
17
|
-
export interface ImageDetails {
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
[k: string]: unknown;
|
|
21
|
-
}
|
|
22
|
-
export declare function isImageDetails(v: unknown): v is ImageDetails;
|
|
23
|
-
export declare function validateImageDetails(v: unknown): ValidationResult;
|
|
24
|
-
export interface VideoDetails {
|
|
25
|
-
width: number;
|
|
26
|
-
height: number;
|
|
27
|
-
length: number;
|
|
28
|
-
[k: string]: unknown;
|
|
29
|
-
}
|
|
30
|
-
export declare function isVideoDetails(v: unknown): v is VideoDetails;
|
|
31
|
-
export declare function validateVideoDetails(v: unknown): ValidationResult;
|
|
32
|
-
export interface Moderation {
|
|
33
|
-
currentAction?: ComAtprotoAdminModerationAction.ViewCurrent;
|
|
34
|
-
[k: string]: unknown;
|
|
35
|
-
}
|
|
36
|
-
export declare function isModeration(v: unknown): v is Moderation;
|
|
37
|
-
export declare function validateModeration(v: unknown): ValidationResult;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
id: number;
|
|
5
|
-
}
|
|
6
|
-
export declare type InputSchema = undefined;
|
|
7
|
-
export declare type OutputSchema = ComAtprotoAdminDefs.ActionViewDetail;
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
}
|
|
11
|
-
export interface Response {
|
|
12
|
-
success: boolean;
|
|
13
|
-
headers: Headers;
|
|
14
|
-
data: OutputSchema;
|
|
15
|
-
}
|
|
16
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
subject?: string;
|
|
5
|
-
limit?: number;
|
|
6
|
-
cursor?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare type InputSchema = undefined;
|
|
9
|
-
export interface OutputSchema {
|
|
10
|
-
cursor?: string;
|
|
11
|
-
actions: ComAtprotoAdminDefs.ActionView[];
|
|
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,16 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
id: number;
|
|
5
|
-
}
|
|
6
|
-
export declare type InputSchema = undefined;
|
|
7
|
-
export declare type OutputSchema = ComAtprotoAdminDefs.ReportViewDetail;
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
}
|
|
11
|
-
export interface Response {
|
|
12
|
-
success: boolean;
|
|
13
|
-
headers: Headers;
|
|
14
|
-
data: OutputSchema;
|
|
15
|
-
}
|
|
16
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
subject?: string;
|
|
5
|
-
resolved?: boolean;
|
|
6
|
-
limit?: number;
|
|
7
|
-
cursor?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type InputSchema = undefined;
|
|
10
|
-
export interface OutputSchema {
|
|
11
|
-
cursor?: string;
|
|
12
|
-
reports: ComAtprotoAdminDefs.ReportView[];
|
|
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 function toKnownErr(e: any): any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
uri: string;
|
|
5
|
-
cid?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare type InputSchema = undefined;
|
|
8
|
-
export declare type OutputSchema = ComAtprotoAdminDefs.RecordViewDetail;
|
|
9
|
-
export interface CallOptions {
|
|
10
|
-
headers?: Headers;
|
|
11
|
-
}
|
|
12
|
-
export interface Response {
|
|
13
|
-
success: boolean;
|
|
14
|
-
headers: Headers;
|
|
15
|
-
data: OutputSchema;
|
|
16
|
-
}
|
|
17
|
-
export declare function toKnownErr(e: any): any;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as ComAtprotoAdminDefs from './defs';
|
|
3
|
-
export interface QueryParams {
|
|
4
|
-
did: string;
|
|
5
|
-
}
|
|
6
|
-
export declare type InputSchema = undefined;
|
|
7
|
-
export declare type OutputSchema = ComAtprotoAdminDefs.RepoViewDetail;
|
|
8
|
-
export interface CallOptions {
|
|
9
|
-
headers?: Headers;
|
|
10
|
-
}
|
|
11
|
-
export interface Response {
|
|
12
|
-
success: boolean;
|
|
13
|
-
headers: Headers;
|
|
14
|
-
data: OutputSchema;
|
|
15
|
-
}
|
|
16
|
-
export declare function toKnownErr(e: any): any;
|