@atproto/pds 0.4.68 → 0.4.70
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +26 -0
- package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getPostThread.js +11 -6
- package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
- package/dist/config/config.d.ts +1 -0
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js +3 -0
- package/dist/config/config.js.map +1 -1
- package/dist/config/env.d.ts +1 -0
- package/dist/config/env.d.ts.map +1 -1
- package/dist/config/env.js +1 -0
- package/dist/config/env.js.map +1 -1
- package/dist/context.d.ts +2 -2
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +8 -1
- package/dist/context.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 +36 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +396 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +439 -3
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getConfig.d.ts +34 -0
- package/dist/lexicon/types/app/bsky/unspecced/getConfig.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getConfig.js +3 -0
- package/dist/lexicon/types/app/bsky/unspecced/getConfig.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +60 -2
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js +50 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/emitEvent.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +10 -0
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/setting/defs.d.ts +20 -0
- package/dist/lexicon/types/tools/ozone/setting/defs.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/defs.js +15 -0
- package/dist/lexicon/types/tools/ozone/setting/defs.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/listOptions.d.ts +43 -0
- package/dist/lexicon/types/tools/ozone/setting/listOptions.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/listOptions.js +3 -0
- package/dist/lexicon/types/tools/ozone/setting/listOptions.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/removeOptions.d.ts +40 -0
- package/dist/lexicon/types/tools/ozone/setting/removeOptions.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/removeOptions.js +3 -0
- package/dist/lexicon/types/tools/ozone/setting/removeOptions.js.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts +45 -0
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.d.ts.map +1 -0
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.js +3 -0
- package/dist/lexicon/types/tools/ozone/setting/upsertOption.js.map +1 -0
- package/dist/pipethrough.d.ts +0 -1
- package/dist/pipethrough.d.ts.map +1 -1
- package/dist/pipethrough.js +11 -10
- package/dist/pipethrough.js.map +1 -1
- package/example.env +1 -1
- package/package.json +11 -11
- package/src/api/app/bsky/feed/getPostThread.ts +15 -4
- package/src/config/config.ts +5 -0
- package/src/config/env.ts +2 -0
- package/src/context.ts +11 -3
- package/src/lexicon/index.ts +58 -0
- package/src/lexicon/lexicons.ts +449 -3
- package/src/lexicon/types/app/bsky/unspecced/getConfig.ts +43 -0
- package/src/lexicon/types/tools/ozone/moderation/defs.ts +132 -0
- package/src/lexicon/types/tools/ozone/moderation/emitEvent.ts +3 -0
- package/src/lexicon/types/tools/ozone/moderation/queryStatuses.ts +10 -0
- package/src/lexicon/types/tools/ozone/setting/defs.ts +37 -0
- package/src/lexicon/types/tools/ozone/setting/listOptions.ts +53 -0
- package/src/lexicon/types/tools/ozone/setting/removeOptions.ts +49 -0
- package/src/lexicon/types/tools/ozone/setting/upsertOption.ts +58 -0
- package/src/pipethrough.ts +13 -12
- package/tests/proxied/__snapshots__/admin.test.ts.snap +12 -0
- package/tests/proxied/proxy-catchall.test.ts +1 -1
- package/tests/proxied/read-after-write.test.ts +20 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
@@ -1300,7 +1300,7 @@ exports.schemaDict = {
|
|
1300
1300
|
},
|
1301
1301
|
rkey: {
|
1302
1302
|
type: 'string',
|
1303
|
-
maxLength:
|
1303
|
+
maxLength: 512,
|
1304
1304
|
},
|
1305
1305
|
value: {
|
1306
1306
|
type: 'unknown',
|
@@ -1407,7 +1407,7 @@ exports.schemaDict = {
|
|
1407
1407
|
rkey: {
|
1408
1408
|
type: 'string',
|
1409
1409
|
description: 'The Record Key.',
|
1410
|
-
maxLength:
|
1410
|
+
maxLength: 512,
|
1411
1411
|
},
|
1412
1412
|
validate: {
|
1413
1413
|
type: 'boolean',
|
@@ -1839,7 +1839,7 @@ exports.schemaDict = {
|
|
1839
1839
|
rkey: {
|
1840
1840
|
type: 'string',
|
1841
1841
|
description: 'The Record Key.',
|
1842
|
-
maxLength:
|
1842
|
+
maxLength: 512,
|
1843
1843
|
},
|
1844
1844
|
validate: {
|
1845
1845
|
type: 'boolean',
|
@@ -8886,6 +8886,28 @@ exports.schemaDict = {
|
|
8886
8886
|
},
|
8887
8887
|
},
|
8888
8888
|
},
|
8889
|
+
AppBskyUnspeccedGetConfig: {
|
8890
|
+
lexicon: 1,
|
8891
|
+
id: 'app.bsky.unspecced.getConfig',
|
8892
|
+
defs: {
|
8893
|
+
main: {
|
8894
|
+
type: 'query',
|
8895
|
+
description: 'Get miscellaneous runtime configuration.',
|
8896
|
+
output: {
|
8897
|
+
encoding: 'application/json',
|
8898
|
+
schema: {
|
8899
|
+
type: 'object',
|
8900
|
+
required: [],
|
8901
|
+
properties: {
|
8902
|
+
checkEmailConfirmed: {
|
8903
|
+
type: 'boolean',
|
8904
|
+
},
|
8905
|
+
},
|
8906
|
+
},
|
8907
|
+
},
|
8908
|
+
},
|
8909
|
+
},
|
8910
|
+
},
|
8889
8911
|
AppBskyUnspeccedGetPopularFeedGenerators: {
|
8890
8912
|
lexicon: 1,
|
8891
8913
|
id: 'app.bsky.unspecced.getPopularFeedGenerators',
|
@@ -10501,6 +10523,9 @@ exports.schemaDict = {
|
|
10501
10523
|
'lex:tools.ozone.moderation.defs#modEventResolveAppeal',
|
10502
10524
|
'lex:tools.ozone.moderation.defs#modEventDivert',
|
10503
10525
|
'lex:tools.ozone.moderation.defs#modEventTag',
|
10526
|
+
'lex:tools.ozone.moderation.defs#accountEvent',
|
10527
|
+
'lex:tools.ozone.moderation.defs#identityEvent',
|
10528
|
+
'lex:tools.ozone.moderation.defs#recordEvent',
|
10504
10529
|
],
|
10505
10530
|
},
|
10506
10531
|
subject: {
|
@@ -10565,6 +10590,9 @@ exports.schemaDict = {
|
|
10565
10590
|
'lex:tools.ozone.moderation.defs#modEventResolveAppeal',
|
10566
10591
|
'lex:tools.ozone.moderation.defs#modEventDivert',
|
10567
10592
|
'lex:tools.ozone.moderation.defs#modEventTag',
|
10593
|
+
'lex:tools.ozone.moderation.defs#accountEvent',
|
10594
|
+
'lex:tools.ozone.moderation.defs#identityEvent',
|
10595
|
+
'lex:tools.ozone.moderation.defs#recordEvent',
|
10568
10596
|
],
|
10569
10597
|
},
|
10570
10598
|
subject: {
|
@@ -10607,6 +10635,13 @@ exports.schemaDict = {
|
|
10607
10635
|
'lex:com.atproto.repo.strongRef',
|
10608
10636
|
],
|
10609
10637
|
},
|
10638
|
+
hosting: {
|
10639
|
+
type: 'union',
|
10640
|
+
refs: [
|
10641
|
+
'lex:tools.ozone.moderation.defs#accountHosting',
|
10642
|
+
'lex:tools.ozone.moderation.defs#recordHosting',
|
10643
|
+
],
|
10644
|
+
},
|
10610
10645
|
subjectBlobCids: {
|
10611
10646
|
type: 'array',
|
10612
10647
|
items: {
|
@@ -10912,6 +10947,82 @@ exports.schemaDict = {
|
|
10912
10947
|
},
|
10913
10948
|
},
|
10914
10949
|
},
|
10950
|
+
accountEvent: {
|
10951
|
+
type: 'object',
|
10952
|
+
description: 'Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.',
|
10953
|
+
required: ['timestamp', 'active'],
|
10954
|
+
properties: {
|
10955
|
+
comment: {
|
10956
|
+
type: 'string',
|
10957
|
+
},
|
10958
|
+
active: {
|
10959
|
+
type: 'boolean',
|
10960
|
+
description: 'Indicates that the account has a repository which can be fetched from the host that emitted this event.',
|
10961
|
+
},
|
10962
|
+
status: {
|
10963
|
+
type: 'string',
|
10964
|
+
knownValues: [
|
10965
|
+
'unknown',
|
10966
|
+
'deactivated',
|
10967
|
+
'deleted',
|
10968
|
+
'takendown',
|
10969
|
+
'suspended',
|
10970
|
+
'tombstoned',
|
10971
|
+
],
|
10972
|
+
},
|
10973
|
+
timestamp: {
|
10974
|
+
type: 'string',
|
10975
|
+
format: 'datetime',
|
10976
|
+
},
|
10977
|
+
},
|
10978
|
+
},
|
10979
|
+
identityEvent: {
|
10980
|
+
type: 'object',
|
10981
|
+
description: 'Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.',
|
10982
|
+
required: ['timestamp'],
|
10983
|
+
properties: {
|
10984
|
+
comment: {
|
10985
|
+
type: 'string',
|
10986
|
+
},
|
10987
|
+
handle: {
|
10988
|
+
type: 'string',
|
10989
|
+
format: 'handle',
|
10990
|
+
},
|
10991
|
+
pdsHost: {
|
10992
|
+
type: 'string',
|
10993
|
+
format: 'uri',
|
10994
|
+
},
|
10995
|
+
tombstone: {
|
10996
|
+
type: 'boolean',
|
10997
|
+
},
|
10998
|
+
timestamp: {
|
10999
|
+
type: 'string',
|
11000
|
+
format: 'datetime',
|
11001
|
+
},
|
11002
|
+
},
|
11003
|
+
},
|
11004
|
+
recordEvent: {
|
11005
|
+
type: 'object',
|
11006
|
+
description: 'Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.',
|
11007
|
+
required: ['timestamp', 'op'],
|
11008
|
+
properties: {
|
11009
|
+
comment: {
|
11010
|
+
type: 'string',
|
11011
|
+
},
|
11012
|
+
op: {
|
11013
|
+
type: 'string',
|
11014
|
+
knownValues: ['create', 'update', 'delete'],
|
11015
|
+
},
|
11016
|
+
cid: {
|
11017
|
+
type: 'string',
|
11018
|
+
format: 'cid',
|
11019
|
+
},
|
11020
|
+
timestamp: {
|
11021
|
+
type: 'string',
|
11022
|
+
format: 'datetime',
|
11023
|
+
},
|
11024
|
+
},
|
11025
|
+
},
|
10915
11026
|
repoView: {
|
10916
11027
|
type: 'object',
|
10917
11028
|
required: [
|
@@ -10961,6 +11072,13 @@ exports.schemaDict = {
|
|
10961
11072
|
type: 'string',
|
10962
11073
|
format: 'datetime',
|
10963
11074
|
},
|
11075
|
+
threatSignatures: {
|
11076
|
+
type: 'array',
|
11077
|
+
items: {
|
11078
|
+
type: 'ref',
|
11079
|
+
ref: 'lex:com.atproto.admin.defs#threatSignature',
|
11080
|
+
},
|
11081
|
+
},
|
10964
11082
|
},
|
10965
11083
|
},
|
10966
11084
|
repoViewDetail: {
|
@@ -11030,6 +11148,13 @@ exports.schemaDict = {
|
|
11030
11148
|
type: 'string',
|
11031
11149
|
format: 'datetime',
|
11032
11150
|
},
|
11151
|
+
threatSignatures: {
|
11152
|
+
type: 'array',
|
11153
|
+
items: {
|
11154
|
+
type: 'ref',
|
11155
|
+
ref: 'lex:com.atproto.admin.defs#threatSignature',
|
11156
|
+
},
|
11157
|
+
},
|
11033
11158
|
},
|
11034
11159
|
},
|
11035
11160
|
repoViewNotFound: {
|
@@ -11223,6 +11348,64 @@ exports.schemaDict = {
|
|
11223
11348
|
},
|
11224
11349
|
},
|
11225
11350
|
},
|
11351
|
+
accountHosting: {
|
11352
|
+
type: 'object',
|
11353
|
+
required: ['status'],
|
11354
|
+
properties: {
|
11355
|
+
status: {
|
11356
|
+
type: 'string',
|
11357
|
+
knownValues: [
|
11358
|
+
'takendown',
|
11359
|
+
'suspended',
|
11360
|
+
'deleted',
|
11361
|
+
'deactivated',
|
11362
|
+
'unknown',
|
11363
|
+
],
|
11364
|
+
},
|
11365
|
+
updatedAt: {
|
11366
|
+
type: 'string',
|
11367
|
+
format: 'datetime',
|
11368
|
+
},
|
11369
|
+
createdAt: {
|
11370
|
+
type: 'string',
|
11371
|
+
format: 'datetime',
|
11372
|
+
},
|
11373
|
+
deletedAt: {
|
11374
|
+
type: 'string',
|
11375
|
+
format: 'datetime',
|
11376
|
+
},
|
11377
|
+
deactivatedAt: {
|
11378
|
+
type: 'string',
|
11379
|
+
format: 'datetime',
|
11380
|
+
},
|
11381
|
+
reactivatedAt: {
|
11382
|
+
type: 'string',
|
11383
|
+
format: 'datetime',
|
11384
|
+
},
|
11385
|
+
},
|
11386
|
+
},
|
11387
|
+
recordHosting: {
|
11388
|
+
type: 'object',
|
11389
|
+
required: ['status'],
|
11390
|
+
properties: {
|
11391
|
+
status: {
|
11392
|
+
type: 'string',
|
11393
|
+
knownValues: ['deleted', 'unknown'],
|
11394
|
+
},
|
11395
|
+
updatedAt: {
|
11396
|
+
type: 'string',
|
11397
|
+
format: 'datetime',
|
11398
|
+
},
|
11399
|
+
createdAt: {
|
11400
|
+
type: 'string',
|
11401
|
+
format: 'datetime',
|
11402
|
+
},
|
11403
|
+
deletedAt: {
|
11404
|
+
type: 'string',
|
11405
|
+
format: 'datetime',
|
11406
|
+
},
|
11407
|
+
},
|
11408
|
+
},
|
11226
11409
|
},
|
11227
11410
|
},
|
11228
11411
|
ToolsOzoneModerationEmitEvent: {
|
@@ -11255,6 +11438,9 @@ exports.schemaDict = {
|
|
11255
11438
|
'lex:tools.ozone.moderation.defs#modEventResolveAppeal',
|
11256
11439
|
'lex:tools.ozone.moderation.defs#modEventEmail',
|
11257
11440
|
'lex:tools.ozone.moderation.defs#modEventTag',
|
11441
|
+
'lex:tools.ozone.moderation.defs#accountEvent',
|
11442
|
+
'lex:tools.ozone.moderation.defs#identityEvent',
|
11443
|
+
'lex:tools.ozone.moderation.defs#recordEvent',
|
11258
11444
|
],
|
11259
11445
|
},
|
11260
11446
|
subject: {
|
@@ -11646,6 +11832,33 @@ exports.schemaDict = {
|
|
11646
11832
|
format: 'datetime',
|
11647
11833
|
description: 'Search subjects reviewed after a given timestamp',
|
11648
11834
|
},
|
11835
|
+
hostingDeletedAfter: {
|
11836
|
+
type: 'string',
|
11837
|
+
format: 'datetime',
|
11838
|
+
description: 'Search subjects where the associated record/account was deleted after a given timestamp',
|
11839
|
+
},
|
11840
|
+
hostingDeletedBefore: {
|
11841
|
+
type: 'string',
|
11842
|
+
format: 'datetime',
|
11843
|
+
description: 'Search subjects where the associated record/account was deleted before a given timestamp',
|
11844
|
+
},
|
11845
|
+
hostingUpdatedAfter: {
|
11846
|
+
type: 'string',
|
11847
|
+
format: 'datetime',
|
11848
|
+
description: 'Search subjects where the associated record/account was updated after a given timestamp',
|
11849
|
+
},
|
11850
|
+
hostingUpdatedBefore: {
|
11851
|
+
type: 'string',
|
11852
|
+
format: 'datetime',
|
11853
|
+
description: 'Search subjects where the associated record/account was updated before a given timestamp',
|
11854
|
+
},
|
11855
|
+
hostingStatuses: {
|
11856
|
+
type: 'array',
|
11857
|
+
items: {
|
11858
|
+
type: 'string',
|
11859
|
+
},
|
11860
|
+
description: 'Search subjects by the status of the associated record/account',
|
11861
|
+
},
|
11649
11862
|
reviewedBefore: {
|
11650
11863
|
type: 'string',
|
11651
11864
|
format: 'datetime',
|
@@ -12153,6 +12366,224 @@ exports.schemaDict = {
|
|
12153
12366
|
},
|
12154
12367
|
},
|
12155
12368
|
},
|
12369
|
+
ToolsOzoneSettingDefs: {
|
12370
|
+
lexicon: 1,
|
12371
|
+
id: 'tools.ozone.setting.defs',
|
12372
|
+
defs: {
|
12373
|
+
option: {
|
12374
|
+
type: 'object',
|
12375
|
+
required: [
|
12376
|
+
'key',
|
12377
|
+
'value',
|
12378
|
+
'did',
|
12379
|
+
'scope',
|
12380
|
+
'createdBy',
|
12381
|
+
'lastUpdatedBy',
|
12382
|
+
],
|
12383
|
+
properties: {
|
12384
|
+
key: {
|
12385
|
+
type: 'string',
|
12386
|
+
format: 'nsid',
|
12387
|
+
},
|
12388
|
+
did: {
|
12389
|
+
type: 'string',
|
12390
|
+
format: 'did',
|
12391
|
+
},
|
12392
|
+
value: {
|
12393
|
+
type: 'unknown',
|
12394
|
+
},
|
12395
|
+
description: {
|
12396
|
+
type: 'string',
|
12397
|
+
maxGraphemes: 1024,
|
12398
|
+
maxLength: 10240,
|
12399
|
+
},
|
12400
|
+
createdAt: {
|
12401
|
+
type: 'string',
|
12402
|
+
format: 'datetime',
|
12403
|
+
},
|
12404
|
+
updatedAt: {
|
12405
|
+
type: 'string',
|
12406
|
+
format: 'datetime',
|
12407
|
+
},
|
12408
|
+
managerRole: {
|
12409
|
+
type: 'string',
|
12410
|
+
knownValues: [
|
12411
|
+
'tools.ozone.team.defs#roleModerator',
|
12412
|
+
'tools.ozone.team.defs#roleTriage',
|
12413
|
+
'tools.ozone.team.defs#roleAdmin',
|
12414
|
+
],
|
12415
|
+
},
|
12416
|
+
scope: {
|
12417
|
+
type: 'string',
|
12418
|
+
knownValues: ['instance', 'personal'],
|
12419
|
+
},
|
12420
|
+
createdBy: {
|
12421
|
+
type: 'string',
|
12422
|
+
format: 'did',
|
12423
|
+
},
|
12424
|
+
lastUpdatedBy: {
|
12425
|
+
type: 'string',
|
12426
|
+
format: 'did',
|
12427
|
+
},
|
12428
|
+
},
|
12429
|
+
},
|
12430
|
+
},
|
12431
|
+
},
|
12432
|
+
ToolsOzoneSettingListOptions: {
|
12433
|
+
lexicon: 1,
|
12434
|
+
id: 'tools.ozone.setting.listOptions',
|
12435
|
+
defs: {
|
12436
|
+
main: {
|
12437
|
+
type: 'query',
|
12438
|
+
description: 'List settings with optional filtering',
|
12439
|
+
parameters: {
|
12440
|
+
type: 'params',
|
12441
|
+
properties: {
|
12442
|
+
limit: {
|
12443
|
+
type: 'integer',
|
12444
|
+
minimum: 1,
|
12445
|
+
maximum: 100,
|
12446
|
+
default: 50,
|
12447
|
+
},
|
12448
|
+
cursor: {
|
12449
|
+
type: 'string',
|
12450
|
+
},
|
12451
|
+
scope: {
|
12452
|
+
type: 'string',
|
12453
|
+
knownValues: ['instance', 'personal'],
|
12454
|
+
default: 'instance',
|
12455
|
+
},
|
12456
|
+
prefix: {
|
12457
|
+
type: 'string',
|
12458
|
+
description: 'Filter keys by prefix',
|
12459
|
+
},
|
12460
|
+
keys: {
|
12461
|
+
type: 'array',
|
12462
|
+
maxLength: 100,
|
12463
|
+
items: {
|
12464
|
+
type: 'string',
|
12465
|
+
format: 'nsid',
|
12466
|
+
},
|
12467
|
+
description: 'Filter for only the specified keys. Ignored if prefix is provided',
|
12468
|
+
},
|
12469
|
+
},
|
12470
|
+
},
|
12471
|
+
output: {
|
12472
|
+
encoding: 'application/json',
|
12473
|
+
schema: {
|
12474
|
+
type: 'object',
|
12475
|
+
required: ['options'],
|
12476
|
+
properties: {
|
12477
|
+
cursor: {
|
12478
|
+
type: 'string',
|
12479
|
+
},
|
12480
|
+
options: {
|
12481
|
+
type: 'array',
|
12482
|
+
items: {
|
12483
|
+
type: 'ref',
|
12484
|
+
ref: 'lex:tools.ozone.setting.defs#option',
|
12485
|
+
},
|
12486
|
+
},
|
12487
|
+
},
|
12488
|
+
},
|
12489
|
+
},
|
12490
|
+
},
|
12491
|
+
},
|
12492
|
+
},
|
12493
|
+
ToolsOzoneSettingRemoveOptions: {
|
12494
|
+
lexicon: 1,
|
12495
|
+
id: 'tools.ozone.setting.removeOptions',
|
12496
|
+
defs: {
|
12497
|
+
main: {
|
12498
|
+
type: 'procedure',
|
12499
|
+
description: 'Delete settings by key',
|
12500
|
+
input: {
|
12501
|
+
encoding: 'application/json',
|
12502
|
+
schema: {
|
12503
|
+
type: 'object',
|
12504
|
+
required: ['keys', 'scope'],
|
12505
|
+
properties: {
|
12506
|
+
keys: {
|
12507
|
+
type: 'array',
|
12508
|
+
minLength: 1,
|
12509
|
+
maxLength: 200,
|
12510
|
+
items: {
|
12511
|
+
type: 'string',
|
12512
|
+
format: 'nsid',
|
12513
|
+
},
|
12514
|
+
},
|
12515
|
+
scope: {
|
12516
|
+
type: 'string',
|
12517
|
+
knownValues: ['instance', 'personal'],
|
12518
|
+
},
|
12519
|
+
},
|
12520
|
+
},
|
12521
|
+
},
|
12522
|
+
output: {
|
12523
|
+
encoding: 'application/json',
|
12524
|
+
schema: {
|
12525
|
+
type: 'object',
|
12526
|
+
properties: {},
|
12527
|
+
},
|
12528
|
+
},
|
12529
|
+
},
|
12530
|
+
},
|
12531
|
+
},
|
12532
|
+
ToolsOzoneSettingUpsertOption: {
|
12533
|
+
lexicon: 1,
|
12534
|
+
id: 'tools.ozone.setting.upsertOption',
|
12535
|
+
defs: {
|
12536
|
+
main: {
|
12537
|
+
type: 'procedure',
|
12538
|
+
description: 'Create or update setting option',
|
12539
|
+
input: {
|
12540
|
+
encoding: 'application/json',
|
12541
|
+
schema: {
|
12542
|
+
type: 'object',
|
12543
|
+
required: ['key', 'scope', 'value'],
|
12544
|
+
properties: {
|
12545
|
+
key: {
|
12546
|
+
type: 'string',
|
12547
|
+
format: 'nsid',
|
12548
|
+
},
|
12549
|
+
scope: {
|
12550
|
+
type: 'string',
|
12551
|
+
knownValues: ['instance', 'personal'],
|
12552
|
+
},
|
12553
|
+
value: {
|
12554
|
+
type: 'unknown',
|
12555
|
+
},
|
12556
|
+
description: {
|
12557
|
+
type: 'string',
|
12558
|
+
maxLength: 2000,
|
12559
|
+
},
|
12560
|
+
managerRole: {
|
12561
|
+
type: 'string',
|
12562
|
+
knownValues: [
|
12563
|
+
'tools.ozone.team.defs#roleModerator',
|
12564
|
+
'tools.ozone.team.defs#roleTriage',
|
12565
|
+
'tools.ozone.team.defs#roleAdmin',
|
12566
|
+
],
|
12567
|
+
},
|
12568
|
+
},
|
12569
|
+
},
|
12570
|
+
},
|
12571
|
+
output: {
|
12572
|
+
encoding: 'application/json',
|
12573
|
+
schema: {
|
12574
|
+
type: 'object',
|
12575
|
+
required: ['option'],
|
12576
|
+
properties: {
|
12577
|
+
option: {
|
12578
|
+
type: 'ref',
|
12579
|
+
ref: 'lex:tools.ozone.setting.defs#option',
|
12580
|
+
},
|
12581
|
+
},
|
12582
|
+
},
|
12583
|
+
},
|
12584
|
+
},
|
12585
|
+
},
|
12586
|
+
},
|
12156
12587
|
ToolsOzoneSignatureDefs: {
|
12157
12588
|
lexicon: 1,
|
12158
12589
|
id: 'tools.ozone.signature.defs',
|
@@ -12707,6 +13138,7 @@ exports.ids = {
|
|
12707
13138
|
AppBskyNotificationUpdateSeen: 'app.bsky.notification.updateSeen',
|
12708
13139
|
AppBskyRichtextFacet: 'app.bsky.richtext.facet',
|
12709
13140
|
AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
|
13141
|
+
AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
|
12710
13142
|
AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
|
12711
13143
|
AppBskyUnspeccedGetSuggestionsSkeleton: 'app.bsky.unspecced.getSuggestionsSkeleton',
|
12712
13144
|
AppBskyUnspeccedGetTaggedSuggestions: 'app.bsky.unspecced.getTaggedSuggestions',
|
@@ -12759,6 +13191,10 @@ exports.ids = {
|
|
12759
13191
|
ToolsOzoneSetGetValues: 'tools.ozone.set.getValues',
|
12760
13192
|
ToolsOzoneSetQuerySets: 'tools.ozone.set.querySets',
|
12761
13193
|
ToolsOzoneSetUpsertSet: 'tools.ozone.set.upsertSet',
|
13194
|
+
ToolsOzoneSettingDefs: 'tools.ozone.setting.defs',
|
13195
|
+
ToolsOzoneSettingListOptions: 'tools.ozone.setting.listOptions',
|
13196
|
+
ToolsOzoneSettingRemoveOptions: 'tools.ozone.setting.removeOptions',
|
13197
|
+
ToolsOzoneSettingUpsertOption: 'tools.ozone.setting.upsertOption',
|
12762
13198
|
ToolsOzoneSignatureDefs: 'tools.ozone.signature.defs',
|
12763
13199
|
ToolsOzoneSignatureFindCorrelation: 'tools.ozone.signature.findCorrelation',
|
12764
13200
|
ToolsOzoneSignatureFindRelatedAccounts: 'tools.ozone.signature.findRelatedAccounts',
|