Skip to content

Commit

Permalink
Update lexicons from atproto
Browse files Browse the repository at this point in the history
  • Loading branch information
christiandeange authored and github-actions[bot] committed Jan 18, 2025
1 parent bbd5094 commit 64cc10d
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 10 deletions.
38 changes: 28 additions & 10 deletions bluesky/api/bluesky.api
Original file line number Diff line number Diff line change
Expand Up @@ -2440,21 +2440,23 @@ public final class app/bsky/feed/FeedViewPostReasonUnion$Unknown$Companion {

public final class app/bsky/feed/Generator {
public static final field Companion Lapp/bsky/feed/Generator$Companion;
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lsh/christian/ozone/api/model/Blob;Ljava/lang/Boolean;Lapp/bsky/feed/GeneratorLabelsUnion;Lkotlinx/datetime/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lsh/christian/ozone/api/model/Blob;Ljava/lang/Boolean;Lapp/bsky/feed/GeneratorLabelsUnion;Lkotlinx/datetime/Instant;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lsh/christian/ozone/api/model/Blob;Ljava/lang/Boolean;Lapp/bsky/feed/GeneratorLabelsUnion;Ljava/lang/String;Lkotlinx/datetime/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lsh/christian/ozone/api/model/Blob;Ljava/lang/Boolean;Lapp/bsky/feed/GeneratorLabelsUnion;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1-715Ygxc ()Ljava/lang/String;
public final fun component2 ()Ljava/lang/String;
public final fun component3 ()Ljava/lang/String;
public final fun component4 ()Ljava/util/List;
public final fun component5 ()Lsh/christian/ozone/api/model/Blob;
public final fun component6 ()Ljava/lang/Boolean;
public final fun component7 ()Lapp/bsky/feed/GeneratorLabelsUnion;
public final fun component8 ()Lkotlinx/datetime/Instant;
public final fun copy-DlEzXAk (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lsh/christian/ozone/api/model/Blob;Ljava/lang/Boolean;Lapp/bsky/feed/GeneratorLabelsUnion;Lkotlinx/datetime/Instant;)Lapp/bsky/feed/Generator;
public static synthetic fun copy-DlEzXAk$default (Lapp/bsky/feed/Generator;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lsh/christian/ozone/api/model/Blob;Ljava/lang/Boolean;Lapp/bsky/feed/GeneratorLabelsUnion;Lkotlinx/datetime/Instant;ILjava/lang/Object;)Lapp/bsky/feed/Generator;
public final fun component8 ()Ljava/lang/String;
public final fun component9 ()Lkotlinx/datetime/Instant;
public final fun copy-cCKAKJ0 (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lsh/christian/ozone/api/model/Blob;Ljava/lang/Boolean;Lapp/bsky/feed/GeneratorLabelsUnion;Ljava/lang/String;Lkotlinx/datetime/Instant;)Lapp/bsky/feed/Generator;
public static synthetic fun copy-cCKAKJ0$default (Lapp/bsky/feed/Generator;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lsh/christian/ozone/api/model/Blob;Ljava/lang/Boolean;Lapp/bsky/feed/GeneratorLabelsUnion;Ljava/lang/String;Lkotlinx/datetime/Instant;ILjava/lang/Object;)Lapp/bsky/feed/Generator;
public fun equals (Ljava/lang/Object;)Z
public final fun getAcceptsInteractions ()Ljava/lang/Boolean;
public final fun getAvatar ()Lsh/christian/ozone/api/model/Blob;
public final fun getContentMode ()Ljava/lang/String;
public final fun getCreatedAt ()Lkotlinx/datetime/Instant;
public final fun getDescription ()Ljava/lang/String;
public final fun getDescriptionFacets ()Ljava/util/List;
Expand Down Expand Up @@ -2517,13 +2519,14 @@ public final class app/bsky/feed/GeneratorLabelsUnion$Unknown$Companion {

public final class app/bsky/feed/GeneratorView {
public static final field Companion Lapp/bsky/feed/GeneratorView$Companion;
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/bsky/actor/ProfileView;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;Lapp/bsky/feed/GeneratorViewerState;Lkotlinx/datetime/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/bsky/actor/ProfileView;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;Lapp/bsky/feed/GeneratorViewerState;Lkotlinx/datetime/Instant;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/bsky/actor/ProfileView;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;Lapp/bsky/feed/GeneratorViewerState;Ljava/lang/String;Lkotlinx/datetime/Instant;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/bsky/actor/ProfileView;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;Lapp/bsky/feed/GeneratorViewerState;Ljava/lang/String;Lkotlinx/datetime/Instant;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1-x27MrHI ()Ljava/lang/String;
public final fun component10 ()Ljava/lang/Boolean;
public final fun component11 ()Ljava/util/List;
public final fun component12 ()Lapp/bsky/feed/GeneratorViewerState;
public final fun component13 ()Lkotlinx/datetime/Instant;
public final fun component13 ()Ljava/lang/String;
public final fun component14 ()Lkotlinx/datetime/Instant;
public final fun component2-OA0YjOw ()Ljava/lang/String;
public final fun component3-715Ygxc ()Ljava/lang/String;
public final fun component4 ()Lapp/bsky/actor/ProfileView;
Expand All @@ -2532,12 +2535,13 @@ public final class app/bsky/feed/GeneratorView {
public final fun component7 ()Ljava/util/List;
public final fun component8-pvpWXas ()Ljava/lang/String;
public final fun component9 ()Ljava/lang/Long;
public final fun copy-sshh5aE (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/bsky/actor/ProfileView;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;Lapp/bsky/feed/GeneratorViewerState;Lkotlinx/datetime/Instant;)Lapp/bsky/feed/GeneratorView;
public static synthetic fun copy-sshh5aE$default (Lapp/bsky/feed/GeneratorView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/bsky/actor/ProfileView;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;Lapp/bsky/feed/GeneratorViewerState;Lkotlinx/datetime/Instant;ILjava/lang/Object;)Lapp/bsky/feed/GeneratorView;
public final fun copy-mjYLi_Y (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/bsky/actor/ProfileView;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;Lapp/bsky/feed/GeneratorViewerState;Ljava/lang/String;Lkotlinx/datetime/Instant;)Lapp/bsky/feed/GeneratorView;
public static synthetic fun copy-mjYLi_Y$default (Lapp/bsky/feed/GeneratorView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lapp/bsky/actor/ProfileView;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Boolean;Ljava/util/List;Lapp/bsky/feed/GeneratorViewerState;Ljava/lang/String;Lkotlinx/datetime/Instant;ILjava/lang/Object;)Lapp/bsky/feed/GeneratorView;
public fun equals (Ljava/lang/Object;)Z
public final fun getAcceptsInteractions ()Ljava/lang/Boolean;
public final fun getAvatar-pvpWXas ()Ljava/lang/String;
public final fun getCid-OA0YjOw ()Ljava/lang/String;
public final fun getContentMode ()Ljava/lang/String;
public final fun getCreator ()Lapp/bsky/actor/ProfileView;
public final fun getDescription ()Ljava/lang/String;
public final fun getDescriptionFacets ()Ljava/util/List;
Expand Down Expand Up @@ -4721,6 +4725,20 @@ public final class app/bsky/feed/Token$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class app/bsky/feed/Token$ContentModeUnspecified : app/bsky/feed/Token {
public static final field INSTANCE Lapp/bsky/feed/Token$ContentModeUnspecified;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class app/bsky/feed/Token$ContentModeVideo : app/bsky/feed/Token {
public static final field INSTANCE Lapp/bsky/feed/Token$ContentModeVideo;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class app/bsky/feed/Token$InteractionLike : app/bsky/feed/Token {
public static final field INSTANCE Lapp/bsky/feed/Token$InteractionLike;
public fun equals (Ljava/lang/Object;)Z
Expand Down
4 changes: 4 additions & 0 deletions build-logic/.kotlin/errors/errors-1737159633114.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
kotlin version: 2.0.21
error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output:
1. Kotlin compile daemon is ready

15 changes: 15 additions & 0 deletions lexicons/schemas/app/bsky/feed/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@
"items": { "type": "ref", "ref": "com.atproto.label.defs#label" }
},
"viewer": { "type": "ref", "ref": "#generatorViewerState" },
"contentMode": {
"type": "string",
"knownValues": [
"app.bsky.feed.defs#contentModeUnspecified",
"app.bsky.feed.defs#contentModeVideo"
]
},
"indexedAt": { "type": "string", "format": "datetime" }
}
},
Expand Down Expand Up @@ -262,6 +269,14 @@
"type": "token",
"description": "User clicked through to the embedded content of the feed item"
},
"contentModeUnspecified": {
"type": "token",
"description": "Declares the feed generator returns any types of posts."
},
"contentModeVideo": {
"type": "token",
"description": "Declares the feed generator returns posts containing app.bsky.embed.video embeds."
},
"interactionSeen": {
"type": "token",
"description": "Feed item was seen by user"
Expand Down
7 changes: 7 additions & 0 deletions lexicons/schemas/app/bsky/feed/generator.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
"description": "Self-label values",
"refs": ["com.atproto.label.defs#selfLabels"]
},
"contentMode": {
"type": "string",
"knownValues": [
"app.bsky.feed.defs#contentModeUnspecified",
"app.bsky.feed.defs#contentModeVideo"
]
},
"createdAt": { "type": "string", "format": "datetime" }
}
}
Expand Down

0 comments on commit 64cc10d

Please sign in to comment.