Update API build

zio/stable
Paul Frazee 2022-12-06 11:39:30 -06:00
parent 84a60592a8
commit 5c1519b9ee
65 changed files with 4234 additions and 12028 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -33,7 +33,6 @@ import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
import * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
import * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed';
import * as AppBskyFeedPost from './types/app/bsky/feed/post';
import * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
import * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
@ -65,6 +64,7 @@ export * as ComAtprotoRepoDescribe from './types/com/atproto/repo/describe';
export * as ComAtprotoRepoGetRecord from './types/com/atproto/repo/getRecord';
export * as ComAtprotoRepoListRecords from './types/com/atproto/repo/listRecords';
export * as ComAtprotoRepoPutRecord from './types/com/atproto/repo/putRecord';
export * as ComAtprotoRepoStrongRef from './types/com/atproto/repo/strongRef';
export * as ComAtprotoServerGetAccountsConfig from './types/com/atproto/server/getAccountsConfig';
export * as ComAtprotoSessionCreate from './types/com/atproto/session/create';
export * as ComAtprotoSessionDelete from './types/com/atproto/session/delete';
@ -77,20 +77,23 @@ export * as AppBskyActorCreateScene from './types/app/bsky/actor/createScene';
export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
export * as AppBskyActorProfile from './types/app/bsky/actor/profile';
export * as AppBskyActorRef from './types/app/bsky/actor/ref';
export * as AppBskyActorSearch from './types/app/bsky/actor/search';
export * as AppBskyActorSearchTypeahead from './types/app/bsky/actor/searchTypeahead';
export * as AppBskyActorUpdateProfile from './types/app/bsky/actor/updateProfile';
export * as AppBskyFeedEmbed from './types/app/bsky/feed/embed';
export * as AppBskyFeedGetAuthorFeed from './types/app/bsky/feed/getAuthorFeed';
export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
export * as AppBskyFeedGetVotes from './types/app/bsky/feed/getVotes';
export * as AppBskyFeedMediaEmbed from './types/app/bsky/feed/mediaEmbed';
export * as AppBskyFeedPost from './types/app/bsky/feed/post';
export * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
export * as AppBskyFeedSetVote from './types/app/bsky/feed/setVote';
export * as AppBskyFeedTrend from './types/app/bsky/feed/trend';
export * as AppBskyFeedVote from './types/app/bsky/feed/vote';
export * as AppBskyGraphAssertCreator from './types/app/bsky/graph/assertCreator';
export * as AppBskyGraphAssertMember from './types/app/bsky/graph/assertMember';
export * as AppBskyGraphAssertion from './types/app/bsky/graph/assertion';
export * as AppBskyGraphConfirmation from './types/app/bsky/graph/confirmation';
export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
@ -102,6 +105,9 @@ export * as AppBskyGraphGetMemberships from './types/app/bsky/graph/getMembershi
export * as AppBskyNotificationGetCount from './types/app/bsky/notification/getCount';
export * as AppBskyNotificationList from './types/app/bsky/notification/list';
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
export * as AppBskySystemActorScene from './types/app/bsky/system/actorScene';
export * as AppBskySystemActorUser from './types/app/bsky/system/actorUser';
export * as AppBskySystemDeclRef from './types/app/bsky/system/declRef';
export * as AppBskySystemDeclaration from './types/app/bsky/system/declaration';
export declare const APP_BSKY_GRAPH: {
AssertCreator: string;
@ -235,7 +241,6 @@ export declare class ProfileRecord {
}
export declare class FeedNS {
_service: ServiceClient;
mediaEmbed: MediaEmbedRecord;
post: PostRecord;
repost: RepostRecord;
trend: TrendRecord;
@ -248,27 +253,6 @@ export declare class FeedNS {
getVotes(params?: AppBskyFeedGetVotes.QueryParams, opts?: AppBskyFeedGetVotes.CallOptions): Promise<AppBskyFeedGetVotes.Response>;
setVote(data?: AppBskyFeedSetVote.InputSchema, opts?: AppBskyFeedSetVote.CallOptions): Promise<AppBskyFeedSetVote.Response>;
}
export declare class MediaEmbedRecord {
_service: ServiceClient;
constructor(service: ServiceClient);
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
cursor?: string;
records: {
uri: string;
value: AppBskyFeedMediaEmbed.Record;
}[];
}>;
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
uri: string;
cid: string;
value: AppBskyFeedMediaEmbed.Record;
}>;
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedMediaEmbed.Record, headers?: Record<string, string>): Promise<{
uri: string;
cid: string;
}>;
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
}
export declare class PostRecord {
_service: ServiceClient;
constructor(service: ServiceClient);

View File

@ -0,0 +1,63 @@
import { LexiconDoc } from '@atproto/lexicon';
export declare const lexicons: LexiconDoc[];
export declare const ids: {
ComAtprotoAccountCreate: string;
ComAtprotoAccountCreateInviteCode: string;
ComAtprotoAccountDelete: string;
ComAtprotoAccountGet: string;
ComAtprotoAccountRequestPasswordReset: string;
ComAtprotoAccountResetPassword: string;
ComAtprotoHandleResolve: string;
ComAtprotoRepoBatchWrite: string;
ComAtprotoRepoCreateRecord: string;
ComAtprotoRepoDeleteRecord: string;
ComAtprotoRepoDescribe: string;
ComAtprotoRepoGetRecord: string;
ComAtprotoRepoListRecords: string;
ComAtprotoRepoPutRecord: string;
ComAtprotoRepoStrongRef: string;
ComAtprotoServerGetAccountsConfig: string;
ComAtprotoSessionCreate: string;
ComAtprotoSessionDelete: string;
ComAtprotoSessionGet: string;
ComAtprotoSessionRefresh: string;
ComAtprotoSyncGetRepo: string;
ComAtprotoSyncGetRoot: string;
ComAtprotoSyncUpdateRepo: string;
AppBskyActorCreateScene: string;
AppBskyActorGetProfile: string;
AppBskyActorGetSuggestions: string;
AppBskyActorProfile: string;
AppBskyActorRef: string;
AppBskyActorSearch: string;
AppBskyActorSearchTypeahead: string;
AppBskyActorUpdateProfile: string;
AppBskyFeedEmbed: string;
AppBskyFeedGetAuthorFeed: string;
AppBskyFeedGetPostThread: string;
AppBskyFeedGetRepostedBy: string;
AppBskyFeedGetTimeline: string;
AppBskyFeedGetVotes: string;
AppBskyFeedPost: string;
AppBskyFeedRepost: string;
AppBskyFeedSetVote: string;
AppBskyFeedTrend: string;
AppBskyFeedVote: string;
AppBskyGraphAssertCreator: string;
AppBskyGraphAssertMember: string;
AppBskyGraphAssertion: string;
AppBskyGraphConfirmation: string;
AppBskyGraphFollow: string;
AppBskyGraphGetAssertions: string;
AppBskyGraphGetFollowers: string;
AppBskyGraphGetFollows: string;
AppBskyGraphGetMembers: string;
AppBskyGraphGetMemberships: string;
AppBskyNotificationGetCount: string;
AppBskyNotificationList: string;
AppBskyNotificationUpdateSeen: string;
AppBskySystemActorScene: string;
AppBskySystemActorUser: string;
AppBskySystemDeclRef: string;
AppBskySystemDeclaration: string;
};

View File

@ -1,26 +1,23 @@
import { Headers, XRPCError } from '@atproto/xrpc';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
}
export interface InputSchema {
handle: string;
recoveryKey?: string;
[k: string]: unknown;
}
export interface OutputSchema {
handle: string;
did: string;
declaration: AppBskySystemDeclRef.Main;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
handle: string;
recoveryKey?: string;
}
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
handle: string;
did: string;
declaration: Declaration;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
}
export interface Response {
success: boolean;
headers: Headers;

View File

@ -1,16 +1,12 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
actor: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
did: string;
declaration: Declaration;
declaration: AppBskySystemDeclRef.Main;
handle: string;
creator: string;
displayName?: string;
@ -19,14 +15,11 @@ export interface OutputSchema {
followsCount: number;
membersCount: number;
postsCount: number;
myState?: {
follow?: string;
member?: string;
};
myState?: MyState;
[k: string]: unknown;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -34,3 +27,8 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface MyState {
follow?: string;
member?: string;
[k: string]: unknown;
}

View File

@ -1,31 +1,17 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
limit?: number;
cursor?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
cursor?: string;
actors: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
description?: string;
indexedAt?: string;
myState?: {
follow?: string;
};
}[];
actors: Actor[];
[k: string]: unknown;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -33,3 +19,17 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Actor {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
description?: string;
indexedAt?: string;
myState?: MyState;
[k: string]: unknown;
}
export interface MyState {
follow?: string;
[k: string]: unknown;
}

View File

@ -0,0 +1,13 @@
import * as AppBskySystemDeclRef from '../system/declRef';
export interface Main {
did: string;
declarationCid: string;
[k: string]: unknown;
}
export interface WithInfo {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
[k: string]: unknown;
}

View File

@ -1,29 +1,18 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
term: string;
limit?: number;
before?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
cursor?: string;
users: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
description?: string;
indexedAt?: string;
}[];
users: User[];
[k: string]: unknown;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -31,3 +20,12 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface User {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
description?: string;
indexedAt?: string;
[k: string]: unknown;
}

