From 40718357b0739e5ff74abab42a8cb350ecf9429f Mon Sep 17 00:00:00 2001 From: Timothy Miller Date: Tue, 3 Feb 2026 19:11:36 +0900 Subject: [PATCH] Bump bindings --- .../Lexicon/App/Bsky/Draft/Draft.g.cs | 24 ++++++++++++++++++- .../Lexicon/App/Bsky/Embed/EmbedVideo.g.cs | 20 +++++++++++++++- .../Lexicon/App/Bsky/Embed/ViewVideo.g.cs | 20 +++++++++++++++- 3 files changed, 61 insertions(+), 3 deletions(-) diff --git a/src/FishyFlip/Lexicon/App/Bsky/Draft/Draft.g.cs b/src/FishyFlip/Lexicon/App/Bsky/Draft/Draft.g.cs index f7694efc..c11e4b9d 100644 --- a/src/FishyFlip/Lexicon/App/Bsky/Draft/Draft.g.cs +++ b/src/FishyFlip/Lexicon/App/Bsky/Draft/Draft.g.cs @@ -16,6 +16,8 @@ public partial class Draft : ATObject, ICBOREncodable, IJsonEncodable /// Initializes a new instance of the class. /// + /// UUIDv4 identifier of the device that created this draft. + /// The device and/or platform on which the draft was created. /// Array of draft posts that compose this draft. /// Indicates human language of posts primary text content. /// Embedding rules for the postgates to be created when this draft is published. @@ -29,8 +31,10 @@ public partial class Draft : ATObject, ICBOREncodable, IJsonEncodable (app.bsky.feed.threadgate#followingRule)
/// (app.bsky.feed.threadgate#listRule)
/// - public Draft(List posts = default, List? langs = default, List? postgateEmbeddingRules = default, List? threadgateAllow = default) + public Draft(string? deviceId = default, string? deviceName = default, List posts = default, List? langs = default, List? postgateEmbeddingRules = default, List? threadgateAllow = default) { + this.DeviceId = deviceId; + this.DeviceName = deviceName; this.Posts = posts; this.Langs = langs; this.PostgateEmbeddingRules = postgateEmbeddingRules; @@ -53,6 +57,8 @@ public Draft() /// public Draft(CBORObject obj) { + if (obj["deviceId"] is not null) this.DeviceId = obj["deviceId"].AsString(); + if (obj["deviceName"] is not null) this.DeviceName = obj["deviceName"].AsString(); if (obj["posts"] is not null) this.Posts = obj["posts"].Values.Select(n =>new FishyFlip.Lexicon.App.Bsky.Draft.DraftPost(n)).ToList(); if (obj["langs"] is not null) this.Langs = obj["langs"].Values.Select(n =>n.AsString()).ToList(); if (obj["postgateEmbeddingRules"] is not null) this.PostgateEmbeddingRules = obj["postgateEmbeddingRules"].Values.Select(n =>new FishyFlip.Lexicon.App.Bsky.Feed.DisableRule(n)).ToList(); @@ -60,6 +66,22 @@ public Draft(CBORObject obj) if (obj["$type"] is not null) this.Type = obj["$type"].AsString(); } + /// + /// Gets or sets the deviceId. + ///
UUIDv4 identifier of the device that created this draft. + ///
+ [JsonPropertyName("deviceId")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public string? DeviceId { get; set; } + + /// + /// Gets or sets the deviceName. + ///
The device and/or platform on which the draft was created. + ///
+ [JsonPropertyName("deviceName")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public string? DeviceName { get; set; } + /// /// Gets or sets the posts. ///
Array of draft posts that compose this draft. diff --git a/src/FishyFlip/Lexicon/App/Bsky/Embed/EmbedVideo.g.cs b/src/FishyFlip/Lexicon/App/Bsky/Embed/EmbedVideo.g.cs index 619581ac..fafd9445 100644 --- a/src/FishyFlip/Lexicon/App/Bsky/Embed/EmbedVideo.g.cs +++ b/src/FishyFlip/Lexicon/App/Bsky/Embed/EmbedVideo.g.cs @@ -19,12 +19,18 @@ public partial class EmbedVideo : ATObject, ICBOREncodable, IJsonEnc /// /// (app.bsky.embed.defs#aspectRatio) /// - public EmbedVideo(Blob video = default, List? captions = default, string? alt = default, FishyFlip.Lexicon.App.Bsky.Embed.AspectRatio? aspectRatio = default) + /// A hint to the client about how to present the video. + ///
Known Values:
+ /// default
+ /// gif
+ /// + public EmbedVideo(Blob video = default, List? captions = default, string? alt = default, FishyFlip.Lexicon.App.Bsky.Embed.AspectRatio? aspectRatio = default, string? presentation = default) { this.Video = video; this.Captions = captions; this.Alt = alt; this.AspectRatio = aspectRatio; + this.Presentation = presentation; this.Type = "app.bsky.embed.video"; } @@ -47,6 +53,7 @@ public EmbedVideo(CBORObject obj) if (obj["captions"] is not null) this.Captions = obj["captions"].Values.Select(n =>new FishyFlip.Lexicon.App.Bsky.Embed.Caption(n)).ToList(); if (obj["alt"] is not null) this.Alt = obj["alt"].AsString(); if (obj["aspectRatio"] is not null) this.AspectRatio = new FishyFlip.Lexicon.App.Bsky.Embed.AspectRatio(obj["aspectRatio"]); + if (obj["presentation"] is not null) this.Presentation = obj["presentation"].AsString(); if (obj["$type"] is not null) this.Type = obj["$type"].AsString(); } @@ -81,6 +88,17 @@ public EmbedVideo(CBORObject obj) [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public FishyFlip.Lexicon.App.Bsky.Embed.AspectRatio? AspectRatio { get; set; } + /// + /// Gets or sets the presentation. + ///
A hint to the client about how to present the video. + ///
Known Values:
+ /// default
+ /// gif
+ ///
+ [JsonPropertyName("presentation")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public string? Presentation { get; set; } + public const string RecordType = "app.bsky.embed.video"; public override string ToJson() diff --git a/src/FishyFlip/Lexicon/App/Bsky/Embed/ViewVideo.g.cs b/src/FishyFlip/Lexicon/App/Bsky/Embed/ViewVideo.g.cs index 2e449c9d..599d9e15 100644 --- a/src/FishyFlip/Lexicon/App/Bsky/Embed/ViewVideo.g.cs +++ b/src/FishyFlip/Lexicon/App/Bsky/Embed/ViewVideo.g.cs @@ -20,13 +20,19 @@ public partial class ViewVideo : ATObject, ICBOREncodable, IJsonEncod /// /// (app.bsky.embed.defs#aspectRatio) /// - public ViewVideo(string cid = default, string playlist = default, string? thumbnail = default, string? alt = default, FishyFlip.Lexicon.App.Bsky.Embed.AspectRatio? aspectRatio = default) + /// A hint to the client about how to present the video. + ///
Known Values:
+ /// default
+ /// gif
+ /// + public ViewVideo(string cid = default, string playlist = default, string? thumbnail = default, string? alt = default, FishyFlip.Lexicon.App.Bsky.Embed.AspectRatio? aspectRatio = default, string? presentation = default) { this.Cid = cid; this.Playlist = playlist; this.Thumbnail = thumbnail; this.Alt = alt; this.AspectRatio = aspectRatio; + this.Presentation = presentation; this.Type = "app.bsky.embed.video#view"; } @@ -50,6 +56,7 @@ public ViewVideo(CBORObject obj) if (obj["thumbnail"] is not null) this.Thumbnail = obj["thumbnail"].AsString(); if (obj["alt"] is not null) this.Alt = obj["alt"].AsString(); if (obj["aspectRatio"] is not null) this.AspectRatio = new FishyFlip.Lexicon.App.Bsky.Embed.AspectRatio(obj["aspectRatio"]); + if (obj["presentation"] is not null) this.Presentation = obj["presentation"].AsString(); if (obj["$type"] is not null) this.Type = obj["$type"].AsString(); } @@ -89,6 +96,17 @@ public ViewVideo(CBORObject obj) [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public FishyFlip.Lexicon.App.Bsky.Embed.AspectRatio? AspectRatio { get; set; } + /// + /// Gets or sets the presentation. + ///
A hint to the client about how to present the video. + ///
Known Values:
+ /// default
+ /// gif
+ ///
+ [JsonPropertyName("presentation")] + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + public string? Presentation { get; set; } + public const string RecordType = "app.bsky.embed.video#view"; public override string ToJson()