Skip to content

Commit 9e2fa9f

Browse files
chore: Update lexicons (#58)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent f070652 commit 9e2fa9f

File tree

1 file changed

+58
-6
lines changed

1 file changed

+58
-6
lines changed

packages/lexicons/src/lib/lexicons.ts

Lines changed: 58 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* @module
66
* Contains type declarations for Bluesky lexicons
77
* @generated
8-
* Generated on: 2025-02-01T06:30:15.294Z
8+
* Generated on: 2025-02-09T16:30:44.251Z
99
* Version: main
10-
* Source: https://github.com/bluesky-social/atproto/tree/d377d1a9be6bdd4508c090e37f47af15bca81540/lexicons
10+
* Source: https://github.com/bluesky-social/atproto/tree/709a85b0b633b5483b7161db64b429c746239153/lexicons
1111
*/
1212

1313
/** Base type with optional type field */
@@ -200,6 +200,24 @@ export declare namespace AppBskyActorDefs {
200200
/** The birth date of account owner. */
201201
birthDate?: string;
202202
}
203+
/** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */
204+
interface PostInteractionSettingsPref extends TypedBase {
205+
/**
206+
* Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed.
207+
* Maximum array length: 5
208+
*/
209+
postgateEmbeddingRules?: TypeUnion<AppBskyFeedPostgate.DisableRule>[];
210+
/**
211+
* Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply.
212+
* Maximum array length: 5
213+
*/
214+
threadgateAllowRules?: TypeUnion<
215+
| AppBskyFeedThreadgate.FollowerRule
216+
| AppBskyFeedThreadgate.FollowingRule
217+
| AppBskyFeedThreadgate.ListRule
218+
| AppBskyFeedThreadgate.MentionRule
219+
>[];
220+
}
203221
type Preferences = TypeUnion<
204222
| AdultContentPref
205223
| BskyAppStatePref
@@ -210,6 +228,7 @@ export declare namespace AppBskyActorDefs {
210228
| LabelersPref
211229
| MutedWordsPref
212230
| PersonalDetailsPref
231+
| PostInteractionSettingsPref
213232
| SavedFeedsPref
214233
| SavedFeedsPrefV2
215234
| ThreadViewPref
@@ -1247,7 +1266,10 @@ export declare namespace AppBskyFeedPostgate {
12471266
* Maximum array length: 50
12481267
*/
12491268
detachedEmbeddingUris?: At.Uri[];
1250-
/** Maximum array length: 5 */
1269+
/**
1270+
* List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed.
1271+
* Maximum array length: 5
1272+
*/
12511273
embeddingRules?: TypeUnion<DisableRule>[];
12521274
}
12531275
/** Disables embedding of this post. */
@@ -1330,14 +1352,19 @@ export declare namespace AppBskyFeedThreadgate {
13301352
createdAt: string;
13311353
/** Reference (AT-URI) to the post record. */
13321354
post: At.Uri;
1333-
/** Maximum array length: 5 */
1334-
allow?: TypeUnion<FollowingRule | ListRule | MentionRule>[];
1355+
/**
1356+
* List of rules defining who can reply to this post. If value is an empty array, no one can reply. If value is undefined, anyone can reply.
1357+
* Maximum array length: 5
1358+
*/
1359+
allow?: TypeUnion<FollowerRule | FollowingRule | ListRule | MentionRule>[];
13351360
/**
13361361
* List of hidden reply URIs.
13371362
* Maximum array length: 50
13381363
*/
13391364
hiddenReplies?: At.Uri[];
13401365
}
1366+
/** Allow replies from actors who follow you. */
1367+
interface FollowerRule extends TypedBase {}
13411368
/** Allow replies from actors you follow. */
13421369
interface FollowingRule extends TypedBase {}
13431370
/** Allow replies from actors on a list. */
@@ -4371,6 +4398,15 @@ export declare namespace ToolsOzoneModerationDefs {
43714398
/** Indicates how long the account should remain muted. Falsy value here means a permanent mute. */
43724399
durationInHours?: number;
43734400
}
4401+
/** Set priority score of the subject. Higher score means higher priority. */
4402+
interface ModEventPriorityScore extends TypedBase {
4403+
/**
4404+
* Minimum: 0
4405+
* Maximum: 100
4406+
*/
4407+
score: number;
4408+
comment?: string;
4409+
}
43744410
/** Report a subject */
43754411
interface ModEventReport extends TypedBase {
43764412
reportType: ComAtprotoModerationDefs.ReasonType;
@@ -4434,6 +4470,7 @@ export declare namespace ToolsOzoneModerationDefs {
44344470
| ModEventLabel
44354471
| ModEventMute
44364472
| ModEventMuteReporter
4473+
| ModEventPriorityScore
44374474
| ModEventReport
44384475
| ModEventResolveAppeal
44394476
| ModEventReverseTakedown
@@ -4467,6 +4504,7 @@ export declare namespace ToolsOzoneModerationDefs {
44674504
| ModEventLabel
44684505
| ModEventMute
44694506
| ModEventMuteReporter
4507+
| ModEventPriorityScore
44704508
| ModEventReport
44714509
| ModEventResolveAppeal
44724510
| ModEventReverseTakedown
@@ -4602,6 +4640,12 @@ export declare namespace ToolsOzoneModerationDefs {
46024640
lastReviewedBy?: At.DID;
46034641
muteReportingUntil?: string;
46044642
muteUntil?: string;
4643+
/**
4644+
* Numeric value representing the level of priority. Higher score means higher priority.
4645+
* Minimum: 0
4646+
* Maximum: 100
4647+
*/
4648+
priorityScore?: number;
46054649
/** Statistics related to the record subjects authored by the subject's account */
46064650
recordsStats?: RecordsStats;
46074651
subjectBlobCids?: At.CID[];
@@ -4632,6 +4676,7 @@ export declare namespace ToolsOzoneModerationEmitEvent {
46324676
| ToolsOzoneModerationDefs.ModEventLabel
46334677
| ToolsOzoneModerationDefs.ModEventMute
46344678
| ToolsOzoneModerationDefs.ModEventMuteReporter
4679+
| ToolsOzoneModerationDefs.ModEventPriorityScore
46354680
| ToolsOzoneModerationDefs.ModEventReport
46364681
| ToolsOzoneModerationDefs.ModEventResolveAppeal
46374682
| ToolsOzoneModerationDefs.ModEventReverseTakedown
@@ -4813,6 +4858,12 @@ export declare namespace ToolsOzoneModerationQueryStatuses {
48134858
limit?: number;
48144859
/** If specified, only subjects that belong to an account that has at least this many suspensions will be returned. */
48154860
minAccountSuspendCount?: number;
4861+
/**
4862+
* If specified, only subjects that have priority score value above the given value will be returned.
4863+
* Minimum: 0
4864+
* Maximum: 100
4865+
*/
4866+
minPriorityScore?: number;
48164867
/** If specified, only subjects that belong to an account that has at least this many reported records will be returned. */
48174868
minReportedRecordsCount?: number;
48184869
/** If specified, only subjects that belong to an account that has at least this many taken down records will be returned. */
@@ -4842,7 +4893,8 @@ export declare namespace ToolsOzoneModerationQueryStatuses {
48424893
| "lastReviewedAt"
48434894
| "lastReportedAt"
48444895
| "reportedRecordsCount"
4845-
| "takendownRecordsCount";
4896+
| "takendownRecordsCount"
4897+
| "priorityScore";
48464898
/** The subject to get the status for. */
48474899
subject?: string;
48484900
/** If specified, subjects of the given type (account or record) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored. */

0 commit comments

Comments
 (0)