Skip to content

Commit 8534dbf

Browse files
chore: Update lexicons (#91)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6a749b7 commit 8534dbf

File tree

1 file changed

+35
-2
lines changed

1 file changed

+35
-2
lines changed

packages/lexicons/src/lib/lexicons.ts

Lines changed: 35 additions & 2 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-04-25T03:38:32.224Z
8+
* Generated on: 2025-05-06T03:41:45.469Z
99
* Version: main
10-
* Source: https://github.com/bluesky-social/atproto/tree/45354c84f898d79f58c14b5c0da3661beb7353f9/lexicons
10+
* Source: https://github.com/bluesky-social/atproto/tree/3a65b68f7dc63c8bfbea0ae615f8ae984272f2e4/lexicons
1111
*/
1212

1313
/** Base type with optional type field */
@@ -268,6 +268,7 @@ export declare namespace AppBskyActorDefs {
268268
displayName?: string;
269269
indexedAt?: string;
270270
labels?: ComAtprotoLabelDefs.Label[];
271+
status?: StatusView;
271272
verification?: VerificationState;
272273
viewer?: ViewerState;
273274
}
@@ -283,6 +284,7 @@ export declare namespace AppBskyActorDefs {
283284
*/
284285
displayName?: string;
285286
labels?: ComAtprotoLabelDefs.Label[];
287+
status?: StatusView;
286288
verification?: VerificationState;
287289
viewer?: ViewerState;
288290
}
@@ -310,6 +312,7 @@ export declare namespace AppBskyActorDefs {
310312
labels?: ComAtprotoLabelDefs.Label[];
311313
pinnedPost?: ComAtprotoRepoStrongRef.Main;
312314
postsCount?: number;
315+
status?: StatusView;
313316
verification?: VerificationState;
314317
viewer?: ViewerState;
315318
}
@@ -327,6 +330,17 @@ export declare namespace AppBskyActorDefs {
327330
interface SavedFeedsPrefV2 extends TypedBase {
328331
items: AppBskyActorDefs.SavedFeed[];
329332
}
333+
interface StatusView extends TypedBase {
334+
record: unknown;
335+
/** The status for the account. */
336+
status: "app.bsky.actor.status#live" | (string & {});
337+
/** An optional embed associated with the status. */
338+
embed?: TypeUnion<AppBskyEmbedExternal.View>;
339+
/** The date when this status will expire. The application might choose to no longer return the status after expiration. */
340+
expiresAt?: string;
341+
/** True if the status is not expired, false if it is expired. Only present if expiration was set. */
342+
isActive?: boolean;
343+
}
330344
interface ThreadViewPref extends TypedBase {
331345
/** Show followed users at the top of all replies. */
332346
prioritizeFollowedUsers?: boolean;
@@ -514,6 +528,24 @@ export declare namespace AppBskyActorSearchActorsTypeahead {
514528
}
515529
}
516530

531+
export declare namespace AppBskyActorStatus {
532+
/** A declaration of a Bluesky account status. */
533+
interface Record extends RecordBase {
534+
$type: "app.bsky.actor.status";
535+
createdAt: string;
536+
/** The status for the account. */
537+
status: "app.bsky.actor.status#live" | (string & {});
538+
/**
539+
* The duration of the status in minutes. Applications can choose to impose minimum and maximum limits.
540+
* Minimum: 1
541+
*/
542+
durationMinutes?: number;
543+
/** An optional embed associated with the status. */
544+
embed?: TypeUnion<AppBskyEmbedExternal.Main>;
545+
}
546+
type Live = "app.bsky.actor.status#live";
547+
}
548+
517549
export declare namespace AppBskyEmbedDefs {
518550
/** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */
519551
interface AspectRatio extends TypedBase {
@@ -6089,6 +6121,7 @@ export declare namespace ToolsOzoneVerificationRevokeVerifications {
60896121

60906122
export declare interface Records extends RecordBase {
60916123
"app.bsky.actor.profile": AppBskyActorProfile.Record;
6124+
"app.bsky.actor.status": AppBskyActorStatus.Record;
60926125
"app.bsky.feed.generator": AppBskyFeedGenerator.Record;
60936126
"app.bsky.feed.like": AppBskyFeedLike.Record;
60946127
"app.bsky.feed.post": AppBskyFeedPost.Record;

0 commit comments

Comments
 (0)