Skip to content

Commit 24100b9

Browse files
chore: Update lexicons (#108)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7ec24db commit 24100b9

File tree

1 file changed

+57
-3
lines changed

1 file changed

+57
-3
lines changed

packages/lexicons/src/lib/lexicons.ts

Lines changed: 57 additions & 3 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-10-09T03:35:44.509Z
8+
* Generated on: 2025-10-29T04:10:36.941Z
99
* Version: main
10-
* Source: https://github.com/bluesky-social/atproto/tree/1cb5b9b80c20a054f7fbacd89d0d440dc2241d81/lexicons
10+
* Source: https://github.com/bluesky-social/atproto/tree/cdb6b27fc6be1e858476d8c55fd0c37561b972b4/lexicons
1111
*/
1212

1313
/** Base type with optional type field */
@@ -260,6 +260,8 @@ export declare namespace AppBskyActorDefs {
260260
associated?: ProfileAssociated;
261261
avatar?: string;
262262
createdAt?: string;
263+
/** Debug information for internal development */
264+
debug?: unknown;
263265
/**
264266
* Maximum string length: 2560
265267
* Maximum grapheme length: 256
@@ -283,6 +285,8 @@ export declare namespace AppBskyActorDefs {
283285
associated?: ProfileAssociated;
284286
avatar?: string;
285287
createdAt?: string;
288+
/** Debug information for internal development */
289+
debug?: unknown;
286290
/**
287291
* Maximum string length: 640
288292
* Maximum grapheme length: 64
@@ -301,6 +305,8 @@ export declare namespace AppBskyActorDefs {
301305
avatar?: string;
302306
banner?: string;
303307
createdAt?: string;
308+
/** Debug information for internal development */
309+
debug?: unknown;
304310
/**
305311
* Maximum string length: 2560
306312
* Maximum grapheme length: 256
@@ -886,6 +892,8 @@ export declare namespace AppBskyFeedDefs {
886892
record: unknown;
887893
uri: At.Uri;
888894
bookmarkCount?: number;
895+
/** Debug information for internal development */
896+
debug?: unknown;
889897
embed?: TypeUnion<
890898
| AppBskyEmbedExternal.View
891899
| AppBskyEmbedImages.View
@@ -1530,7 +1538,7 @@ export declare namespace AppBskyFeedThreadgate {
15301538
allow?: TypeUnion<FollowerRule | FollowingRule | ListRule | MentionRule>[];
15311539
/**
15321540
* List of hidden reply URIs.
1533-
* Maximum array length: 50
1541+
* Maximum array length: 300
15341542
*/
15351543
hiddenReplies?: At.Uri[];
15361544
}
@@ -5514,6 +5522,17 @@ export declare namespace ToolsOzoneModerationDefs {
55145522
/** Number of times the account was taken down */
55155523
takedownCount?: number;
55165524
}
5525+
/** Strike information for an account */
5526+
interface AccountStrike extends TypedBase {
5527+
/** Current number of active strikes (excluding expired strikes) */
5528+
activeStrikeCount?: number;
5529+
/** Timestamp of the first strike received */
5530+
firstStrikeAt?: string;
5531+
/** Timestamp of the most recent strike received */
5532+
lastStrikeAt?: string;
5533+
/** Total number of strikes ever received (including expired strikes) */
5534+
totalStrikeCount?: number;
5535+
}
55175536
/** Age assurance info coming directly from users. Only works on DID subjects. */
55185537
interface AgeAssuranceEvent extends TypedBase {
55195538
/** The unique identifier for this instance of the age assurance flow, in UUID format. */
@@ -5591,6 +5610,17 @@ export declare namespace ToolsOzoneModerationDefs {
55915610
comment?: string;
55925611
/** The content of the email sent to the user. */
55935612
content?: string;
5613+
/**
5614+
* Names/Keywords of the policies that necessitated the email.
5615+
* Maximum array length: 5
5616+
*/
5617+
policies?: string[];
5618+
/** Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense */
5619+
severityLevel?: string;
5620+
/** Number of strikes to assign to the user for this violation. Normally 0 as an indicator of a warning and only added as a strike on a repeat offense. */
5621+
strikeCount?: number;
5622+
/** When the strike should expire. If not provided, the strike never expires. */
5623+
strikeExpiresAt?: string;
55945624
}
55955625
interface ModEventEscalate extends TypedBase {
55965626
comment?: string;
@@ -5640,6 +5670,15 @@ export declare namespace ToolsOzoneModerationDefs {
56405670
interface ModEventReverseTakedown extends TypedBase {
56415671
/** Describe reasoning behind the reversal. */
56425672
comment?: string;
5673+
/**
5674+
* Names/Keywords of the policy infraction for which takedown is being reversed.
5675+
* Maximum array length: 5
5676+
*/
5677+
policies?: string[];
5678+
/** Severity level of the violation. Usually set from the last policy infraction's severity. */
5679+
severityLevel?: string;
5680+
/** Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity. */
5681+
strikeCount?: number;
56435682
}
56445683
/** Add/Remove a tag on a subject */
56455684
interface ModEventTag extends TypedBase {
@@ -5662,6 +5701,12 @@ export declare namespace ToolsOzoneModerationDefs {
56625701
* Maximum array length: 5
56635702
*/
56645703
policies?: string[];
5704+
/** Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.). */
5705+
severityLevel?: string;
5706+
/** Number of strikes to assign to the user for this violation. */
5707+
strikeCount?: number;
5708+
/** When the strike should expire. If not provided, the strike never expires. */
5709+
strikeExpiresAt?: string;
56655710
}
56665711
/** Unmute action on a subject */
56675712
interface ModEventUnmute extends TypedBase {
@@ -5930,6 +5975,8 @@ export declare namespace ToolsOzoneModerationDefs {
59305975
updatedAt: string;
59315976
/** Statistics related to the account subject */
59325977
accountStats?: AccountStats;
5978+
/** Strike information for the account (account-level only) */
5979+
accountStrike?: AccountStrike;
59335980
/** Current age assurance state of the subject. */
59345981
ageAssuranceState?:
59355982
| "assured"
@@ -6283,6 +6330,8 @@ export declare namespace ToolsOzoneModerationQueryEvents {
62836330
subjectType?: "account" | "record" | (string & {});
62846331
/** The types of events (fully qualified string in the format of tools.ozone.moderation.defs#modEvent<name>) to filter by. If not specified, all events are returned. */
62856332
types?: string[];
6333+
/** If specified, only events where strikeCount value is set are returned. */
6334+
withStrike?: boolean;
62866335
}
62876336
type Input = undefined;
62886337
interface Output extends TypedBase {
@@ -6346,6 +6395,11 @@ export declare namespace ToolsOzoneModerationQueryStatuses {
63466395
minPriorityScore?: number;
63476396
/** If specified, only subjects that belong to an account that has at least this many reported records will be returned. */
63486397
minReportedRecordsCount?: number;
6398+
/**
6399+
* If specified, only subjects that belong to an account that has at least this many active strikes will be returned.
6400+
* Minimum: 1
6401+
*/
6402+
minStrikeCount?: number;
63496403
/** If specified, only subjects that belong to an account that has at least this many taken down records will be returned. */
63506404
minTakendownRecordsCount?: number;
63516405
/** When set to true, only muted subjects and reporters will be returned. */

0 commit comments

Comments
 (0)