@atproto/api 0.20.41 → 0.20.44
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 +39 -0
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +10 -3
- package/dist/agent.js.map +1 -1
- package/dist/client/index.d.ts +31 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +40 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +196 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +100 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +2 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts +9 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js +7 -0
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/graph/defs.d.ts +4 -0
- package/dist/client/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/client/types/app/bsky/graph/referencelistoptout.d.ts +15 -0
- package/dist/client/types/app/bsky/graph/referencelistoptout.d.ts.map +1 -0
- package/dist/client/types/app/bsky/graph/referencelistoptout.js +18 -0
- package/dist/client/types/app/bsky/graph/referencelistoptout.js.map +1 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.d.ts +23 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.d.ts.map +1 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.js +14 -0
- package/dist/client/types/tools/ozone/moderation/getAccountPreferences.js.map +1 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +7 -7
package/dist/client/lexicons.js
CHANGED
|
@@ -626,6 +626,11 @@ export const schemaDict = {
|
|
|
626
626
|
type: 'object',
|
|
627
627
|
required: ['tags'],
|
|
628
628
|
properties: {
|
|
629
|
+
updatedAt: {
|
|
630
|
+
type: 'string',
|
|
631
|
+
format: 'datetime',
|
|
632
|
+
description: 'The timestamp when the account owner last updated their interests.',
|
|
633
|
+
},
|
|
629
634
|
tags: {
|
|
630
635
|
type: 'array',
|
|
631
636
|
maxLength: 100,
|
|
@@ -3422,6 +3427,30 @@ export const schemaDict = {
|
|
|
3422
3427
|
pinned: {
|
|
3423
3428
|
type: 'boolean',
|
|
3424
3429
|
},
|
|
3430
|
+
knownLikers: {
|
|
3431
|
+
description: 'This property is present only in selected cases, as an optimization.',
|
|
3432
|
+
type: 'ref',
|
|
3433
|
+
ref: 'lex:app.bsky.feed.defs#knownLikers',
|
|
3434
|
+
},
|
|
3435
|
+
},
|
|
3436
|
+
},
|
|
3437
|
+
knownLikers: {
|
|
3438
|
+
type: 'object',
|
|
3439
|
+
description: "The post's likers whom you also follow",
|
|
3440
|
+
required: ['count', 'actors'],
|
|
3441
|
+
properties: {
|
|
3442
|
+
count: {
|
|
3443
|
+
type: 'integer',
|
|
3444
|
+
},
|
|
3445
|
+
actors: {
|
|
3446
|
+
type: 'array',
|
|
3447
|
+
minLength: 0,
|
|
3448
|
+
maxLength: 5,
|
|
3449
|
+
items: {
|
|
3450
|
+
type: 'ref',
|
|
3451
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
3452
|
+
},
|
|
3453
|
+
},
|
|
3425
3454
|
},
|
|
3426
3455
|
},
|
|
3427
3456
|
threadContext: {
|
|
@@ -5603,6 +5632,11 @@ export const schemaDict = {
|
|
|
5603
5632
|
type: 'ref',
|
|
5604
5633
|
ref: 'lex:app.bsky.actor.defs#profileView',
|
|
5605
5634
|
},
|
|
5635
|
+
subjectOptedOut: {
|
|
5636
|
+
type: 'boolean',
|
|
5637
|
+
const: true,
|
|
5638
|
+
description: 'Set to true when the subject has opted out of appearing in the reference list. Only set when the viewer owns the list.',
|
|
5639
|
+
},
|
|
5606
5640
|
},
|
|
5607
5641
|
},
|
|
5608
5642
|
starterPackView: {
|
|
@@ -5739,6 +5773,11 @@ export const schemaDict = {
|
|
|
5739
5773
|
type: 'string',
|
|
5740
5774
|
format: 'at-uri',
|
|
5741
5775
|
},
|
|
5776
|
+
referenceListOptOut: {
|
|
5777
|
+
type: 'string',
|
|
5778
|
+
format: 'at-uri',
|
|
5779
|
+
description: "The authenticated viewer's app.bsky.graph.referencelistoptout record URI for this reference list. Only set for reference lists. A client can delete this record to undo the opt-out.",
|
|
5780
|
+
},
|
|
5742
5781
|
},
|
|
5743
5782
|
},
|
|
5744
5783
|
notFoundActor: {
|
|
@@ -6827,6 +6866,32 @@ export const schemaDict = {
|
|
|
6827
6866
|
},
|
|
6828
6867
|
},
|
|
6829
6868
|
},
|
|
6869
|
+
AppBskyGraphReferencelistoptout: {
|
|
6870
|
+
lexicon: 1,
|
|
6871
|
+
id: 'app.bsky.graph.referencelistoptout',
|
|
6872
|
+
defs: {
|
|
6873
|
+
main: {
|
|
6874
|
+
type: 'record',
|
|
6875
|
+
description: "Record requesting that its author be omitted from the public presentation of a reference list. This record is only enforced when the subject list's current purpose is app.bsky.graph.defs#referencelist. AppView indexes at most one record per actor and list pair, and ignores duplicate records.",
|
|
6876
|
+
key: 'tid',
|
|
6877
|
+
record: {
|
|
6878
|
+
type: 'object',
|
|
6879
|
+
required: ['subject', 'createdAt'],
|
|
6880
|
+
properties: {
|
|
6881
|
+
subject: {
|
|
6882
|
+
type: 'string',
|
|
6883
|
+
format: 'at-uri',
|
|
6884
|
+
description: 'Canonical, DID-based AT URI of the app.bsky.graph.list record from which the author requests omission.',
|
|
6885
|
+
},
|
|
6886
|
+
createdAt: {
|
|
6887
|
+
type: 'string',
|
|
6888
|
+
format: 'datetime',
|
|
6889
|
+
},
|
|
6890
|
+
},
|
|
6891
|
+
},
|
|
6892
|
+
},
|
|
6893
|
+
},
|
|
6894
|
+
},
|
|
6830
6895
|
AppBskyGraphSearchStarterPacks: {
|
|
6831
6896
|
lexicon: 1,
|
|
6832
6897
|
id: 'app.bsky.graph.searchStarterPacks',
|
|
@@ -21656,6 +21721,39 @@ export const schemaDict = {
|
|
|
21656
21721
|
},
|
|
21657
21722
|
},
|
|
21658
21723
|
},
|
|
21724
|
+
ToolsOzoneModerationGetAccountPreferences: {
|
|
21725
|
+
lexicon: 1,
|
|
21726
|
+
id: 'tools.ozone.moderation.getAccountPreferences',
|
|
21727
|
+
defs: {
|
|
21728
|
+
main: {
|
|
21729
|
+
type: 'query',
|
|
21730
|
+
description: 'Get private preferences for an account. Requires moderator or admin auth.',
|
|
21731
|
+
parameters: {
|
|
21732
|
+
type: 'params',
|
|
21733
|
+
required: ['did'],
|
|
21734
|
+
properties: {
|
|
21735
|
+
did: {
|
|
21736
|
+
type: 'string',
|
|
21737
|
+
format: 'did',
|
|
21738
|
+
},
|
|
21739
|
+
},
|
|
21740
|
+
},
|
|
21741
|
+
output: {
|
|
21742
|
+
encoding: 'application/json',
|
|
21743
|
+
schema: {
|
|
21744
|
+
type: 'object',
|
|
21745
|
+
required: ['preferences'],
|
|
21746
|
+
properties: {
|
|
21747
|
+
preferences: {
|
|
21748
|
+
type: 'ref',
|
|
21749
|
+
ref: 'lex:app.bsky.actor.defs#preferences',
|
|
21750
|
+
},
|
|
21751
|
+
},
|
|
21752
|
+
},
|
|
21753
|
+
},
|
|
21754
|
+
},
|
|
21755
|
+
},
|
|
21756
|
+
},
|
|
21659
21757
|
ToolsOzoneModerationGetAccountTimeline: {
|
|
21660
21758
|
lexicon: 1,
|
|
21661
21759
|
id: 'tools.ozone.moderation.getAccountTimeline',
|
|
@@ -26556,6 +26654,7 @@ export const ids = {
|
|
|
26556
26654
|
AppBskyGraphMuteActor: 'app.bsky.graph.muteActor',
|
|
26557
26655
|
AppBskyGraphMuteActorList: 'app.bsky.graph.muteActorList',
|
|
26558
26656
|
AppBskyGraphMuteThread: 'app.bsky.graph.muteThread',
|
|
26657
|
+
AppBskyGraphReferencelistoptout: 'app.bsky.graph.referencelistoptout',
|
|
26559
26658
|
AppBskyGraphSearchStarterPacks: 'app.bsky.graph.searchStarterPacks',
|
|
26560
26659
|
AppBskyGraphSearchStarterPacksV2: 'app.bsky.graph.searchStarterPacksV2',
|
|
26561
26660
|
AppBskyGraphStarterpack: 'app.bsky.graph.starterpack',
|
|
@@ -26781,6 +26880,7 @@ export const ids = {
|
|
|
26781
26880
|
ToolsOzoneModerationCancelScheduledActions: 'tools.ozone.moderation.cancelScheduledActions',
|
|
26782
26881
|
ToolsOzoneModerationDefs: 'tools.ozone.moderation.defs',
|
|
26783
26882
|
ToolsOzoneModerationEmitEvent: 'tools.ozone.moderation.emitEvent',
|
|
26883
|
+
ToolsOzoneModerationGetAccountPreferences: 'tools.ozone.moderation.getAccountPreferences',
|
|
26784
26884
|
ToolsOzoneModerationGetAccountTimeline: 'tools.ozone.moderation.getAccountTimeline',
|
|
26785
26885
|
ToolsOzoneModerationGetEvent: 'tools.ozone.moderation.getEvent',
|
|
26786
26886
|
ToolsOzoneModerationGetRecord: 'tools.ozone.moderation.getRecord',
|