@atproto/api 0.1.0 → 0.1.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/dist/client/index.d.ts +7 -0
- package/dist/client/lexicons.d.ts +254 -240
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +2 -24
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts +19 -0
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +2 -15
- package/dist/client/types/app/bsky/actor/profile.d.ts +48 -0
- package/dist/client/types/app/bsky/actor/ref.d.ts +2 -0
- package/dist/client/types/app/bsky/actor/search.d.ts +2 -15
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +2 -13
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +2 -15
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts +1 -15
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -15
- package/dist/client/types/app/bsky/graph/getMutes.d.ts +2 -13
- package/dist/client/types/com/atproto/handle/update.d.ts +17 -0
- package/dist/client/types/com/atproto/report/reasonType.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getRepo.d.ts +2 -1
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +20 -0
- package/dist/index.js +632 -544
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/client/index.ts +28 -0
- package/src/client/lexicons.ts +282 -262
- package/src/client/types/app/bsky/actor/getProfile.ts +2 -35
- package/src/client/types/app/bsky/actor/getProfiles.ts +35 -0
- package/src/client/types/app/bsky/actor/getSuggestions.ts +2 -25
- package/src/client/types/app/bsky/actor/profile.ts +91 -0
- package/src/client/types/app/bsky/actor/ref.ts +2 -0
- package/src/client/types/app/bsky/actor/search.ts +2 -23
- package/src/client/types/app/bsky/actor/searchTypeahead.ts +2 -23
- package/src/client/types/app/bsky/feed/getRepostedBy.ts +2 -25
- package/src/client/types/app/bsky/graph/getFollowers.ts +1 -25
- package/src/client/types/app/bsky/graph/getFollows.ts +1 -25
- package/src/client/types/app/bsky/graph/getMutes.ts +2 -23
- package/src/client/types/com/atproto/handle/update.ts +31 -0
- package/src/client/types/com/atproto/report/reasonType.ts +2 -2
- package/src/client/types/com/atproto/sync/getRepo.ts +4 -2
- package/src/client/types/com/atproto/sync/subscribeAllRepos.ts +48 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/client/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRep
|
|
|
18
18
|
import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
19
19
|
import * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
|
|
20
20
|
import * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
|
|
21
|
+
import * as ComAtprotoHandleUpdate from './types/com/atproto/handle/update';
|
|
21
22
|
import * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
|
|
22
23
|
import * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord';
|
|
23
24
|
import * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord';
|
|
@@ -37,6 +38,7 @@ import * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
|
37
38
|
import * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
38
39
|
import * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
39
40
|
import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
41
|
+
import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles';
|
|
40
42
|
import * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
41
43
|
import * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
42
44
|
import * as AppBskyActorSearch from './types/app/bsky/actor/search';
|
|
@@ -87,6 +89,7 @@ export * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRep
|
|
|
87
89
|
export * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
88
90
|
export * as ComAtprotoBlobUpload from './types/com/atproto/blob/upload';
|
|
89
91
|
export * as ComAtprotoHandleResolve from './types/com/atproto/handle/resolve';
|
|
92
|
+
export * as ComAtprotoHandleUpdate from './types/com/atproto/handle/update';
|
|
90
93
|
export * as ComAtprotoRepoBatchWrite from './types/com/atproto/repo/batchWrite';
|
|
91
94
|
export * as ComAtprotoRepoCreateRecord from './types/com/atproto/repo/createRecord';
|
|
92
95
|
export * as ComAtprotoRepoDeleteRecord from './types/com/atproto/repo/deleteRecord';
|
|
@@ -110,7 +113,9 @@ export * as ComAtprotoSyncGetCommitPath from './types/com/atproto/sync/getCommit
|
|
|
110
113
|
export * as ComAtprotoSyncGetHead from './types/com/atproto/sync/getHead';
|
|
111
114
|
export * as ComAtprotoSyncGetRecord from './types/com/atproto/sync/getRecord';
|
|
112
115
|
export * as ComAtprotoSyncGetRepo from './types/com/atproto/sync/getRepo';
|
|
116
|
+
export * as ComAtprotoSyncSubscribeAllRepos from './types/com/atproto/sync/subscribeAllRepos';
|
|
113
117
|
export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
118
|
+
export * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles';
|
|
114
119
|
export * as AppBskyActorGetSuggestions from './types/app/bsky/actor/getSuggestions';
|
|
115
120
|
export * as AppBskyActorProfile from './types/app/bsky/actor/profile';
|
|
116
121
|
export * as AppBskyActorRef from './types/app/bsky/actor/ref';
|
|
@@ -226,6 +231,7 @@ export declare class HandleNS {
|
|
|
226
231
|
_service: AtpServiceClient;
|
|
227
232
|
constructor(service: AtpServiceClient);
|
|
228
233
|
resolve(params?: ComAtprotoHandleResolve.QueryParams, opts?: ComAtprotoHandleResolve.CallOptions): Promise<ComAtprotoHandleResolve.Response>;
|
|
234
|
+
update(data?: ComAtprotoHandleUpdate.InputSchema, opts?: ComAtprotoHandleUpdate.CallOptions): Promise<ComAtprotoHandleUpdate.Response>;
|
|
229
235
|
}
|
|
230
236
|
export declare class RepoNS {
|
|
231
237
|
_service: AtpServiceClient;
|
|
@@ -285,6 +291,7 @@ export declare class ActorNS {
|
|
|
285
291
|
profile: ProfileRecord;
|
|
286
292
|
constructor(service: AtpServiceClient);
|
|
287
293
|
getProfile(params?: AppBskyActorGetProfile.QueryParams, opts?: AppBskyActorGetProfile.CallOptions): Promise<AppBskyActorGetProfile.Response>;
|
|
294
|
+
getProfiles(params?: AppBskyActorGetProfiles.QueryParams, opts?: AppBskyActorGetProfiles.CallOptions): Promise<AppBskyActorGetProfiles.Response>;
|
|
288
295
|
getSuggestions(params?: AppBskyActorGetSuggestions.QueryParams, opts?: AppBskyActorGetSuggestions.CallOptions): Promise<AppBskyActorGetSuggestions.Response>;
|
|
289
296
|
search(params?: AppBskyActorSearch.QueryParams, opts?: AppBskyActorSearch.CallOptions): Promise<AppBskyActorSearch.Response>;
|
|
290
297
|
searchTypeahead(params?: AppBskyActorSearchTypeahead.QueryParams, opts?: AppBskyActorSearchTypeahead.CallOptions): Promise<AppBskyActorSearchTypeahead.Response>;
|
|
@@ -1107,6 +1107,28 @@ export declare const schemaDict: {
|
|
|
1107
1107
|
};
|
|
1108
1108
|
};
|
|
1109
1109
|
};
|
|
1110
|
+
ComAtprotoHandleUpdate: {
|
|
1111
|
+
lexicon: number;
|
|
1112
|
+
id: string;
|
|
1113
|
+
defs: {
|
|
1114
|
+
main: {
|
|
1115
|
+
type: string;
|
|
1116
|
+
description: string;
|
|
1117
|
+
input: {
|
|
1118
|
+
encoding: string;
|
|
1119
|
+
schema: {
|
|
1120
|
+
type: string;
|
|
1121
|
+
required: string[];
|
|
1122
|
+
properties: {
|
|
1123
|
+
handle: {
|
|
1124
|
+
type: string;
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1110
1132
|
ComAtprotoRepoBatchWrite: {
|
|
1111
1133
|
lexicon: number;
|
|
1112
1134
|
id: string;
|
|
@@ -2001,7 +2023,11 @@ export declare const schemaDict: {
|
|
|
2001
2023
|
type: string;
|
|
2002
2024
|
description: string;
|
|
2003
2025
|
};
|
|
2004
|
-
|
|
2026
|
+
earliest: {
|
|
2027
|
+
type: string;
|
|
2028
|
+
description: string;
|
|
2029
|
+
};
|
|
2030
|
+
latest: {
|
|
2005
2031
|
type: string;
|
|
2006
2032
|
description: string;
|
|
2007
2033
|
};
|
|
@@ -2013,6 +2039,77 @@ export declare const schemaDict: {
|
|
|
2013
2039
|
};
|
|
2014
2040
|
};
|
|
2015
2041
|
};
|
|
2042
|
+
ComAtprotoSyncSubscribeAllRepos: {
|
|
2043
|
+
lexicon: number;
|
|
2044
|
+
id: string;
|
|
2045
|
+
defs: {
|
|
2046
|
+
main: {
|
|
2047
|
+
type: string;
|
|
2048
|
+
description: string;
|
|
2049
|
+
parameters: {
|
|
2050
|
+
type: string;
|
|
2051
|
+
properties: {
|
|
2052
|
+
backfillFrom: {
|
|
2053
|
+
type: string;
|
|
2054
|
+
description: string;
|
|
2055
|
+
};
|
|
2056
|
+
};
|
|
2057
|
+
};
|
|
2058
|
+
message: {
|
|
2059
|
+
schema: {
|
|
2060
|
+
type: string;
|
|
2061
|
+
refs: string[];
|
|
2062
|
+
};
|
|
2063
|
+
codes: {
|
|
2064
|
+
'lex:com.atproto.sync.subscribeAllRepos#repoAppend': number;
|
|
2065
|
+
'lex:com.atproto.sync.subscribeAllRepos#repoRebase': number;
|
|
2066
|
+
};
|
|
2067
|
+
};
|
|
2068
|
+
};
|
|
2069
|
+
repoAppend: {
|
|
2070
|
+
type: string;
|
|
2071
|
+
required: string[];
|
|
2072
|
+
properties: {
|
|
2073
|
+
time: {
|
|
2074
|
+
type: string;
|
|
2075
|
+
};
|
|
2076
|
+
repo: {
|
|
2077
|
+
type: string;
|
|
2078
|
+
};
|
|
2079
|
+
commit: {
|
|
2080
|
+
type: string;
|
|
2081
|
+
};
|
|
2082
|
+
prev: {
|
|
2083
|
+
type: string;
|
|
2084
|
+
};
|
|
2085
|
+
blocks: {
|
|
2086
|
+
type: string;
|
|
2087
|
+
};
|
|
2088
|
+
blobs: {
|
|
2089
|
+
type: string;
|
|
2090
|
+
items: {
|
|
2091
|
+
type: string;
|
|
2092
|
+
};
|
|
2093
|
+
};
|
|
2094
|
+
};
|
|
2095
|
+
};
|
|
2096
|
+
repoRebase: {
|
|
2097
|
+
type: string;
|
|
2098
|
+
required: string[];
|
|
2099
|
+
properties: {
|
|
2100
|
+
time: {
|
|
2101
|
+
type: string;
|
|
2102
|
+
};
|
|
2103
|
+
repo: {
|
|
2104
|
+
type: string;
|
|
2105
|
+
};
|
|
2106
|
+
commit: {
|
|
2107
|
+
type: string;
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
};
|
|
2016
2113
|
AppBskyActorGetProfile: {
|
|
2017
2114
|
lexicon: number;
|
|
2018
2115
|
id: string;
|
|
@@ -2032,60 +2129,45 @@ export declare const schemaDict: {
|
|
|
2032
2129
|
encoding: string;
|
|
2033
2130
|
schema: {
|
|
2034
2131
|
type: string;
|
|
2035
|
-
|
|
2036
|
-
properties: {
|
|
2037
|
-
did: {
|
|
2038
|
-
type: string;
|
|
2039
|
-
};
|
|
2040
|
-
declaration: {
|
|
2041
|
-
type: string;
|
|
2042
|
-
ref: string;
|
|
2043
|
-
};
|
|
2044
|
-
handle: {
|
|
2045
|
-
type: string;
|
|
2046
|
-
};
|
|
2047
|
-
creator: {
|
|
2048
|
-
type: string;
|
|
2049
|
-
};
|
|
2050
|
-
displayName: {
|
|
2051
|
-
type: string;
|
|
2052
|
-
maxLength: number;
|
|
2053
|
-
};
|
|
2054
|
-
description: {
|
|
2055
|
-
type: string;
|
|
2056
|
-
maxLength: number;
|
|
2057
|
-
};
|
|
2058
|
-
avatar: {
|
|
2059
|
-
type: string;
|
|
2060
|
-
};
|
|
2061
|
-
banner: {
|
|
2062
|
-
type: string;
|
|
2063
|
-
};
|
|
2064
|
-
followersCount: {
|
|
2065
|
-
type: string;
|
|
2066
|
-
};
|
|
2067
|
-
followsCount: {
|
|
2068
|
-
type: string;
|
|
2069
|
-
};
|
|
2070
|
-
postsCount: {
|
|
2071
|
-
type: string;
|
|
2072
|
-
};
|
|
2073
|
-
myState: {
|
|
2074
|
-
type: string;
|
|
2075
|
-
ref: string;
|
|
2076
|
-
};
|
|
2077
|
-
};
|
|
2132
|
+
ref: string;
|
|
2078
2133
|
};
|
|
2079
2134
|
};
|
|
2080
2135
|
};
|
|
2081
|
-
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
AppBskyActorGetProfiles: {
|
|
2139
|
+
lexicon: number;
|
|
2140
|
+
id: string;
|
|
2141
|
+
defs: {
|
|
2142
|
+
main: {
|
|
2082
2143
|
type: string;
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2144
|
+
parameters: {
|
|
2145
|
+
type: string;
|
|
2146
|
+
required: string[];
|
|
2147
|
+
properties: {
|
|
2148
|
+
actors: {
|
|
2149
|
+
type: string;
|
|
2150
|
+
items: {
|
|
2151
|
+
type: string;
|
|
2152
|
+
};
|
|
2153
|
+
maxLength: number;
|
|
2154
|
+
};
|
|
2086
2155
|
};
|
|
2087
|
-
|
|
2156
|
+
};
|
|
2157
|
+
output: {
|
|
2158
|
+
encoding: string;
|
|
2159
|
+
schema: {
|
|
2088
2160
|
type: string;
|
|
2161
|
+
required: string[];
|
|
2162
|
+
properties: {
|
|
2163
|
+
profiles: {
|
|
2164
|
+
type: string;
|
|
2165
|
+
items: {
|
|
2166
|
+
type: string;
|
|
2167
|
+
ref: string;
|
|
2168
|
+
};
|
|
2169
|
+
};
|
|
2170
|
+
};
|
|
2089
2171
|
};
|
|
2090
2172
|
};
|
|
2091
2173
|
};
|
|
@@ -2132,35 +2214,6 @@ export declare const schemaDict: {
|
|
|
2132
2214
|
};
|
|
2133
2215
|
};
|
|
2134
2216
|
};
|
|
2135
|
-
actor: {
|
|
2136
|
-
type: string;
|
|
2137
|
-
required: string[];
|
|
2138
|
-
properties: {
|
|
2139
|
-
did: {
|
|
2140
|
-
type: string;
|
|
2141
|
-
};
|
|
2142
|
-
declaration: {
|
|
2143
|
-
type: string;
|
|
2144
|
-
ref: string;
|
|
2145
|
-
};
|
|
2146
|
-
handle: {
|
|
2147
|
-
type: string;
|
|
2148
|
-
};
|
|
2149
|
-
displayName: {
|
|
2150
|
-
type: string;
|
|
2151
|
-
maxLength: number;
|
|
2152
|
-
};
|
|
2153
|
-
description: {
|
|
2154
|
-
type: string;
|
|
2155
|
-
};
|
|
2156
|
-
avatar: {
|
|
2157
|
-
type: string;
|
|
2158
|
-
};
|
|
2159
|
-
indexedAt: {
|
|
2160
|
-
type: string;
|
|
2161
|
-
};
|
|
2162
|
-
};
|
|
2163
|
-
};
|
|
2164
2217
|
};
|
|
2165
2218
|
};
|
|
2166
2219
|
AppBskyActorProfile: {
|
|
@@ -2199,6 +2252,120 @@ export declare const schemaDict: {
|
|
|
2199
2252
|
};
|
|
2200
2253
|
};
|
|
2201
2254
|
};
|
|
2255
|
+
view: {
|
|
2256
|
+
type: string;
|
|
2257
|
+
required: string[];
|
|
2258
|
+
properties: {
|
|
2259
|
+
did: {
|
|
2260
|
+
type: string;
|
|
2261
|
+
};
|
|
2262
|
+
declaration: {
|
|
2263
|
+
type: string;
|
|
2264
|
+
ref: string;
|
|
2265
|
+
};
|
|
2266
|
+
handle: {
|
|
2267
|
+
type: string;
|
|
2268
|
+
};
|
|
2269
|
+
displayName: {
|
|
2270
|
+
type: string;
|
|
2271
|
+
maxLength: number;
|
|
2272
|
+
};
|
|
2273
|
+
description: {
|
|
2274
|
+
type: string;
|
|
2275
|
+
maxLength: number;
|
|
2276
|
+
};
|
|
2277
|
+
avatar: {
|
|
2278
|
+
type: string;
|
|
2279
|
+
};
|
|
2280
|
+
banner: {
|
|
2281
|
+
type: string;
|
|
2282
|
+
};
|
|
2283
|
+
followersCount: {
|
|
2284
|
+
type: string;
|
|
2285
|
+
};
|
|
2286
|
+
followsCount: {
|
|
2287
|
+
type: string;
|
|
2288
|
+
};
|
|
2289
|
+
postsCount: {
|
|
2290
|
+
type: string;
|
|
2291
|
+
};
|
|
2292
|
+
creator: {
|
|
2293
|
+
type: string;
|
|
2294
|
+
};
|
|
2295
|
+
indexedAt: {
|
|
2296
|
+
type: string;
|
|
2297
|
+
};
|
|
2298
|
+
viewer: {
|
|
2299
|
+
type: string;
|
|
2300
|
+
ref: string;
|
|
2301
|
+
};
|
|
2302
|
+
myState: {
|
|
2303
|
+
type: string;
|
|
2304
|
+
ref: string;
|
|
2305
|
+
description: string;
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
};
|
|
2309
|
+
viewBasic: {
|
|
2310
|
+
type: string;
|
|
2311
|
+
required: string[];
|
|
2312
|
+
properties: {
|
|
2313
|
+
did: {
|
|
2314
|
+
type: string;
|
|
2315
|
+
};
|
|
2316
|
+
declaration: {
|
|
2317
|
+
type: string;
|
|
2318
|
+
ref: string;
|
|
2319
|
+
};
|
|
2320
|
+
handle: {
|
|
2321
|
+
type: string;
|
|
2322
|
+
};
|
|
2323
|
+
displayName: {
|
|
2324
|
+
type: string;
|
|
2325
|
+
maxLength: number;
|
|
2326
|
+
};
|
|
2327
|
+
description: {
|
|
2328
|
+
type: string;
|
|
2329
|
+
maxLength: number;
|
|
2330
|
+
};
|
|
2331
|
+
avatar: {
|
|
2332
|
+
type: string;
|
|
2333
|
+
};
|
|
2334
|
+
indexedAt: {
|
|
2335
|
+
type: string;
|
|
2336
|
+
};
|
|
2337
|
+
viewer: {
|
|
2338
|
+
type: string;
|
|
2339
|
+
ref: string;
|
|
2340
|
+
};
|
|
2341
|
+
};
|
|
2342
|
+
};
|
|
2343
|
+
viewerState: {
|
|
2344
|
+
type: string;
|
|
2345
|
+
properties: {
|
|
2346
|
+
muted: {
|
|
2347
|
+
type: string;
|
|
2348
|
+
};
|
|
2349
|
+
following: {
|
|
2350
|
+
type: string;
|
|
2351
|
+
};
|
|
2352
|
+
followedBy: {
|
|
2353
|
+
type: string;
|
|
2354
|
+
};
|
|
2355
|
+
};
|
|
2356
|
+
};
|
|
2357
|
+
myState: {
|
|
2358
|
+
type: string;
|
|
2359
|
+
description: string;
|
|
2360
|
+
properties: {
|
|
2361
|
+
follow: {
|
|
2362
|
+
type: string;
|
|
2363
|
+
};
|
|
2364
|
+
muted: {
|
|
2365
|
+
type: string;
|
|
2366
|
+
};
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2202
2369
|
};
|
|
2203
2370
|
};
|
|
2204
2371
|
AppBskyActorRef: {
|
|
@@ -2251,6 +2418,12 @@ export declare const schemaDict: {
|
|
|
2251
2418
|
muted: {
|
|
2252
2419
|
type: string;
|
|
2253
2420
|
};
|
|
2421
|
+
following: {
|
|
2422
|
+
type: string;
|
|
2423
|
+
};
|
|
2424
|
+
followedBy: {
|
|
2425
|
+
type: string;
|
|
2426
|
+
};
|
|
2254
2427
|
};
|
|
2255
2428
|
};
|
|
2256
2429
|
};
|
|
@@ -2299,35 +2472,6 @@ export declare const schemaDict: {
|
|
|
2299
2472
|
};
|
|
2300
2473
|
};
|
|
2301
2474
|
};
|
|
2302
|
-
user: {
|
|
2303
|
-
type: string;
|
|
2304
|
-
required: string[];
|
|
2305
|
-
properties: {
|
|
2306
|
-
did: {
|
|
2307
|
-
type: string;
|
|
2308
|
-
};
|
|
2309
|
-
declaration: {
|
|
2310
|
-
type: string;
|
|
2311
|
-
ref: string;
|
|
2312
|
-
};
|
|
2313
|
-
handle: {
|
|
2314
|
-
type: string;
|
|
2315
|
-
};
|
|
2316
|
-
displayName: {
|
|
2317
|
-
type: string;
|
|
2318
|
-
maxLength: number;
|
|
2319
|
-
};
|
|
2320
|
-
avatar: {
|
|
2321
|
-
type: string;
|
|
2322
|
-
};
|
|
2323
|
-
description: {
|
|
2324
|
-
type: string;
|
|
2325
|
-
};
|
|
2326
|
-
indexedAt: {
|
|
2327
|
-
type: string;
|
|
2328
|
-
};
|
|
2329
|
-
};
|
|
2330
|
-
};
|
|
2331
2475
|
};
|
|
2332
2476
|
};
|
|
2333
2477
|
AppBskyActorSearchTypeahead: {
|
|
@@ -2368,29 +2512,6 @@ export declare const schemaDict: {
|
|
|
2368
2512
|
};
|
|
2369
2513
|
};
|
|
2370
2514
|
};
|
|
2371
|
-
user: {
|
|
2372
|
-
type: string;
|
|
2373
|
-
required: string[];
|
|
2374
|
-
properties: {
|
|
2375
|
-
did: {
|
|
2376
|
-
type: string;
|
|
2377
|
-
};
|
|
2378
|
-
declaration: {
|
|
2379
|
-
type: string;
|
|
2380
|
-
ref: string;
|
|
2381
|
-
};
|
|
2382
|
-
handle: {
|
|
2383
|
-
type: string;
|
|
2384
|
-
};
|
|
2385
|
-
displayName: {
|
|
2386
|
-
type: string;
|
|
2387
|
-
maxLength: number;
|
|
2388
|
-
};
|
|
2389
|
-
avatar: {
|
|
2390
|
-
type: string;
|
|
2391
|
-
};
|
|
2392
|
-
};
|
|
2393
|
-
};
|
|
2394
2515
|
};
|
|
2395
2516
|
};
|
|
2396
2517
|
AppBskyActorUpdateProfile: {
|
|
@@ -2809,35 +2930,6 @@ export declare const schemaDict: {
|
|
|
2809
2930
|
};
|
|
2810
2931
|
};
|
|
2811
2932
|
};
|
|
2812
|
-
repostedBy: {
|
|
2813
|
-
type: string;
|
|
2814
|
-
required: string[];
|
|
2815
|
-
properties: {
|
|
2816
|
-
did: {
|
|
2817
|
-
type: string;
|
|
2818
|
-
};
|
|
2819
|
-
declaration: {
|
|
2820
|
-
type: string;
|
|
2821
|
-
ref: string;
|
|
2822
|
-
};
|
|
2823
|
-
handle: {
|
|
2824
|
-
type: string;
|
|
2825
|
-
};
|
|
2826
|
-
displayName: {
|
|
2827
|
-
type: string;
|
|
2828
|
-
maxLength: number;
|
|
2829
|
-
};
|
|
2830
|
-
avatar: {
|
|
2831
|
-
type: string;
|
|
2832
|
-
};
|
|
2833
|
-
createdAt: {
|
|
2834
|
-
type: string;
|
|
2835
|
-
};
|
|
2836
|
-
indexedAt: {
|
|
2837
|
-
type: string;
|
|
2838
|
-
};
|
|
2839
|
-
};
|
|
2840
|
-
};
|
|
2841
2933
|
};
|
|
2842
2934
|
};
|
|
2843
2935
|
AppBskyFeedGetTimeline: {
|
|
@@ -3342,35 +3434,6 @@ export declare const schemaDict: {
|
|
|
3342
3434
|
};
|
|
3343
3435
|
};
|
|
3344
3436
|
};
|
|
3345
|
-
follower: {
|
|
3346
|
-
type: string;
|
|
3347
|
-
required: string[];
|
|
3348
|
-
properties: {
|
|
3349
|
-
did: {
|
|
3350
|
-
type: string;
|
|
3351
|
-
};
|
|
3352
|
-
declaration: {
|
|
3353
|
-
type: string;
|
|
3354
|
-
ref: string;
|
|
3355
|
-
};
|
|
3356
|
-
handle: {
|
|
3357
|
-
type: string;
|
|
3358
|
-
};
|
|
3359
|
-
displayName: {
|
|
3360
|
-
type: string;
|
|
3361
|
-
maxLength: number;
|
|
3362
|
-
};
|
|
3363
|
-
avatar: {
|
|
3364
|
-
type: string;
|
|
3365
|
-
};
|
|
3366
|
-
createdAt: {
|
|
3367
|
-
type: string;
|
|
3368
|
-
};
|
|
3369
|
-
indexedAt: {
|
|
3370
|
-
type: string;
|
|
3371
|
-
};
|
|
3372
|
-
};
|
|
3373
|
-
};
|
|
3374
3437
|
};
|
|
3375
3438
|
};
|
|
3376
3439
|
AppBskyGraphGetFollows: {
|
|
@@ -3422,35 +3485,6 @@ export declare const schemaDict: {
|
|
|
3422
3485
|
};
|
|
3423
3486
|
};
|
|
3424
3487
|
};
|
|
3425
|
-
follow: {
|
|
3426
|
-
type: string;
|
|
3427
|
-
required: string[];
|
|
3428
|
-
properties: {
|
|
3429
|
-
did: {
|
|
3430
|
-
type: string;
|
|
3431
|
-
};
|
|
3432
|
-
declaration: {
|
|
3433
|
-
type: string;
|
|
3434
|
-
ref: string;
|
|
3435
|
-
};
|
|
3436
|
-
handle: {
|
|
3437
|
-
type: string;
|
|
3438
|
-
};
|
|
3439
|
-
displayName: {
|
|
3440
|
-
type: string;
|
|
3441
|
-
maxLength: number;
|
|
3442
|
-
};
|
|
3443
|
-
avatar: {
|
|
3444
|
-
type: string;
|
|
3445
|
-
};
|
|
3446
|
-
createdAt: {
|
|
3447
|
-
type: string;
|
|
3448
|
-
};
|
|
3449
|
-
indexedAt: {
|
|
3450
|
-
type: string;
|
|
3451
|
-
};
|
|
3452
|
-
};
|
|
3453
|
-
};
|
|
3454
3488
|
};
|
|
3455
3489
|
};
|
|
3456
3490
|
AppBskyGraphGetMutes: {
|
|
@@ -3494,29 +3528,6 @@ export declare const schemaDict: {
|
|
|
3494
3528
|
};
|
|
3495
3529
|
};
|
|
3496
3530
|
};
|
|
3497
|
-
mute: {
|
|
3498
|
-
type: string;
|
|
3499
|
-
required: string[];
|
|
3500
|
-
properties: {
|
|
3501
|
-
did: {
|
|
3502
|
-
type: string;
|
|
3503
|
-
};
|
|
3504
|
-
declaration: {
|
|
3505
|
-
type: string;
|
|
3506
|
-
ref: string;
|
|
3507
|
-
};
|
|
3508
|
-
handle: {
|
|
3509
|
-
type: string;
|
|
3510
|
-
};
|
|
3511
|
-
displayName: {
|
|
3512
|
-
type: string;
|
|
3513
|
-
maxLength: number;
|
|
3514
|
-
};
|
|
3515
|
-
createdAt: {
|
|
3516
|
-
type: string;
|
|
3517
|
-
};
|
|
3518
|
-
};
|
|
3519
|
-
};
|
|
3520
3531
|
};
|
|
3521
3532
|
};
|
|
3522
3533
|
AppBskyGraphMute: {
|
|
@@ -3760,6 +3771,7 @@ export declare const ids: {
|
|
|
3760
3771
|
ComAtprotoAdminTakeModerationAction: string;
|
|
3761
3772
|
ComAtprotoBlobUpload: string;
|
|
3762
3773
|
ComAtprotoHandleResolve: string;
|
|
3774
|
+
ComAtprotoHandleUpdate: string;
|
|
3763
3775
|
ComAtprotoRepoBatchWrite: string;
|
|
3764
3776
|
ComAtprotoRepoCreateRecord: string;
|
|
3765
3777
|
ComAtprotoRepoDeleteRecord: string;
|
|
@@ -3783,7 +3795,9 @@ export declare const ids: {
|
|
|
3783
3795
|
ComAtprotoSyncGetHead: string;
|
|
3784
3796
|
ComAtprotoSyncGetRecord: string;
|
|
3785
3797
|
ComAtprotoSyncGetRepo: string;
|
|
3798
|
+
ComAtprotoSyncSubscribeAllRepos: string;
|
|
3786
3799
|
AppBskyActorGetProfile: string;
|
|
3800
|
+
AppBskyActorGetProfiles: string;
|
|
3787
3801
|
AppBskyActorGetSuggestions: string;
|
|
3788
3802
|
AppBskyActorProfile: string;
|
|
3789
3803
|
AppBskyActorRef: string;
|
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import
|
|
3
|
-
import * as AppBskySystemDeclRef from '../system/declRef';
|
|
2
|
+
import * as AppBskyActorProfile from './profile';
|
|
4
3
|
export interface QueryParams {
|
|
5
4
|
actor: string;
|
|
6
5
|
}
|
|
7
6
|
export declare type InputSchema = undefined;
|
|
8
|
-
export
|
|
9
|
-
did: string;
|
|
10
|
-
declaration: AppBskySystemDeclRef.Main;
|
|
11
|
-
handle: string;
|
|
12
|
-
creator: string;
|
|
13
|
-
displayName?: string;
|
|
14
|
-
description?: string;
|
|
15
|
-
avatar?: string;
|
|
16
|
-
banner?: string;
|
|
17
|
-
followersCount: number;
|
|
18
|
-
followsCount: number;
|
|
19
|
-
postsCount: number;
|
|
20
|
-
myState?: MyState;
|
|
21
|
-
[k: string]: unknown;
|
|
22
|
-
}
|
|
7
|
+
export declare type OutputSchema = AppBskyActorProfile.View;
|
|
23
8
|
export interface CallOptions {
|
|
24
9
|
headers?: Headers;
|
|
25
10
|
}
|
|
@@ -29,10 +14,3 @@ export interface Response {
|
|
|
29
14
|
data: OutputSchema;
|
|
30
15
|
}
|
|
31
16
|
export declare function toKnownErr(e: any): any;
|
|
32
|
-
export interface MyState {
|
|
33
|
-
follow?: string;
|
|
34
|
-
muted?: boolean;
|
|
35
|
-
[k: string]: unknown;
|
|
36
|
-
}
|
|
37
|
-
export declare function isMyState(v: unknown): v is MyState;
|
|
38
|
-
export declare function validateMyState(v: unknown): ValidationResult;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
import * as AppBskyActorProfile from './profile';
|
|
3
|
+
export interface QueryParams {
|
|
4
|
+
actors: string[];
|
|
5
|
+
}
|
|
6
|
+
export declare type InputSchema = undefined;
|
|
7
|
+
export interface OutputSchema {
|
|
8
|
+
profiles: AppBskyActorProfile.View[];
|
|
9
|
+
[k: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface CallOptions {
|
|
12
|
+
headers?: Headers;
|
|
13
|
+
}
|
|
14
|
+
export interface Response {
|
|
15
|
+
success: boolean;
|
|
16
|
+
headers: Headers;
|
|
17
|
+
data: OutputSchema;
|
|
18
|
+
}
|
|
19
|
+
export declare function toKnownErr(e: any): any;
|