View File

@ -1,29 +1,27 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
term: string;
limit?: number;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
users: User[];
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
users: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
}[];
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface User {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
[k: string]: unknown;
}

View File

@ -1,20 +1,22 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
did?: string;
displayName?: string;
description?: string;
[k: string]: unknown;
}
export interface OutputSchema {
uri: string;
cid: string;
record: {};
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface Response {
success: boolean;

View File

@ -0,0 +1,57 @@
export interface Record {
text: string;
entities?: Entity[];
reply?: Reply;
createdAt: string;
[k: string]: unknown;
}
export declare const SOMETOKEN = "app.bsky.feed.debug#someToken";
export declare type Unknown = {};
export declare type Boolean = boolean;
export declare type Number = number;
export declare type Integer = number;
export declare type String = string;
export declare type Blob = {
cid: string;
mimeType: string;
[k: string]: unknown;
};
export declare type Image = {
cid: string;
mimeType: string;
[k: string]: unknown;
};
export declare type Video = {
cid: string;
mimeType: string;
[k: string]: unknown;
};
export declare type Audio = {
cid: string;
mimeType: string;
[k: string]: unknown;
};
export declare type StringArr = string[];
export declare type ReplyArr = Reply[];
export declare type MultiArr = (Reply | PostRef | Entity)[];
export interface Reply {
root: PostRef;
parent: PostRef;
[k: string]: unknown;
}
export interface PostRef {
uri: string;
cid: string;
[k: string]: unknown;
}
export interface Entity {
index: TextSlice;
type: string;
value: string;
[k: string]: unknown;
}
export interface TextSlice {
start: number;
end: number;
[k: string]: unknown;
}

View File

@ -0,0 +1,36 @@
import * as AppBskyActorRef from '../actor/ref';
export interface Main {
items?: (Media | Record | External | {
$type: string;
[k: string]: unknown;
})[];
[k: string]: unknown;
}
export interface Media {
alt?: string;
thumb?: {
cid: string;
mimeType: string;
[k: string]: unknown;
};
original: {
cid: string;
mimeType: string;
[k: string]: unknown;
};
[k: string]: unknown;
}
export interface Record {
type: 'record';
author: AppBskyActorRef.WithInfo;
record: {};
[k: string]: unknown;
}
export interface External {
type: 'external';
uri: string;
title: string;
description: string;
imageUri: string;
[k: string]: unknown;
}

View File

@ -1,62 +1,19 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskyActorRef from '../actor/ref';
import * as AppBskyFeedEmbed from './embed';
export interface QueryParams {
author: string;
limit?: number;
before?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
cursor?: string;
feed: FeedItem[];
[k: string]: unknown;
}
export interface FeedItem {
uri: string;
cid: string;
author: Actor;
trendedBy?: Actor;
repostedBy?: Actor;
record: {};
embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;
replyCount: number;
repostCount: number;
upvoteCount: number;
downvoteCount: number;
indexedAt: string;
myState?: {
repost?: string;
upvote?: string;
downvote?: string;
};
}
export interface Actor {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
}
export interface RecordEmbed {
type: 'record';
author: Actor;
record: {};
}
export interface ExternalEmbed {
type: 'external';
uri: string;
title: string;
description: string;
imageUri: string;
}
export interface UnknownEmbed {
type: string;
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -64,3 +21,25 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface FeedItem {
uri: string;
cid: string;
author: AppBskyActorRef.WithInfo;
trendedBy?: AppBskyActorRef.WithInfo;
repostedBy?: AppBskyActorRef.WithInfo;
record: {};
embed?: AppBskyFeedEmbed.Main;
replyCount: number;
repostCount: number;
upvoteCount: number;
downvoteCount: number;
indexedAt: string;
myState?: MyState;
[k: string]: unknown;
}
export interface MyState {
repost?: string;
upvote?: string;
downvote?: string;
[k: string]: unknown;
}

View File

@ -1,61 +1,21 @@
import { Headers, XRPCError } from '@atproto/xrpc';
import * as AppBskyActorRef from '../actor/ref';
import * as AppBskyFeedEmbed from './embed';
export interface QueryParams {
uri: string;
depth?: number;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
thread: Post | NotFoundPost | {
$type: string;
[k: string]: unknown;
};
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
thread: Post;
}
export interface Post {
uri: string;
cid: string;
author: User;
record: {};
embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;
parent?: Post;
replyCount: number;
replies?: Post[];
repostCount: number;
upvoteCount: number;
downvoteCount: number;
indexedAt: string;
myState?: {
repost?: string;
upvote?: string;
downvote?: string;
};
}
export interface User {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
}
export interface RecordEmbed {
type: 'record';
author: User;
record: {};
}
export interface ExternalEmbed {
type: 'external';
uri: string;
title: string;
description: string;
imageUri: string;
}
export interface UnknownEmbed {
type: string;
}
export interface Response {
success: boolean;
headers: Headers;
@ -65,3 +25,36 @@ export declare class NotFoundError extends XRPCError {
constructor(src: XRPCError);
}
export declare function toKnownErr(e: any): any;
export interface Post {
uri: string;
cid: string;
author: AppBskyActorRef.WithInfo;
record: {};
embed?: AppBskyFeedEmbed.Main;
parent?: Post | NotFoundPost | {
$type: string;
[k: string]: unknown;
};
replyCount: number;
replies?: (Post | NotFoundPost | {
$type: string;
[k: string]: unknown;
})[];
repostCount: number;
upvoteCount: number;
downvoteCount: number;
indexedAt: string;
myState?: MyState;
[k: string]: unknown;
}
export interface NotFoundPost {
uri: string;
notFound: true;
[k: string]: unknown;
}
export interface MyState {
repost?: string;
upvote?: string;
downvote?: string;
[k: string]: unknown;
}

View File

@ -1,32 +1,21 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
uri: string;
cid?: string;
limit?: number;
before?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
uri: string;
cid?: string;
cursor?: string;
repostedBy: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
}[];
repostedBy: RepostedBy[];
[k: string]: unknown;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -34,3 +23,12 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface RepostedBy {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
[k: string]: unknown;
}

View File

@ -1,63 +1,19 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskyActorRef from '../actor/ref';
import * as AppBskyFeedEmbed from './embed';
export interface QueryParams {
algorithm?: string;
limit?: number;
before?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
cursor?: string;
feed: FeedItem[];
[k: string]: unknown;
}
export interface FeedItem {
uri: string;
cid: string;
author: Actor;
trendedBy?: Actor;
repostedBy?: Actor;
record: {};
embed?: RecordEmbed | ExternalEmbed | UnknownEmbed;
replyCount: number;
repostCount: number;
upvoteCount: number;
downvoteCount: number;
indexedAt: string;
myState?: {
repost?: string;
upvote?: string;
downvote?: string;
};
}
export interface Actor {
did: string;
declaration: Declaration;
handle: string;
actorType?: string;
displayName?: string;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
}
export interface RecordEmbed {
type: 'record';
author: Actor;
record: {};
}
export interface ExternalEmbed {
type: 'external';
uri: string;
title: string;
description: string;
imageUri: string;
}
export interface UnknownEmbed {
type: string;
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -65,3 +21,25 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface FeedItem {
uri: string;
cid: string;
author: AppBskyActorRef.WithInfo;
trendedBy?: AppBskyActorRef.WithInfo;
repostedBy?: AppBskyActorRef.WithInfo;
record: {};
embed?: AppBskyFeedEmbed.Main;
replyCount: number;
repostCount: number;
upvoteCount: number;
downvoteCount: number;
indexedAt: string;
myState?: MyState;
[k: string]: unknown;
}
export interface MyState {
repost?: string;
upvote?: string;
downvote?: string;
[k: string]: unknown;
}

View File

@ -1,4 +1,5 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskyActorRef from '../actor/ref';
export interface QueryParams {
uri: string;
cid?: string;
@ -6,32 +7,16 @@ export interface QueryParams {
limit?: number;
before?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
uri: string;
cid?: string;
cursor?: string;
votes: {
direction: 'up' | 'down';
indexedAt: string;
createdAt: string;
actor: Actor;
}[];
votes: Vote[];
[k: string]: unknown;
}
export interface Actor {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -39,3 +24,10 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Vote {
direction: 'up' | 'down';
indexedAt: string;
createdAt: string;
actor: AppBskyActorRef.WithInfo;
[k: string]: unknown;
}

View File

@ -1,15 +1,18 @@
export interface Record {
export interface Main {
media: MediaEmbed[];
[k: string]: unknown;
}
export interface MediaEmbed {
alt?: string;
thumb?: MediaEmbedBlob;
original: MediaEmbedBlob;
[k: string]: unknown;
}
export interface MediaEmbedBlob {
thumb?: {
cid: string;
mimeType: string;
blobId: string;
[k: string]: unknown;
};
original: {
cid: string;
mimeType: string;
[k: string]: unknown;
};
[k: string]: unknown;
}

View File

@ -1,14 +1,16 @@
import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
export interface Record {
text: string;
entities?: Entity[];
reply?: {
root: PostRef;
parent: PostRef;
[k: string]: unknown;
};
reply?: ReplyRef;
createdAt: string;
[k: string]: unknown;
}
export interface ReplyRef {
root: ComAtprotoRepoStrongRef.Main;
parent: ComAtprotoRepoStrongRef.Main;
[k: string]: unknown;
}
export interface Entity {
index: TextSlice;
type: string;
@ -20,8 +22,3 @@ export interface TextSlice {
end: number;
[k: string]: unknown;
}
export interface PostRef {
uri: string;
cid: string;
[k: string]: unknown;
}

View File

@ -1,10 +1,6 @@
import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
export interface Record {
subject: Subject;
subject: ComAtprotoRepoStrongRef.Main;
createdAt: string;
[k: string]: unknown;
}
export interface Subject {
uri: string;
cid: string;
[k: string]: unknown;
}

View File

@ -1,23 +1,22 @@
import { Headers } from '@atproto/xrpc';
import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
export interface QueryParams {
}
export interface InputSchema {
subject: ComAtprotoRepoStrongRef.Main;
direction: 'up' | 'down' | 'none';
[k: string]: unknown;
}
export interface OutputSchema {
upvote?: string;
downvote?: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
subject: Subject;
direction: 'up' | 'down' | 'none';
}
export interface Subject {
uri: string;
cid: string;
}
export interface OutputSchema {
upvote?: string;
downvote?: string;
}
export interface Response {
success: boolean;
headers: Headers;

View File

@ -1,10 +1,6 @@
import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
export interface Record {
subject: Subject;
subject: ComAtprotoRepoStrongRef.Main;
createdAt: string;
[k: string]: unknown;
}
export interface Subject {
uri: string;
cid: string;
[k: string]: unknown;
}

View File

@ -1,11 +1,7 @@
import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
export interface Record {
subject: Subject;
subject: ComAtprotoRepoStrongRef.Main;
direction: 'up' | 'down';
createdAt: string;
[k: string]: unknown;
}
export interface Subject {
uri: string;
cid: string;
[k: string]: unknown;
}

View File

@ -0,0 +1 @@
export declare const MAIN = "app.bsky.graph.assertCreator#main";

View File

@ -0,0 +1 @@
export declare const MAIN = "app.bsky.graph.assertMember#main";

View File

@ -1,10 +1,7 @@
import * as AppBskyActorRef from '../actor/ref';
export interface Record {
assertion: string;
subject: {
did: string;
declarationCid: string;
[k: string]: unknown;
};
subject: AppBskyActorRef.Main;
createdAt: string;
[k: string]: unknown;
}

View File

@ -1,14 +1,8 @@
import * as AppBskyActorRef from '../actor/ref';
import * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef';
export interface Record {
originator: {
did: string;
declarationCid: string;
[k: string]: unknown;
};
assertion: {
uri: string;
cid: string;
[k: string]: unknown;
};
originator: AppBskyActorRef.Main;
assertion: ComAtprotoRepoStrongRef.Main;
createdAt: string;
[k: string]: unknown;
}

View File

@ -1,9 +1,6 @@
import * as AppBskyActorRef from '../actor/ref';
export interface Record {
subject: {
did: string;
declarationCid: string;
[k: string]: unknown;
};
subject: AppBskyActorRef.Main;
createdAt: string;
[k: string]: unknown;
}

View File

@ -1,4 +1,5 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskyActorRef from '../actor/ref';
export interface QueryParams {
author?: string;
subject?: string;
@ -7,40 +8,14 @@ export interface QueryParams {
limit?: number;
before?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
cursor?: string;
assertions: {
uri: string;
cid: string;
assertion: string;
confirmation?: Confirmation;
author: Actor;
subject: Actor;
indexedAt: string;
createdAt: string;
}[];
assertions: Assertion[];
[k: string]: unknown;
}
export interface Confirmation {
uri: string;
cid: string;
indexedAt: string;
createdAt: string;
}
export interface Actor {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -48,3 +23,21 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Assertion {
uri: string;
cid: string;
assertion: string;
confirmation?: Confirmation;
author: AppBskyActorRef.WithInfo;
subject: AppBskyActorRef.WithInfo;
indexedAt: string;
createdAt: string;
[k: string]: unknown;
}
export interface Confirmation {
uri: string;
cid: string;
indexedAt: string;
createdAt: string;
[k: string]: unknown;
}

View File

@ -1,39 +1,39 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
user: string;
limit?: number;
before?: string;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
subject: Subject;
cursor?: string;
followers: Follower[];
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
subject: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
};
cursor?: string;
followers: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
}[];
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Subject {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
[k: string]: unknown;
}
export interface Follower {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
[k: string]: unknown;
}

View File

@ -1,39 +1,33 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskyActorRef from '../actor/ref';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
user: string;
limit?: number;
before?: string;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
subject: AppBskyActorRef.WithInfo;
cursor?: string;
follows: Follow[];
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
subject: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
};
cursor?: string;
follows: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
}[];
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Follow {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
[k: string]: unknown;
}

View File

@ -1,39 +1,33 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskyActorRef from '../actor/ref';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
actor: string;
limit?: number;
before?: string;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
subject: AppBskyActorRef.WithInfo;
cursor?: string;
members: Member[];
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
subject: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
};
cursor?: string;
members: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
}[];
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Member {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
[k: string]: unknown;
}

View File

@ -1,39 +1,33 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskyActorRef from '../actor/ref';
import * as AppBskySystemDeclRef from '../system/declRef';
export interface QueryParams {
actor: string;
limit?: number;
before?: string;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
subject: AppBskyActorRef.WithInfo;
cursor?: string;
memberships: Membership[];
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
subject: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
};
cursor?: string;
memberships: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
}[];
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Membership {
did: string;
declaration: AppBskySystemDeclRef.Main;
handle: string;
displayName?: string;
createdAt?: string;
indexedAt: string;
[k: string]: unknown;
}

View File

@ -1,12 +1,13 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
count: number;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;

View File

@ -1,36 +1,17 @@
import { Headers } from '@atproto/xrpc';
import * as AppBskyActorRef from '../actor/ref';
export interface QueryParams {
limit?: number;
before?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface OutputSchema {
cursor?: string;
notifications: Notification[];
[k: string]: unknown;
}
export interface Notification {
uri: string;
cid: string;
author: {
did: string;
declaration: Declaration;
handle: string;
displayName?: string;
};
reason: string;
reasonSubject?: string;
record: {};
isRead: boolean;
indexedAt: string;
}
export interface Declaration {
cid: string;
actorType: ActorKnown | ActorUnknown;
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -38,3 +19,14 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Notification {
uri: string;
cid: string;
author: AppBskyActorRef.WithInfo;
reason: 'vote' | 'repost' | 'trend' | 'follow' | 'invite' | 'mention' | 'reply' | (string & {});
reasonSubject?: string;
record: {};
isRead: boolean;
indexedAt: string;
[k: string]: unknown;
}

View File

@ -1,20 +1,17 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface InputSchema {
seenAt: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
seenAt: string;
}
export interface OutputSchema {
[k: string]: unknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;

View File

@ -0,0 +1 @@
export declare const MAIN = "app.bsky.system.actorScene#main";

View File

@ -0,0 +1 @@
export declare const MAIN = "app.bsky.system.actorUser#main";

View File

@ -0,0 +1,5 @@
export interface Main {
cid: string;
actorType: 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene' | (string & {});
[k: string]: unknown;
}

View File

@ -1,6 +1,4 @@
export declare type ActorKnown = 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene';
export declare type ActorUnknown = string;
export interface Record {
actorType: ActorKnown | ActorUnknown;
actorType: 'app.bsky.system.actorUser' | 'app.bsky.system.actorScene' | (string & {});
[k: string]: unknown;
}

View File

@ -1,23 +1,25 @@
import { Headers, XRPCError } from '@atproto/xrpc';
export interface QueryParams {
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
email: string;
handle: string;
inviteCode?: string;
password: string;
recoveryKey?: string;
[k: string]: unknown;
}
export interface OutputSchema {
accessJwt: string;
refreshJwt: string;
handle: string;
did: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface Response {
success: boolean;

View File

@ -1,17 +1,19 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface InputSchema {
useCount: number;
[k: string]: unknown;
}
export interface OutputSchema {
code: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
useCount: number;
}
export interface OutputSchema {
code: string;
}
export interface Response {
success: boolean;
headers: Headers;

View File

@ -1,20 +1,13 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export declare type InputSchema = undefined;
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: '';
}
export interface InputSchema {
[k: string]: unknown;
}
export interface OutputSchema {
[k: string]: unknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;

View File

@ -1,16 +1,12 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export declare type InputSchema = undefined;
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
[k: string]: unknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;

View File

@ -1,19 +1,17 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface InputSchema {
email: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
email: string;
}
export interface OutputSchema {
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;

View File

@ -1,21 +1,19 @@
import { Headers, XRPCError } from '@atproto/xrpc';
export interface QueryParams {
}
export interface InputSchema {
token: string;
password: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
token: string;
password: string;
}
export interface OutputSchema {
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare class ExpiredTokenError extends XRPCError {
constructor(src: XRPCError);

View File

@ -2,12 +2,13 @@ import { Headers } from '@atproto/xrpc';
export interface QueryParams {
handle?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
did: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;

View File

@ -1,36 +1,39 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface InputSchema {
did: string;
validate?: boolean;
writes: (Create | Update | Delete)[];
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
did: string;
validate?: boolean;
writes: ({
action: 'create';
collection: string;
rkey?: string;
value: unknown;
} | {
action: 'update';
collection: string;
rkey: string;
value: unknown;
} | {
action: 'delete';
collection: string;
rkey: string;
})[];
}
export interface OutputSchema {
[k: string]: unknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Create {
action: 'create';
collection: string;
rkey?: string;
value: {};
[k: string]: unknown;
}
export interface Update {
action: 'update';
collection: string;
rkey: string;
value: {};
[k: string]: unknown;
}
export interface Delete {
action: 'delete';
collection: string;
rkey: string;
[k: string]: unknown;
}

View File

@ -1,20 +1,22 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
did: string;
collection: string;
validate?: boolean;
record: {};
[k: string]: unknown;
}
export interface OutputSchema {
uri: string;
cid: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface Response {
success: boolean;

View File

@ -1,16 +1,17 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface InputSchema {
did: string;
collection: string;
rkey: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
did: string;
collection: string;
rkey: string;
}
export interface Response {
success: boolean;
headers: Headers;

View File

@ -2,9 +2,6 @@ import { Headers } from '@atproto/xrpc';
export interface QueryParams {
user: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
handle: string;
@ -12,6 +9,10 @@ export interface OutputSchema {
didDoc: {};
collections: string[];
handleIsCorrect: boolean;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;

View File

@ -5,14 +5,15 @@ export interface QueryParams {
rkey: string;
cid?: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
uri: string;
cid?: string;
value: {};
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;

View File

@ -7,17 +7,14 @@ export interface QueryParams {
after?: string;
reverse?: boolean;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
cursor?: string;
records: {
uri: string;
cid: string;
value: {};
}[];
records: Record[];
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -25,3 +22,9 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Record {
uri: string;
cid: string;
value: {};
[k: string]: unknown;
}

View File

@ -1,21 +1,23 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
did: string;
collection: string;
rkey: string;
validate?: boolean;
record: {};
[k: string]: unknown;
}
export interface OutputSchema {
uri: string;
cid: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface Response {
success: boolean;

View File

@ -0,0 +1,5 @@
export interface Main {
uri: string;
cid: string;
[k: string]: unknown;
}

View File

@ -1,13 +1,15 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
inviteCodeRequired?: boolean;
availableUserDomains: string[];
links?: Links;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;
@ -15,3 +17,8 @@ export interface Response {
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;
export interface Links {
privacyPolicy?: string;
termsOfService?: string;
[k: string]: unknown;
}

View File

@ -1,20 +1,22 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface InputSchema {
handle: string;
password: string;
[k: string]: unknown;
}
export interface OutputSchema {
accessJwt: string;
refreshJwt: string;
handle: string;
did: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/json';
}
export interface Response {
success: boolean;

View File

@ -1,17 +1,13 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export declare type InputSchema = undefined;
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
[k: string]: unknown;
}
export interface Response {
success: boolean;
headers: Headers;
data: OutputSchema;
}
export declare function toKnownErr(e: any): any;

View File

@ -1,13 +1,14 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
handle: string;
did: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;

View File

@ -1,16 +1,17 @@
import { Headers } from '@atproto/xrpc';
export interface QueryParams {
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
accessJwt: string;
refreshJwt: string;
handle: string;
did: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
}
export interface Response {
success: boolean;

View File

@ -3,10 +3,10 @@ export interface QueryParams {
did: string;
from?: string;
}
export declare type InputSchema = undefined;
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface Response {
success: boolean;
headers: Headers;

View File

@ -2,12 +2,13 @@ import { Headers } from '@atproto/xrpc';
export interface QueryParams {
did: string;
}
export interface CallOptions {
headers?: Headers;
}
export declare type InputSchema = undefined;
export interface OutputSchema {
root: string;
[k: string]: unknown;
}
export interface CallOptions {
headers?: Headers;
}
export interface Response {
success: boolean;

View File

@ -2,12 +2,12 @@ import { Headers } from '@atproto/xrpc';
export interface QueryParams {
did: string;
}
export declare type InputSchema = string | Uint8Array;
export interface CallOptions {
headers?: Headers;
qp?: QueryParams;
encoding: 'application/cbor';
}
export declare type InputSchema = string | Uint8Array;
export interface Response {
success: boolean;
headers: Headers;

File diff suppressed because one or more lines are too long