@atproto/pds 0.4.161 → 0.4.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/lexicon/index.d.ts +4 -2
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +8 -4
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +268 -82
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +145 -42
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/checkHandleAvailability.d.ts +58 -0
- package/dist/lexicon/types/app/bsky/unspecced/checkHandleAvailability.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/checkHandleAvailability.js +34 -0
- package/dist/lexicon/types/app/bsky/unspecced/checkHandleAvailability.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/initAgeAssurance.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/lexicon/index.ts +24 -11
- package/src/lexicon/lexicons.ts +154 -43
- package/src/lexicon/types/app/bsky/unspecced/checkHandleAvailability.ts +99 -0
- package/src/lexicon/types/app/bsky/unspecced/initAgeAssurance.ts +1 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
@@ -7031,6 +7031,47 @@ exports.schemaDict = {
|
|
7031
7031
|
},
|
7032
7032
|
},
|
7033
7033
|
},
|
7034
|
+
AppBskyFeedGetPosts: {
|
7035
|
+
lexicon: 1,
|
7036
|
+
id: 'app.bsky.feed.getPosts',
|
7037
|
+
defs: {
|
7038
|
+
main: {
|
7039
|
+
type: 'query',
|
7040
|
+
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
7041
|
+
parameters: {
|
7042
|
+
type: 'params',
|
7043
|
+
required: ['uris'],
|
7044
|
+
properties: {
|
7045
|
+
uris: {
|
7046
|
+
type: 'array',
|
7047
|
+
description: 'List of post AT-URIs to return hydrated views for.',
|
7048
|
+
items: {
|
7049
|
+
type: 'string',
|
7050
|
+
format: 'at-uri',
|
7051
|
+
},
|
7052
|
+
maxLength: 25,
|
7053
|
+
},
|
7054
|
+
},
|
7055
|
+
},
|
7056
|
+
output: {
|
7057
|
+
encoding: 'application/json',
|
7058
|
+
schema: {
|
7059
|
+
type: 'object',
|
7060
|
+
required: ['posts'],
|
7061
|
+
properties: {
|
7062
|
+
posts: {
|
7063
|
+
type: 'array',
|
7064
|
+
items: {
|
7065
|
+
type: 'ref',
|
7066
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
7067
|
+
},
|
7068
|
+
},
|
7069
|
+
},
|
7070
|
+
},
|
7071
|
+
},
|
7072
|
+
},
|
7073
|
+
},
|
7074
|
+
},
|
7034
7075
|
AppBskyFeedGetPostThread: {
|
7035
7076
|
lexicon: 1,
|
7036
7077
|
id: 'app.bsky.feed.getPostThread',
|
@@ -7092,47 +7133,6 @@ exports.schemaDict = {
|
|
7092
7133
|
},
|
7093
7134
|
},
|
7094
7135
|
},
|
7095
|
-
AppBskyFeedGetPosts: {
|
7096
|
-
lexicon: 1,
|
7097
|
-
id: 'app.bsky.feed.getPosts',
|
7098
|
-
defs: {
|
7099
|
-
main: {
|
7100
|
-
type: 'query',
|
7101
|
-
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
7102
|
-
parameters: {
|
7103
|
-
type: 'params',
|
7104
|
-
required: ['uris'],
|
7105
|
-
properties: {
|
7106
|
-
uris: {
|
7107
|
-
type: 'array',
|
7108
|
-
description: 'List of post AT-URIs to return hydrated views for.',
|
7109
|
-
items: {
|
7110
|
-
type: 'string',
|
7111
|
-
format: 'at-uri',
|
7112
|
-
},
|
7113
|
-
maxLength: 25,
|
7114
|
-
},
|
7115
|
-
},
|
7116
|
-
},
|
7117
|
-
output: {
|
7118
|
-
encoding: 'application/json',
|
7119
|
-
schema: {
|
7120
|
-
type: 'object',
|
7121
|
-
required: ['posts'],
|
7122
|
-
properties: {
|
7123
|
-
posts: {
|
7124
|
-
type: 'array',
|
7125
|
-
items: {
|
7126
|
-
type: 'ref',
|
7127
|
-
ref: 'lex:app.bsky.feed.defs#postView',
|
7128
|
-
},
|
7129
|
-
},
|
7130
|
-
},
|
7131
|
-
},
|
7132
|
-
},
|
7133
|
-
},
|
7134
|
-
},
|
7135
|
-
},
|
7136
7136
|
AppBskyFeedGetQuotes: {
|
7137
7137
|
lexicon: 1,
|
7138
7138
|
id: 'app.bsky.feed.getQuotes',
|
@@ -10161,6 +10161,97 @@ exports.schemaDict = {
|
|
10161
10161
|
},
|
10162
10162
|
},
|
10163
10163
|
},
|
10164
|
+
AppBskyUnspeccedCheckHandleAvailability: {
|
10165
|
+
lexicon: 1,
|
10166
|
+
id: 'app.bsky.unspecced.checkHandleAvailability',
|
10167
|
+
defs: {
|
10168
|
+
main: {
|
10169
|
+
type: 'query',
|
10170
|
+
description: 'Checks whether the provided handle is available. If the handle is not available, available suggestions will be returned. Optional inputs will be used to generate suggestions.',
|
10171
|
+
parameters: {
|
10172
|
+
type: 'params',
|
10173
|
+
required: ['handle'],
|
10174
|
+
properties: {
|
10175
|
+
handle: {
|
10176
|
+
type: 'string',
|
10177
|
+
format: 'handle',
|
10178
|
+
description: 'Tentative handle. Will be checked for availability or used to build handle suggestions.',
|
10179
|
+
},
|
10180
|
+
email: {
|
10181
|
+
type: 'string',
|
10182
|
+
description: 'User-provided email. Might be used to build handle suggestions.',
|
10183
|
+
},
|
10184
|
+
birthDate: {
|
10185
|
+
type: 'string',
|
10186
|
+
format: 'datetime',
|
10187
|
+
description: 'User-provided birth date. Might be used to build handle suggestions.',
|
10188
|
+
},
|
10189
|
+
},
|
10190
|
+
},
|
10191
|
+
output: {
|
10192
|
+
encoding: 'application/json',
|
10193
|
+
schema: {
|
10194
|
+
type: 'object',
|
10195
|
+
required: ['handle', 'result'],
|
10196
|
+
properties: {
|
10197
|
+
handle: {
|
10198
|
+
type: 'string',
|
10199
|
+
format: 'handle',
|
10200
|
+
description: 'Echo of the input handle.',
|
10201
|
+
},
|
10202
|
+
result: {
|
10203
|
+
type: 'union',
|
10204
|
+
refs: [
|
10205
|
+
'lex:app.bsky.unspecced.checkHandleAvailability#resultAvailable',
|
10206
|
+
'lex:app.bsky.unspecced.checkHandleAvailability#resultUnavailable',
|
10207
|
+
],
|
10208
|
+
},
|
10209
|
+
},
|
10210
|
+
},
|
10211
|
+
},
|
10212
|
+
errors: [
|
10213
|
+
{
|
10214
|
+
name: 'InvalidEmail',
|
10215
|
+
description: 'An invalid email was provided.',
|
10216
|
+
},
|
10217
|
+
],
|
10218
|
+
},
|
10219
|
+
resultAvailable: {
|
10220
|
+
type: 'object',
|
10221
|
+
description: 'Indicates the provided handle is available.',
|
10222
|
+
properties: {},
|
10223
|
+
},
|
10224
|
+
resultUnavailable: {
|
10225
|
+
type: 'object',
|
10226
|
+
description: 'Indicates the provided handle is unavailable and gives suggestions of available handles.',
|
10227
|
+
required: ['suggestions'],
|
10228
|
+
properties: {
|
10229
|
+
suggestions: {
|
10230
|
+
type: 'array',
|
10231
|
+
description: 'List of suggested handles based on the provided inputs.',
|
10232
|
+
items: {
|
10233
|
+
type: 'ref',
|
10234
|
+
ref: 'lex:app.bsky.unspecced.checkHandleAvailability#suggestion',
|
10235
|
+
},
|
10236
|
+
},
|
10237
|
+
},
|
10238
|
+
},
|
10239
|
+
suggestion: {
|
10240
|
+
type: 'object',
|
10241
|
+
required: ['handle', 'method'],
|
10242
|
+
properties: {
|
10243
|
+
handle: {
|
10244
|
+
type: 'string',
|
10245
|
+
format: 'handle',
|
10246
|
+
},
|
10247
|
+
method: {
|
10248
|
+
type: 'string',
|
10249
|
+
description: 'Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.',
|
10250
|
+
},
|
10251
|
+
},
|
10252
|
+
},
|
10253
|
+
},
|
10254
|
+
},
|
10164
10255
|
AppBskyUnspeccedDefs: {
|
10165
10256
|
lexicon: 1,
|
10166
10257
|
id: 'app.bsky.unspecced.defs',
|
@@ -11199,6 +11290,17 @@ exports.schemaDict = {
|
|
11199
11290
|
ref: 'lex:app.bsky.unspecced.defs#ageAssuranceState',
|
11200
11291
|
},
|
11201
11292
|
},
|
11293
|
+
errors: [
|
11294
|
+
{
|
11295
|
+
name: 'InvalidEmail',
|
11296
|
+
},
|
11297
|
+
{
|
11298
|
+
name: 'DidTooLong',
|
11299
|
+
},
|
11300
|
+
{
|
11301
|
+
name: 'InvalidInitiation',
|
11302
|
+
},
|
11303
|
+
],
|
11202
11304
|
},
|
11203
11305
|
},
|
11204
11306
|
},
|
@@ -17098,8 +17200,8 @@ exports.ids = {
|
|
17098
17200
|
AppBskyFeedGetFeedSkeleton: 'app.bsky.feed.getFeedSkeleton',
|
17099
17201
|
AppBskyFeedGetLikes: 'app.bsky.feed.getLikes',
|
17100
17202
|
AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed',
|
17101
|
-
AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
|
17102
17203
|
AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
|
17204
|
+
AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
|
17103
17205
|
AppBskyFeedGetQuotes: 'app.bsky.feed.getQuotes',
|
17104
17206
|
AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy',
|
17105
17207
|
AppBskyFeedGetSuggestedFeeds: 'app.bsky.feed.getSuggestedFeeds',
|
@@ -17156,6 +17258,7 @@ exports.ids = {
|
|
17156
17258
|
AppBskyNotificationUnregisterPush: 'app.bsky.notification.unregisterPush',
|
17157
17259
|
AppBskyNotificationUpdateSeen: 'app.bsky.notification.updateSeen',
|
17158
17260
|
AppBskyRichtextFacet: 'app.bsky.richtext.facet',
|
17261
|
+
AppBskyUnspeccedCheckHandleAvailability: 'app.bsky.unspecced.checkHandleAvailability',
|
17159
17262
|
AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
|
17160
17263
|
AppBskyUnspeccedGetAgeAssuranceState: 'app.bsky.unspecced.getAgeAssuranceState',
|
17161
17264
|
AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
|