@atproto/ozone 0.2.5 → 0.2.7
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 +37 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/report/queryActivities.d.ts +4 -0
- package/dist/api/report/queryActivities.d.ts.map +1 -0
- package/dist/api/report/queryActivities.js +36 -0
- package/dist/api/report/queryActivities.js.map +1 -0
- package/dist/background.d.ts +5 -3
- package/dist/background.d.ts.map +1 -1
- package/dist/background.js +13 -4
- package/dist/background.js.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/daemon/context.js +1 -1
- package/dist/daemon/context.js.map +1 -1
- package/dist/daemon/verification-listener.d.ts +1 -1
- package/dist/daemon/verification-listener.d.ts.map +1 -1
- package/dist/daemon/verification-listener.js +10 -4
- package/dist/daemon/verification-listener.js.map +1 -1
- package/dist/db/migrations/20260602T120000000Z-add-report-activity-created-index.d.ts +4 -0
- package/dist/db/migrations/20260602T120000000Z-add-report-activity-created-index.d.ts.map +1 -0
- package/dist/db/migrations/20260602T120000000Z-add-report-activity-created-index.js +15 -0
- package/dist/db/migrations/20260602T120000000Z-add-report-activity-created-index.js.map +1 -0
- package/dist/db/migrations/index.d.ts +1 -0
- package/dist/db/migrations/index.d.ts.map +1 -1
- package/dist/db/migrations/index.js +1 -0
- package/dist/db/migrations/index.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -13
- package/dist/index.js.map +1 -1
- package/dist/jetstream/service.d.ts +1 -1
- package/dist/jetstream/service.d.ts.map +1 -1
- package/dist/jetstream/service.js +3 -1
- package/dist/jetstream/service.js.map +1 -1
- package/dist/lexicon/index.d.ts +13 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +22 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +940 -140
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +477 -69
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/searchPostsV2.d.ts +87 -0
- package/dist/lexicon/types/app/bsky/feed/searchPostsV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/searchPostsV2.js +5 -0
- package/dist/lexicon/types/app/bsky/feed/searchPostsV2.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/actor/declaration.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/declaration.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts +2 -3
- package/dist/lexicon/types/chat/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +39 -36
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.js +7 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getUnreadCounts.d.ts +2 -2
- package/dist/lexicon/types/chat/bsky/convo/getUnreadCounts.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getUnreadCounts.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/moderation/defs.d.ts +3 -3
- package/dist/lexicon/types/chat/bsky/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/notification/defs.d.ts +19 -0
- package/dist/lexicon/types/chat/bsky/notification/defs.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/defs.js +19 -0
- package/dist/lexicon/types/chat/bsky/notification/defs.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/getPreferences.d.ts +20 -0
- package/dist/lexicon/types/chat/bsky/notification/getPreferences.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/getPreferences.js +5 -0
- package/dist/lexicon/types/chat/bsky/notification/getPreferences.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/putPreferences.d.ts +26 -0
- package/dist/lexicon/types/chat/bsky/notification/putPreferences.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/notification/putPreferences.js +5 -0
- package/dist/lexicon/types/chat/bsky/notification/putPreferences.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/report/defs.d.ts +1 -0
- package/dist/lexicon/types/tools/ozone/report/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/report/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/report/queryActivities.d.ts +32 -0
- package/dist/lexicon/types/tools/ozone/report/queryActivities.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/report/queryActivities.js +5 -0
- package/dist/lexicon/types/tools/ozone/report/queryActivities.js.map +1 -0
- package/dist/mod-service/report.d.ts +1 -0
- package/dist/mod-service/report.d.ts.map +1 -1
- package/dist/mod-service/report.js +16 -0
- package/dist/mod-service/report.js.map +1 -1
- package/dist/report/activity.d.ts +19 -1
- package/dist/report/activity.d.ts.map +1 -1
- package/dist/report/activity.js +27 -1
- package/dist/report/activity.js.map +1 -1
- package/package.json +15 -14
- package/src/api/index.ts +2 -0
- package/src/api/report/queryActivities.ts +64 -0
- package/src/background.ts +19 -4
- package/src/context.ts +1 -1
- package/src/daemon/context.ts +1 -1
- package/src/daemon/verification-listener.ts +9 -4
- package/src/db/migrations/20260602T120000000Z-add-report-activity-created-index.ts +17 -0
- package/src/db/migrations/index.ts +1 -0
- package/src/index.ts +25 -15
- package/src/jetstream/service.ts +3 -1
- package/src/mod-service/report.ts +19 -0
- package/src/report/activity.ts +47 -0
- package/tests/3p-labeler.test.ts +2 -2
- package/tests/_util.ts +8 -25
- package/tests/account-strikes.test.ts +1 -1
- package/tests/ack-all-subjects-of-account.test.ts +1 -1
- package/tests/age-assurance.test.ts +1 -1
- package/tests/blob-divert.test.ts +1 -1
- package/tests/communication-templates.test.ts +1 -1
- package/tests/content-tagger.test.ts +1 -1
- package/tests/db.test.ts +1 -1
- package/tests/expiring-label.test.ts +1 -1
- package/tests/expiring-tags.test.ts +1 -1
- package/tests/get-account-timeline.test.ts +1 -1
- package/tests/get-config.test.ts +1 -1
- package/tests/get-lists.test.ts +2 -1
- package/tests/get-profiles.test.ts +1 -1
- package/tests/get-record.test.ts +1 -1
- package/tests/get-records.test.ts +1 -1
- package/tests/get-repo.test.ts +1 -1
- package/tests/get-report.test.ts +1 -1
- package/tests/get-reporter-stats.test.ts +1 -1
- package/tests/get-repos.test.ts +1 -1
- package/tests/get-starter-pack.test.ts +1 -1
- package/tests/get-subjects.test.ts +1 -1
- package/tests/mod-tool.test.ts +1 -1
- package/tests/moderation-appeals.test.ts +1 -1
- package/tests/moderation-events.test.ts +1 -1
- package/tests/moderation-status-tags.test.ts +1 -1
- package/tests/moderation-statuses.test.ts +1 -1
- package/tests/moderation.test.ts +1 -1
- package/tests/protected-tags.test.ts +1 -1
- package/tests/query-labels.test.ts +1 -1
- package/tests/query-reports.test.ts +1 -1
- package/tests/queue-assignment.test.ts +1 -1
- package/tests/queue-router.test.ts +1 -1
- package/tests/queues.test.ts +1 -1
- package/tests/record-and-account-events.test.ts +1 -1
- package/tests/repo-search.test.ts +2 -2
- package/tests/report-action.test.ts +1 -1
- package/tests/report-activity.test.ts +145 -1
- package/tests/report-assignment.test.ts +1 -1
- package/tests/report-muting.test.ts +1 -1
- package/tests/report-reason.test.ts +1 -1
- package/tests/report-reassign-queue.test.ts +1 -1
- package/tests/report-routing.test.ts +1 -1
- package/tests/report-stats.test.ts +1 -1
- package/tests/revoke-account-credentials.test.ts +1 -1
- package/tests/safelink.test.ts +1 -1
- package/tests/scheduled-action-processor.test.ts +1 -1
- package/tests/scheduled-action.test.ts +1 -1
- package/tests/sequencer.test.ts +1 -1
- package/tests/server.test.ts +9 -12
- package/tests/sets.test.ts +1 -1
- package/tests/settings.test.ts +1 -1
- package/tests/strike-expiry-processor.test.ts +1 -1
- package/tests/subject-priority-score.test.ts +1 -1
- package/tests/takedown.test.ts +1 -1
- package/tests/team.test.ts +1 -1
- package/tests/verification-listener.test.ts +40 -13
- package/tests/verification.test.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -5061,6 +5061,239 @@ export const schemaDict = {
|
|
|
5061
5061
|
},
|
|
5062
5062
|
},
|
|
5063
5063
|
},
|
|
5064
|
+
AppBskyFeedSearchPostsV2: {
|
|
5065
|
+
lexicon: 1,
|
|
5066
|
+
id: 'app.bsky.feed.searchPostsV2',
|
|
5067
|
+
defs: {
|
|
5068
|
+
main: {
|
|
5069
|
+
type: 'query',
|
|
5070
|
+
description: 'Find posts matching a search query or filters, returning search hits for matching post records.',
|
|
5071
|
+
parameters: {
|
|
5072
|
+
type: 'params',
|
|
5073
|
+
required: [],
|
|
5074
|
+
properties: {
|
|
5075
|
+
cursor: {
|
|
5076
|
+
type: 'string',
|
|
5077
|
+
description: 'Optional pagination cursor.',
|
|
5078
|
+
},
|
|
5079
|
+
limit: {
|
|
5080
|
+
type: 'integer',
|
|
5081
|
+
minimum: 1,
|
|
5082
|
+
maximum: 100,
|
|
5083
|
+
default: 25,
|
|
5084
|
+
description: 'Maximum number of results to return.',
|
|
5085
|
+
},
|
|
5086
|
+
query: {
|
|
5087
|
+
type: 'string',
|
|
5088
|
+
description: 'Search query string. A query or at least one filter is required.',
|
|
5089
|
+
},
|
|
5090
|
+
sort: {
|
|
5091
|
+
type: 'string',
|
|
5092
|
+
knownValues: ['recent', 'top'],
|
|
5093
|
+
description: "Ranking order for results. 'recent' sorts by recency; 'top' uses search ranking.",
|
|
5094
|
+
},
|
|
5095
|
+
authors: {
|
|
5096
|
+
type: 'array',
|
|
5097
|
+
items: {
|
|
5098
|
+
type: 'string',
|
|
5099
|
+
format: 'at-identifier',
|
|
5100
|
+
},
|
|
5101
|
+
description: 'Include posts by any of these authors. Handles are resolved to DIDs before searching.',
|
|
5102
|
+
},
|
|
5103
|
+
mentions: {
|
|
5104
|
+
type: 'array',
|
|
5105
|
+
items: {
|
|
5106
|
+
type: 'string',
|
|
5107
|
+
format: 'at-identifier',
|
|
5108
|
+
},
|
|
5109
|
+
description: 'Include posts that mention any of these accounts. Handles are resolved to DIDs before searching.',
|
|
5110
|
+
},
|
|
5111
|
+
domains: {
|
|
5112
|
+
type: 'array',
|
|
5113
|
+
items: {
|
|
5114
|
+
type: 'string',
|
|
5115
|
+
},
|
|
5116
|
+
description: 'Include posts that link to any of these domains.',
|
|
5117
|
+
},
|
|
5118
|
+
urls: {
|
|
5119
|
+
type: 'array',
|
|
5120
|
+
items: {
|
|
5121
|
+
type: 'string',
|
|
5122
|
+
format: 'uri',
|
|
5123
|
+
},
|
|
5124
|
+
description: 'Include posts that link to any of these URLs.',
|
|
5125
|
+
},
|
|
5126
|
+
embeddedAtUris: {
|
|
5127
|
+
type: 'array',
|
|
5128
|
+
items: {
|
|
5129
|
+
type: 'string',
|
|
5130
|
+
format: 'at-uri',
|
|
5131
|
+
},
|
|
5132
|
+
description: 'Include posts that embed any of these AT URIs.',
|
|
5133
|
+
},
|
|
5134
|
+
hashtags: {
|
|
5135
|
+
type: 'array',
|
|
5136
|
+
items: {
|
|
5137
|
+
type: 'string',
|
|
5138
|
+
maxLength: 640,
|
|
5139
|
+
maxGraphemes: 64,
|
|
5140
|
+
},
|
|
5141
|
+
description: 'Include posts tagged with any of these hashtags. Do not include the hash (#) prefix.',
|
|
5142
|
+
},
|
|
5143
|
+
excludeAuthors: {
|
|
5144
|
+
type: 'array',
|
|
5145
|
+
items: {
|
|
5146
|
+
type: 'string',
|
|
5147
|
+
format: 'at-identifier',
|
|
5148
|
+
},
|
|
5149
|
+
description: 'Exclude posts by any of these authors. Handles are resolved to DIDs before searching.',
|
|
5150
|
+
},
|
|
5151
|
+
excludeMentions: {
|
|
5152
|
+
type: 'array',
|
|
5153
|
+
items: {
|
|
5154
|
+
type: 'string',
|
|
5155
|
+
format: 'at-identifier',
|
|
5156
|
+
},
|
|
5157
|
+
description: 'Exclude posts that mention any of these accounts. Handles are resolved to DIDs before searching.',
|
|
5158
|
+
},
|
|
5159
|
+
excludeDomains: {
|
|
5160
|
+
type: 'array',
|
|
5161
|
+
items: {
|
|
5162
|
+
type: 'string',
|
|
5163
|
+
},
|
|
5164
|
+
description: 'Exclude posts that link to any of these domains.',
|
|
5165
|
+
},
|
|
5166
|
+
excludeUrls: {
|
|
5167
|
+
type: 'array',
|
|
5168
|
+
items: {
|
|
5169
|
+
type: 'string',
|
|
5170
|
+
format: 'uri',
|
|
5171
|
+
},
|
|
5172
|
+
description: 'Exclude posts that link to any of these URLs.',
|
|
5173
|
+
},
|
|
5174
|
+
excludeEmbeddedAtUris: {
|
|
5175
|
+
type: 'array',
|
|
5176
|
+
items: {
|
|
5177
|
+
type: 'string',
|
|
5178
|
+
format: 'at-uri',
|
|
5179
|
+
},
|
|
5180
|
+
description: 'Exclude posts that embed any of these AT URIs.',
|
|
5181
|
+
},
|
|
5182
|
+
excludeHashtags: {
|
|
5183
|
+
type: 'array',
|
|
5184
|
+
items: {
|
|
5185
|
+
type: 'string',
|
|
5186
|
+
maxLength: 640,
|
|
5187
|
+
maxGraphemes: 64,
|
|
5188
|
+
},
|
|
5189
|
+
description: 'Exclude posts tagged with any of these hashtags. Do not include the hash (#) prefix.',
|
|
5190
|
+
},
|
|
5191
|
+
since: {
|
|
5192
|
+
type: 'string',
|
|
5193
|
+
description: 'Include posts indexed at or after this timestamp. Can be a datetime, or just an ISO date (YYYY-MM-DD).',
|
|
5194
|
+
},
|
|
5195
|
+
until: {
|
|
5196
|
+
type: 'string',
|
|
5197
|
+
description: 'Include posts indexed before this timestamp. Defaults to the current time. Can be a datetime, or just an ISO date (YYYY-MM-DD).',
|
|
5198
|
+
},
|
|
5199
|
+
allTime: {
|
|
5200
|
+
type: 'boolean',
|
|
5201
|
+
description: 'Search the full index instead of the recent-post window.',
|
|
5202
|
+
},
|
|
5203
|
+
languages: {
|
|
5204
|
+
type: 'array',
|
|
5205
|
+
items: {
|
|
5206
|
+
type: 'string',
|
|
5207
|
+
format: 'language',
|
|
5208
|
+
},
|
|
5209
|
+
description: 'Include posts whose language matches any of these language codes.',
|
|
5210
|
+
},
|
|
5211
|
+
excludeLanguages: {
|
|
5212
|
+
type: 'array',
|
|
5213
|
+
items: {
|
|
5214
|
+
type: 'string',
|
|
5215
|
+
format: 'language',
|
|
5216
|
+
},
|
|
5217
|
+
description: 'Exclude posts whose language matches any of these language codes.',
|
|
5218
|
+
},
|
|
5219
|
+
hasMedia: {
|
|
5220
|
+
type: 'boolean',
|
|
5221
|
+
description: 'Include only posts with media.',
|
|
5222
|
+
},
|
|
5223
|
+
hasVideo: {
|
|
5224
|
+
type: 'boolean',
|
|
5225
|
+
description: 'Include only posts with video.',
|
|
5226
|
+
},
|
|
5227
|
+
replyParentUri: {
|
|
5228
|
+
type: 'string',
|
|
5229
|
+
format: 'at-uri',
|
|
5230
|
+
description: 'Include only direct replies to this parent post URI.',
|
|
5231
|
+
},
|
|
5232
|
+
threadRootUri: {
|
|
5233
|
+
type: 'string',
|
|
5234
|
+
format: 'at-uri',
|
|
5235
|
+
description: 'Include only posts in the thread rooted at this post URI.',
|
|
5236
|
+
},
|
|
5237
|
+
excludeReplies: {
|
|
5238
|
+
type: 'boolean',
|
|
5239
|
+
description: 'Exclude replies from results. Mutually exclusive with repliesOnly.',
|
|
5240
|
+
},
|
|
5241
|
+
repliesOnly: {
|
|
5242
|
+
type: 'boolean',
|
|
5243
|
+
description: 'Include only replies. Mutually exclusive with excludeReplies.',
|
|
5244
|
+
},
|
|
5245
|
+
following: {
|
|
5246
|
+
type: 'boolean',
|
|
5247
|
+
description: 'Include only posts from accounts followed by the viewer.',
|
|
5248
|
+
},
|
|
5249
|
+
queryLanguage: {
|
|
5250
|
+
type: 'string',
|
|
5251
|
+
knownValues: ['ja', 'zh', 'ko', 'th', 'ar'],
|
|
5252
|
+
description: 'Language analyzer hint for the query text. If unset, the server auto-detects when possible.',
|
|
5253
|
+
},
|
|
5254
|
+
},
|
|
5255
|
+
},
|
|
5256
|
+
output: {
|
|
5257
|
+
encoding: 'application/json',
|
|
5258
|
+
schema: {
|
|
5259
|
+
type: 'object',
|
|
5260
|
+
required: ['posts'],
|
|
5261
|
+
properties: {
|
|
5262
|
+
cursor: {
|
|
5263
|
+
type: 'string',
|
|
5264
|
+
description: 'Cursor for the next page of results.',
|
|
5265
|
+
},
|
|
5266
|
+
hitsTotal: {
|
|
5267
|
+
type: 'integer',
|
|
5268
|
+
description: 'Estimated total number of matching hits. May be rounded or truncated.',
|
|
5269
|
+
},
|
|
5270
|
+
posts: {
|
|
5271
|
+
type: 'array',
|
|
5272
|
+
items: {
|
|
5273
|
+
type: 'ref',
|
|
5274
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
5275
|
+
},
|
|
5276
|
+
description: 'Hydrated views of matching posts.',
|
|
5277
|
+
},
|
|
5278
|
+
detectedQueryLanguages: {
|
|
5279
|
+
type: 'array',
|
|
5280
|
+
items: {
|
|
5281
|
+
type: 'string',
|
|
5282
|
+
knownValues: ['ja', 'zh', 'ko', 'th', 'ar'],
|
|
5283
|
+
},
|
|
5284
|
+
description: 'Query languages detected for CJK, Thai, or Arabic text. Empty or omitted for other scripts.',
|
|
5285
|
+
},
|
|
5286
|
+
},
|
|
5287
|
+
},
|
|
5288
|
+
},
|
|
5289
|
+
errors: [
|
|
5290
|
+
{
|
|
5291
|
+
name: 'BadQueryString',
|
|
5292
|
+
},
|
|
5293
|
+
],
|
|
5294
|
+
},
|
|
5295
|
+
},
|
|
5296
|
+
},
|
|
5064
5297
|
AppBskyFeedSendInteractions: {
|
|
5065
5298
|
lexicon: 1,
|
|
5066
5299
|
id: 'app.bsky.feed.sendInteractions',
|
|
@@ -7017,6 +7250,7 @@ export const schemaDict = {
|
|
|
7017
7250
|
},
|
|
7018
7251
|
chatPreference: {
|
|
7019
7252
|
type: 'object',
|
|
7253
|
+
description: 'Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.',
|
|
7020
7254
|
required: ['include', 'push'],
|
|
7021
7255
|
properties: {
|
|
7022
7256
|
include: {
|
|
@@ -7077,6 +7311,7 @@ export const schemaDict = {
|
|
|
7077
7311
|
chat: {
|
|
7078
7312
|
type: 'ref',
|
|
7079
7313
|
ref: 'lex:app.bsky.notification.defs#chatPreference',
|
|
7314
|
+
description: 'Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.',
|
|
7080
7315
|
},
|
|
7081
7316
|
follow: {
|
|
7082
7317
|
type: 'ref',
|
|
@@ -7473,6 +7708,7 @@ export const schemaDict = {
|
|
|
7473
7708
|
chat: {
|
|
7474
7709
|
type: 'ref',
|
|
7475
7710
|
ref: 'lex:app.bsky.notification.defs#chatPreference',
|
|
7711
|
+
description: "Deprecated: use chat.bsky.notification preferences instead. Setting this won't stick and the default values will be returned.",
|
|
7476
7712
|
},
|
|
7477
7713
|
follow: {
|
|
7478
7714
|
type: 'ref',
|
|
@@ -9620,7 +9856,7 @@ export const schemaDict = {
|
|
|
9620
9856
|
knownValues: ['all', 'none', 'following'],
|
|
9621
9857
|
},
|
|
9622
9858
|
allowGroupInvites: {
|
|
9623
|
-
description: '
|
|
9859
|
+
description: 'Declaration about group chat invitation preferences for the record owner.',
|
|
9624
9860
|
type: 'string',
|
|
9625
9861
|
knownValues: ['all', 'none', 'following'],
|
|
9626
9862
|
},
|
|
@@ -9697,12 +9933,11 @@ export const schemaDict = {
|
|
|
9697
9933
|
},
|
|
9698
9934
|
},
|
|
9699
9935
|
directConvoMember: {
|
|
9700
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
9701
9936
|
type: 'object',
|
|
9702
9937
|
properties: {},
|
|
9703
9938
|
},
|
|
9704
9939
|
groupConvoMember: {
|
|
9705
|
-
description: '
|
|
9940
|
+
description: 'A current group convo member.',
|
|
9706
9941
|
type: 'object',
|
|
9707
9942
|
required: ['role'],
|
|
9708
9943
|
properties: {
|
|
@@ -9719,7 +9954,7 @@ export const schemaDict = {
|
|
|
9719
9954
|
},
|
|
9720
9955
|
},
|
|
9721
9956
|
pastGroupConvoMember: {
|
|
9722
|
-
description: '
|
|
9957
|
+
description: 'A past group convo member.',
|
|
9723
9958
|
type: 'object',
|
|
9724
9959
|
required: [],
|
|
9725
9960
|
properties: {},
|
|
@@ -10017,6 +10252,7 @@ export const schemaDict = {
|
|
|
10017
10252
|
refs: [
|
|
10018
10253
|
'lex:chat.bsky.convo.defs#messageView',
|
|
10019
10254
|
'lex:chat.bsky.convo.defs#deletedMessageView',
|
|
10255
|
+
'lex:chat.bsky.convo.defs#messageBeforeUserJoinedGroupView',
|
|
10020
10256
|
],
|
|
10021
10257
|
},
|
|
10022
10258
|
sender: {
|
|
@@ -10040,7 +10276,6 @@ export const schemaDict = {
|
|
|
10040
10276
|
},
|
|
10041
10277
|
},
|
|
10042
10278
|
systemMessageView: {
|
|
10043
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
10044
10279
|
type: 'object',
|
|
10045
10280
|
required: ['id', 'rev', 'sentAt', 'data'],
|
|
10046
10281
|
properties: {
|
|
@@ -10074,7 +10309,7 @@ export const schemaDict = {
|
|
|
10074
10309
|
},
|
|
10075
10310
|
},
|
|
10076
10311
|
systemMessageDataAddMember: {
|
|
10077
|
-
description: '
|
|
10312
|
+
description: 'System message indicating a user was added to the group convo.',
|
|
10078
10313
|
type: 'object',
|
|
10079
10314
|
required: ['member', 'role', 'addedBy'],
|
|
10080
10315
|
properties: {
|
|
@@ -10095,7 +10330,7 @@ export const schemaDict = {
|
|
|
10095
10330
|
},
|
|
10096
10331
|
},
|
|
10097
10332
|
systemMessageDataRemoveMember: {
|
|
10098
|
-
description: '
|
|
10333
|
+
description: 'System message indicating a user was removed from the group convo.',
|
|
10099
10334
|
type: 'object',
|
|
10100
10335
|
required: ['member', 'removedBy'],
|
|
10101
10336
|
properties: {
|
|
@@ -10111,7 +10346,7 @@ export const schemaDict = {
|
|
|
10111
10346
|
},
|
|
10112
10347
|
},
|
|
10113
10348
|
systemMessageDataMemberJoin: {
|
|
10114
|
-
description: '
|
|
10349
|
+
description: 'System message indicating a user joined the group convo via join link.',
|
|
10115
10350
|
type: 'object',
|
|
10116
10351
|
required: ['member', 'role'],
|
|
10117
10352
|
properties: {
|
|
@@ -10133,7 +10368,7 @@ export const schemaDict = {
|
|
|
10133
10368
|
},
|
|
10134
10369
|
},
|
|
10135
10370
|
systemMessageDataMemberLeave: {
|
|
10136
|
-
description: '
|
|
10371
|
+
description: 'System message indicating a user voluntarily left the group convo.',
|
|
10137
10372
|
type: 'object',
|
|
10138
10373
|
required: ['member'],
|
|
10139
10374
|
properties: {
|
|
@@ -10145,7 +10380,7 @@ export const schemaDict = {
|
|
|
10145
10380
|
},
|
|
10146
10381
|
},
|
|
10147
10382
|
systemMessageDataLockConvo: {
|
|
10148
|
-
description: '
|
|
10383
|
+
description: 'System message indicating the group convo was locked.',
|
|
10149
10384
|
type: 'object',
|
|
10150
10385
|
required: ['lockedBy'],
|
|
10151
10386
|
properties: {
|
|
@@ -10157,7 +10392,7 @@ export const schemaDict = {
|
|
|
10157
10392
|
},
|
|
10158
10393
|
},
|
|
10159
10394
|
systemMessageDataUnlockConvo: {
|
|
10160
|
-
description: '
|
|
10395
|
+
description: 'System message indicating the group convo was unlocked.',
|
|
10161
10396
|
type: 'object',
|
|
10162
10397
|
required: ['unlockedBy'],
|
|
10163
10398
|
properties: {
|
|
@@ -10169,7 +10404,7 @@ export const schemaDict = {
|
|
|
10169
10404
|
},
|
|
10170
10405
|
},
|
|
10171
10406
|
systemMessageDataLockConvoPermanently: {
|
|
10172
|
-
description: '
|
|
10407
|
+
description: 'System message indicating the group convo was locked permanently.',
|
|
10173
10408
|
type: 'object',
|
|
10174
10409
|
required: ['lockedBy'],
|
|
10175
10410
|
properties: {
|
|
@@ -10181,7 +10416,7 @@ export const schemaDict = {
|
|
|
10181
10416
|
},
|
|
10182
10417
|
},
|
|
10183
10418
|
systemMessageDataEditGroup: {
|
|
10184
|
-
description: '
|
|
10419
|
+
description: 'System message indicating the group info was edited.',
|
|
10185
10420
|
type: 'object',
|
|
10186
10421
|
properties: {
|
|
10187
10422
|
oldName: {
|
|
@@ -10195,22 +10430,22 @@ export const schemaDict = {
|
|
|
10195
10430
|
},
|
|
10196
10431
|
},
|
|
10197
10432
|
systemMessageDataCreateJoinLink: {
|
|
10198
|
-
description: '
|
|
10433
|
+
description: 'System message indicating the group join link was created.',
|
|
10199
10434
|
type: 'object',
|
|
10200
10435
|
properties: {},
|
|
10201
10436
|
},
|
|
10202
10437
|
systemMessageDataEditJoinLink: {
|
|
10203
|
-
description: '
|
|
10438
|
+
description: 'System message indicating the group join link was edited.',
|
|
10204
10439
|
type: 'object',
|
|
10205
10440
|
properties: {},
|
|
10206
10441
|
},
|
|
10207
10442
|
systemMessageDataEnableJoinLink: {
|
|
10208
|
-
description: '
|
|
10443
|
+
description: 'System message indicating the group join link was enabled.',
|
|
10209
10444
|
type: 'object',
|
|
10210
10445
|
properties: {},
|
|
10211
10446
|
},
|
|
10212
10447
|
systemMessageDataDisableJoinLink: {
|
|
10213
|
-
description: '
|
|
10448
|
+
description: 'System message indicating the group join link was disabled.',
|
|
10214
10449
|
type: 'object',
|
|
10215
10450
|
properties: {},
|
|
10216
10451
|
},
|
|
@@ -10234,6 +10469,11 @@ export const schemaDict = {
|
|
|
10234
10469
|
},
|
|
10235
10470
|
},
|
|
10236
10471
|
},
|
|
10472
|
+
messageBeforeUserJoinedGroupView: {
|
|
10473
|
+
description: "Placeholder embedded in place of a reply's parent message when that parent was sent before the viewer joined the group convo. The viewer has no access to that history, so no message data is carried.",
|
|
10474
|
+
type: 'object',
|
|
10475
|
+
properties: {},
|
|
10476
|
+
},
|
|
10237
10477
|
messageViewSender: {
|
|
10238
10478
|
type: 'object',
|
|
10239
10479
|
required: ['did'],
|
|
@@ -10337,12 +10577,10 @@ export const schemaDict = {
|
|
|
10337
10577
|
},
|
|
10338
10578
|
},
|
|
10339
10579
|
directConvo: {
|
|
10340
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
10341
10580
|
type: 'object',
|
|
10342
10581
|
properties: {},
|
|
10343
10582
|
},
|
|
10344
10583
|
groupConvo: {
|
|
10345
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
10346
10584
|
type: 'object',
|
|
10347
10585
|
required: [
|
|
10348
10586
|
'createdAt',
|
|
@@ -10593,7 +10831,7 @@ export const schemaDict = {
|
|
|
10593
10831
|
},
|
|
10594
10832
|
},
|
|
10595
10833
|
logReadConvo: {
|
|
10596
|
-
description: '
|
|
10834
|
+
description: 'Event indicating a convo was read up to a certain message.',
|
|
10597
10835
|
type: 'object',
|
|
10598
10836
|
required: ['rev', 'convoId', 'message'],
|
|
10599
10837
|
properties: {
|
|
@@ -10614,7 +10852,7 @@ export const schemaDict = {
|
|
|
10614
10852
|
},
|
|
10615
10853
|
},
|
|
10616
10854
|
logAddMember: {
|
|
10617
|
-
description: '
|
|
10855
|
+
description: 'Event indicating a member was added to a group convo. The member who was added gets a logBeginConvo (to create the convo) but also a logAddMember (to show the system message as the first message the user sees).',
|
|
10618
10856
|
type: 'object',
|
|
10619
10857
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10620
10858
|
properties: {
|
|
@@ -10640,7 +10878,7 @@ export const schemaDict = {
|
|
|
10640
10878
|
},
|
|
10641
10879
|
},
|
|
10642
10880
|
logRemoveMember: {
|
|
10643
|
-
description: "
|
|
10881
|
+
description: "Event indicating a member was removed from a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logRemoveMember (because they already left, so can't see the system message).",
|
|
10644
10882
|
type: 'object',
|
|
10645
10883
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10646
10884
|
properties: {
|
|
@@ -10666,7 +10904,7 @@ export const schemaDict = {
|
|
|
10666
10904
|
},
|
|
10667
10905
|
},
|
|
10668
10906
|
logMemberJoin: {
|
|
10669
|
-
description: '
|
|
10907
|
+
description: 'Event indicating a member joined a group convo via join link. The member who was added gets a logBeginConvo (to create the convo) but also a logMemberJoin (to show the system message as the first message the user sees).',
|
|
10670
10908
|
type: 'object',
|
|
10671
10909
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10672
10910
|
properties: {
|
|
@@ -10692,7 +10930,7 @@ export const schemaDict = {
|
|
|
10692
10930
|
},
|
|
10693
10931
|
},
|
|
10694
10932
|
logMemberLeave: {
|
|
10695
|
-
description: "
|
|
10933
|
+
description: "Event indicating a member voluntarily left a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logMemberLeave (because they already left, so can't see the system message).",
|
|
10696
10934
|
type: 'object',
|
|
10697
10935
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10698
10936
|
properties: {
|
|
@@ -10718,7 +10956,7 @@ export const schemaDict = {
|
|
|
10718
10956
|
},
|
|
10719
10957
|
},
|
|
10720
10958
|
logLockConvo: {
|
|
10721
|
-
description: '
|
|
10959
|
+
description: 'Event indicating a group convo was locked.',
|
|
10722
10960
|
type: 'object',
|
|
10723
10961
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10724
10962
|
properties: {
|
|
@@ -10744,7 +10982,7 @@ export const schemaDict = {
|
|
|
10744
10982
|
},
|
|
10745
10983
|
},
|
|
10746
10984
|
logUnlockConvo: {
|
|
10747
|
-
description: '
|
|
10985
|
+
description: 'Event indicating a group convo was unlocked.',
|
|
10748
10986
|
type: 'object',
|
|
10749
10987
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10750
10988
|
properties: {
|
|
@@ -10770,7 +11008,7 @@ export const schemaDict = {
|
|
|
10770
11008
|
},
|
|
10771
11009
|
},
|
|
10772
11010
|
logLockConvoPermanently: {
|
|
10773
|
-
description: '
|
|
11011
|
+
description: 'Event indicating a group convo was locked permanently.',
|
|
10774
11012
|
type: 'object',
|
|
10775
11013
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10776
11014
|
properties: {
|
|
@@ -10796,7 +11034,7 @@ export const schemaDict = {
|
|
|
10796
11034
|
},
|
|
10797
11035
|
},
|
|
10798
11036
|
logEditGroup: {
|
|
10799
|
-
description: '
|
|
11037
|
+
description: 'Event indicating info about group convo was edited.',
|
|
10800
11038
|
type: 'object',
|
|
10801
11039
|
required: ['rev', 'convoId', 'message'],
|
|
10802
11040
|
properties: {
|
|
@@ -10814,7 +11052,7 @@ export const schemaDict = {
|
|
|
10814
11052
|
},
|
|
10815
11053
|
},
|
|
10816
11054
|
logCreateJoinLink: {
|
|
10817
|
-
description: '
|
|
11055
|
+
description: 'Event indicating a join link was created for a group convo.',
|
|
10818
11056
|
type: 'object',
|
|
10819
11057
|
required: ['rev', 'convoId', 'message'],
|
|
10820
11058
|
properties: {
|
|
@@ -10832,7 +11070,7 @@ export const schemaDict = {
|
|
|
10832
11070
|
},
|
|
10833
11071
|
},
|
|
10834
11072
|
logEditJoinLink: {
|
|
10835
|
-
description: '
|
|
11073
|
+
description: 'Event indicating a settings about a join link for a group convo were edited.',
|
|
10836
11074
|
type: 'object',
|
|
10837
11075
|
required: ['rev', 'convoId', 'message'],
|
|
10838
11076
|
properties: {
|
|
@@ -10850,7 +11088,7 @@ export const schemaDict = {
|
|
|
10850
11088
|
},
|
|
10851
11089
|
},
|
|
10852
11090
|
logEnableJoinLink: {
|
|
10853
|
-
description: '
|
|
11091
|
+
description: 'Event indicating a join link was enabled for a group convo.',
|
|
10854
11092
|
type: 'object',
|
|
10855
11093
|
required: ['rev', 'convoId', 'message'],
|
|
10856
11094
|
properties: {
|
|
@@ -10868,7 +11106,7 @@ export const schemaDict = {
|
|
|
10868
11106
|
},
|
|
10869
11107
|
},
|
|
10870
11108
|
logDisableJoinLink: {
|
|
10871
|
-
description: '
|
|
11109
|
+
description: 'Event indicating a join link was disabled for a group convo.',
|
|
10872
11110
|
type: 'object',
|
|
10873
11111
|
required: ['rev', 'convoId', 'message'],
|
|
10874
11112
|
properties: {
|
|
@@ -10886,7 +11124,7 @@ export const schemaDict = {
|
|
|
10886
11124
|
},
|
|
10887
11125
|
},
|
|
10888
11126
|
logIncomingJoinRequest: {
|
|
10889
|
-
description: '
|
|
11127
|
+
description: 'Event indicating a join request was made to a group the viewer owns. Only the owner gets this.',
|
|
10890
11128
|
type: 'object',
|
|
10891
11129
|
required: ['rev', 'convoId', 'member'],
|
|
10892
11130
|
properties: {
|
|
@@ -10904,7 +11142,7 @@ export const schemaDict = {
|
|
|
10904
11142
|
},
|
|
10905
11143
|
},
|
|
10906
11144
|
logApproveJoinRequest: {
|
|
10907
|
-
description: '
|
|
11145
|
+
description: 'Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo.',
|
|
10908
11146
|
type: 'object',
|
|
10909
11147
|
required: ['rev', 'convoId', 'member'],
|
|
10910
11148
|
properties: {
|
|
@@ -10922,7 +11160,7 @@ export const schemaDict = {
|
|
|
10922
11160
|
},
|
|
10923
11161
|
},
|
|
10924
11162
|
logRejectJoinRequest: {
|
|
10925
|
-
description: '
|
|
11163
|
+
description: 'Event indicating a join request was rejected by the viewer. Only the owner gets this.',
|
|
10926
11164
|
type: 'object',
|
|
10927
11165
|
required: ['rev', 'convoId', 'member'],
|
|
10928
11166
|
properties: {
|
|
@@ -10940,7 +11178,7 @@ export const schemaDict = {
|
|
|
10940
11178
|
},
|
|
10941
11179
|
},
|
|
10942
11180
|
logOutgoingJoinRequest: {
|
|
10943
|
-
description: '
|
|
11181
|
+
description: 'Event indicating a join request was made by the requester. Only requester actor gets this.',
|
|
10944
11182
|
type: 'object',
|
|
10945
11183
|
required: ['rev', 'convoId'],
|
|
10946
11184
|
properties: {
|
|
@@ -10953,7 +11191,7 @@ export const schemaDict = {
|
|
|
10953
11191
|
},
|
|
10954
11192
|
},
|
|
10955
11193
|
logWithdrawIncomingJoinRequest: {
|
|
10956
|
-
description: '
|
|
11194
|
+
description: 'Event indicating a prospective member withdrew their join request. Only the owner gets this.',
|
|
10957
11195
|
type: 'object',
|
|
10958
11196
|
required: ['rev', 'convoId', 'member'],
|
|
10959
11197
|
properties: {
|
|
@@ -10971,7 +11209,7 @@ export const schemaDict = {
|
|
|
10971
11209
|
},
|
|
10972
11210
|
},
|
|
10973
11211
|
logWithdrawOutgoingJoinRequest: {
|
|
10974
|
-
description: '
|
|
11212
|
+
description: 'Event indicating the viewer withdrew their own join request. Only requester actor gets this.',
|
|
10975
11213
|
type: 'object',
|
|
10976
11214
|
required: ['rev', 'convoId'],
|
|
10977
11215
|
properties: {
|
|
@@ -10984,7 +11222,7 @@ export const schemaDict = {
|
|
|
10984
11222
|
},
|
|
10985
11223
|
},
|
|
10986
11224
|
logReadJoinRequests: {
|
|
10987
|
-
description: '
|
|
11225
|
+
description: 'Event indicating the group owner marked join requests as read. Only the owner gets this.',
|
|
10988
11226
|
type: 'object',
|
|
10989
11227
|
required: ['rev', 'convoId'],
|
|
10990
11228
|
properties: {
|
|
@@ -11365,7 +11603,7 @@ export const schemaDict = {
|
|
|
11365
11603
|
defs: {
|
|
11366
11604
|
main: {
|
|
11367
11605
|
type: 'query',
|
|
11368
|
-
description: "
|
|
11606
|
+
description: "Returns unread conversation counts for conversations that are unlocked, not muted, split by convo status. Direct convos are excluded when a block relationship exists between the actor and the other member, or when the other member's account is deleted or deactivated. Group convos are considered unread if they have unread join request counts.",
|
|
11369
11607
|
parameters: {
|
|
11370
11608
|
type: 'params',
|
|
11371
11609
|
properties: {
|
|
@@ -11384,11 +11622,11 @@ export const schemaDict = {
|
|
|
11384
11622
|
properties: {
|
|
11385
11623
|
unreadAcceptedConvos: {
|
|
11386
11624
|
type: 'integer',
|
|
11387
|
-
description: 'Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at
|
|
11625
|
+
description: 'Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 100, where 100 means more than 99.',
|
|
11388
11626
|
},
|
|
11389
11627
|
unreadRequestConvos: {
|
|
11390
11628
|
type: 'integer',
|
|
11391
|
-
description: 'Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at
|
|
11629
|
+
description: 'Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 100, where 100 means more than 99.',
|
|
11392
11630
|
},
|
|
11393
11631
|
},
|
|
11394
11632
|
},
|
|
@@ -11448,7 +11686,7 @@ export const schemaDict = {
|
|
|
11448
11686
|
defs: {
|
|
11449
11687
|
main: {
|
|
11450
11688
|
type: 'query',
|
|
11451
|
-
description: '
|
|
11689
|
+
description: 'Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests made by the user are returned as joinRequestConvoView.',
|
|
11452
11690
|
parameters: {
|
|
11453
11691
|
type: 'params',
|
|
11454
11692
|
properties: {
|
|
@@ -11556,7 +11794,7 @@ export const schemaDict = {
|
|
|
11556
11794
|
defs: {
|
|
11557
11795
|
main: {
|
|
11558
11796
|
type: 'procedure',
|
|
11559
|
-
description: '
|
|
11797
|
+
description: 'Locks a group convo so no more content (messages, reactions) can be added to it.',
|
|
11560
11798
|
errors: [
|
|
11561
11799
|
{
|
|
11562
11800
|
name: 'ConvoLocked',
|
|
@@ -11815,7 +12053,7 @@ export const schemaDict = {
|
|
|
11815
12053
|
defs: {
|
|
11816
12054
|
main: {
|
|
11817
12055
|
type: 'procedure',
|
|
11818
|
-
description: '
|
|
12056
|
+
description: 'Unlocks a group convo so it is able to receive new content.',
|
|
11819
12057
|
errors: [
|
|
11820
12058
|
{
|
|
11821
12059
|
name: 'InvalidConvo',
|
|
@@ -11976,7 +12214,7 @@ export const schemaDict = {
|
|
|
11976
12214
|
ChatBskyEmbedJoinLink: {
|
|
11977
12215
|
lexicon: 1,
|
|
11978
12216
|
id: 'chat.bsky.embed.joinLink',
|
|
11979
|
-
description: '
|
|
12217
|
+
description: 'A join link embedded in a chat message.',
|
|
11980
12218
|
defs: {
|
|
11981
12219
|
main: {
|
|
11982
12220
|
type: 'object',
|
|
@@ -12010,7 +12248,7 @@ export const schemaDict = {
|
|
|
12010
12248
|
defs: {
|
|
12011
12249
|
main: {
|
|
12012
12250
|
type: 'procedure',
|
|
12013
|
-
description: "
|
|
12251
|
+
description: "Adds members to a group. The members are added in 'request' status, so they have to accept it. This creates convo memberships.",
|
|
12014
12252
|
errors: [
|
|
12015
12253
|
{
|
|
12016
12254
|
name: 'AccountSuspended',
|
|
@@ -12092,7 +12330,7 @@ export const schemaDict = {
|
|
|
12092
12330
|
defs: {
|
|
12093
12331
|
main: {
|
|
12094
12332
|
type: 'procedure',
|
|
12095
|
-
description: '
|
|
12333
|
+
description: 'Approves a request to join a group (via join link) the user owns. Action taken by the group owner.',
|
|
12096
12334
|
errors: [
|
|
12097
12335
|
{
|
|
12098
12336
|
name: 'InvalidConvo',
|
|
@@ -12142,7 +12380,7 @@ export const schemaDict = {
|
|
|
12142
12380
|
defs: {
|
|
12143
12381
|
main: {
|
|
12144
12382
|
type: 'procedure',
|
|
12145
|
-
description: "
|
|
12383
|
+
description: "Creates a group convo, specifying the members to be added to it. Unlike getConvoForMembers, this isn't idempotent. It will create new groups even if the membership is identical to pre-existing groups. Will create 'request' membership for all members, except the owner who is 'accepted'.",
|
|
12146
12384
|
errors: [
|
|
12147
12385
|
{
|
|
12148
12386
|
name: 'AccountSuspended',
|
|
@@ -12211,7 +12449,7 @@ export const schemaDict = {
|
|
|
12211
12449
|
defs: {
|
|
12212
12450
|
main: {
|
|
12213
12451
|
type: 'procedure',
|
|
12214
|
-
description: '
|
|
12452
|
+
description: 'Creates a join link for the group convo.',
|
|
12215
12453
|
errors: [
|
|
12216
12454
|
{
|
|
12217
12455
|
name: 'EnabledJoinLinkAlreadyExists',
|
|
@@ -12262,7 +12500,6 @@ export const schemaDict = {
|
|
|
12262
12500
|
ChatBskyGroupDefs: {
|
|
12263
12501
|
lexicon: 1,
|
|
12264
12502
|
id: 'chat.bsky.group.defs',
|
|
12265
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
12266
12503
|
defs: {
|
|
12267
12504
|
linkEnabledStatus: {
|
|
12268
12505
|
type: 'string',
|
|
@@ -12443,7 +12680,7 @@ export const schemaDict = {
|
|
|
12443
12680
|
defs: {
|
|
12444
12681
|
main: {
|
|
12445
12682
|
type: 'procedure',
|
|
12446
|
-
description: '
|
|
12683
|
+
description: 'Disables the active join link for the group convo.',
|
|
12447
12684
|
errors: [
|
|
12448
12685
|
{
|
|
12449
12686
|
name: 'InvalidConvo',
|
|
@@ -12489,7 +12726,7 @@ export const schemaDict = {
|
|
|
12489
12726
|
defs: {
|
|
12490
12727
|
main: {
|
|
12491
12728
|
type: 'procedure',
|
|
12492
|
-
description: '
|
|
12729
|
+
description: 'Edits group settings.',
|
|
12493
12730
|
errors: [
|
|
12494
12731
|
{
|
|
12495
12732
|
name: 'ConvoLocked',
|
|
@@ -12541,7 +12778,7 @@ export const schemaDict = {
|
|
|
12541
12778
|
defs: {
|
|
12542
12779
|
main: {
|
|
12543
12780
|
type: 'procedure',
|
|
12544
|
-
description: '
|
|
12781
|
+
description: 'Edits the existing join link settings for the group convo.',
|
|
12545
12782
|
errors: [
|
|
12546
12783
|
{
|
|
12547
12784
|
name: 'InvalidConvo',
|
|
@@ -12594,7 +12831,7 @@ export const schemaDict = {
|
|
|
12594
12831
|
defs: {
|
|
12595
12832
|
main: {
|
|
12596
12833
|
type: 'procedure',
|
|
12597
|
-
description: '
|
|
12834
|
+
description: 'Re-enables a previously disabled join link for the group convo.',
|
|
12598
12835
|
errors: [
|
|
12599
12836
|
{
|
|
12600
12837
|
name: 'InvalidConvo',
|
|
@@ -12643,7 +12880,7 @@ export const schemaDict = {
|
|
|
12643
12880
|
defs: {
|
|
12644
12881
|
main: {
|
|
12645
12882
|
type: 'query',
|
|
12646
|
-
description: "
|
|
12883
|
+
description: "Get public information about groups from join links. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView.",
|
|
12647
12884
|
parameters: {
|
|
12648
12885
|
type: 'params',
|
|
12649
12886
|
required: ['codes'],
|
|
@@ -12687,7 +12924,7 @@ export const schemaDict = {
|
|
|
12687
12924
|
defs: {
|
|
12688
12925
|
main: {
|
|
12689
12926
|
type: 'query',
|
|
12690
|
-
description: "
|
|
12927
|
+
description: "Lists a page of request to join a group (via join link) the user owns. Shows the data from the owner's point of view.",
|
|
12691
12928
|
errors: [
|
|
12692
12929
|
{
|
|
12693
12930
|
name: 'InvalidConvo',
|
|
@@ -12742,7 +12979,7 @@ export const schemaDict = {
|
|
|
12742
12979
|
defs: {
|
|
12743
12980
|
main: {
|
|
12744
12981
|
type: 'query',
|
|
12745
|
-
description: '
|
|
12982
|
+
description: 'Returns a page of group conversations that both the requester and the specified actor are members of.',
|
|
12746
12983
|
parameters: {
|
|
12747
12984
|
type: 'params',
|
|
12748
12985
|
required: ['subject'],
|
|
@@ -12790,7 +13027,7 @@ export const schemaDict = {
|
|
|
12790
13027
|
defs: {
|
|
12791
13028
|
main: {
|
|
12792
13029
|
type: 'procedure',
|
|
12793
|
-
description: '
|
|
13030
|
+
description: 'Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.',
|
|
12794
13031
|
errors: [
|
|
12795
13032
|
{
|
|
12796
13033
|
name: 'InvalidConvo',
|
|
@@ -12832,7 +13069,7 @@ export const schemaDict = {
|
|
|
12832
13069
|
defs: {
|
|
12833
13070
|
main: {
|
|
12834
13071
|
type: 'procedure',
|
|
12835
|
-
description: "
|
|
13072
|
+
description: "Removes members from a group. This deletes convo memberships, doesn't just set a status.",
|
|
12836
13073
|
errors: [
|
|
12837
13074
|
{
|
|
12838
13075
|
name: 'InvalidConvo',
|
|
@@ -12883,7 +13120,7 @@ export const schemaDict = {
|
|
|
12883
13120
|
defs: {
|
|
12884
13121
|
main: {
|
|
12885
13122
|
type: 'procedure',
|
|
12886
|
-
description: '
|
|
13123
|
+
description: 'Sends a request to join a group (via join link) to the group owner. Action taken by the prospective group member.',
|
|
12887
13124
|
errors: [
|
|
12888
13125
|
{
|
|
12889
13126
|
name: 'ConvoLocked',
|
|
@@ -12943,7 +13180,7 @@ export const schemaDict = {
|
|
|
12943
13180
|
defs: {
|
|
12944
13181
|
main: {
|
|
12945
13182
|
type: 'procedure',
|
|
12946
|
-
description: '
|
|
13183
|
+
description: 'Marks all join requests as read for the group owner.',
|
|
12947
13184
|
errors: [
|
|
12948
13185
|
{
|
|
12949
13186
|
name: 'InvalidConvo',
|
|
@@ -12981,7 +13218,7 @@ export const schemaDict = {
|
|
|
12981
13218
|
defs: {
|
|
12982
13219
|
main: {
|
|
12983
13220
|
type: 'procedure',
|
|
12984
|
-
description: '
|
|
13221
|
+
description: 'Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.',
|
|
12985
13222
|
errors: [
|
|
12986
13223
|
{
|
|
12987
13224
|
name: 'InvalidJoinRequest',
|
|
@@ -13015,7 +13252,7 @@ export const schemaDict = {
|
|
|
13015
13252
|
id: 'chat.bsky.moderation.defs',
|
|
13016
13253
|
defs: {
|
|
13017
13254
|
convoView: {
|
|
13018
|
-
description: '
|
|
13255
|
+
description: 'A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.',
|
|
13019
13256
|
type: 'object',
|
|
13020
13257
|
required: ['id', 'rev'],
|
|
13021
13258
|
properties: {
|
|
@@ -13036,12 +13273,12 @@ export const schemaDict = {
|
|
|
13036
13273
|
},
|
|
13037
13274
|
},
|
|
13038
13275
|
directConvo: {
|
|
13039
|
-
description: '
|
|
13276
|
+
description: 'Data specific to a direct conversation, for moderation purposes.',
|
|
13040
13277
|
type: 'object',
|
|
13041
13278
|
properties: {},
|
|
13042
13279
|
},
|
|
13043
13280
|
groupConvo: {
|
|
13044
|
-
description: '
|
|
13281
|
+
description: 'Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.',
|
|
13045
13282
|
type: 'object',
|
|
13046
13283
|
required: [
|
|
13047
13284
|
'createdAt',
|
|
@@ -13156,7 +13393,7 @@ export const schemaDict = {
|
|
|
13156
13393
|
defs: {
|
|
13157
13394
|
main: {
|
|
13158
13395
|
type: 'query',
|
|
13159
|
-
description: '
|
|
13396
|
+
description: 'Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.',
|
|
13160
13397
|
errors: [
|
|
13161
13398
|
{
|
|
13162
13399
|
name: 'InvalidConvo',
|
|
@@ -13193,7 +13430,7 @@ export const schemaDict = {
|
|
|
13193
13430
|
defs: {
|
|
13194
13431
|
main: {
|
|
13195
13432
|
type: 'query',
|
|
13196
|
-
description: '
|
|
13433
|
+
description: 'Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.',
|
|
13197
13434
|
errors: [
|
|
13198
13435
|
{
|
|
13199
13436
|
name: 'InvalidConvo',
|
|
@@ -13245,7 +13482,7 @@ export const schemaDict = {
|
|
|
13245
13482
|
defs: {
|
|
13246
13483
|
main: {
|
|
13247
13484
|
type: 'query',
|
|
13248
|
-
description: '
|
|
13485
|
+
description: 'Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.',
|
|
13249
13486
|
parameters: {
|
|
13250
13487
|
type: 'params',
|
|
13251
13488
|
required: ['convoIds'],
|
|
@@ -14022,6 +14259,101 @@ export const schemaDict = {
|
|
|
14022
14259
|
},
|
|
14023
14260
|
},
|
|
14024
14261
|
},
|
|
14262
|
+
ChatBskyNotificationDefs: {
|
|
14263
|
+
lexicon: 1,
|
|
14264
|
+
id: 'chat.bsky.notification.defs',
|
|
14265
|
+
defs: {
|
|
14266
|
+
preferences: {
|
|
14267
|
+
type: 'object',
|
|
14268
|
+
required: ['chat', 'chatRequest'],
|
|
14269
|
+
properties: {
|
|
14270
|
+
chat: {
|
|
14271
|
+
type: 'ref',
|
|
14272
|
+
ref: 'lex:chat.bsky.notification.defs#chatPreference',
|
|
14273
|
+
},
|
|
14274
|
+
chatRequest: {
|
|
14275
|
+
type: 'ref',
|
|
14276
|
+
ref: 'lex:chat.bsky.notification.defs#chatPreference',
|
|
14277
|
+
},
|
|
14278
|
+
},
|
|
14279
|
+
},
|
|
14280
|
+
chatPreference: {
|
|
14281
|
+
type: 'object',
|
|
14282
|
+
required: ['include', 'push'],
|
|
14283
|
+
properties: {
|
|
14284
|
+
include: {
|
|
14285
|
+
type: 'string',
|
|
14286
|
+
knownValues: ['all', 'follows'],
|
|
14287
|
+
},
|
|
14288
|
+
push: {
|
|
14289
|
+
type: 'boolean',
|
|
14290
|
+
},
|
|
14291
|
+
},
|
|
14292
|
+
},
|
|
14293
|
+
},
|
|
14294
|
+
},
|
|
14295
|
+
ChatBskyNotificationGetPreferences: {
|
|
14296
|
+
lexicon: 1,
|
|
14297
|
+
id: 'chat.bsky.notification.getPreferences',
|
|
14298
|
+
defs: {
|
|
14299
|
+
main: {
|
|
14300
|
+
type: 'query',
|
|
14301
|
+
description: "Get the requesting account's chat notification preferences. Defaults are returned for accounts that have not set any preferences. Requires auth.",
|
|
14302
|
+
output: {
|
|
14303
|
+
encoding: 'application/json',
|
|
14304
|
+
schema: {
|
|
14305
|
+
type: 'object',
|
|
14306
|
+
required: ['preferences'],
|
|
14307
|
+
properties: {
|
|
14308
|
+
preferences: {
|
|
14309
|
+
type: 'ref',
|
|
14310
|
+
ref: 'lex:chat.bsky.notification.defs#preferences',
|
|
14311
|
+
},
|
|
14312
|
+
},
|
|
14313
|
+
},
|
|
14314
|
+
},
|
|
14315
|
+
},
|
|
14316
|
+
},
|
|
14317
|
+
},
|
|
14318
|
+
ChatBskyNotificationPutPreferences: {
|
|
14319
|
+
lexicon: 1,
|
|
14320
|
+
id: 'chat.bsky.notification.putPreferences',
|
|
14321
|
+
defs: {
|
|
14322
|
+
main: {
|
|
14323
|
+
type: 'procedure',
|
|
14324
|
+
description: "Set the requesting account's chat notification preferences. Only the provided preferences are updated; omitted preferences are left unchanged.",
|
|
14325
|
+
input: {
|
|
14326
|
+
encoding: 'application/json',
|
|
14327
|
+
schema: {
|
|
14328
|
+
type: 'object',
|
|
14329
|
+
properties: {
|
|
14330
|
+
chat: {
|
|
14331
|
+
type: 'ref',
|
|
14332
|
+
ref: 'lex:chat.bsky.notification.defs#chatPreference',
|
|
14333
|
+
},
|
|
14334
|
+
chatRequest: {
|
|
14335
|
+
type: 'ref',
|
|
14336
|
+
ref: 'lex:chat.bsky.notification.defs#chatPreference',
|
|
14337
|
+
},
|
|
14338
|
+
},
|
|
14339
|
+
},
|
|
14340
|
+
},
|
|
14341
|
+
output: {
|
|
14342
|
+
encoding: 'application/json',
|
|
14343
|
+
schema: {
|
|
14344
|
+
type: 'object',
|
|
14345
|
+
required: ['preferences'],
|
|
14346
|
+
properties: {
|
|
14347
|
+
preferences: {
|
|
14348
|
+
type: 'ref',
|
|
14349
|
+
ref: 'lex:chat.bsky.notification.defs#preferences',
|
|
14350
|
+
},
|
|
14351
|
+
},
|
|
14352
|
+
},
|
|
14353
|
+
},
|
|
14354
|
+
},
|
|
14355
|
+
},
|
|
14356
|
+
},
|
|
14025
14357
|
ComAtprotoAdminDefs: {
|
|
14026
14358
|
lexicon: 1,
|
|
14027
14359
|
id: 'com.atproto.admin.defs',
|
|
@@ -22868,6 +23200,11 @@ export const schemaDict = {
|
|
|
22868
23200
|
ref: 'lex:tools.ozone.team.defs#member',
|
|
22869
23201
|
description: 'Full member record of the moderator who created this activity',
|
|
22870
23202
|
},
|
|
23203
|
+
report: {
|
|
23204
|
+
type: 'ref',
|
|
23205
|
+
ref: 'lex:tools.ozone.report.defs#reportView',
|
|
23206
|
+
description: 'Full view of the report this activity belongs to.',
|
|
23207
|
+
},
|
|
22871
23208
|
createdAt: {
|
|
22872
23209
|
type: 'string',
|
|
22873
23210
|
format: 'datetime',
|
|
@@ -23280,6 +23617,72 @@ export const schemaDict = {
|
|
|
23280
23617
|
},
|
|
23281
23618
|
},
|
|
23282
23619
|
},
|
|
23620
|
+
ToolsOzoneReportQueryActivities: {
|
|
23621
|
+
lexicon: 1,
|
|
23622
|
+
id: 'tools.ozone.report.queryActivities',
|
|
23623
|
+
defs: {
|
|
23624
|
+
main: {
|
|
23625
|
+
type: 'query',
|
|
23626
|
+
description: 'Query report activities across all reports, ordered by createdAt. Used by downstream pollers; for per-report activity history use listActivities.',
|
|
23627
|
+
parameters: {
|
|
23628
|
+
type: 'params',
|
|
23629
|
+
properties: {
|
|
23630
|
+
activityTypes: {
|
|
23631
|
+
type: 'array',
|
|
23632
|
+
items: {
|
|
23633
|
+
type: 'string',
|
|
23634
|
+
},
|
|
23635
|
+
description: 'Filter to specific activity types (e.g. closeActivity, escalationActivity). If omitted, all types are returned.',
|
|
23636
|
+
},
|
|
23637
|
+
createdAfter: {
|
|
23638
|
+
type: 'string',
|
|
23639
|
+
format: 'datetime',
|
|
23640
|
+
description: 'Retrieve activities created at or after a given timestamp',
|
|
23641
|
+
},
|
|
23642
|
+
createdBefore: {
|
|
23643
|
+
type: 'string',
|
|
23644
|
+
format: 'datetime',
|
|
23645
|
+
description: 'Retrieve activities created at or before a given timestamp',
|
|
23646
|
+
},
|
|
23647
|
+
sortDirection: {
|
|
23648
|
+
type: 'string',
|
|
23649
|
+
default: 'desc',
|
|
23650
|
+
enum: ['asc', 'desc'],
|
|
23651
|
+
},
|
|
23652
|
+
limit: {
|
|
23653
|
+
type: 'integer',
|
|
23654
|
+
minimum: 1,
|
|
23655
|
+
maximum: 100,
|
|
23656
|
+
default: 50,
|
|
23657
|
+
},
|
|
23658
|
+
cursor: {
|
|
23659
|
+
type: 'string',
|
|
23660
|
+
description: 'Cursor of the form `<createdAtMs>::<activityId>`.',
|
|
23661
|
+
},
|
|
23662
|
+
},
|
|
23663
|
+
},
|
|
23664
|
+
output: {
|
|
23665
|
+
encoding: 'application/json',
|
|
23666
|
+
schema: {
|
|
23667
|
+
type: 'object',
|
|
23668
|
+
required: ['activities'],
|
|
23669
|
+
properties: {
|
|
23670
|
+
activities: {
|
|
23671
|
+
type: 'array',
|
|
23672
|
+
items: {
|
|
23673
|
+
type: 'ref',
|
|
23674
|
+
ref: 'lex:tools.ozone.report.defs#reportActivityView',
|
|
23675
|
+
},
|
|
23676
|
+
},
|
|
23677
|
+
cursor: {
|
|
23678
|
+
type: 'string',
|
|
23679
|
+
},
|
|
23680
|
+
},
|
|
23681
|
+
},
|
|
23682
|
+
},
|
|
23683
|
+
},
|
|
23684
|
+
},
|
|
23685
|
+
},
|
|
23283
23686
|
ToolsOzoneReportQueryReports: {
|
|
23284
23687
|
lexicon: 1,
|
|
23285
23688
|
id: 'tools.ozone.report.queryReports',
|
|
@@ -25382,6 +25785,7 @@ export const ids = {
|
|
|
25382
25785
|
AppBskyFeedPostgate: 'app.bsky.feed.postgate',
|
|
25383
25786
|
AppBskyFeedRepost: 'app.bsky.feed.repost',
|
|
25384
25787
|
AppBskyFeedSearchPosts: 'app.bsky.feed.searchPosts',
|
|
25788
|
+
AppBskyFeedSearchPostsV2: 'app.bsky.feed.searchPostsV2',
|
|
25385
25789
|
AppBskyFeedSendInteractions: 'app.bsky.feed.sendInteractions',
|
|
25386
25790
|
AppBskyFeedThreadgate: 'app.bsky.feed.threadgate',
|
|
25387
25791
|
AppBskyGraphBlock: 'app.bsky.graph.block',
|
|
@@ -25520,6 +25924,9 @@ export const ids = {
|
|
|
25520
25924
|
ChatBskyModerationGetMessageContext: 'chat.bsky.moderation.getMessageContext',
|
|
25521
25925
|
ChatBskyModerationSubscribeModEvents: 'chat.bsky.moderation.subscribeModEvents',
|
|
25522
25926
|
ChatBskyModerationUpdateActorAccess: 'chat.bsky.moderation.updateActorAccess',
|
|
25927
|
+
ChatBskyNotificationDefs: 'chat.bsky.notification.defs',
|
|
25928
|
+
ChatBskyNotificationGetPreferences: 'chat.bsky.notification.getPreferences',
|
|
25929
|
+
ChatBskyNotificationPutPreferences: 'chat.bsky.notification.putPreferences',
|
|
25523
25930
|
ComAtprotoAdminDefs: 'com.atproto.admin.defs',
|
|
25524
25931
|
ComAtprotoAdminDeleteAccount: 'com.atproto.admin.deleteAccount',
|
|
25525
25932
|
ComAtprotoAdminDisableAccountInvites: 'com.atproto.admin.disableAccountInvites',
|
|
@@ -25655,6 +26062,7 @@ export const ids = {
|
|
|
25655
26062
|
ToolsOzoneReportGetLiveStats: 'tools.ozone.report.getLiveStats',
|
|
25656
26063
|
ToolsOzoneReportGetReport: 'tools.ozone.report.getReport',
|
|
25657
26064
|
ToolsOzoneReportListActivities: 'tools.ozone.report.listActivities',
|
|
26065
|
+
ToolsOzoneReportQueryActivities: 'tools.ozone.report.queryActivities',
|
|
25658
26066
|
ToolsOzoneReportQueryReports: 'tools.ozone.report.queryReports',
|
|
25659
26067
|
ToolsOzoneReportReassignQueue: 'tools.ozone.report.reassignQueue',
|
|
25660
26068
|
ToolsOzoneReportRefreshStats: 'tools.ozone.report.refreshStats',
|