@atproto/pds 0.4.162 → 0.4.163

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.
@@ -4276,6 +4276,97 @@ exports.schemaDict = {
4276
4276
  },
4277
4277
  },
4278
4278
  },
4279
+ ComAtprotoTempCheckHandleAvailability: {
4280
+ lexicon: 1,
4281
+ id: 'com.atproto.temp.checkHandleAvailability',
4282
+ defs: {
4283
+ main: {
4284
+ type: 'query',
4285
+ 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.',
4286
+ parameters: {
4287
+ type: 'params',
4288
+ required: ['handle'],
4289
+ properties: {
4290
+ handle: {
4291
+ type: 'string',
4292
+ format: 'handle',
4293
+ description: 'Tentative handle. Will be checked for availability or used to build handle suggestions.',
4294
+ },
4295
+ email: {
4296
+ type: 'string',
4297
+ description: 'User-provided email. Might be used to build handle suggestions.',
4298
+ },
4299
+ birthDate: {
4300
+ type: 'string',
4301
+ format: 'datetime',
4302
+ description: 'User-provided birth date. Might be used to build handle suggestions.',
4303
+ },
4304
+ },
4305
+ },
4306
+ output: {
4307
+ encoding: 'application/json',
4308
+ schema: {
4309
+ type: 'object',
4310
+ required: ['handle', 'result'],
4311
+ properties: {
4312
+ handle: {
4313
+ type: 'string',
4314
+ format: 'handle',
4315
+ description: 'Echo of the input handle.',
4316
+ },
4317
+ result: {
4318
+ type: 'union',
4319
+ refs: [
4320
+ 'lex:com.atproto.temp.checkHandleAvailability#resultAvailable',
4321
+ 'lex:com.atproto.temp.checkHandleAvailability#resultUnavailable',
4322
+ ],
4323
+ },
4324
+ },
4325
+ },
4326
+ },
4327
+ errors: [
4328
+ {
4329
+ name: 'InvalidEmail',
4330
+ description: 'An invalid email was provided.',
4331
+ },
4332
+ ],
4333
+ },
4334
+ resultAvailable: {
4335
+ type: 'object',
4336
+ description: 'Indicates the provided handle is available.',
4337
+ properties: {},
4338
+ },
4339
+ resultUnavailable: {
4340
+ type: 'object',
4341
+ description: 'Indicates the provided handle is unavailable and gives suggestions of available handles.',
4342
+ required: ['suggestions'],
4343
+ properties: {
4344
+ suggestions: {
4345
+ type: 'array',
4346
+ description: 'List of suggested handles based on the provided inputs.',
4347
+ items: {
4348
+ type: 'ref',
4349
+ ref: 'lex:com.atproto.temp.checkHandleAvailability#suggestion',
4350
+ },
4351
+ },
4352
+ },
4353
+ },
4354
+ suggestion: {
4355
+ type: 'object',
4356
+ required: ['handle', 'method'],
4357
+ properties: {
4358
+ handle: {
4359
+ type: 'string',
4360
+ format: 'handle',
4361
+ },
4362
+ method: {
4363
+ type: 'string',
4364
+ description: 'Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.',
4365
+ },
4366
+ },
4367
+ },
4368
+ },
4369
+ },
4279
4370
  ComAtprotoTempCheckSignupQueue: {
4280
4371
  lexicon: 1,
4281
4372
  id: 'com.atproto.temp.checkSignupQueue',
@@ -7031,47 +7122,6 @@ exports.schemaDict = {
7031
7122
  },
7032
7123
  },
7033
7124
  },
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
- },
7075
7125
  AppBskyFeedGetPostThread: {
7076
7126
  lexicon: 1,
7077
7127
  id: 'app.bsky.feed.getPostThread',
@@ -7133,6 +7183,47 @@ exports.schemaDict = {
7133
7183
  },
7134
7184
  },
7135
7185
  },
