@atproto/api 0.30.3 → 0.31.1
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 +25 -0
- package/dist/client/lexicons.d.ts +272 -236
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +148 -119
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +4 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts +58 -20
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js +31 -10
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +0 -40
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js +0 -14
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +2 -7
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/package.json +2 -2
package/dist/client/lexicons.js
CHANGED
|
@@ -9625,13 +9625,13 @@ export const schemaDict = {
|
|
|
9625
9625
|
defs: {
|
|
9626
9626
|
main: {
|
|
9627
9627
|
type: 'query',
|
|
9628
|
-
description: 'Get Atmosphere Explore content. Articles are recommended when algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Curated content is selected using the x-atproto-bsky-geo-country, x-atproto-bsky-geo-region, and x-atproto-bsky-topics request headers. Authentication is optional; authenticated requests include viewer-specific profile state.',
|
|
9628
|
+
description: 'Get Atmosphere Explore content. Articles and photo galleries are recommended when their algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Curated content is selected using the x-atproto-bsky-geo-country, x-atproto-bsky-geo-region, and x-atproto-bsky-topics request headers. Authentication is optional; authenticated requests include viewer-specific profile state.',
|
|
9629
9629
|
parameters: {
|
|
9630
9630
|
type: 'params',
|
|
9631
9631
|
properties: {
|
|
9632
9632
|
langs: {
|
|
9633
9633
|
type: 'array',
|
|
9634
|
-
description: 'Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise.',
|
|
9634
|
+
description: 'Preferred languages for article and photo gallery recommendations when their algorithmic recommendations are enabled. Ignored otherwise.',
|
|
9635
9635
|
items: {
|
|
9636
9636
|
type: 'string',
|
|
9637
9637
|
format: 'language',
|
|
@@ -9764,6 +9764,11 @@ export const schemaDict = {
|
|
|
9764
9764
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
9765
9765
|
description: 'The Bluesky post associated with the article, as declared by its author. The referenced post may not be available.',
|
|
9766
9766
|
},
|
|
9767
|
+
viewBskyPost: {
|
|
9768
|
+
type: 'ref',
|
|
9769
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
9770
|
+
description: 'The hydrated Bluesky post associated with the article, as declared by its author. Omitted when the post is unavailable to the viewer.',
|
|
9771
|
+
},
|
|
9767
9772
|
view: {
|
|
9768
9773
|
type: 'ref',
|
|
9769
9774
|
ref: 'lex:app.bsky.embed.external#viewArticle',
|
|
@@ -9811,6 +9816,11 @@ export const schemaDict = {
|
|
|
9811
9816
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
9812
9817
|
description: 'The Bluesky post that announced the livestream, as declared by its author. The referenced post may not be available.',
|
|
9813
9818
|
},
|
|
9819
|
+
viewBskyPost: {
|
|
9820
|
+
type: 'ref',
|
|
9821
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
9822
|
+
description: 'The hydrated Bluesky post that announced the livestream, as declared by its author. Omitted when the post is unavailable to the viewer.',
|
|
9823
|
+
},
|
|
9814
9824
|
view: {
|
|
9815
9825
|
type: 'ref',
|
|
9816
9826
|
ref: 'lex:app.bsky.embed.external#viewLivestream',
|
|
@@ -9913,7 +9923,7 @@ export const schemaDict = {
|
|
|
9913
9923
|
defs: {
|
|
9914
9924
|
main: {
|
|
9915
9925
|
type: 'query',
|
|
9916
|
-
description: "Get the authenticated viewer's Atmosphere activity timeline.
|
|
9926
|
+
description: "Get the authenticated viewer's Atmosphere activity timeline. Groups contain visible activities from the returned page.",
|
|
9917
9927
|
parameters: {
|
|
9918
9928
|
type: 'params',
|
|
9919
9929
|
properties: {
|
|
@@ -9937,8 +9947,8 @@ export const schemaDict = {
|
|
|
9937
9947
|
type: 'union',
|
|
9938
9948
|
refs: [
|
|
9939
9949
|
'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem',
|
|
9940
|
-
'lex:app.bsky.unspecced.getAtmosphereTimeline#
|
|
9941
|
-
'lex:app.bsky.unspecced.getAtmosphereTimeline#
|
|
9950
|
+
'lex:app.bsky.unspecced.getAtmosphereTimeline#activityActorGroup',
|
|
9951
|
+
'lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubjectGroup',
|
|
9942
9952
|
],
|
|
9943
9953
|
},
|
|
9944
9954
|
},
|
|
@@ -9989,11 +9999,24 @@ export const schemaDict = {
|
|
|
9989
9999
|
type: 'ref',
|
|
9990
10000
|
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState',
|
|
9991
10001
|
},
|
|
10002
|
+
relatedActivity: {
|
|
10003
|
+
type: 'array',
|
|
10004
|
+
description: "Collection-specific activity references targeting this item's record. Article creations with related activity remain standalone; only the parent item's view is hydrated.",
|
|
10005
|
+
items: {
|
|
10006
|
+
type: 'ref',
|
|
10007
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRelatedGroup',
|
|
10008
|
+
},
|
|
10009
|
+
},
|
|
9992
10010
|
bskyPostRef: {
|
|
9993
10011
|
type: 'ref',
|
|
9994
10012
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
9995
10013
|
description: 'The Bluesky post associated with the rendered article or livestream, as declared by its author. The referenced post may not be available.',
|
|
9996
10014
|
},
|
|
10015
|
+
viewBskyPost: {
|
|
10016
|
+
type: 'ref',
|
|
10017
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
10018
|
+
description: 'The hydrated Bluesky post associated with the rendered article or livestream, as declared by its author. Omitted when the post is unavailable to the viewer.',
|
|
10019
|
+
},
|
|
9997
10020
|
view: {
|
|
9998
10021
|
type: 'union',
|
|
9999
10022
|
refs: [
|
|
@@ -10004,31 +10027,113 @@ export const schemaDict = {
|
|
|
10004
10027
|
'lex:app.bsky.feed.defs#postView',
|
|
10005
10028
|
],
|
|
10006
10029
|
},
|
|
10007
|
-
|
|
10030
|
+
},
|
|
10031
|
+
},
|
|
10032
|
+
activityActorGroup: {
|
|
10033
|
+
type: 'object',
|
|
10034
|
+
description: 'Activities by one actor in one collection, positioned at the newest group item. Only the newest item is hydrated. Article creations with related activity remain standalone.',
|
|
10035
|
+
required: ['id', 'collection', 'indexedAt', 'actor', 'item', 'uris'],
|
|
10036
|
+
properties: {
|
|
10037
|
+
id: {
|
|
10038
|
+
type: 'string',
|
|
10039
|
+
},
|
|
10040
|
+
collection: {
|
|
10041
|
+
type: 'string',
|
|
10042
|
+
format: 'nsid',
|
|
10043
|
+
},
|
|
10044
|
+
indexedAt: {
|
|
10045
|
+
type: 'string',
|
|
10046
|
+
format: 'datetime',
|
|
10047
|
+
},
|
|
10048
|
+
actor: {
|
|
10049
|
+
type: 'string',
|
|
10050
|
+
format: 'did',
|
|
10051
|
+
},
|
|
10052
|
+
item: {
|
|
10053
|
+
type: 'ref',
|
|
10054
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem',
|
|
10055
|
+
},
|
|
10056
|
+
uris: {
|
|
10008
10057
|
type: 'array',
|
|
10009
|
-
description: '
|
|
10058
|
+
description: 'All visible group item URIs, including the hydrated item, in newest-first timeline order.',
|
|
10059
|
+
minLength: 2,
|
|
10010
10060
|
items: {
|
|
10011
|
-
type: '
|
|
10012
|
-
|
|
10061
|
+
type: 'string',
|
|
10062
|
+
format: 'at-uri',
|
|
10013
10063
|
},
|
|
10014
10064
|
},
|
|
10015
10065
|
},
|
|
10016
10066
|
},
|
|
10017
|
-
|
|
10067
|
+
activitySubject: {
|
|
10018
10068
|
type: 'object',
|
|
10019
|
-
description: '
|
|
10020
|
-
required: ['
|
|
10069
|
+
description: 'The shared target of grouped activities, not an activity itself.',
|
|
10070
|
+
required: ['uri', 'viewerState', 'view'],
|
|
10021
10071
|
properties: {
|
|
10022
|
-
|
|
10023
|
-
type: '
|
|
10024
|
-
|
|
10072
|
+
uri: {
|
|
10073
|
+
type: 'string',
|
|
10074
|
+
format: 'at-uri',
|
|
10075
|
+
},
|
|
10076
|
+
viewerState: {
|
|
10077
|
+
type: 'ref',
|
|
10078
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState',
|
|
10079
|
+
},
|
|
10080
|
+
bskyPostRef: {
|
|
10081
|
+
type: 'ref',
|
|
10082
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
10083
|
+
description: "The author's declared Bluesky post for the target. The post may be unavailable.",
|
|
10084
|
+
},
|
|
10085
|
+
viewBskyPost: {
|
|
10086
|
+
type: 'ref',
|
|
10087
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
10088
|
+
description: "The hydrated Bluesky post declared by the target's author. Omitted when the post is unavailable to the viewer.",
|
|
10089
|
+
},
|
|
10090
|
+
view: {
|
|
10091
|
+
type: 'union',
|
|
10092
|
+
refs: [
|
|
10093
|
+
'lex:app.bsky.embed.external#viewArticle',
|
|
10094
|
+
'lex:app.bsky.embed.external#viewArticlePublication',
|
|
10095
|
+
'lex:app.bsky.embed.external#viewGallery',
|
|
10096
|
+
],
|
|
10097
|
+
},
|
|
10098
|
+
},
|
|
10099
|
+
},
|
|
10100
|
+
activityGroupItem: {
|
|
10101
|
+
type: 'object',
|
|
10102
|
+
description: 'An unhydrated group item. Its actor DID is the authority of its record URI.',
|
|
10103
|
+
required: ['record', 'collection'],
|
|
10104
|
+
properties: {
|
|
10105
|
+
record: {
|
|
10106
|
+
type: 'ref',
|
|
10107
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRecord',
|
|
10025
10108
|
},
|
|
10026
10109
|
collection: {
|
|
10027
10110
|
type: 'string',
|
|
10028
10111
|
format: 'nsid',
|
|
10029
10112
|
},
|
|
10030
|
-
|
|
10113
|
+
},
|
|
10114
|
+
},
|
|
10115
|
+
activityRelatedGroup: {
|
|
10116
|
+
type: 'object',
|
|
10117
|
+
description: "Visible activities in one collection targeting the parent item's record, without a time window. Contains references and profiles only, not a shared subject or hydrated action views. Buckets follow newest-first first appearance.",
|
|
10118
|
+
required: ['collection', 'activities', 'actors'],
|
|
10119
|
+
properties: {
|
|
10120
|
+
collection: {
|
|
10121
|
+
type: 'string',
|
|
10122
|
+
format: 'nsid',
|
|
10123
|
+
},
|
|
10124
|
+
activities: {
|
|
10031
10125
|
type: 'array',
|
|
10126
|
+
description: "Visible activity references in newest-first timeline order. Every activity has the bucket's collection.",
|
|
10127
|
+
minLength: 1,
|
|
10128
|
+
items: {
|
|
10129
|
+
type: 'ref',
|
|
10130
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem',
|
|
10131
|
+
},
|
|
10132
|
+
},
|
|
10133
|
+
actors: {
|
|
10134
|
+
type: 'array',
|
|
10135
|
+
description: "Unique actors in first-appearance order among the bucket's activities.",
|
|
10136
|
+
minLength: 1,
|
|
10032
10137
|
items: {
|
|
10033
10138
|
type: 'ref',
|
|
10034
10139
|
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
@@ -10036,18 +10141,21 @@ export const schemaDict = {
|
|
|
10036
10141
|
},
|
|
10037
10142
|
},
|
|
10038
10143
|
},
|
|
10039
|
-
|
|
10144
|
+
activitySubjectGroup: {
|
|
10040
10145
|
type: 'object',
|
|
10041
|
-
description:
|
|
10042
|
-
required: [
|
|
10146
|
+
description: 'Activities in one collection sharing a target, by at least two distinct actors, positioned at the newest group item. Article recommendations and shares group separately across the returned page without a time window. Article creations are not subject-group items. Publication subscriptions and gallery favorites retain age-based grouping windows.',
|
|
10147
|
+
required: [
|
|
10148
|
+
'id',
|
|
10149
|
+
'collection',
|
|
10150
|
+
'indexedAt',
|
|
10151
|
+
'subject',
|
|
10152
|
+
'activities',
|
|
10153
|
+
'actors',
|
|
10154
|
+
],
|
|
10043
10155
|
properties: {
|
|
10044
10156
|
id: {
|
|
10045
10157
|
type: 'string',
|
|
10046
10158
|
},
|
|
10047
|
-
groupBy: {
|
|
10048
|
-
type: 'string',
|
|
10049
|
-
knownValues: ['subject', 'actor'],
|
|
10050
|
-
},
|
|
10051
10159
|
collection: {
|
|
10052
10160
|
type: 'string',
|
|
10053
10161
|
format: 'nsid',
|
|
@@ -10056,21 +10164,27 @@ export const schemaDict = {
|
|
|
10056
10164
|
type: 'string',
|
|
10057
10165
|
format: 'datetime',
|
|
10058
10166
|
},
|
|
10059
|
-
|
|
10167
|
+
subject: {
|
|
10168
|
+
type: 'ref',
|
|
10169
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubject',
|
|
10170
|
+
},
|
|
10171
|
+
activities: {
|
|
10060
10172
|
type: 'array',
|
|
10173
|
+
description: "Visible group items in newest-first timeline order. Every activity has the group's collection.",
|
|
10061
10174
|
minLength: 2,
|
|
10062
10175
|
items: {
|
|
10063
10176
|
type: 'ref',
|
|
10064
|
-
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#
|
|
10177
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem',
|
|
10065
10178
|
},
|
|
10066
10179
|
},
|
|
10067
|
-
|
|
10068
|
-
type: '
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10180
|
+
actors: {
|
|
10181
|
+
type: 'array',
|
|
10182
|
+
description: 'Unique actors in first-appearance order among group items. At least two distinct actors are required.',
|
|
10183
|
+
minLength: 2,
|
|
10184
|
+
items: {
|
|
10185
|
+
type: 'ref',
|
|
10186
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
10187
|
+
},
|
|
10074
10188
|
},
|
|
10075
10189
|
},
|
|
10076
10190
|
},
|
|
@@ -23297,16 +23411,6 @@ export const schemaDict = {
|
|
|
23297
23411
|
type: 'string',
|
|
23298
23412
|
},
|
|
23299
23413
|
},
|
|
23300
|
-
accountStats: {
|
|
23301
|
-
description: 'Statistics related to the account subject',
|
|
23302
|
-
type: 'ref',
|
|
23303
|
-
ref: 'lex:tools.ozone.moderation.defs#accountStats',
|
|
23304
|
-
},
|
|
23305
|
-
recordsStats: {
|
|
23306
|
-
description: "Statistics related to the record subjects authored by the subject's account",
|
|
23307
|
-
type: 'ref',
|
|
23308
|
-
ref: 'lex:tools.ozone.moderation.defs#recordsStats',
|
|
23309
|
-
},
|
|
23310
23414
|
accountStrike: {
|
|
23311
23415
|
description: 'Strike information for the account (account-level only)',
|
|
23312
23416
|
type: 'ref',
|
|
@@ -23354,70 +23458,6 @@ export const schemaDict = {
|
|
|
23354
23458
|
},
|
|
23355
23459
|
},
|
|
23356
23460
|
},
|
|
23357
|
-
accountStats: {
|
|
23358
|
-
description: 'Statistics about a particular account subject',
|
|
23359
|
-
type: 'object',
|
|
23360
|
-
properties: {
|
|
23361
|
-
reportCount: {
|
|
23362
|
-
description: 'Total number of reports on the account',
|
|
23363
|
-
type: 'integer',
|
|
23364
|
-
},
|
|
23365
|
-
appealCount: {
|
|
23366
|
-
description: 'Total number of appeals against a moderation action on the account',
|
|
23367
|
-
type: 'integer',
|
|
23368
|
-
},
|
|
23369
|
-
suspendCount: {
|
|
23370
|
-
description: 'Number of times the account was suspended',
|
|
23371
|
-
type: 'integer',
|
|
23372
|
-
},
|
|
23373
|
-
escalateCount: {
|
|
23374
|
-
description: 'Number of times the account was escalated',
|
|
23375
|
-
type: 'integer',
|
|
23376
|
-
},
|
|
23377
|
-
takedownCount: {
|
|
23378
|
-
description: 'Number of times the account was taken down',
|
|
23379
|
-
type: 'integer',
|
|
23380
|
-
},
|
|
23381
|
-
},
|
|
23382
|
-
},
|
|
23383
|
-
recordsStats: {
|
|
23384
|
-
description: 'Statistics about a set of record subject items',
|
|
23385
|
-
type: 'object',
|
|
23386
|
-
properties: {
|
|
23387
|
-
totalReports: {
|
|
23388
|
-
description: 'Cumulative sum of the number of reports on the items in the set',
|
|
23389
|
-
type: 'integer',
|
|
23390
|
-
},
|
|
23391
|
-
reportedCount: {
|
|
23392
|
-
description: 'Number of items that were reported at least once',
|
|
23393
|
-
type: 'integer',
|
|
23394
|
-
},
|
|
23395
|
-
escalatedCount: {
|
|
23396
|
-
description: 'Number of items that were escalated at least once',
|
|
23397
|
-
type: 'integer',
|
|
23398
|
-
},
|
|
23399
|
-
appealedCount: {
|
|
23400
|
-
description: 'Number of items that were appealed at least once',
|
|
23401
|
-
type: 'integer',
|
|
23402
|
-
},
|
|
23403
|
-
subjectCount: {
|
|
23404
|
-
description: 'Total number of item in the set',
|
|
23405
|
-
type: 'integer',
|
|
23406
|
-
},
|
|
23407
|
-
pendingCount: {
|
|
23408
|
-
description: 'Number of item currently in "reviewOpen" or "reviewEscalated" state',
|
|
23409
|
-
type: 'integer',
|
|
23410
|
-
},
|
|
23411
|
-
processedCount: {
|
|
23412
|
-
description: 'Number of item currently in "reviewNone" or "reviewClosed" state',
|
|
23413
|
-
type: 'integer',
|
|
23414
|
-
},
|
|
23415
|
-
takendownCount: {
|
|
23416
|
-
description: 'Number of item currently taken down',
|
|
23417
|
-
type: 'integer',
|
|
23418
|
-
},
|
|
23419
|
-
},
|
|
23420
|
-
},
|
|
23421
23461
|
accountStrike: {
|
|
23422
23462
|
description: 'Strike information for an account',
|
|
23423
23463
|
type: 'object',
|
|
@@ -25435,13 +25475,14 @@ export const schemaDict = {
|
|
|
25435
25475
|
},
|
|
25436
25476
|
sortField: {
|
|
25437
25477
|
type: 'string',
|
|
25478
|
+
description: 'The reportedRecordsCount and takendownRecordsCount values are deprecated and use lastReportedAt instead.',
|
|
25438
25479
|
default: 'lastReportedAt',
|
|
25439
25480
|
enum: [
|
|
25440
25481
|
'lastReviewedAt',
|
|
25441
25482
|
'lastReportedAt',
|
|
25483
|
+
'priorityScore',
|
|
25442
25484
|
'reportedRecordsCount',
|
|
25443
25485
|
'takendownRecordsCount',
|
|
25444
|
-
'priorityScore',
|
|
25445
25486
|
],
|
|
25446
25487
|
},
|
|
25447
25488
|
sortDirection: {
|
|
@@ -25494,18 +25535,6 @@ export const schemaDict = {
|
|
|
25494
25535
|
description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
|
|
25495
25536
|
knownValues: ['account', 'record', 'conversation'],
|
|
25496
25537
|
},
|
|
25497
|
-
minAccountSuspendCount: {
|
|
25498
|
-
type: 'integer',
|
|
25499
|
-
description: 'If specified, only subjects that belong to an account that has at least this many suspensions will be returned.',
|
|
25500
|
-
},
|
|
25501
|
-
minReportedRecordsCount: {
|
|
25502
|
-
type: 'integer',
|
|
25503
|
-
description: 'If specified, only subjects that belong to an account that has at least this many reported records will be returned.',
|
|
25504
|
-
},
|
|
25505
|
-
minTakendownRecordsCount: {
|
|
25506
|
-
type: 'integer',
|
|
25507
|
-
description: 'If specified, only subjects that belong to an account that has at least this many taken down records will be returned.',
|
|
25508
|
-
},
|
|
25509
25538
|
minPriorityScore: {
|
|
25510
25539
|
minimum: 0,
|
|
25511
25540
|
maximum: 100,
|