@atproto/ozone 0.1.26 → 0.1.28
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 +19 -0
- package/dist/api/proxied.d.ts.map +1 -1
- package/dist/api/proxied.js +30 -0
- package/dist/api/proxied.js.map +1 -1
- package/dist/lexicon/index.d.ts +7 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +13 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +362 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +371 -2
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +22 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +21 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts +3 -0
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +36 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js +23 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +39 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +37 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +36 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js +27 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/api/proxied.ts +43 -0
- package/src/lexicon/index.ts +37 -0
- package/src/lexicon/lexicons.ts +376 -2
- package/src/lexicon/types/app/bsky/actor/defs.ts +44 -0
- package/src/lexicon/types/app/bsky/actor/profile.ts +3 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +58 -0
- package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +49 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +47 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +46 -0
- package/src/lexicon/types/app/bsky/graph/starterpack.ts +50 -0
- package/src/lexicon/types/app/bsky/notification/listNotifications.ts +2 -1
- package/src/lexicon/types/tools/ozone/team/deleteMember.ts +1 -1
- package/tests/__snapshots__/get-record.test.ts.snap +2 -0
- package/tests/__snapshots__/get-repo.test.ts.snap +1 -0
- package/tests/__snapshots__/get-starter-pack.test.ts.snap +466 -0
- package/tests/__snapshots__/moderation-events.test.ts.snap +1 -0
- package/tests/__snapshots__/team.test.ts.snap +24 -0
- package/tests/get-starter-pack.test.ts +104 -0
- package/tests/server.test.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/ozone",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Backend service for moderating the Bluesky network.",
|
|
6
6
|
"keywords": [
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"structured-headers": "^1.0.1",
|
|
33
33
|
"typed-emitter": "^2.1.0",
|
|
34
34
|
"uint8arrays": "3.0.0",
|
|
35
|
-
"@atproto/api": "^0.12.
|
|
35
|
+
"@atproto/api": "^0.12.23",
|
|
36
36
|
"@atproto/common": "^0.4.0",
|
|
37
37
|
"@atproto/crypto": "^0.4.0",
|
|
38
38
|
"@atproto/identity": "^0.4.0",
|
|
39
39
|
"@atproto/lexicon": "^0.4.0",
|
|
40
40
|
"@atproto/syntax": "^0.3.0",
|
|
41
41
|
"@atproto/xrpc": "^0.5.0",
|
|
42
|
-
"@atproto/xrpc-server": "^0.5.
|
|
42
|
+
"@atproto/xrpc-server": "^0.5.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@did-plc/server": "^0.0.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"jest": "^28.1.2",
|
|
53
53
|
"ts-node": "^10.8.2",
|
|
54
54
|
"@atproto/lex-cli": "^0.4.0",
|
|
55
|
-
"@atproto/pds": "^0.4.
|
|
55
|
+
"@atproto/pds": "^0.4.39"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"codegen": "lex gen-server ./src/lexicon ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/*",
|
package/src/api/proxied.ts
CHANGED
|
@@ -158,4 +158,47 @@ export default function (server: Server, ctx: AppContext) {
|
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
})
|
|
161
|
+
|
|
162
|
+
server.app.bsky.graph.getStarterPack({
|
|
163
|
+
auth: ctx.authVerifier.moderator,
|
|
164
|
+
handler: async (request) => {
|
|
165
|
+
const res = await ctx.appviewAgent.api.app.bsky.graph.getStarterPack(
|
|
166
|
+
request.params,
|
|
167
|
+
await ctx.appviewAuth(),
|
|
168
|
+
)
|
|
169
|
+
return {
|
|
170
|
+
encoding: 'application/json',
|
|
171
|
+
body: res.data,
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
})
|
|
175
|
+
|
|
176
|
+
server.app.bsky.graph.getStarterPacks({
|
|
177
|
+
auth: ctx.authVerifier.moderator,
|
|
178
|
+
handler: async (request) => {
|
|
179
|
+
const res = await ctx.appviewAgent.api.app.bsky.graph.getStarterPacks(
|
|
180
|
+
request.params,
|
|
181
|
+
await ctx.appviewAuth(),
|
|
182
|
+
)
|
|
183
|
+
return {
|
|
184
|
+
encoding: 'application/json',
|
|
185
|
+
body: res.data,
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
})
|
|
189
|
+
|
|
190
|
+
server.app.bsky.graph.getActorStarterPacks({
|
|
191
|
+
auth: ctx.authVerifier.moderator,
|
|
192
|
+
handler: async (request) => {
|
|
193
|
+
const res =
|
|
194
|
+
await ctx.appviewAgent.api.app.bsky.graph.getActorStarterPacks(
|
|
195
|
+
request.params,
|
|
196
|
+
await ctx.appviewAuth(),
|
|
197
|
+
)
|
|
198
|
+
return {
|
|
199
|
+
encoding: 'application/json',
|
|
200
|
+
body: res.data,
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
})
|
|
161
204
|
}
|
package/src/lexicon/index.ts
CHANGED
|
@@ -107,6 +107,7 @@ import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggeste
|
|
|
107
107
|
import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'
|
|
108
108
|
import * as AppBskyFeedSearchPosts from './types/app/bsky/feed/searchPosts'
|
|
109
109
|
import * as AppBskyFeedSendInteractions from './types/app/bsky/feed/sendInteractions'
|
|
110
|
+
import * as AppBskyGraphGetActorStarterPacks from './types/app/bsky/graph/getActorStarterPacks'
|
|
110
111
|
import * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks'
|
|
111
112
|
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'
|
|
112
113
|
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'
|
|
@@ -117,6 +118,8 @@ import * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes'
|
|
|
117
118
|
import * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists'
|
|
118
119
|
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes'
|
|
119
120
|
import * as AppBskyGraphGetRelationships from './types/app/bsky/graph/getRelationships'
|
|
121
|
+
import * as AppBskyGraphGetStarterPack from './types/app/bsky/graph/getStarterPack'
|
|
122
|
+
import * as AppBskyGraphGetStarterPacks from './types/app/bsky/graph/getStarterPacks'
|
|
120
123
|
import * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor'
|
|
121
124
|
import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor'
|
|
122
125
|
import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList'
|
|
@@ -194,6 +197,7 @@ export const APP_BSKY_FEED = {
|
|
|
194
197
|
export const APP_BSKY_GRAPH = {
|
|
195
198
|
DefsModlist: 'app.bsky.graph.defs#modlist',
|
|
196
199
|
DefsCuratelist: 'app.bsky.graph.defs#curatelist',
|
|
200
|
+
DefsReferencelist: 'app.bsky.graph.defs#referencelist',
|
|
197
201
|
}
|
|
198
202
|
export const TOOLS_OZONE_MODERATION = {
|
|
199
203
|
DefsReviewOpen: 'tools.ozone.moderation.defs#reviewOpen',
|
|
@@ -1472,6 +1476,17 @@ export class AppBskyGraphNS {
|
|
|
1472
1476
|
this._server = server
|
|
1473
1477
|
}
|
|
1474
1478
|
|
|
1479
|
+
getActorStarterPacks<AV extends AuthVerifier>(
|
|
1480
|
+
cfg: ConfigOf<
|
|
1481
|
+
AV,
|
|
1482
|
+
AppBskyGraphGetActorStarterPacks.Handler<ExtractAuth<AV>>,
|
|
1483
|
+
AppBskyGraphGetActorStarterPacks.HandlerReqCtx<ExtractAuth<AV>>
|
|
1484
|
+
>,
|
|
1485
|
+
) {
|
|
1486
|
+
const nsid = 'app.bsky.graph.getActorStarterPacks' // @ts-ignore
|
|
1487
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1475
1490
|
getBlocks<AV extends AuthVerifier>(
|
|
1476
1491
|
cfg: ConfigOf<
|
|
1477
1492
|
AV,
|
|
@@ -1582,6 +1597,28 @@ export class AppBskyGraphNS {
|
|
|
1582
1597
|
return this._server.xrpc.method(nsid, cfg)
|
|
1583
1598
|
}
|
|
1584
1599
|
|
|
1600
|
+
getStarterPack<AV extends AuthVerifier>(
|
|
1601
|
+
cfg: ConfigOf<
|
|
1602
|
+
AV,
|
|
1603
|
+
AppBskyGraphGetStarterPack.Handler<ExtractAuth<AV>>,
|
|
1604
|
+
AppBskyGraphGetStarterPack.HandlerReqCtx<ExtractAuth<AV>>
|
|
1605
|
+
>,
|
|
1606
|
+
) {
|
|
1607
|
+
const nsid = 'app.bsky.graph.getStarterPack' // @ts-ignore
|
|
1608
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
getStarterPacks<AV extends AuthVerifier>(
|
|
1612
|
+
cfg: ConfigOf<
|
|
1613
|
+
AV,
|
|
1614
|
+
AppBskyGraphGetStarterPacks.Handler<ExtractAuth<AV>>,
|
|
1615
|
+
AppBskyGraphGetStarterPacks.HandlerReqCtx<ExtractAuth<AV>>
|
|
1616
|
+
>,
|
|
1617
|
+
) {
|
|
1618
|
+
const nsid = 'app.bsky.graph.getStarterPacks' // @ts-ignore
|
|
1619
|
+
return this._server.xrpc.method(nsid, cfg)
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1585
1622
|
getSuggestedFollowsByActor<AV extends AuthVerifier>(
|
|
1586
1623
|
cfg: ConfigOf<
|
|
1587
1624
|
AV,
|
package/src/lexicon/lexicons.ts
CHANGED
|
@@ -3343,7 +3343,7 @@ export const schemaDict = {
|
|
|
3343
3343
|
main: {
|
|
3344
3344
|
type: 'query',
|
|
3345
3345
|
description:
|
|
3346
|
-
'List blob
|
|
3346
|
+
'List blob CIDs for an account, since some repo revision. Does not require auth; implemented by PDS.',
|
|
3347
3347
|
parameters: {
|
|
3348
3348
|
type: 'params',
|
|
3349
3349
|
required: ['did'],
|
|
@@ -3939,6 +3939,10 @@ export const schemaDict = {
|
|
|
3939
3939
|
ref: 'lex:com.atproto.label.defs#label',
|
|
3940
3940
|
},
|
|
3941
3941
|
},
|
|
3942
|
+
createdAt: {
|
|
3943
|
+
type: 'string',
|
|
3944
|
+
format: 'datetime',
|
|
3945
|
+
},
|
|
3942
3946
|
},
|
|
3943
3947
|
},
|
|
3944
3948
|
profileView: {
|
|
@@ -3975,6 +3979,10 @@ export const schemaDict = {
|
|
|
3975
3979
|
type: 'string',
|
|
3976
3980
|
format: 'datetime',
|
|
3977
3981
|
},
|
|
3982
|
+
createdAt: {
|
|
3983
|
+
type: 'string',
|
|
3984
|
+
format: 'datetime',
|
|
3985
|
+
},
|
|
3978
3986
|
viewer: {
|
|
3979
3987
|
type: 'ref',
|
|
3980
3988
|
ref: 'lex:app.bsky.actor.defs#viewerState',
|
|
@@ -4031,10 +4039,18 @@ export const schemaDict = {
|
|
|
4031
4039
|
type: 'ref',
|
|
4032
4040
|
ref: 'lex:app.bsky.actor.defs#profileAssociated',
|
|
4033
4041
|
},
|
|
4042
|
+
joinedViaStarterPack: {
|
|
4043
|
+
type: 'ref',
|
|
4044
|
+
ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
|
|
4045
|
+
},
|
|
4034
4046
|
indexedAt: {
|
|
4035
4047
|
type: 'string',
|
|
4036
4048
|
format: 'datetime',
|
|
4037
4049
|
},
|
|
4050
|
+
createdAt: {
|
|
4051
|
+
type: 'string',
|
|
4052
|
+
format: 'datetime',
|
|
4053
|
+
},
|
|
4038
4054
|
viewer: {
|
|
4039
4055
|
type: 'ref',
|
|
4040
4056
|
ref: 'lex:app.bsky.actor.defs#viewerState',
|
|
@@ -4057,6 +4073,9 @@ export const schemaDict = {
|
|
|
4057
4073
|
feedgens: {
|
|
4058
4074
|
type: 'integer',
|
|
4059
4075
|
},
|
|
4076
|
+
starterPacks: {
|
|
4077
|
+
type: 'integer',
|
|
4078
|
+
},
|
|
4060
4079
|
labeler: {
|
|
4061
4080
|
type: 'boolean',
|
|
4062
4081
|
},
|
|
@@ -4147,6 +4166,7 @@ export const schemaDict = {
|
|
|
4147
4166
|
'lex:app.bsky.actor.defs#interestsPref',
|
|
4148
4167
|
'lex:app.bsky.actor.defs#mutedWordsPref',
|
|
4149
4168
|
'lex:app.bsky.actor.defs#hiddenPostsPref',
|
|
4169
|
+
'lex:app.bsky.actor.defs#bskyAppStatePref',
|
|
4150
4170
|
],
|
|
4151
4171
|
},
|
|
4152
4172
|
},
|
|
@@ -4388,6 +4408,39 @@ export const schemaDict = {
|
|
|
4388
4408
|
},
|
|
4389
4409
|
},
|
|
4390
4410
|
},
|
|
4411
|
+
bskyAppStatePref: {
|
|
4412
|
+
description:
|
|
4413
|
+
"A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this.",
|
|
4414
|
+
type: 'object',
|
|
4415
|
+
properties: {
|
|
4416
|
+
activeProgressGuide: {
|
|
4417
|
+
type: 'ref',
|
|
4418
|
+
ref: 'lex:app.bsky.actor.defs#bskyAppProgressGuide',
|
|
4419
|
+
},
|
|
4420
|
+
queuedNudges: {
|
|
4421
|
+
description:
|
|
4422
|
+
'An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user.',
|
|
4423
|
+
type: 'array',
|
|
4424
|
+
maxLength: 1000,
|
|
4425
|
+
items: {
|
|
4426
|
+
type: 'string',
|
|
4427
|
+
maxLength: 100,
|
|
4428
|
+
},
|
|
4429
|
+
},
|
|
4430
|
+
},
|
|
4431
|
+
},
|
|
4432
|
+
bskyAppProgressGuide: {
|
|
4433
|
+
description:
|
|
4434
|
+
'If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress.',
|
|
4435
|
+
type: 'object',
|
|
4436
|
+
required: ['guide'],
|
|
4437
|
+
properties: {
|
|
4438
|
+
guide: {
|
|
4439
|
+
type: 'string',
|
|
4440
|
+
maxLength: 100,
|
|
4441
|
+
},
|
|
4442
|
+
},
|
|
4443
|
+
},
|
|
4391
4444
|
},
|
|
4392
4445
|
},
|
|
4393
4446
|
AppBskyActorGetPreferences: {
|
|
@@ -4573,6 +4626,14 @@ export const schemaDict = {
|
|
|
4573
4626
|
'Self-label values, specific to the Bluesky application, on the overall account.',
|
|
4574
4627
|
refs: ['lex:com.atproto.label.defs#selfLabels'],
|
|
4575
4628
|
},
|
|
4629
|
+
joinedViaStarterPack: {
|
|
4630
|
+
type: 'ref',
|
|
4631
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
4632
|
+
},
|
|
4633
|
+
createdAt: {
|
|
4634
|
+
type: 'string',
|
|
4635
|
+
format: 'datetime',
|
|
4636
|
+
},
|
|
4576
4637
|
},
|
|
4577
4638
|
},
|
|
4578
4639
|
},
|
|
@@ -6792,6 +6853,10 @@ export const schemaDict = {
|
|
|
6792
6853
|
type: 'string',
|
|
6793
6854
|
format: 'uri',
|
|
6794
6855
|
},
|
|
6856
|
+
listItemCount: {
|
|
6857
|
+
type: 'integer',
|
|
6858
|
+
minimum: 0,
|
|
6859
|
+
},
|
|
6795
6860
|
labels: {
|
|
6796
6861
|
type: 'array',
|
|
6797
6862
|
items: {
|
|
@@ -6850,6 +6915,10 @@ export const schemaDict = {
|
|
|
6850
6915
|
type: 'string',
|
|
6851
6916
|
format: 'uri',
|
|
6852
6917
|
},
|
|
6918
|
+
listItemCount: {
|
|
6919
|
+
type: 'integer',
|
|
6920
|
+
minimum: 0,
|
|
6921
|
+
},
|
|
6853
6922
|
labels: {
|
|
6854
6923
|
type: 'array',
|
|
6855
6924
|
items: {
|
|
@@ -6881,11 +6950,116 @@ export const schemaDict = {
|
|
|
6881
6950
|
},
|
|
6882
6951
|
},
|
|
6883
6952
|
},
|
|
6953
|
+
starterPackView: {
|
|
6954
|
+
type: 'object',
|
|
6955
|
+
required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
|
|
6956
|
+
properties: {
|
|
6957
|
+
uri: {
|
|
6958
|
+
type: 'string',
|
|
6959
|
+
format: 'at-uri',
|
|
6960
|
+
},
|
|
6961
|
+
cid: {
|
|
6962
|
+
type: 'string',
|
|
6963
|
+
format: 'cid',
|
|
6964
|
+
},
|
|
6965
|
+
record: {
|
|
6966
|
+
type: 'unknown',
|
|
6967
|
+
},
|
|
6968
|
+
creator: {
|
|
6969
|
+
type: 'ref',
|
|
6970
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
6971
|
+
},
|
|
6972
|
+
list: {
|
|
6973
|
+
type: 'ref',
|
|
6974
|
+
ref: 'lex:app.bsky.graph.defs#listViewBasic',
|
|
6975
|
+
},
|
|
6976
|
+
listItemsSample: {
|
|
6977
|
+
type: 'array',
|
|
6978
|
+
maxLength: 12,
|
|
6979
|
+
items: {
|
|
6980
|
+
type: 'ref',
|
|
6981
|
+
ref: 'lex:app.bsky.graph.defs#listItemView',
|
|
6982
|
+
},
|
|
6983
|
+
},
|
|
6984
|
+
feeds: {
|
|
6985
|
+
type: 'array',
|
|
6986
|
+
maxLength: 3,
|
|
6987
|
+
items: {
|
|
6988
|
+
type: 'ref',
|
|
6989
|
+
ref: 'lex:app.bsky.feed.defs#generatorView',
|
|
6990
|
+
},
|
|
6991
|
+
},
|
|
6992
|
+
joinedWeekCount: {
|
|
6993
|
+
type: 'integer',
|
|
6994
|
+
minimum: 0,
|
|
6995
|
+
},
|
|
6996
|
+
joinedAllTimeCount: {
|
|
6997
|
+
type: 'integer',
|
|
6998
|
+
minimum: 0,
|
|
6999
|
+
},
|
|
7000
|
+
labels: {
|
|
7001
|
+
type: 'array',
|
|
7002
|
+
items: {
|
|
7003
|
+
type: 'ref',
|
|
7004
|
+
ref: 'lex:com.atproto.label.defs#label',
|
|
7005
|
+
},
|
|
7006
|
+
},
|
|
7007
|
+
indexedAt: {
|
|
7008
|
+
type: 'string',
|
|
7009
|
+
format: 'datetime',
|
|
7010
|
+
},
|
|
7011
|
+
},
|
|
7012
|
+
},
|
|
7013
|
+
starterPackViewBasic: {
|
|
7014
|
+
type: 'object',
|
|
7015
|
+
required: ['uri', 'cid', 'record', 'creator', 'indexedAt'],
|
|
7016
|
+
properties: {
|
|
7017
|
+
uri: {
|
|
7018
|
+
type: 'string',
|
|
7019
|
+
format: 'at-uri',
|
|
7020
|
+
},
|
|
7021
|
+
cid: {
|
|
7022
|
+
type: 'string',
|
|
7023
|
+
format: 'cid',
|
|
7024
|
+
},
|
|
7025
|
+
record: {
|
|
7026
|
+
type: 'unknown',
|
|
7027
|
+
},
|
|
7028
|
+
creator: {
|
|
7029
|
+
type: 'ref',
|
|
7030
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
7031
|
+
},
|
|
7032
|
+
listItemCount: {
|
|
7033
|
+
type: 'integer',
|
|
7034
|
+
minimum: 0,
|
|
7035
|
+
},
|
|
7036
|
+
joinedWeekCount: {
|
|
7037
|
+
type: 'integer',
|
|
7038
|
+
minimum: 0,
|
|
7039
|
+
},
|
|
7040
|
+
joinedAllTimeCount: {
|
|
7041
|
+
type: 'integer',
|
|
7042
|
+
minimum: 0,
|
|
7043
|
+
},
|
|
7044
|
+
labels: {
|
|
7045
|
+
type: 'array',
|
|
7046
|
+
items: {
|
|
7047
|
+
type: 'ref',
|
|
7048
|
+
ref: 'lex:com.atproto.label.defs#label',
|
|
7049
|
+
},
|
|
7050
|
+
},
|
|
7051
|
+
indexedAt: {
|
|
7052
|
+
type: 'string',
|
|
7053
|
+
format: 'datetime',
|
|
7054
|
+
},
|
|
7055
|
+
},
|
|
7056
|
+
},
|
|
6884
7057
|
listPurpose: {
|
|
6885
7058
|
type: 'string',
|
|
6886
7059
|
knownValues: [
|
|
6887
7060
|
'app.bsky.graph.defs#modlist',
|
|
6888
7061
|
'app.bsky.graph.defs#curatelist',
|
|
7062
|
+
'app.bsky.graph.defs#referencelist',
|
|
6889
7063
|
],
|
|
6890
7064
|
},
|
|
6891
7065
|
modlist: {
|
|
@@ -6898,6 +7072,11 @@ export const schemaDict = {
|
|
|
6898
7072
|
description:
|
|
6899
7073
|
'A list of actors used for curation purposes such as list feeds or interaction gating.',
|
|
6900
7074
|
},
|
|
7075
|
+
referencelist: {
|
|
7076
|
+
type: 'token',
|
|
7077
|
+
description:
|
|
7078
|
+
'A list of actors used for only for reference purposes such as within a starter pack.',
|
|
7079
|
+
},
|
|
6901
7080
|
listViewerState: {
|
|
6902
7081
|
type: 'object',
|
|
6903
7082
|
properties: {
|
|
@@ -6977,6 +7156,54 @@ export const schemaDict = {
|
|
|
6977
7156
|
},
|
|
6978
7157
|
},
|
|
6979
7158
|
},
|
|
7159
|
+
AppBskyGraphGetActorStarterPacks: {
|
|
7160
|
+
lexicon: 1,
|
|
7161
|
+
id: 'app.bsky.graph.getActorStarterPacks',
|
|
7162
|
+
defs: {
|
|
7163
|
+
main: {
|
|
7164
|
+
type: 'query',
|
|
7165
|
+
description: 'Get a list of starter packs created by the actor.',
|
|
7166
|
+
parameters: {
|
|
7167
|
+
type: 'params',
|
|
7168
|
+
required: ['actor'],
|
|
7169
|
+
properties: {
|
|
7170
|
+
actor: {
|
|
7171
|
+
type: 'string',
|
|
7172
|
+
format: 'at-identifier',
|
|
7173
|
+
},
|
|
7174
|
+
limit: {
|
|
7175
|
+
type: 'integer',
|
|
7176
|
+
minimum: 1,
|
|
7177
|
+
maximum: 100,
|
|
7178
|
+
default: 50,
|
|
7179
|
+
},
|
|
7180
|
+
cursor: {
|
|
7181
|
+
type: 'string',
|
|
7182
|
+
},
|
|
7183
|
+
},
|
|
7184
|
+
},
|
|
7185
|
+
output: {
|
|
7186
|
+
encoding: 'application/json',
|
|
7187
|
+
schema: {
|
|
7188
|
+
type: 'object',
|
|
7189
|
+
required: ['starterPacks'],
|
|
7190
|
+
properties: {
|
|
7191
|
+
cursor: {
|
|
7192
|
+
type: 'string',
|
|
7193
|
+
},
|
|
7194
|
+
starterPacks: {
|
|
7195
|
+
type: 'array',
|
|
7196
|
+
items: {
|
|
7197
|
+
type: 'ref',
|
|
7198
|
+
ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
|
|
7199
|
+
},
|
|
7200
|
+
},
|
|
7201
|
+
},
|
|
7202
|
+
},
|
|
7203
|
+
},
|
|
7204
|
+
},
|
|
7205
|
+
},
|
|
7206
|
+
},
|
|
6980
7207
|
AppBskyGraphGetBlocks: {
|
|
6981
7208
|
lexicon: 1,
|
|
6982
7209
|
id: 'app.bsky.graph.getBlocks',
|
|
@@ -7478,6 +7705,80 @@ export const schemaDict = {
|
|
|
7478
7705
|
},
|
|
7479
7706
|
},
|
|
7480
7707
|
},
|
|
7708
|
+
AppBskyGraphGetStarterPack: {
|
|
7709
|
+
lexicon: 1,
|
|
7710
|
+
id: 'app.bsky.graph.getStarterPack',
|
|
7711
|
+
defs: {
|
|
7712
|
+
main: {
|
|
7713
|
+
type: 'query',
|
|
7714
|
+
description: 'Gets a view of a starter pack.',
|
|
7715
|
+
parameters: {
|
|
7716
|
+
type: 'params',
|
|
7717
|
+
required: ['starterPack'],
|
|
7718
|
+
properties: {
|
|
7719
|
+
starterPack: {
|
|
7720
|
+
type: 'string',
|
|
7721
|
+
format: 'at-uri',
|
|
7722
|
+
description: 'Reference (AT-URI) of the starter pack record.',
|
|
7723
|
+
},
|
|
7724
|
+
},
|
|
7725
|
+
},
|
|
7726
|
+
output: {
|
|
7727
|
+
encoding: 'application/json',
|
|
7728
|
+
schema: {
|
|
7729
|
+
type: 'object',
|
|
7730
|
+
required: ['starterPack'],
|
|
7731
|
+
properties: {
|
|
7732
|
+
starterPack: {
|
|
7733
|
+
type: 'ref',
|
|
7734
|
+
ref: 'lex:app.bsky.graph.defs#starterPackView',
|
|
7735
|
+
},
|
|
7736
|
+
},
|
|
7737
|
+
},
|
|
7738
|
+
},
|
|
7739
|
+
},
|
|
7740
|
+
},
|
|
7741
|
+
},
|
|
7742
|
+
AppBskyGraphGetStarterPacks: {
|
|
7743
|
+
lexicon: 1,
|
|
7744
|
+
id: 'app.bsky.graph.getStarterPacks',
|
|
7745
|
+
defs: {
|
|
7746
|
+
main: {
|
|
7747
|
+
type: 'query',
|
|
7748
|
+
description: 'Get views for a list of starter packs.',
|
|
7749
|
+
parameters: {
|
|
7750
|
+
type: 'params',
|
|
7751
|
+
required: ['uris'],
|
|
7752
|
+
properties: {
|
|
7753
|
+
uris: {
|
|
7754
|
+
type: 'array',
|
|
7755
|
+
items: {
|
|
7756
|
+
type: 'string',
|
|
7757
|
+
format: 'at-uri',
|
|
7758
|
+
},
|
|
7759
|
+
maxLength: 25,
|
|
7760
|
+
},
|
|
7761
|
+
},
|
|
7762
|
+
},
|
|
7763
|
+
output: {
|
|
7764
|
+
encoding: 'application/json',
|
|
7765
|
+
schema: {
|
|
7766
|
+
type: 'object',
|
|
7767
|
+
required: ['starterPacks'],
|
|
7768
|
+
properties: {
|
|
7769
|
+
starterPacks: {
|
|
7770
|
+
type: 'array',
|
|
7771
|
+
items: {
|
|
7772
|
+
type: 'ref',
|
|
7773
|
+
ref: 'lex:app.bsky.graph.defs#starterPackViewBasic',
|
|
7774
|
+
},
|
|
7775
|
+
},
|
|
7776
|
+
},
|
|
7777
|
+
},
|
|
7778
|
+
},
|
|
7779
|
+
},
|
|
7780
|
+
},
|
|
7781
|
+
},
|
|
7481
7782
|
AppBskyGraphGetSuggestedFollowsByActor: {
|
|
7482
7783
|
lexicon: 1,
|
|
7483
7784
|
id: 'app.bsky.graph.getSuggestedFollowsByActor',
|
|
@@ -7702,6 +8003,70 @@ export const schemaDict = {
|
|
|
7702
8003
|
},
|
|
7703
8004
|
},
|
|
7704
8005
|
},
|
|
8006
|
+
AppBskyGraphStarterpack: {
|
|
8007
|
+
lexicon: 1,
|
|
8008
|
+
id: 'app.bsky.graph.starterpack',
|
|
8009
|
+
defs: {
|
|
8010
|
+
main: {
|
|
8011
|
+
type: 'record',
|
|
8012
|
+
description:
|
|
8013
|
+
'Record defining a starter pack of actors and feeds for new users.',
|
|
8014
|
+
key: 'tid',
|
|
8015
|
+
record: {
|
|
8016
|
+
type: 'object',
|
|
8017
|
+
required: ['name', 'list', 'createdAt'],
|
|
8018
|
+
properties: {
|
|
8019
|
+
name: {
|
|
8020
|
+
type: 'string',
|
|
8021
|
+
maxGraphemes: 50,
|
|
8022
|
+
maxLength: 500,
|
|
8023
|
+
minLength: 1,
|
|
8024
|
+
description: 'Display name for starter pack; can not be empty.',
|
|
8025
|
+
},
|
|
8026
|
+
description: {
|
|
8027
|
+
type: 'string',
|
|
8028
|
+
maxGraphemes: 300,
|
|
8029
|
+
maxLength: 3000,
|
|
8030
|
+
},
|
|
8031
|
+
descriptionFacets: {
|
|
8032
|
+
type: 'array',
|
|
8033
|
+
items: {
|
|
8034
|
+
type: 'ref',
|
|
8035
|
+
ref: 'lex:app.bsky.richtext.facet',
|
|
8036
|
+
},
|
|
8037
|
+
},
|
|
8038
|
+
list: {
|
|
8039
|
+
type: 'string',
|
|
8040
|
+
format: 'at-uri',
|
|
8041
|
+
description: 'Reference (AT-URI) to the list record.',
|
|
8042
|
+
},
|
|
8043
|
+
feeds: {
|
|
8044
|
+
type: 'array',
|
|
8045
|
+
maxLength: 3,
|
|
8046
|
+
items: {
|
|
8047
|
+
type: 'ref',
|
|
8048
|
+
ref: 'lex:app.bsky.graph.starterpack#feedItem',
|
|
8049
|
+
},
|
|
8050
|
+
},
|
|
8051
|
+
createdAt: {
|
|
8052
|
+
type: 'string',
|
|
8053
|
+
format: 'datetime',
|
|
8054
|
+
},
|
|
8055
|
+
},
|
|
8056
|
+
},
|
|
8057
|
+
},
|
|
8058
|
+
feedItem: {
|
|
8059
|
+
type: 'object',
|
|
8060
|
+
required: ['uri'],
|
|
8061
|
+
properties: {
|
|
8062
|
+
uri: {
|
|
8063
|
+
type: 'string',
|
|
8064
|
+
format: 'at-uri',
|
|
8065
|
+
},
|
|
8066
|
+
},
|
|
8067
|
+
},
|
|
8068
|
+
},
|
|
8069
|
+
},
|
|
7705
8070
|
AppBskyGraphUnmuteActor: {
|
|
7706
8071
|
lexicon: 1,
|
|
7707
8072
|
id: 'app.bsky.graph.unmuteActor',
|
|
@@ -8072,7 +8437,7 @@ export const schemaDict = {
|
|
|
8072
8437
|
reason: {
|
|
8073
8438
|
type: 'string',
|
|
8074
8439
|
description:
|
|
8075
|
-
"Expected values are 'like', 'repost', 'follow', 'mention', 'reply', and '
|
|
8440
|
+
"Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'.",
|
|
8076
8441
|
knownValues: [
|
|
8077
8442
|
'like',
|
|
8078
8443
|
'repost',
|
|
@@ -8080,6 +8445,7 @@ export const schemaDict = {
|
|
|
8080
8445
|
'mention',
|
|
8081
8446
|
'reply',
|
|
8082
8447
|
'quote',
|
|
8448
|
+
'starterpack-joined',
|
|
8083
8449
|
],
|
|
8084
8450
|
},
|
|
8085
8451
|
reasonSubject: {
|
|
@@ -11131,6 +11497,10 @@ export const schemaDict = {
|
|
|
11131
11497
|
name: 'MemberNotFound',
|
|
11132
11498
|
description: 'The member being deleted does not exist',
|
|
11133
11499
|
},
|
|
11500
|
+
{
|
|
11501
|
+
name: 'CannotDeleteSelf',
|
|
11502
|
+
description: 'You can not delete yourself from the team',
|
|
11503
|
+
},
|
|
11134
11504
|
],
|
|
11135
11505
|
},
|
|
11136
11506
|
},
|
|
@@ -11358,6 +11728,7 @@ export const ids = {
|
|
|
11358
11728
|
AppBskyGraphBlock: 'app.bsky.graph.block',
|
|
11359
11729
|
AppBskyGraphDefs: 'app.bsky.graph.defs',
|
|
11360
11730
|
AppBskyGraphFollow: 'app.bsky.graph.follow',
|
|
11731
|
+
AppBskyGraphGetActorStarterPacks: 'app.bsky.graph.getActorStarterPacks',
|
|
11361
11732
|
AppBskyGraphGetBlocks: 'app.bsky.graph.getBlocks',
|
|
11362
11733
|
AppBskyGraphGetFollowers: 'app.bsky.graph.getFollowers',
|
|
11363
11734
|
AppBskyGraphGetFollows: 'app.bsky.graph.getFollows',
|
|
@@ -11368,6 +11739,8 @@ export const ids = {
|
|
|
11368
11739
|
AppBskyGraphGetLists: 'app.bsky.graph.getLists',
|
|
11369
11740
|
AppBskyGraphGetMutes: 'app.bsky.graph.getMutes',
|
|
11370
11741
|
AppBskyGraphGetRelationships: 'app.bsky.graph.getRelationships',
|
|
11742
|
+
AppBskyGraphGetStarterPack: 'app.bsky.graph.getStarterPack',
|
|
11743
|
+
AppBskyGraphGetStarterPacks: 'app.bsky.graph.getStarterPacks',
|
|
11371
11744
|
AppBskyGraphGetSuggestedFollowsByActor:
|
|
11372
11745
|
'app.bsky.graph.getSuggestedFollowsByActor',
|
|
11373
11746
|
AppBskyGraphList: 'app.bsky.graph.list',
|
|
@@ -11376,6 +11749,7 @@ export const ids = {
|
|
|
11376
11749
|
AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
|
|
11377
11750
|
AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
|
|
11378
11751
|
AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
|
|
11752
|
+
AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
|
|
11379
11753
|
AppBskyGraphUnmuteActor: 'app.bsky.graph.unmuteActor',
|
|
11380
11754
|
AppBskyGraphUnmuteActorList: 'app.bsky.graph.unmuteActorList',
|
|
11381
11755
|
AppBskyGraphUnmuteThread: 'app.bsky.graph.unmuteThread',
|