7186
+ AppBskyFeedGetPosts: {
7187
+ lexicon: 1,
7188
+ id: 'app.bsky.feed.getPosts',
7189
+ defs: {
7190
+ main: {
7191
+ type: 'query',
7192
+ description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
7193
+ parameters: {
7194
+ type: 'params',
7195
+ required: ['uris'],
7196
+ properties: {
7197
+ uris: {
7198
+ type: 'array',
7199
+ description: 'List of post AT-URIs to return hydrated views for.',
7200
+ items: {
7201
+ type: 'string',
7202
+ format: 'at-uri',
7203
+ },
7204
+ maxLength: 25,
7205
+ },
7206
+ },
7207
+ },
7208
+ output: {
7209
+ encoding: 'application/json',
7210
+ schema: {
7211
+ type: 'object',
7212
+ required: ['posts'],
7213
+ properties: {
7214
+ posts: {
7215
+ type: 'array',
7216
+ items: {
7217
+ type: 'ref',
7218
+ ref: 'lex:app.bsky.feed.defs#postView',
7219
+ },
7220
+ },
7221
+ },
7222
+ },
7223
+ },
7224
+ },
7225
+ },
7226
+ },
7136
7227
  AppBskyFeedGetQuotes: {
7137
7228
  lexicon: 1,
7138
7229
  id: 'app.bsky.feed.getQuotes',
@@ -10161,97 +10252,6 @@ exports.schemaDict = {
10161
10252
  },
10162
10253
  },
10163
10254
  },
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
- },
10255
10255
  AppBskyUnspeccedDefs: {
10256
10256
  lexicon: 1,
10257
10257
  id: 'app.bsky.unspecced.defs',
@@ -17169,6 +17169,7 @@ exports.ids = {
17169
17169
  ComAtprotoSyncRequestCrawl: 'com.atproto.sync.requestCrawl',
17170
17170
  ComAtprotoSyncSubscribeRepos: 'com.atproto.sync.subscribeRepos',
17171
17171
  ComAtprotoTempAddReservedHandle: 'com.atproto.temp.addReservedHandle',
17172
+ ComAtprotoTempCheckHandleAvailability: 'com.atproto.temp.checkHandleAvailability',
17172
17173
  ComAtprotoTempCheckSignupQueue: 'com.atproto.temp.checkSignupQueue',
17173
17174
  ComAtprotoTempFetchLabels: 'com.atproto.temp.fetchLabels',
17174
17175
  ComAtprotoTempRequestPhoneVerification: 'com.atproto.temp.requestPhoneVerification',
@@ -17200,8 +17201,8 @@ exports.ids = {
17200
17201
  AppBskyFeedGetFeedSkeleton: 'app.bsky.feed.getFeedSkeleton',
17201
17202
  AppBskyFeedGetLikes: 'app.bsky.feed.getLikes',
17202
17203
  AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed',
17203
- AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
17204
17204
  AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
17205
+ AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
17205
17206
  AppBskyFeedGetQuotes: 'app.bsky.feed.getQuotes',
17206
17207
  AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy',
17207
17208
  AppBskyFeedGetSuggestedFeeds: 'app.bsky.feed.getSuggestedFeeds',
@@ -17258,7 +17259,6 @@ exports.ids = {
17258
17259
  AppBskyNotificationUnregisterPush: 'app.bsky.notification.unregisterPush',
17259
17260
  AppBskyNotificationUpdateSeen: 'app.bsky.notification.updateSeen',
17260
17261
  AppBskyRichtextFacet: 'app.bsky.richtext.facet',
17261
- AppBskyUnspeccedCheckHandleAvailability: 'app.bsky.unspecced.checkHandleAvailability',
17262
17262
  AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
17263
17263
  AppBskyUnspeccedGetAgeAssuranceState: 'app.bsky.unspecced.getAgeAssuranceState',
17264
17264
  AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',